/* callwise.kariha.net — brand colours follow the app tokens (CallwiseColors). */
:root {
  --bg: #F8FAFC; --surface: #FFFFFF; --surface-2: #F1F5F9; --text: #0F172A; --muted: #64748B;
  --border: #E2E8F0; --accent: #0284C7; --accent-2: #0EA5E9; --accent-soft: #E0F2FE; --on-accent: #FFFFFF;
  --navy: #0B1220; --gold: #FDE68A; --gold-text: #78350F; --success: #10B981; --danger: #EF4444;
  --radius: 24px; --shadow: 0 30px 60px -20px rgba(15, 23, 42, .25);
  --hero: linear-gradient(150deg, #38BDF8 0%, #0284C7 45%, #075985 100%);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1220; --surface: #111A2B; --surface-2: #162235; --text: #F1F5F9; --muted: #94A3B8;
    --border: #1F2C40; --accent: #38BDF8; --accent-2: #7DD3FC; --accent-soft: #0C2A3F; --on-accent: #0B1220;
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--accent); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent);
       backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
       border-bottom: 1px solid var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
         font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 24px; margin-left: 12px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.langs { display: flex; gap: 2px; background: var(--surface-2); border-radius: 10px; padding: 3px; }
.langs button { font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .05em; cursor: pointer; border: 0;
                background: transparent; color: var(--muted); border-radius: 8px; padding: 5px 9px; }
.langs button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16px;
       border-radius: 999px; padding: 13px 24px; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -8px rgba(2,132,199,.6); }
.btn-small { padding: 9px 18px; font-size: 14px; }
.btn-light { background: #fff; color: #0F172A; box-shadow: 0 14px 30px -10px rgba(3, 30, 60, .5); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--hero); color: #fff; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 760px; height: 760px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 62%); }
.hero::after { width: 620px; height: 620px; left: -260px; bottom: -320px; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 62%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 48px;
              justify-items: center; text-align: center; padding-top: 80px; padding-bottom: 88px; }
.hero-copy { max-width: 820px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em;
           text-transform: uppercase; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.16);
           border: 1px solid rgba(255,255,255,.3); }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; margin: 22px 0 18px; }
.hero .lead { font-size: 20px; line-height: 1.55; color: rgba(255,255,255,.9); max-width: 620px; margin: 0 auto 32px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
/* Hero video (16:9) */
.film { position: relative; width: 100%; max-width: 1040px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
        background: var(--navy); box-shadow: 0 50px 100px -30px rgba(2, 20, 45, .7), 0 0 0 1px rgba(255,255,255,.22); }
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.sound { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
         padding: 10px 16px 10px 12px; border: 0; border-radius: 999px; background: rgba(11, 18, 32, .72); color: #fff;
         font: 600 14px/1 Inter, system-ui, sans-serif; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
         box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: background .2s; }
.sound:hover { background: rgba(11, 18, 32, .9); }
.sound:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sound svg { width: 18px; height: 18px; }
.sound .l-off, .sound[aria-pressed="true"] .l-on { display: none; }
.sound[aria-pressed="true"] .l-off { display: inline; }
.hero .note { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.8); }
.phone { position: absolute; padding: 9px; border-radius: 44px; background: var(--navy);
         box-shadow: 0 40px 80px -20px rgba(2, 20, 45, .6), inset 0 0 0 1.5px rgba(255,255,255,.1); }
.phone img { display: block; width: 100%; border-radius: 36px; background: #F8F9FA; }
.float { position: absolute; z-index: 3; background: rgba(255,255,255,.97); color: #0F172A; border-radius: 20px;
         padding: 16px 18px; box-shadow: 0 24px 50px -12px rgba(2, 20, 45, .45); font-size: 15px; line-height: 1.35; }
.float small { display: block; color: #64748B; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.float strong { font-size: 16px; }
.note-icon { width: 42px; height: 42px; border-radius: 12px; background: #E0F2FE; color: #0284C7;
             display: grid; place-items: center; font-size: 22px; flex: none; }
.bars { display: inline-flex; gap: 4px; align-items: flex-end; height: 22px; }
.bars i { display: block; width: 4px; border-radius: 2px; background: #0284C7; animation: eq 1.1s ease-in-out infinite; }
.bars i:nth-child(2) { animation-delay: -.3s; } .bars i:nth-child(3) { animation-delay: -.6s; }
.bars i:nth-child(4) { animation-delay: -.9s; } .bars i:nth-child(5) { animation-delay: -.45s; }
@keyframes eq { 0%, 100% { height: 6px; } 50% { height: 22px; } }
@media (prefers-reduced-motion: reduce) { .bars i { animation: none; height: 14px; } }

/* ---------- Trust strip ---------- */
.strip { border-bottom: 1px solid var(--border); background: var(--surface); }
.strip .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; padding-top: 22px; padding-bottom: 22px;
               color: var(--muted); font-size: 14px; font-weight: 600; }
.strip span { display: inline-flex; align-items: center; gap: 8px; }
.strip span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Sections ---------- */
section.block { padding: 110px 0; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
h2.title { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 12px 0 16px; }
p.intro { font-size: 19px; color: var(--muted); margin: 0; }
.center { text-align: center; }
.center p.intro { max-width: 640px; margin: 0 auto; }
.pro { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; padding: 4px 9px; border-radius: 999px;
       background: var(--gold); color: var(--gold-text); vertical-align: middle; margin-left: 8px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.flip .media { order: -1; }
.media { position: relative; display: flex; justify-content: center; }
.media::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 48px; background: var(--hero); opacity: .12; }
.media .phone { position: relative; width: 300px; }
.media .float { top: 58%; left: 0; }
.media .float.right { left: auto; right: 0; top: 30%; }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft);
           color: var(--accent); font-size: 16px; }
.steps h4 { margin: 2px 0 2px; font-size: 17px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.tracks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tracks span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 9px 14px;
               border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.tracks span::before { content: "♪"; color: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent);
                display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* Light / dark band */
.band { background: var(--navy); color: #fff; overflow: hidden; position: relative; }
.band .intro { color: rgba(255,255,255,.75); }
.band .kicker { color: #7DD3FC; }
.duo { position: relative; height: 560px; margin-top: 56px; }
.duo .phone { width: 270px; top: 0; }
.duo .a { left: calc(50% - 290px); transform: rotate(-5deg); }
.duo .b { left: calc(50% + 20px); transform: rotate(5deg); top: 20px; }

/* How it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; counter-reset: s; }
.how div { position: relative; padding: 32px 28px; border-radius: var(--radius); background: var(--surface);
           border: 1px solid var(--border); }
.how div::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px;
                   border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; margin-bottom: 18px; }
.how h3 { margin: 0 0 6px; font-size: 19px; }
.how p { margin: 0; color: var(--muted); font-size: 16px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px;
        display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--accent); box-shadow: var(--shadow); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 28px; font-size: 12px; font-weight: 800; letter-spacing: .06em;
             text-transform: uppercase; background: var(--accent); color: var(--on-accent); padding: 5px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 17px; color: var(--muted); font-weight: 600; }
.plan .price { font-size: 42px; font-weight: 800; letter-spacing: -.03em; margin: 10px 0 2px; }
.plan .per { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--success); font-weight: 800; }
.trial { margin-top: 28px; text-align: center; color: var(--muted); font-size: 15px; }
.trial strong { color: var(--text); }

/* Privacy band */
.privacy { background: var(--surface-2); }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.checks div { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border);
              border-radius: 16px; padding: 16px 18px; font-size: 15px; }
.checks div::before { content: "✓"; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%;
                      background: var(--success); color: #fff; font-size: 13px; font-weight: 800; }

/* FAQ */
.faq { margin-top: 48px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 20px 24px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Final CTA */
.cta { background: var(--hero); color: #fff; border-radius: 36px; padding: 72px 48px; text-align: center; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 14px; }
.cta p { color: rgba(255,255,255,.88); font-size: 19px; margin: 0 0 30px; }

/* Footer */
footer.site { padding: 56px 0 48px; margin-top: 110px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }

/* ---------- Legal pages (privacy / terms) ---------- */
main.legal { padding: 64px 0 24px; }
main.legal h1 { font-size: clamp(34px, 4.5vw, 46px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 8px; }
main.legal h2 { font-size: 21px; margin: 40px 0 8px; letter-spacing: -.01em; }
main.legal p, main.legal li { color: var(--text); }
main.legal .muted { color: var(--muted); }
main.legal .card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 22px 24px; margin: 26px 0; }
main.legal .card p { margin: 0; }
main.legal ul { padding-left: 22px; }
main.legal + footer.site { margin-top: 40px; }

/* One page carries all languages (legal pages); i18n.js shows the chosen one (data-llang = data-lang, or English for languages without a legal translation) — all stay visible without JavaScript. */
html[data-llang="en"] [data-l]:not([data-l="en"]),
html[data-llang="tr"] [data-l]:not([data-l="tr"]),
html[data-llang="es"] [data-l]:not([data-l="es"]) { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 56px; padding-bottom: 48px; gap: 36px; }
  .split { gap: 48px; }
  .split.flip .media { order: 0; }
  .grid, .plans, .how { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section.block { padding: 76px 0; }
  .nav .btn-small { display: none; }
  .film { border-radius: 16px; }
  .sound { left: 10px; bottom: 10px; padding: 8px 12px 8px 10px; font-size: 13px; }
  .grid, .plans, .how, .checks { grid-template-columns: 1fr; }
  .media .phone { width: 250px; }
  .media .float { position: absolute; font-size: 13px; }
  .duo { height: 420px; }
  .duo .phone { width: 190px; }
  .duo .a { left: calc(50% - 200px); } .duo .b { left: calc(50% + 8px); }
  .cta { padding: 56px 24px; border-radius: 28px; }
}
