/* LOXO tanıtım sitesi — renkler lib/core/constants/app_colors.dart ile aynı */
:root {
  --primary: #9fd96a;
  --trust: #22c7d6;
  --accent: #e8e85c;
  --background: #0a0a0f;
  --surface-card: #14161a;
  --surface-elevated: #1e2228;
  --text-primary: #ffffff;
  --text-secondary: #a8b0c0;
  --text-muted: #7e8aa0;
  --on-brand: #0a0a0f;
  --border: #2a2f38;
  --gradient: linear-gradient(90deg, var(--trust), var(--primary), var(--accent));

  --radius: 16px;
  --max: 1120px;

  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--background);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--trust); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Üst menü */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
}
.brand:hover { text-decoration: none; }
.nav-links { display: flex; gap: 24px; font-size: 15px; }
.nav-links a { color: var(--text-secondary); }
.nav-links a:hover { color: var(--text-primary); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 56px; overflow: hidden; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.1;
  margin: 20px 0 16px;
  letter-spacing: -1px;
}
.hero p.lead {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 0 32px;
}

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--surface-elevated);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 600;
}
.store:hover { text-decoration: none; border-color: var(--primary); }
.store small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.2;
}
.store svg { width: 24px; height: 24px; flex: none; }
.store.soon { opacity: 0.6; pointer-events: none; }

/* Telefon çerçeveleri */
.phones {
  position: relative;
  height: 540px;
}
.phone {
  position: absolute;
  width: 240px;
  aspect-ratio: 9 / 19;
  border-radius: 36px;
  border: 8px solid #1b1d22;
  background: var(--surface-card);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone.front { left: 50%; top: 0; transform: translateX(-30%); z-index: 2; }
.phone.back { left: 50%; top: 60px; transform: translateX(-95%) rotate(-6deg); opacity: 0.7; }
.glow {
  position: absolute;
  inset: 20% 10%;
  background: var(--gradient);
  filter: blur(90px);
  opacity: 0.25;
}

/* Bölümler */
section { padding: 72px 0; }
section h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
section .sub {
  color: var(--text-secondary);
  font-size: 17px;
  margin: 0 0 40px;
  max-width: 640px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--surface-elevated);
  font-size: 24px;
  margin-bottom: 16px;
}
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--text-secondary); font-size: 15px; }

/* İşletmeler bölümü */
.business {
  background: var(--surface-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.business .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 24px 56px;
  color: var(--text-secondary);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient);
  color: var(--on-brand);
  font-weight: 700;
}
.steps strong { color: var(--text-primary); display: block; }
.business .phone { position: relative; margin: 0 auto; transform: none; left: auto; }

/* Son çağrı */
.cta { text-align: center; }
.cta .stores { justify-content: center; }
.cta .sub { margin: 0 auto 32px; }

/* Alt bilgi */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--text-secondary); }

/* Metin sayfaları (gizlilik, koşullar, hesap silme) */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 8px; }
.doc .updated { color: var(--text-muted); margin: 0 0 40px; }
.doc h2 { font-size: 21px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--text-secondary); }
.doc .box {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

@media (max-width: 860px) {
  .hero { padding-top: 48px; }
  .hero .wrap, .business .wrap { grid-template-columns: 1fr; }
  .phones { height: 460px; }
  .phone { width: 200px; }
  .grid { grid-template-columns: 1fr; }
  .nav-links a:not(.keep) { display: none; }
  section { padding: 56px 0; }
}
