/* eihracat.app — tanıtım sitesi
   Renkler: StartSmart dashboard-blue.css değişkenleri (aynı marka mavisi #4660FF).
   Yazı: Source Serif 4 (başlıklar, yazı logosu) + Inter (metin, arayüz; StartSmart ile aynı).
   Tek vurgulu öğe: girişteki canlı sohbet önizlemesi. Geri kalan sade. */

:root {
  --bg: #F8F9FF;          /* --bg-page */
  --card: #FFFFFF;        /* --bg-card */
  --tint: #EEF0FF;        /* --bg-subtle / --brand-tint */
  --line: #E4E7FA;        /* --border */
  --line-2: #CFD4F2;      /* --border-strong */
  --ink: #0E1530;         /* --fg-1 */
  --ink-2: #36405E;       /* --fg-2 */
  --ink-3: #586280;       /* --fg-3 */
  --ink-4: #8189A8;       /* --fg-4 */
  --brand: #4660FF;       /* --brand */
  --brand-dark: #3641F5;  /* --brand-dark */
  --deep: #151950;        /* --brand-deep */
  --user: #F0F1F4;        /* kullanıcı mesaj kutusu (uygulamayla aynı) */
  --good: #15803D; --good-bg: #DCFCE7;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --w: 1120px;
  --r-sm: 8px; --r: 12px; --r-lg: 18px;
  --sp: clamp(64px, 9vw, 112px);   /* bölüm boşluğu */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 40px, var(--w)); margin-inline: auto; }
.narrow > * { max-width: 720px; }   /* sol kenar diğer bölümlerle hizalı kalır */

/* Yazı ölçeği (1.25 oranı, 17px taban) */
h1 { font: 600 clamp(38px, 5.4vw, 64px)/1.06 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
h2 { font: 600 clamp(28px, 3.4vw, 40px)/1.15 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
h3 { font: 600 18px/1.35 var(--sans); }
.lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.lead-sm { font-size: 18px; color: var(--ink-2); max-width: 38em; margin-top: 14px; }
.hint { font-size: 14px; color: var(--ink-3); }

/* Yazı logosu: ikon yok, kalın serif */
.mark { font: 700 22px/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.mark-sm { font-size: 16px; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--r); border: 1px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, transform .15s; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-dark); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--deep); }
.btn:active { transform: translateY(1px); }

/* Üst çubuk */
.top { position: sticky; top: 0; z-index: 20; background: rgba(248, 249, 255, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.nav { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.menu-btn { display: none; margin-left: 8px; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); border-radius: var(--r); cursor: pointer; }

/* Giriş */
.hero { padding: clamp(40px, 7vw, 88px) 0 var(--sp); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero-copy h1 { max-width: 15ch; }
.hero-copy .lead { margin-top: 22px; }
.hero-act { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero-count { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 15px; max-width: 30em; }

/* Sohbet önizlemesi */
.demo { margin: 0; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 30px 60px -32px rgba(21, 25, 80, .35); overflow: hidden; }
.demo-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.demo-replay { border: 0; background: none; color: var(--brand-dark); font: 500 13px var(--sans); cursor: pointer; padding: 6px 0; }
.demo-log { list-style: none; padding: 20px 18px 22px; display: flex; flex-direction: column; gap: 12px; min-height: 470px; }
.demo-log li { max-width: 92%; font-size: 15px; line-height: 1.55; }
.m-ag { color: var(--ink); }
.m-us { align-self: flex-end; background: var(--user); border-radius: 10px; padding: 8px 13px; }
.m-card { max-width: 100% !important; }
.demo.is-playing .demo-log li { opacity: 0; transform: translateY(6px); }
.demo.is-playing .demo-log li.is-in { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
.typing { display: inline-flex; gap: 4px; padding: 6px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-4); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* Alıcı kartı (önizleme ve büyük örnek) */
.bc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.bc-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.bc-name { font-weight: 600; font-size: 16px; }
.bc-city { font-size: 13px; color: var(--ink-3); }
.path { font-size: 12.5px; color: var(--brand); margin-top: 3px; line-height: 1.4; }
.pill { flex: none; background: var(--tint); color: var(--ink); font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 4px 10px; }
.bc-rows { margin-top: 10px; }
.bc-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.bc-rows dt { color: var(--ink-2); }
.locked { color: var(--ink-4); letter-spacing: 2px; }
.bc-btn { margin-top: 10px; width: 100%; }
.bc-big { margin: 0; padding: 22px; box-shadow: 0 24px 50px -30px rgba(21, 25, 80, .3); }
.bc-big .bc-name { font-size: 19px; }
.bc-big figcaption { margin-top: 12px; }

/* Bölümler */
.sec { padding: var(--sp) 0; }
.sec-tint { background: var(--card); border-block: 1px solid var(--line); }
.sec h2 + .steps { margin-top: 40px; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.split-rev { grid-template-columns: 1fr 1fr; align-items: center; }

/* Adımlar: sol rayda numara */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px 28px; }
.steps li { counter-increment: s; position: relative; padding-top: 52px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s); position: absolute; top: 12px; left: 0; font: 600 28px/1 var(--serif); color: var(--brand); }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }

/* Sektör defteri */
.ledger { list-style: none; margin-top: 28px; border-top: 1px solid var(--line-2); }
.ledger li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.ledger .num { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: 16px; white-space: nowrap; }
.ledger .is-soon { color: var(--ink-4); }
.ledger .is-soon .num { color: var(--ink-4); }
.side h3 + * { margin-top: 12px; }
.side ul + h3 { margin-top: 32px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 15px; background: var(--bg); }
.tags small { font-size: 12px; color: var(--ink-4); }
.tags .is-live { border-color: var(--brand); }
.tags .is-live small { color: var(--good); }
.tags .is-soon { color: var(--ink-3); }
.plain { list-style: none; }
.plain li { padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px; }

/* Onay listesi */
.checks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--tint)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%234660FF' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Kredi paketleri */
.packs { list-style: none; margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 860px; }
.packs li { position: relative; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px; background: var(--bg); }
.packs .is-pop { border: 2px solid var(--brand); padding: 23px; background: var(--card); }
.pack-flag { position: absolute; top: -12px; left: 20px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 10px; }
.pack-n { font: 600 24px/1.2 var(--serif); }
.pack-price { margin-top: 10px; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pack-per { font-size: 14px; color: var(--ink-3); }
.packs + .hint { margin-top: 18px; max-width: 46em; }

/* Metin bölümü */
.narrow h2 + p { margin-top: 18px; }
.narrow p + p { margin-top: 14px; }
.narrow > p { color: var(--ink-2); }

/* Sorular */
.faq { margin-top: 28px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 20px; color: var(--ink-2); max-width: 40em; }

/* Kapanış */
.cta { text-align: left; }
.cta .btn { margin-top: 28px; }

/* Alt bilgi */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: start; }
.foot-by { margin-top: 8px; color: var(--ink-3); font-size: 14px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-small { grid-column: 1 / -1; color: var(--ink-4); font-size: 13px; }

/* Hata sayfası */
.err { padding: var(--sp) 0; min-height: 50vh; }
.err .btn { margin-top: 28px; }

/* Dar ekran */
@media (max-width: 1040px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .hero-in, .split, .split-rev { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 16ch; }
  .demo-log { min-height: 0; }
  .packs { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 760px) {
  .top-in { gap: 12px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .top-cta { margin-left: auto; height: 40px; padding: 0 14px; font-size: 14px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .foot-in { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .lead { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
