/* =====================================================
   NePazar — Görsel tema
   Marka: turuncu #f26a00 · siyah #111111
   ===================================================== */

:root {
  --bg: #111111;
  --surface: #1a1a1a;
  --surface-2: #232323;
  --text: #f7f4ef;
  --muted: #a8a29a;
  --primary: #f26a00;
  --accent: #ff8a2a;
  --warn: #ffb020;
  --ok: #2fd48c;
  --radius: 16px;
  --container: 1120px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .55);
  --grad: linear-gradient(120deg, #f26a00, #ff8a2a 55%, #ffb25e);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 760px; }

/* ---------- Erişilebilirlik ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--primary); color: #fff;
  padding: .6rem 1rem; border-radius: 10px; z-index: 100;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

:where(a, button, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad);
  z-index: 60;
}

/* ---------- Üst menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 20, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.nav { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }

.brand { display: flex; align-items: center; }
.brand-logo { height: 56px; width: auto; }

/* ---------- Butonlar ---------- */

.nav-menu { display: flex; align-items: center; gap: 1.6rem; font-weight: 500; }
.nav-menu a { opacity: .85; transition: opacity .2s, color .2s; }
.nav-menu a:hover { opacity: 1; color: var(--accent); }
.nav-menu .btn { opacity: 1; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: 1rem;
  padding: .85rem 1.7rem; border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary { background: var(--grad); color: #111111; box-shadow: 0 10px 30px rgba(242, 106, 0, .35); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(242, 106, 0, .5); }

.btn-ghost { border-color: rgba(255, 255, 255, .25); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-light { background: #fff; color: #111111; }
.btn-sm { padding: .55rem 1.2rem; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 10vw, 7.5rem) 0 5rem;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(242, 106, 0, .2), transparent 65%),
    radial-gradient(500px 350px at 10% 90%, rgba(242, 106, 0, .1), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 3rem; align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 800; }

.lead { font-size: 1.15rem; color: var(--muted); margin-top: 1.2rem; max-width: 34rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.hero-proof { display: flex; gap: 2.2rem; margin-top: 2.8rem; flex-wrap: wrap; }
.hero-proof li { display: grid; gap: .15rem; }
.hero-proof strong { font-size: 1.5rem; letter-spacing: -.02em; }
.hero-proof span { color: var(--muted); font-size: .88rem; }

/* Hero sağ taraf: cam kartlar + orb'lar */
.hero-art { position: relative; min-height: 420px; }

.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.orb-1 { width: 300px; height: 300px; background: var(--primary); top: -20px; right: -30px; animation: drift 9s ease-in-out infinite alternate; }
.orb-2 { width: 240px; height: 240px; background: #7a3a00; bottom: -30px; left: -10px; animation: drift 11s ease-in-out infinite alternate-reverse; }

@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, -24px) scale(1.12); } }

.glass-card {
  position: absolute; z-index: 2;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  min-width: 230px;
}
.glass-card.float-a { top: 9%; left: 4%; animation: floaty 7s ease-in-out infinite; }
.glass-card.glass-sm { bottom: 12%; right: 6%; animation: floaty 8.5s ease-in-out 1s infinite; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.glass-row { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-green { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.dot-orange { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.glass-big { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin-top: .3rem; }
.glass-big .unit { font-size: .95rem; color: var(--muted); font-weight: 600; }
.spark { margin-top: .45rem; font-size: 1.05rem; letter-spacing: 2px; color: var(--accent); opacity: .85; }

.hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.ring { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 1; }
.ring-2 { stroke-dasharray: 4 8; }
.ring-3 { stroke: rgba(109, 93, 252, .5); stroke-dasharray: 2 6; }

/* ---------- Bölüm ortak ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-alt { background: var(--surface); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { color: var(--muted); margin-top: .8rem; }

h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.18; letter-spacing: -.025em; font-weight: 800; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Kartlar ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 106, 0, .55);
  box-shadow: 0 18px 44px rgba(242, 106, 0, .18);
}

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(242, 106, 0, .16);
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 26px; height: 26px; fill: var(--accent); }

.card p { color: var(--muted); margin-top: .55rem; font-size: .97rem; }

/* ---------- Sayaçlar ---------- */
.stats { padding: 3.2rem 0; border-block: 1px solid rgba(255, 255, 255, .07); background: rgba(255, 255, 255, .02); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { display: block; color: var(--muted); font-size: .9rem; margin-top: .2rem; }

/* ---------- Entegrasyonlar ---------- */
.integrations { display: grid; gap: 1.4rem; }

.int-group {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
  transition: border-color .3s, transform .3s;
}
.int-group:hover { border-color: rgba(242, 106, 0, .5); transform: translateY(-4px); }

.int-title { font-size: 1.1rem; margin-bottom: 1rem; }
.int-list { display: flex; flex-wrap: wrap; gap: .6rem; }

.int-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  padding: .5rem 1rem;
  font-size: .92rem; font-weight: 500;
  transition: background .2s, border-color .2s, transform .2s;
}
.int-chip:hover { background: rgba(242, 106, 0, .14); border-color: rgba(242, 106, 0, .5); transform: translateY(-2px); }

.int-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--primary)); box-shadow: 0 0 8px var(--c, var(--primary)); }

.int-note { margin-top: .4rem; color: var(--muted); font-size: .85rem; }

/* ---------- Süreç adımları ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }

.step {
  position: relative;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  transition: transform .3s, border-color .3s;
}
.step:hover { transform: translateY(-5px); border-color: rgba(242, 106, 0, .5); }

.step-no {
  font-size: .8rem; font-weight: 800; letter-spacing: .12em;
  color: var(--accent);
  display: inline-block; margin-bottom: .8rem;
  padding: .3rem .7rem; border-radius: 999px;
  background: rgba(70, 194, 203, .12);
}
.step p { color: var(--muted); margin-top: .45rem; font-size: .95rem; }

/* ---------- S.S.S. ---------- */
.faq {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  margin-bottom: .9rem;
  overflow: hidden;
  transition: border-color .25s;
}
.faq[open] { border-color: rgba(242, 106, 0, .5); }
.faq summary {
  cursor: pointer; font-weight: 700; padding: 1.15rem 1.3rem;
  list-style: none; position: relative; padding-right: 3rem;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; color: var(--accent); transition: transform .25s;
}
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq p { padding: 0 1.3rem 1.25rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  background:
    radial-gradient(700px 420px at 50% 0%, rgba(242, 106, 0, .26), transparent 70%),
    var(--surface);
}
.cta-inner { text-align: center; max-width: 620px; }
.cta p { color: var(--muted); margin: .9rem 0 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(255, 255, 255, .07); padding: 1.6rem 0; color: var(--muted); font-size: .9rem; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.social { display: flex; gap: .6rem; }
.social a {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15);
  font-weight: 700; font-size: .8rem;
  transition: background .2s, color .2s, transform .2s;
}
.social a:hover { background: var(--primary); color: #111111; transform: translateY(-2px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 360px; margin-top: 1rem; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .brand-logo { height: 44px; }
  .nav-menu {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .4rem;
    background: rgba(11, 13, 20, .97);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding: 1rem 1.25rem 1.4rem;
    transform: translateY(-130%);
    transition: transform .3s ease;
    z-index: 49;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu .btn { margin-top: .6rem; }
  .cards, .steps { grid-template-columns: 1fr; }
  .hero-proof { gap: 1.4rem; }
  .glass-card { min-width: 200px; }
}

/* Kullanıcı açık modu tercih ederse: açık tema (beyaz zemin + marka turuncusu) */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --surface: #faf7f4;
    --surface-2: #f3ede7;
    --text: #111111;
    --muted: #5f594f;
    --shadow: 0 18px 50px rgba(17, 17, 17, .1);
  }
  .site-header { background: rgba(255, 255, 255, .85); border-bottom-color: rgba(17, 17, 17, .08); }
  .card, .faq, .int-group { border-color: rgba(17, 17, 17, .08); }
  .int-chip { border-color: rgba(17, 17, 17, .1); background: #fff; }
  .step { border-color: rgba(17, 17, 17, .06); }
  .btn-ghost { border-color: rgba(17, 17, 17, .25); }
  .hero::before {
    background:
      radial-gradient(600px 400px at 85% 10%, rgba(242, 106, 0, .12), transparent 65%),
      radial-gradient(500px 350px at 10% 90%, rgba(242, 106, 0, .07), transparent 60%);
  }
  .glass-card { background: rgba(255, 255, 255, .7); border-color: rgba(17, 17, 17, .1); }
  .glass-big, .glass-row { color: #111111; }
  .stats { border-block-color: rgba(17, 17, 17, .08); background: rgba(242, 106, 0, .04); }
  .spark { color: var(--primary); }
}
