/* DocuAI24 — site stili. Renkler uygulamadaki AppColors ile birebir (lib/app/theme/app_colors.dart). */
:root {
  --blue: #1a56db;
  --blue-dark: #1442ae;
  --blue-soft: #e7eefc;
  --blue-soft2: #d3e0fb;
  --teal: #0d9488;
  --teal-soft: #d6f0ec;
  --amber: #f59e0b;
  --amber-soft: #fef3dc;
  --bg: #f8fafc;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e7ebf1;
  --green: #16a34a;
  --green-soft: #dcfce7;
  --violet: #7c3aed;
  --violet-soft: #ede7fd;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 66, 174, 0.18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; }
img, svg { max-width: 100%; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand em { font-style: normal; color: var(--blue); }
.main-nav { display: flex; gap: 24px; margin-left: 8px; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: 15px; white-space: nowrap; }
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.lang-switch a { color: var(--muted); }
.lang-switch a:hover { color: var(--blue); text-decoration: none; }
.lang-current { color: var(--blue); }
.lang-sep { color: var(--line); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; font-weight: 700; cursor: pointer; border: 0;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  padding: 14px 28px; font-size: 16px; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(26, 86, 219, 0.3); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--blue-soft2); background: var(--blue-soft); }
.btn-light { background: #fff; color: var(--blue-dark); }
.btn-ghost-light { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #10306b 0%, var(--blue-dark) 35%, var(--blue) 75%, #2f6ae8 100%);
  color: #fff; overflow: hidden; position: relative;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 85% 20%, rgba(13, 148, 136, 0.25), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 80px 0 96px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; margin-bottom: 20px; }
.hero h1 .accent { color: #8fd8cf; }
.hero .lead { font-size: 19px; color: rgba(255, 255, 255, 0.88); max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255, 255, 255, 0.8); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { flex: none; }

/* Telefon mockup */
.phone-wrap { display: flex; justify-content: center; position: relative; }
.phone-wrap::before {
  content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 216, 207, 0.22), transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.phone {
  position: relative; width: 308px; border-radius: 54px; padding: 12px;
  background: linear-gradient(145deg, #24345c, #0b1a3a);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 2px rgba(255, 255, 255, 0.07);
}
.phone-screen {
  background: var(--bg); border-radius: 42px; overflow: hidden; position: relative;
  height: 560px; display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; background: #0b1a3a; border-radius: 999px; z-index: 2;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 24px 4px; font-size: 11.5px; font-weight: 700; color: var(--ink); background: #fff;
}
.phone-status svg { color: var(--ink); }
.phone-top { background: #fff; padding: 8px 18px 12px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 15px; color: var(--ink); }
.phone-top em { font-style: normal; color: var(--blue); }
.phone-top .pbell { width: 28px; height: 28px; border-radius: 9px; background: var(--blue-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--blue); }
.phone-body { flex: 1; padding: 14px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.ptabbar { display: flex; justify-content: space-around; align-items: center; padding: 10px 10px 16px; background: #fff; border-top: 1px solid var(--line); }
.ptabbar svg { color: #b0bccd; }
.ptabbar svg.active { color: var(--blue); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: var(--shadow-sm); }
.pcard-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.pcard-title { font-size: 12.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 7px; }
.pcard-title .dot { width: 26px; height: 26px; border-radius: 8px; background: var(--blue-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.chip { font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.chip-amber { background: var(--amber-soft); color: #92600a; }
.chip-green { background: var(--green-soft); color: var(--green); }
.chip-blue { background: var(--blue-soft); color: var(--blue); }
.pline { height: 7px; border-radius: 4px; background: var(--blue-soft); margin: 6px 0; }
.pline.short { width: 62%; background: var(--line); }
.pline.mid { width: 84%; }
.pbubble { background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 600; border-radius: 12px 12px 3px 12px; padding: 8px 11px; justify-self: end; max-width: 85%; }
.pbubble.ai { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px 12px 12px 3px; justify-self: start; }
.pactions { display: flex; gap: 8px; margin-top: auto; }
.pbtn { flex: 1; text-align: center; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 9px 6px; }
.pbtn-primary { background: var(--blue); color: #fff; }
.pbtn-outline { background: #fff; color: var(--blue); border: 1px solid var(--blue-soft2); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 5px 14px; margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* Kurum şeridi */
.orgs { padding: 26px 0; background: var(--surface); border-bottom: 1px solid var(--line); }
.orgs-inner { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; align-items: center; }
.orgs-label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-right: 6px; }
.org-chip { font-size: 13.5px; font-weight: 600; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; }

/* Özellik kartları */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; background: var(--blue-soft); color: var(--blue);
}
.feature-icon.teal { background: var(--teal-soft); color: var(--teal); }
.feature-icon.amber { background: var(--amber-soft); color: #b45309; }
.feature-icon.violet { background: var(--violet-soft); color: var(--violet); }
.feature-icon.green { background: var(--green-soft); color: var(--green); }
.feature-card h3 { font-size: 17.5px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-card p { color: var(--muted); font-size: 14.5px; }

/* Adımlar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; position: relative; box-shadow: var(--shadow-sm); }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Ekran görüntüleri */
.shots-row {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 18px; -webkit-overflow-scrolling: touch;
}
.shot {
  flex: 0 0 auto; width: 200px; scroll-snap-align: center;
  border-radius: 22px; overflow: hidden; background: var(--blue-dark);
  box-shadow: var(--shadow-md); transition: transform 0.2s;
}
.shot:hover { transform: translateY(-4px); }
.shot img { display: block; width: 100%; height: auto; }
@media (max-width: 720px) {
  .shot { width: 230px; }
}

/* Güvenlik bandı */
.security-band { background: var(--ink); color: #fff; border: 0; }
.security-band .section-head h2 { color: #fff; }
.security-band .section-head p { color: rgba(255, 255, 255, 0.7); }
.security-band .eyebrow { background: rgba(13, 148, 136, 0.2); color: #7edcd2; }
.security-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.security-item { display: flex; gap: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 22px; }
.security-item svg { flex: none; margin-top: 3px; }
.security-item h3 { font-size: 16px; margin-bottom: 5px; }
.security-item p { color: rgba(255, 255, 255, 0.68); font-size: 14px; }

/* SSS */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0; overflow: hidden; }
.faq-list summary { cursor: pointer; font-weight: 700; font-size: 16px; padding: 20px 24px; list-style: none; position: relative; padding-right: 52px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--blue); transition: transform 0.2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 24px 20px; color: var(--muted); font-size: 15px; }

/* CTA / indirme */
.cta { background: linear-gradient(150deg, var(--blue-dark), var(--blue)); border-radius: 24px; color: #fff; text-align: center; padding: 64px 32px; box-shadow: var(--shadow-lg); }
.cta h2 { font-size: clamp(26px, 3.2vw, 36px); letter-spacing: -0.02em; margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, 0.85); font-size: 17px; max-width: 560px; margin: 0 auto 32px; }
.store-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; background: #0b1120; color: #fff;
  border-radius: 14px; padding: 12px 22px; text-align: left; border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.15s;
}
.store-btn:hover { text-decoration: none; transform: translateY(-2px); }
.store-btn .small { display: block; font-size: 11px; opacity: 0.75; font-weight: 500; }
.store-btn .big { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; }
.store-note { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, 0.65); }

/* ---------- İçerik / yasal sayfalar ---------- */
.page-hero { background: linear-gradient(160deg, var(--blue-dark), var(--blue)); color: #fff; padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.02em; margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, 0.85); font-size: 17px; max-width: 640px; }
.legal { padding: 56px 0 88px; }
.legal-body { max-width: 800px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 48px; box-shadow: var(--shadow-sm); }
.legal-body h2 { font-size: 22px; margin: 36px 0 12px; letter-spacing: -0.01em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 17px; margin: 24px 0 8px; }
.legal-body p { margin-bottom: 14px; color: #334155; font-size: 15.5px; }
.legal-body ul, .legal-body ol { margin: 0 0 14px 22px; color: #334155; font-size: 15.5px; }
.legal-body li { margin-bottom: 6px; }
.legal-body .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 24px; }
.callout { background: var(--blue-soft); border: 1px solid var(--blue-soft2); border-radius: 14px; padding: 18px 20px; margin: 20px 0; font-size: 15px; }
.callout.amber { background: var(--amber-soft); border-color: #f0c675; }
.callout.teal { background: var(--teal-soft); border-color: #a7dcd4; }
.placeholder-box { background: var(--amber-soft); border: 1.5px dashed var(--amber); border-radius: 14px; padding: 18px 20px; margin: 16px 0; font-size: 15px; color: #78500a; }

/* İletişim */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 800px; margin: 0 auto; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 18px; margin: 14px 0 8px; }
.contact-card p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.contact-card .feature-icon { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand p { font-size: 14.5px; margin-top: 14px; max-width: 280px; }
.brand-light { color: #fff; }
.brand-light em { color: #8fb4f5; }
.site-footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, 0.75); font-size: 14.5px; }
.site-footer a:hover { color: #fff; }
.site-footer a.active { color: #8fb4f5; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 24px; font-size: 13px; color: rgba(255, 255, 255, 0.5); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-disclaimer { max-width: 560px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 64px; text-align: center; }
  .hero .lead { margin: 0 auto 28px; }
  .hero-cta, .hero-trust { justify-content: center; }
  .phone-wrap { margin-top: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* Dar başlık: menü hamburgere döner (satır atlamayı önler) */
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    padding: 16px 24px; gap: 16px; box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}
@media (max-width: 720px) {
  .header-actions .btn { display: none; }
  section { padding: 64px 0; }
  .features-grid, .contact-grid { grid-template-columns: 1fr; }
  .legal-body { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .phone { width: 280px; }
  .phone-screen { height: 512px; }
}
