/* ============ Hankatech · tek sayfa ============ */

:root {
  --bg: #07070c;
  --bg-soft: #0d0d16;
  --surface: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ececf3;
  --muted: #9a9ab0;
  --brand: #6d5efc;
  --brand-2: #22d3ee;
  --accent: #ff8a3d;
  --ok: #4ade80;
  --radius: 18px;
  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Sora", "Inter", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.grad {
  background: linear-gradient(100deg, var(--brand) 0%, #a78bfa 45%, var(--brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- arka plan ışıkları ---- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-orbs::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.42; }
.orb-1 { width: 620px; height: 620px; background: #4f3ddb; top: -240px; left: -140px; }
.orb-2 { width: 520px; height: 520px; background: #0e7490; top: 120px; right: -180px; opacity: 0.35; }
.orb-3 { width: 560px; height: 560px; background: #3b1e8f; bottom: -260px; left: 35%; opacity: 0.3; }

/* ---- butonlar ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(100deg, var(--brand), #8b5cf6 60%, var(--brand-2));
  color: #0a0a12;
  box-shadow: 0 10px 30px -10px rgba(109, 94, 252, 0.75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(109, 94, 252, 0.9); }
.btn-ghost { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---- navigasyon ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 12, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-mark { display: inline-flex; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.btn) { color: var(--muted); font-size: 0.94rem; font-weight: 500; transition: color 0.2s; }
.nav-links > a:not(.btn):hover { color: var(--text); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 10px; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- hero ---- */
.hero { padding: 150px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); font-size: 0.82rem; color: var(--muted); font-weight: 500;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--muted); max-width: 54ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }

.hero-facts { list-style: none; display: flex; gap: 40px; margin: 0; padding: 26px 0 0; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-facts strong { display: block; font-family: "Sora", sans-serif; font-size: 1.5rem; }
.hero-facts span { font-size: 0.84rem; color: var(--muted); }

/* ---- hero görsel ---- */
.hero-visual { position: relative; }
.glass-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
}
.code-card { padding: 0; overflow: hidden; }
.card-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.tl { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.tl.red { background: #ff5f57; } .tl.yellow { background: #febc2e; } .tl.green { background: #28c840; }
.card-bar em { margin-left: 10px; font-style: normal; font-size: 0.78rem; color: var(--muted); }
.code-card pre { margin: 0; padding: 22px 20px; overflow-x: auto; }
.code-card code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.84rem; line-height: 1.85; color: #c9c9dd; }
.c-com { color: #6b6b85; } .c-key { color: #a78bfa; } .c-str { color: #22d3ee; } .c-ok { color: var(--ok); }

.mini-card { position: absolute; padding: 14px 18px; }
.mini-row { display: flex; align-items: center; gap: 12px; }
.mini-ico { font-size: 1.1rem; }
.mini-card strong { display: block; font-size: 0.9rem; }
.mini-card small { color: var(--muted); font-size: 0.76rem; }
.float-a { top: -34px; right: -10px; animation: float 6s ease-in-out infinite; }
.float-b { bottom: -34px; left: -24px; animation: float 6s ease-in-out infinite 1.6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---- bölümler ---- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-2);
}
.section-head p { color: var(--muted); margin: 0; }

/* ---- hizmet kartları ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(109,94,252,0.16), transparent 65%);
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); background: rgba(255,255,255,0.055); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 18px; border-radius: 13px; font-size: 1.25rem;
  background: linear-gradient(150deg, rgba(109,94,252,0.28), rgba(34,211,238,0.18));
  border: 1px solid var(--border);
}
.card p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---- ürün ---- */
.product {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
  padding: 52px; border-radius: 26px;
  background: linear-gradient(140deg, rgba(255,138,61,0.10), rgba(109,94,252,0.10) 55%, rgba(255,255,255,0.02));
  border: 1px solid var(--border);
}
.product-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--accent); background: rgba(255,138,61,0.12); border: 1px solid rgba(255,138,61,0.3);
}
.product h3 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin: 18px 0 4px; }
.product-tag { color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.product-copy > p:not(.product-tag) { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--muted); font-size: 0.94rem; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.7rem; color: #0a0a12; background: linear-gradient(140deg, var(--accent), #ffb47a);
}

/* telefon maketi */
.product-visual { display: grid; place-items: center; }
.phone {
  position: relative; width: 260px; height: 520px; border-radius: 38px; padding: 12px;
  background: linear-gradient(160deg, #1c1c2b, #0b0b13);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.9);
  animation: float 7s ease-in-out infinite;
}
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 20px; border-radius: 0 0 14px 14px; background: #0b0b13; z-index: 2; }
.phone-screen { height: 100%; border-radius: 28px; background: #101019; padding: 34px 14px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.ph-top { display: flex; align-items: center; justify-content: space-between; }
.ph-title { font-family: "Sora", sans-serif; font-weight: 600; font-size: 0.95rem; color: var(--accent); }
.ph-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(140deg, var(--brand), var(--brand-2)); }
.ph-search { padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,0.06); color: #6f6f88; font-size: 0.74rem; }
.ph-item { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.05); }
.ph-item strong { display: block; font-size: 0.78rem; }
.ph-item small { font-size: 0.68rem; color: var(--muted); }
.ph-thumb { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.t1 { background: linear-gradient(140deg, #ff8a3d, #ff5f57); }
.t2 { background: linear-gradient(140deg, #6d5efc, #22d3ee); }
.t3 { background: linear-gradient(140deg, #4ade80, #22d3ee); }
.ph-bar { margin-top: auto; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.06); }
.ph-bar span { width: 22px; height: 4px; border-radius: 3px; background: rgba(255,255,255,0.12); }
.ph-bar span.on { background: var(--accent); }

/* ---- süreç ---- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color 0.3s, transform 0.3s var(--ease); }
.step:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.step-no { font-family: "Sora", sans-serif; font-size: 1.6rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.35); display: block; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---- teknoloji + neden biz ---- */
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips span {
  padding: 8px 16px; border-radius: 999px; font-size: 0.85rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border); color: #c8c8db;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.chips span:hover { border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.why { display: grid; gap: 14px; }
.why-item { padding: 20px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); border-left: 2px solid var(--brand); }
.why-item strong { display: block; font-size: 0.98rem; margin-bottom: 4px; }
.why-item span { color: var(--muted); font-size: 0.9rem; }

/* ---- iletişim ---- */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  padding: 52px; border-radius: 26px;
  background: linear-gradient(140deg, rgba(109,94,252,0.14), rgba(34,211,238,0.07) 60%, rgba(255,255,255,0.02));
  border: 1px solid var(--border);
}
.contact-copy p { color: var(--muted); }
.contact-mail {
  display: inline-block; margin: 8px 0 6px; font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 600;
  border-bottom: 1px solid var(--border-strong); padding-bottom: 3px; transition: color 0.25s, border-color 0.25s;
}
.contact-mail:hover { color: var(--brand-2); border-color: var(--brand-2); }

.contact-form { display: grid; gap: 14px; }
.field label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border-radius: 12px; color: var(--text);
  background: rgba(0,0,0,0.28); border: 1px solid var(--border);
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(109,94,252,0.18);
}
.field input::placeholder, .field textarea::placeholder { color: #5f5f78; }
.field select option { background: #12121c; }
.field.invalid input, .field.invalid textarea { border-color: #ff6b6b; }
.form-note { margin: 4px 0 0; font-size: 0.85rem; min-height: 1.2em; color: var(--ok); }
.form-note.error { color: #ff8b8b; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--border); padding-top: 52px; margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(109,94,252,0.05)); }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; }
.footer-inner .brand { margin-bottom: 8px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; align-items: flex-start; }
.footer-links a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { padding: 22px 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.84rem; }

/* ---- scroll animasyonu ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---- duyarlı ---- */
@media (max-width: 980px) {
  .hero-grid, .product, .tech-grid, .contact { grid-template-columns: 1fr; }
  .hero { padding-top: 128px; }
  .hero-visual { margin-top: 20px; }
  .float-a { right: 0; } .float-b { left: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .product, .contact { padding: 34px 26px; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 74px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 14px;
    border-radius: 18px; border: 1px solid var(--border);
    background: rgba(10, 10, 18, 0.96);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 24px 50px -20px rgba(0,0,0,0.9);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links > a:not(.btn) { padding: 11px 12px; border-radius: 10px; }
  .nav-links > a:not(.btn):hover { background: rgba(255,255,255,0.05); }
  .nav-links .btn { margin-top: 6px; }
}

@media (max-width: 620px) {
  .section { padding: 68px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero-facts { gap: 26px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .mini-card { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
