/* Ferry website: the "Orbit" design language (same tokens as the apps). */
:root {
  --sky-top: #3e9bff;
  --sky-bottom: #8bd0ff;
  --sky-deep: #2f86ff;
  --accent: #1f7bff;
  --accent-soft: #e9f2ff;
  --ink: #0b1f3a;
  --ink-2: #56657a;
  --hair: #e6ecf4;
  --bg: #ffffff;
  --bg-2: #f5f8fc;
  --radius: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font); letter-spacing: -0.02em; margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
nav.top { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
nav.top.scrolled { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.6) blur(18px); box-shadow: 0 1px 0 var(--hair); }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font); font-weight: 800; font-size: 20px; color: #fff; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,40,120,.25); }
nav.top.scrolled .brand { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: #fff; font-weight: 600; font-size: 15px; opacity: .95; }
nav.top.scrolled .nav-links a { color: var(--ink-2); }
.lang { border: 0; font: 600 13px var(--text); padding: 6px 12px; border-radius: 99px; cursor: pointer;
  background: rgba(255,255,255,.22); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
nav.top.scrolled .lang { background: var(--accent-soft); color: var(--accent); box-shadow: none; }
@media (max-width: 760px) { .nav-links a:not(.keep) { display: none; } }

/* ---------- Hero ---------- */
.hero { margin-top: -64px; padding-top: 64px; color: #fff; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, var(--sky-deep) 0%, var(--sky-top) 35%, var(--sky-bottom) 100%); }
.hero h1 { font-size: clamp(44px, 7.4vw, 86px); line-height: .98; font-weight: 800; margin-top: 64px; letter-spacing: -0.035em; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); max-width: 640px; margin: 22px auto 32px; opacity: .92; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 99px; font: 700 16px var(--font);
  transition: transform .2s cubic-bezier(.2,.9,.3,1.2), box-shadow .2s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }
.btn.white { background: #fff; color: var(--accent); box-shadow: 0 10px 30px rgba(0,40,120,.22); }
.btn.glass { background: rgba(255,255,255,.2); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn.blue { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(31,123,255,.3); }
.btn small { font-weight: 600; opacity: .8; font-size: 12px; }
.platforms { display: flex; gap: 18px; justify-content: center; margin-top: 22px; font-size: 14px; font-weight: 600; opacity: .9; flex-wrap: wrap; }
.platforms span { display: inline-flex; align-items: center; gap: 6px; }
.platforms svg { width: 16px; height: 16px; }

/* Orbit stage */
.stage { position: relative; width: min(860px, 100%); height: 430px; margin: 40px auto 0; }
.stage svg.rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orb { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px;
  font: 700 15px var(--font); animation: float 6s ease-in-out infinite; }
.orb .ball { width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.62), rgba(255,255,255,.2) 62%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 18px 40px rgba(0,50,140,.22); backdrop-filter: blur(10px); }
.orb .ball svg { width: 42px; height: 42px; }
.orb em { font-style: normal; white-space: nowrap; padding: 5px 14px; border-radius: 99px; background: rgba(255,255,255,.24); }
.orb.me { animation: none; }
.orb.me .ball { width: 84px; height: 84px; background: #fff; color: var(--accent); box-shadow: 0 0 60px rgba(255,255,255,.9); }
.orb.me em { background: #fff; color: var(--accent); }
.orb:nth-child(3) { animation-delay: -2s; } .orb:nth-child(4) { animation-delay: -4s; }
.orb .dot { position: absolute; top: 8px; right: 8px; width: 14px; height: 14px; border-radius: 50%; background: #5bf0a5; box-shadow: 0 0 0 3px #fff; }
@keyframes float { 50% { translate: 0 -8px; } }
@media (max-width: 640px) { .stage { height: 330px; } .orb .ball { width: 76px; height: 76px; } .orb .ball svg { width: 32px; height: 32px; } }
@media (prefers-reduced-motion: reduce) { .orb { animation: none; } .spark { display: none; } }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.kicker { font: 700 13px var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.section-title { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.04; margin: 10px 0 16px; font-weight: 800; }
.section-lead { font-size: 19px; color: var(--ink-2); max-width: 640px; }
.center { text-align: center; } .center .section-lead { margin: 0 auto; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.step { background: var(--bg-2); border-radius: var(--radius); padding: 30px; }
.step .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font: 800 18px var(--font); }
.step h3 { font-size: 21px; margin: 18px 0 8px; }
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Feature rows with real screenshots */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 70px 0; }
.feature.flip .copy { order: 2; }
.feature h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; margin: 10px 0 14px; font-weight: 800; }
.feature p { color: var(--ink-2); font-size: 18px; }
.feature ul { padding: 0; margin: 20px 0 0; list-style: none; }
.feature li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; font-size: 16.5px; }
.feature li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%231f7bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.shot { position: relative; display: flex; justify-content: center; }
.shot::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 40px; background: linear-gradient(180deg, var(--sky-top), var(--sky-bottom)); opacity: .18; filter: blur(40px); }
.phone { position: relative; width: min(320px, 80%); border-radius: 46px; padding: 10px; background: #0b1f3a; box-shadow: 0 40px 80px rgba(11,31,58,.25); }
.phone img { border-radius: 37px; }
.desk { position: relative; width: 100%; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px rgba(11,31,58,.22); }
.win { position: relative; width: min(340px, 85%); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px rgba(11,31,58,.22), 0 0 0 1px var(--hair); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 36px; } .feature.flip .copy { order: 0; } }

/* Privacy band */
.band { background: linear-gradient(180deg, var(--sky-deep), var(--sky-top)); color: #fff; border-radius: 40px; padding: 70px 56px; }
.band .section-lead { color: rgba(255,255,255,.9); }
.band .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.band .grid3 div { background: rgba(255,255,255,.14); border-radius: 22px; padding: 24px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.band h3 { font-size: 19px; margin-bottom: 6px; }
.band p { margin: 0; opacity: .92; }
@media (max-width: 860px) { .band { padding: 48px 26px; } .band .grid3 { grid-template-columns: 1fr; } }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 50px auto 0; max-width: 820px; }
.plan { border-radius: var(--radius); padding: 34px; background: var(--bg-2); }
.plan.pro { background: #fff; box-shadow: 0 0 0 2px var(--accent), 0 30px 60px rgba(31,123,255,.14); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 34px; background: var(--accent); color: #fff; font: 700 12px var(--text); padding: 5px 12px; border-radius: 99px; }
.plan h3 { font-size: 22px; }
.plan .price { font: 800 46px var(--font); margin: 10px 0 4px; letter-spacing: -0.03em; }
.plan .price small { font-size: 17px; color: var(--ink-2); font-weight: 600; }
.plan .note { color: var(--ink-2); font-size: 14px; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { padding: 7px 0; border-top: 1px solid var(--hair); font-size: 15.5px; }
@media (max-width: 760px) { .pricing { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; margin: 44px auto 0; }
.faq details { border-bottom: 1px solid var(--hair); padding: 20px 4px; }
.faq summary { cursor: pointer; font: 700 18px var(--font); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.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 p { color: var(--ink-2); margin: 12px 0 0; font-size: 16.5px; }

/* Download */
.downloads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
.dl { background: var(--bg-2); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.dl .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.dl .ic svg { width: 28px; height: 28px; }
.dl h3 { font-size: 21px; margin-top: 6px; }
.dl p { color: var(--ink-2); margin: 0 0 10px; flex: 1; font-size: 15px; }
.dl .soon { display: inline-flex; align-self: flex-start; padding: 12px 18px; border-radius: 99px; background: #fff; color: var(--ink-2); font: 700 14px var(--font); box-shadow: inset 0 0 0 1px var(--hair); }
.dl .btn { align-self: flex-start; }
@media (max-width: 860px) { .downloads { grid-template-columns: 1fr; } }

/* Footer */
footer.site { background: var(--bg-2); padding: 40px 0; margin-top: 60px; color: var(--ink-2); font-size: 14px; }
footer.site .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.site nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Docs pages */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 40px; line-height: 1.7; font-size: 17px; }
.doc h1 { font-size: 46px; margin-bottom: 6px; }
.doc h2 { font-size: 23px; margin: 34px 0 8px; }
.doc .meta { color: var(--ink-2); }
.doc-hero { background: linear-gradient(180deg, var(--sky-deep), var(--sky-top)); margin-top: -64px; padding-top: 64px; height: 150px; }

/* Language: show only the active language */
html[lang="tr"] [data-lang="en"], html[lang="en"] [data-lang="tr"] { display: none !important; }

.dl .fine { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); margin-top: 12px; }
