/* filopano.com — brand palette from the logo */
:root {
  --navy: #0B2545;
  --navy-2: #13315C;
  --navy-deep: #07172B;
  --teal: #00A8B5;
  --teal-dark: #008A95;
  --teal-soft: #E0F6F8;
  --orange: #F58220;
  --orange-soft: #FEF0E3;
  --ink: #0B2545;
  --text: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-tint: #F4F8FB;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(11, 37, 69, .35);
  --shadow-sm: 0 6px 20px -8px rgba(11, 37, 69, .25);
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(245, 130, 32, .8); }
.btn-primary:hover { background: #E8731A; box-shadow: 0 14px 30px -10px rgba(245, 130, 32, .9); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { color: var(--navy); }
.btn-ghost:hover { background: var(--bg-tint); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { background: rgba(255,255,255,.2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(11,37,69,.5); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.brand-mark { width: 44px; height: 42px; flex: none; }
.brand-word { font-size: 26px; font-weight: 800; letter-spacing: -0.04em; color: var(--navy); }
.brand-word .dot { color: var(--teal); }
.brand-light, .brand-light .brand-word { color: #fff; }
.nav { display: flex; gap: 4px; margin-left: 24px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--navy); opacity: .8; }
.nav a:hover { opacity: 1; background: var(--bg-tint); }
.header-cta { margin-left: auto; display: flex; gap: 8px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .2s ease, top .2s ease; }
.menu-toggle span:first-child { top: 16px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 20.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 20.5px; transform: rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 8px 16px 20px; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu a { padding: 12px 8px; font-weight: 600; color: var(--navy); }
.mobile-menu .btn { margin-top: 8px; color: #fff; }
.mobile-menu[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-fade {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(11,37,69,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11,37,69,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 30%, transparent 75%);
}
.orbit { position: absolute; border-radius: 50%; border-style: dashed; opacity: .55; }
.orbit-1 { width: 880px; height: 880px; right: -260px; top: -240px; border: 3px dashed rgba(11,37,69,.10); animation: spin 120s linear infinite; }
.orbit-2 { width: 700px; height: 700px; right: -170px; top: -150px; border: 3px dashed rgba(0,168,181,.22); animation: spin 90s linear infinite reverse; }
.orbit-3 { width: 520px; height: 520px; right: -80px; top: -60px; border: 3px dashed rgba(245,130,32,.22); animation: spin 70s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px;
  border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; font-size: 14px;
}
.live-dot, .pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); flex: none; }
.live-dot::after, .pulse::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; background: var(--teal); opacity: .35; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.hero h1 { font-size: clamp(42px, 6vw, 72px); font-weight: 800; letter-spacing: -0.045em; margin: 20px 0 20px; }
.grad { background: linear-gradient(100deg, var(--teal) 0%, var(--teal) 40%, var(--orange) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--text); max-width: 34em; }
.lead strong { color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 600; color: var(--navy); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Hero visual */
.hero-visual { position: relative; min-height: 460px; }
.panel-mock {
  position: relative; background: #fff; border-radius: 20px; box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.mock-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FAFCFD; }
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; }
.mock-dots i:first-child { background: #FCA5A5; } .mock-dots i:nth-child(2) { background: #FCD34D; } .mock-dots i:last-child { background: #86EFAC; }
.mock-url { font-size: 12.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.mock-body { display: grid; grid-template-columns: 190px 1fr; min-height: 330px; }
.mock-side { padding: 16px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; background: #fff; }
.mock-side-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
.trip-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; }
.trip-row b { display: block; font-size: 13.5px; color: var(--navy); }
.trip-row small { display: block; font-size: 11.5px; color: var(--muted); }
.trip-row.active { background: var(--teal-soft); }
.dot-ok, .dot-wait { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-ok { background: #22C55E; } .dot-wait { background: #CBD5E1; }
.mock-stat { margin-top: auto; padding: 12px; border-radius: 12px; background: var(--navy); color: #fff; }
.mock-stat span { font-size: 12px; opacity: .75; }
.mock-stat b { display: block; font-size: 24px; letter-spacing: -0.02em; }
.mock-stat .bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.18); margin-top: 6px; overflow: hidden; }
.mock-stat .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--orange)); border-radius: 6px; }
.mock-map { position: relative; background: #EEF4F8; }
.mock-map svg { width: 100%; height: 100%; min-height: 330px; }
.stops text { fill: #fff; font: 700 11px 'Plus Jakarta Sans', sans-serif; text-anchor: middle; }
.route-done { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 14s linear infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map-chip {
  position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 8px;
  background: #fff; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--navy); box-shadow: var(--shadow-sm);
}

.phone-mock {
  position: absolute; right: -44px; bottom: -70px; width: 196px; padding: 10px; border-radius: 34px;
  background: var(--navy-deep); box-shadow: 0 30px 60px -20px rgba(7, 23, 43, .7);
  animation: float 6s ease-in-out infinite;
}
.phone-notch { width: 70px; height: 18px; border-radius: 0 0 12px 12px; background: var(--navy-deep); margin: 0 auto -18px; position: relative; z-index: 1; }
.phone-screen { background: #F4F8FB; border-radius: 26px; padding: 30px 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.phone-title { font-weight: 800; color: var(--navy); font-size: 15px; }
.phone-card { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px; border: 1px solid var(--line); }
.phone-card b { display: block; font-size: 12.5px; color: var(--navy); }
.phone-card small { display: block; font-size: 11px; color: var(--muted); }
.phone-card.live { background: var(--teal-soft); border-color: transparent; }
.phone-label { font-size: 11px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.toggle-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.choice { text-align: center; padding: 8px 4px; border-radius: 10px; font-size: 11.5px; font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.choice.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.stop-num { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; flex: none; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.float-card b { display: block; font-size: 13.5px; color: var(--navy); }
.float-card small { display: block; font-size: 12px; color: var(--muted); }
.float-board { left: 36%; top: -26px; animation: float 7s ease-in-out infinite reverse; }
.check { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Facts ---------- */
.facts { background: var(--navy); color: #fff; }
.facts-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 20px; display: grid; gap: 2px; border-left: 1px solid rgba(255,255,255,.1); }
.fact:first-child { border-left: 0; }
.fact b { font-size: 22px; letter-spacing: -0.02em; }
.fact span { font-size: 14.5px; color: rgba(255,255,255,.7); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tint { background: var(--bg-tint); }
.section-dark { background: radial-gradient(1200px 600px at 80% -10%, #16407A 0%, transparent 60%), var(--navy-deep); color: rgba(255,255,255,.78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.035em; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.65); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature h3 { font-size: 20px; margin: 18px 0 10px; }
.feature p { color: var(--muted); font-size: 16px; }
.f-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; }
.f-icon svg { width: 26px; height: 26px; }
.f-icon.teal { background: var(--teal-soft); fill: var(--teal-dark); }
.f-icon.orange { background: var(--orange-soft); fill: var(--orange); }
.f-icon.navy { background: #E6ECF4; fill: var(--navy); }

/* Apps */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.app-card {
  position: relative; padding: 34px 30px; border-radius: 22px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); transition: transform .25s ease, background .25s ease;
}
.app-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); }
.app-card.featured { background: linear-gradient(160deg, rgba(0,168,181,.22), rgba(255,255,255,.04) 60%); border-color: rgba(0,168,181,.45); }
.app-badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(0,168,181,.18); color: #5FE0EA; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; }
.app-badge.orange { background: rgba(245,130,32,.18); color: #FFB06B; }
.app-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.app-badge.soon { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); border: 1px dashed rgba(255,255,255,.3); }
.app-card h3 { font-size: 24px; margin: 18px 0 10px; }
.app-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.app-card li { display: flex; gap: 10px; font-size: 15.5px; color: rgba(255,255,255,.85); }
.app-card li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-top: 9px; flex: none; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 12%; right: 12%; height: 3px; background: repeating-linear-gradient(90deg, var(--teal) 0 10px, transparent 10px 20px); opacity: .45; }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--teal); color: var(--navy); font-size: 22px; font-weight: 800; box-shadow: var(--shadow-sm);
}
.step:last-child .step-num { border-color: var(--orange); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* Audience */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.audience { background: #fff; border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--line); }
.aud-emoji { font-size: 34px; display: block; margin-bottom: 14px; }
.audience h3 { font-size: 21px; margin-bottom: 8px; }
.audience p { color: var(--muted); }

/* Security */
.security { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.security h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 18px; }
.security-copy > p { color: var(--muted); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--navy); }
.checks li::before { content: '✓'; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 800; flex: none; }
.security-visual svg { width: min(340px, 100%); margin-inline: auto; }
.spin-slow { transform-origin: 110px 110px; animation: spin 40s linear infinite; }
.spin-rev { transform-origin: 110px 110px; animation: spin 30s linear infinite reverse; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 700; color: var(--navy); font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 500; color: var(--teal); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* CTA */
.cta { padding: 0 0 104px; }
.cta-inner {
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; padding: 56px;
  border-radius: 28px; color: rgba(255,255,255,.8); position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0%, rgba(0,168,181,.45), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(245,130,32,.30), transparent 60%), var(--navy);
}
.cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 12px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-mail { margin-top: 14px; font-weight: 700; }
.cta-mail a { color: #fff; border-bottom: 2px solid var(--teal); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.65); padding: 64px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 340px; }
.footer-brand p { margin-top: 14px; font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 32px 72px; }
.footer-links h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links a { display: block; padding: 4px 0; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }

/* ---------- Effects ---------- */

/* Scroll progress */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--teal), var(--orange)); }

/* Shimmering accent text */
.grad { background-size: 200% auto; animation: shimmer 6s ease-in-out infinite; }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Hero tilt follows the pointer (set from JS) */
.hero-visual .panel-mock { z-index: 1; }
.hero-visual .phone-mock { z-index: 3; }
.hero-visual .float-board { z-index: 4; }
.mock-stat b span { font-size: inherit; opacity: 1; }
.hero-visual .panel-mock { transform: perspective(1600px) rotateY(calc(-6deg + var(--tilt-x, 0deg))) rotateX(calc(3deg + var(--tilt-y, 0deg))); transition: transform .25s ease-out; }
.hero-visual:hover .panel-mock { transform: perspective(1600px) rotateY(calc(-2deg + var(--tilt-x, 0deg))) rotateX(calc(1deg + var(--tilt-y, 0deg))); }

/* Push notification sliding in over the phone */
.push-toast {
  position: absolute; right: -8px; bottom: 335px; z-index: 6; width: 250px;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px -16px rgba(11,37,69,.55); border: 1px solid var(--line);
  opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .45s ease, transform .45s cubic-bezier(.2,.9,.3,1.2);
}
.push-toast.show { opacity: 1; transform: none; }
.push-icon { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--navy) url("logos/filopano-app-icon.svg") center/cover; }
.push-text b { display: block; font-size: 13px; color: var(--navy); }
.push-text small { display: block; font-size: 11.5px; color: var(--muted); }

/* Marquee */
.marquee { overflow: hidden; background: var(--bg-tint); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; padding: 16px 0 16px 28px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.marquee-track span::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-left: 14px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Spotlight on feature cards (position set from JS) */
.feature { position: relative; overflow: hidden; }
.feature::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(0,168,181,.12), transparent 60%);
}
.feature:hover::before { opacity: 1; }
.feature > * { position: relative; }
.feature:hover .f-icon { transform: translateY(-3px) rotate(-6deg); }
.f-icon { transition: transform .3s cubic-bezier(.2,.9,.3,1.4); }

/* Animated border on the featured app card */
.app-card.featured { isolation: isolate; border-color: transparent; }
.app-card.featured::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--angle, 0deg), var(--teal), var(--orange), transparent 40%, var(--teal));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-border 6s linear infinite;
}
@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spin-border { to { --angle: 360deg; } }

/* Steps line draws as the section scrolls into view */
.steps::before { transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s ease .2s; }
.steps.drawn::before { transform: scaleX(1); }
.step-num { transition: transform .4s cubic-bezier(.2,.9,.3,1.4), background .3s ease; }
.step:hover .step-num { transform: scale(1.08); background: var(--teal-soft); }

/* CTA aurora */
.cta-inner { background-size: 160% 160%; animation: aurora 14s ease-in-out infinite; }
@keyframes aurora { 0%, 100% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } }

/* Shine sweep on primary buttons */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg);
}
.btn-primary:hover::after { animation: shine .8s ease; }
@keyframes shine { to { left: 130%; } }

@media (max-width: 1080px) {
  .push-toast { right: 8px; bottom: auto; top: -20px; }
}
@media (max-width: 640px) {
  .hero-visual .panel-mock, .hero-visual:hover .panel-mock { transform: none; }
  .push-toast { width: 220px; right: 0; top: -34px; }
  .marquee-track span { padding: 12px 0 12px 20px; font-size: 14px; }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .phone-mock { right: -12px; }
}
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 72px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { max-width: 680px; margin-inline: auto; width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .apps-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .audience-grid { grid-template-columns: 1fr; }
  .security { grid-template-columns: 1fr; gap: 40px; }
  .security-visual { order: -1; }
  .cta-inner { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
  .cta-actions { justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 88px; }
  .lead { font-size: 17px; }
  .section { padding: 72px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .panel-mock { transform: none; }
  .phone-mock { width: 160px; right: -6px; bottom: -70px; }
  .choice { font-size: 10px; padding: 7px 2px; }
  .hero-visual { min-height: 0; }
  .float-board { left: 8px; top: -26px; }
  .footer-links { gap: 40px; }
  .btn-lg { width: 100%; }
  .cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Legal pages (gizlilik, kullanım şartları) */
.legal-hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 132px 0 56px; }
.legal-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 44px); }
.legal-hero p { color: rgba(255, 255, 255, .75); margin-top: 12px; max-width: 640px; }
.legal { padding: 56px 0 96px; }
.legal-body { max-width: 760px; }
.legal-body h2 { font-size: 22px; margin: 40px 0 12px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text); }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { padding-left: 22px; margin: 12px 0; }
.legal-body li + li { margin-top: 6px; }
.legal-body a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; }
.legal-body .note { background: var(--teal-soft); border-radius: var(--radius-sm); padding: 16px 20px; margin: 16px 0; }
.legal-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal-table th { color: var(--ink); background: var(--bg-tint); }
@media (max-width: 640px) {
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; }
  .legal-table thead { display: none; }
  .legal-table td:first-child { font-weight: 700; color: var(--ink); padding-bottom: 0; border-bottom: 0; }
}

/* ---------- Corporate additions ---------- */
.topbar { background: var(--navy-deep); color: rgba(255,255,255,.72); font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; flex-wrap: wrap; }
.topbar-right { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.topbar-right span::before { content: "✓"; color: var(--teal); margin-right: 6px; font-weight: 700; }
.topbar a { color: #fff; font-weight: 600; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.split-lead { font-size: 18px; margin: 16px 0 24px; color: var(--text); }
.split .checks li b { color: var(--ink); }
.split-visual { position: relative; display: flex; justify-content: center; }
.device { margin: 0; width: min(320px, 80vw); border-radius: 36px; padding: 10px; background: var(--navy); box-shadow: var(--shadow); }
.device img { width: 100%; height: auto; border-radius: 28px; }
.float-notify { position: absolute; left: -12px; top: 18%; display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-sm); max-width: 260px; }
.float-notify b { display: block; color: var(--ink); font-size: 14px; }
.float-notify small { color: var(--muted); font-size: 12px; }
.float-notify .push-icon { flex: none; }

.soon-card { margin-top: 24px; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid rgba(245,130,32,.45); }
.soon-card p { font-size: 15px; }
.soon-card b { color: var(--ink); }
.soon-badge { flex: none; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--orange); background: var(--orange-soft); padding: 4px 10px; border-radius: 999px; }

.app-shot { margin: 18px 0 6px; border-radius: 22px; overflow: hidden; background: var(--navy); padding: 6px; max-width: 220px; }
.app-shot img { width: 100%; height: auto; border-radius: 17px; }
.audience .f-icon { margin-bottom: 14px; }

.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; opacity: .85; }
.link-button:hover { opacity: 1; }

.consent { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 720px; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 16px 20px; border-radius: var(--radius-sm); background: #fff; color: var(--text); font-size: 14px; box-shadow: 0 20px 60px -20px rgba(11,37,69,.55); border: 1px solid var(--line); }
.consent[hidden] { display: none; }
.consent p { flex: 1 1 320px; }
.consent a { color: var(--teal-dark); font-weight: 700; text-decoration: underline; }
.consent-actions { display: flex; gap: 10px; }

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .float-notify { left: 0; }
}
@media (max-width: 640px) {
  .topbar-inner > span:first-child { display: none; }
  .topbar-right { gap: 12px; font-size: 12px; }
  .consent-actions { width: 100%; }
  .consent-actions .btn { flex: 1; }
}
.split .checks li { display: block; position: relative; padding-left: 38px; font-weight: 500; color: var(--text); }
.split .checks li::before { position: absolute; left: 0; top: 0; }
.app-shot.wide { max-width: none; padding: 4px; border-radius: 14px; }
.app-shot.wide img { border-radius: 10px; }

/* ---------- Language switch (TR / EN) ---------- */
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: var(--bg-tint); border: 1px solid var(--line); flex: none; }
.lang-switch a { padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--muted); line-height: 1.2; }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current] { background: var(--navy); color: #fff; }
.header-cta + .lang-switch { margin-left: -8px; }
.inline-link { color: var(--teal-dark); font-weight: 700; border-bottom: 2px solid rgba(0,168,181,.35); }
.inline-link:hover { border-bottom-color: var(--teal); }
.more-link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--teal-dark); }
.more-link:hover { color: var(--navy); }

/* ---------- Service companies ---------- */
.firm-split { align-items: start; }
.firm-visual { position: relative; padding-bottom: 56px; }
.firm-mock { box-shadow: var(--shadow); }
.firm-body { padding: 18px; display: grid; gap: 14px; }
.firm-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.firm-head b { color: var(--navy); font-size: 16px; }
.firm-chip { position: static; box-shadow: none; background: var(--teal-soft); white-space: nowrap; }
.firm-head { flex-wrap: wrap; }
.firm-table { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.firm-row { display: grid; grid-template-columns: 1.6fr .8fr .9fr auto; gap: 10px; align-items: center; padding: 10px 12px; font-size: 13px; color: var(--navy); }
.firm-row + .firm-row { border-top: 1px solid var(--line); }
.firm-row b { display: block; font-size: 13.5px; }
.firm-row small { display: block; font-size: 11.5px; color: var(--muted); }
.firm-row-head { background: #FAFCFD; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.firm-live { color: var(--teal-dark); font-weight: 700; }
.firm-idle { color: var(--muted); }
.firm-enter { font-size: 11.5px; font-weight: 700; color: #fff; background: var(--navy); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.firm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.firm-card { border-radius: 12px; padding: 10px 12px; background: var(--bg-tint); }
.firm-card small { display: block; font-size: 11.5px; color: var(--muted); }
.firm-card b { display: block; font-size: 13.5px; color: var(--navy); }
.firm-card.warn { background: var(--orange-soft); }
.firm-driver { right: -14px; bottom: 0; max-width: 300px; animation: float 7s ease-in-out infinite; }
.firm-driver b + b { margin-top: 2px; }

/* Desktop nav gets tight with the extra link and the language switch: the links stay on one
   line and "Güvenlik" only shows where there is room for it (always in the mobile menu and footer). */
.nav { margin-left: 12px; gap: 2px; }
.nav a { white-space: nowrap; padding: 8px 11px; }
.nav .nav-wide { display: none; }
@media (min-width: 1340px) {
  .nav .nav-wide { display: inline-block; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
}
@media (max-width: 860px) {
  .header-cta + .lang-switch { margin-left: auto; }
}
@media (max-width: 960px) {
  .firm-visual { max-width: 560px; margin-inline: auto; width: 100%; }
}
@media (max-width: 640px) {
  .firm-row { grid-template-columns: 1.5fr .6fr .8fr; }
  .firm-row > span:last-child { display: none; }
  .firm-cards { grid-template-columns: 1fr; }
  .firm-driver { right: 0; left: 12px; max-width: none; }
  .firm-visual { padding-bottom: 72px; }
  .header-inner { gap: 12px; }
  .brand-word { font-size: 23px; }
  .brand-mark { width: 38px; height: 36px; }
}
