/* ==========================================================================
   Syntra marketing site — shared stylesheet
   Same visual identity as the app itself (public/assets/style.css):
   signal blue #0066FF, Space Grotesk headings, Inter body text.
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #0066ff;
    --surface: #FFFFFF;
    --line: #E3E7EC;
    --text: #14161A;
    --muted: #6B7280;
    --signal: #0066FF;
    --signal-hover: #0052CC;
    --signal-dim: #E1EBFF;
    --live: #22C55E;
    --amber: #D97706;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(20,22,26,.05);
    --shadow-md: 0 6px 20px rgba(20,22,26,.07);
    --shadow-lg: 0 20px 48px rgba(20,22,26,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: #0066ff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 24px;
    line-height: 1.6;
    overflow-x: hidden;
}
h1, h2, h3, .display {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 .5em;
}
a { color: var(--signal); text-decoration: none; }
a:hover { color: var(--signal-hover); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--signal); color: #fff; border: none; border-radius: 999px;
    padding: 13px 26px; font-weight: 600; font-size: .95rem; cursor: pointer;
    box-shadow: var(--shadow-sm); transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
    position: relative; overflow: hidden;
}
.btn:hover { background: var(--signal-hover); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn.secondary { background: #fff; color: var(--signal); border: 1.5px solid var(--line); box-shadow: none; }
.btn.secondary:hover { border-color: var(--signal); background: var(--signal-dim); }
.btn.lg { padding: 16px 32px; font-size: 1.02rem; }
.eyebrow {
    display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--signal); background: var(--signal-dim);
    padding: 5px 14px; border-radius: 999px; margin-bottom: 16px;
    animation: fadeDown .6s ease both;
}

/* ---- Entrance / scroll-reveal animations ---- */
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 50% { transform: translate(14px, -22px) rotate(6deg); } }
@keyframes floatSlow { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-18px, 18px); } }
@keyframes pulseGlow { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Card pop-in — same scroll-triggered, staggered-delay entrance used for the
   homepage stat/feature/step boxes, applied here site-wide to any grid of cards
   marked .reveal-stagger (pricing plans, contact cards, highlight cards, value
   cards, the features-page tool grid, etc). assets/main.js adds .in-view once
   the grid scrolls into the viewport, then each child plays its own pop-in a
   beat after the last. */
@keyframes cardPopIn { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.reveal-stagger.in-view > * { animation: cardPopIn .6s cubic-bezier(.16,1,.3,1) both; }
.reveal-stagger.in-view > *:nth-child(1) { animation-delay: .06s; }
.reveal-stagger.in-view > *:nth-child(2) { animation-delay: .18s; }
.reveal-stagger.in-view > *:nth-child(3) { animation-delay: .30s; }
.reveal-stagger.in-view > *:nth-child(4) { animation-delay: .42s; }
.reveal-stagger.in-view > *:nth-child(5) { animation-delay: .54s; }
.reveal-stagger.in-view > *:nth-child(6) { animation-delay: .66s; }
.reveal-stagger.in-view > *:nth-child(7) { animation-delay: .78s; }
.reveal-stagger.in-view > *:nth-child(8) { animation-delay: .90s; }
.reveal-stagger.in-view > *:nth-child(9) { animation-delay: 1.02s; }
.reveal-stagger.in-view > *:nth-child(10) { animation-delay: 1.14s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .reveal-stagger > * { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
    .blob, .float-shape { animation: none !important; }
    .steps-sequential .step, .steps-sequential .step-num, .steps.steps-sequential::before {
        animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important;
    }
}

/* ---- Header ---- */
header.site {
    position: sticky; top: 0; z-index: 100; background: #ffffff; border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease, padding .25s ease;
}
header.site.scrolled { box-shadow: var(--shadow-sm); }
.nav-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--text); }
.logo-img { width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0; display: block; }
.logo-badge {
    width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--signal), var(--signal-hover));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.05rem;
    box-shadow: var(--shadow-sm);
}
nav.links { display: flex; gap: 28px; }
nav.links a { color: var(--text); font-weight: 500; font-size: .94rem; position: relative; padding: 4px 0; }
nav.links a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
    background: var(--signal); transition: width .25s ease;
}
nav.links a:hover { color: var(--signal); }
nav.links a:hover::after, nav.links a.active::after { width: 100%; }
nav.links a.active { color: var(--signal); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .btn { padding: 10px 20px; font-size: .88rem; }
.menu-toggle {
    display: none; background: none; border: none; cursor: pointer; width: 36px; height: 30px;
    position: relative; padding: 0;
}
.menu-toggle span {
    display: block; position: absolute; left: 0; width: 100%; height: 2px; background: var(--text);
    border-radius: 2px; transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 14px; }
.menu-toggle span:nth-child(3) { top: 24px; }
.menu-toggle.open span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 14px; transform: rotate(-45deg); }
.mobile-menu {
    display: none; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.mobile-menu.open { max-height: 560px; }
.mobile-menu a { padding: 14px 24px; border-top: 1px solid var(--line); font-weight: 500; color: var(--text); }
.mobile-menu .btn { margin: 14px 24px; }

/* ---- Hero with animated blobs ---- */
.hero { position: relative; padding: 92px 0 76px; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5;
    animation: float 9s ease-in-out infinite;
}
.blob.b1 { width: 320px; height: 320px; background: radial-gradient(circle, #0066FF, transparent 70%); top: -80px; left: -60px; }
.blob.b2 { width: 260px; height: 260px; background: radial-gradient(circle, #22C55E, transparent 70%); top: 40px; right: -40px; animation: floatSlow 11s ease-in-out infinite; }
.blob.b3 { width: 220px; height: 220px; background: radial-gradient(circle, #D97706, transparent 70%); bottom: -80px; left: 40%; animation: float 13s ease-in-out infinite; }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 2.9rem; max-width: 820px; margin: 0 auto .5em; line-height: 1.15; animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: .06s; }
.hero h1 span { color: var(--signal); }
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; margin: 0 auto 36px; animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: .14s; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: .22s; }
.hero-note { font-size: .86rem; color: var(--muted); animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) both; animation-delay: .3s; }

.page-hero { position: relative; padding: 66px 0 56px; text-align: center; overflow: hidden; }
.page-hero h1 { font-size: 2.3rem; animation: fadeUp .6s ease both; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.05rem; animation: fadeUp .6s ease both .08s; }

/* ---- Floating mockup / chat preview on hero ---- */
.hero-visual { position: relative; z-index: 1; max-width: 420px; margin: 44px auto 0; }
.chat-mock {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 18px; text-align: left; animation: popIn .6s cubic-bezier(.2,.7,.2,1) both .3s;
}
.chat-mock .mock-head { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.chat-mock .mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: pulseGlow 1.8s ease-in-out infinite; }
.chat-mock .mock-title { font-weight: 600; font-size: .85rem; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 14px; font-size: .84rem; margin-bottom: 8px; animation: fadeUp .5s ease both; }
.bubble.in { background: #EEF1F5; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--signal); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.in:nth-of-type(2) { animation-delay: .5s; }
.bubble.out:nth-of-type(3) { animation-delay: .9s; }

/* ---- Channel strip ---- */
.channels { padding: 10px 0 60px; }
.channel-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.channel-pill {
    display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line);
    border-radius: 999px; padding: 10px 20px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.channel-pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.channel-pill .dot { width: 9px; height: 9px; border-radius: 50%; }

/* ---- Section shell ---- */
section { padding: 78px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 50px; }
.section-head h2 { font-size: 2.1rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---- Stats strip ---- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-box {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px;
    text-align: left; box-shadow: var(--shadow-sm); transition: transform .2s ease;
    display: flex; align-items: center; gap: 16px;
}
.stat-box:hover { transform: translateY(-4px); }
.stat-box .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.9rem; color: var(--signal); line-height: 1; }
.stat-box .label { color: var(--muted); font-size: .84rem; margin-top: 6px; line-height: 1.3; }
.stat-visual { flex-shrink: 0; display: flex; align-items: center; justify-content: center; }

/* Icon grid (2-up) on the left of each stat box */
.stat-icons-grid { display: grid; grid-template-columns: repeat(2, 38px); grid-auto-rows: 38px; gap: 8px; }
.mini-badge {
    width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0; box-shadow: var(--shadow-sm); transition: transform .2s ease;
}
.stat-box:hover .mini-badge { transform: translateY(-2px); }
.mini-badge svg { width: 19px; height: 19px; }
.mini-badge.fb { background: #1877F2; }
.mini-badge.ig { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.mini-badge.wa { background: #25D366; }
.mini-badge.web { background: var(--signal); }
.mini-badge.mail { background: #6B7280; }
.mini-badge.sms { background: #111827; }
.mini-badge.claude { background: #D97757; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .9rem; }
.mini-badge.gemini { background: linear-gradient(135deg, #4285F4, #9B72CB 55%, #D96570); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .9rem; }
.mini-badge.openai { background: #10A37F; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .9rem; }
.stat-icon-big {
    width: 52px; height: 52px; border-radius: 14px; background: var(--signal-dim); color: var(--signal);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
@media (max-width: 480px) {
    .stat-box { flex-direction: column; text-align: center; padding: 24px 16px; }
    .stat-box .label { margin-top: 2px; }
}

/* ---- Highlight groups (Features page) ---- */
.highlight-group { margin-bottom: 54px; }
.highlight-group:last-child { margin-bottom: 0; }
.group-label {
    display: flex; align-items: center; gap: 10px; font-family: 'Space Grotesk', sans-serif;
    font-weight: 600; font-size: 1.05rem; margin-bottom: 20px; color: var(--text);
}
.group-label .group-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex-shrink: 0; }
.highlight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.highlight-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px; display: flex; gap: 16px; box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.highlight-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--signal-dim); }
.highlight-card .h-icon {
    width: 44px; height: 44px; border-radius: 12px; background: var(--signal-dim); color: var(--signal);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: transform .25s ease, background .25s ease, color .25s ease;
}
.highlight-card:hover .h-icon { background: var(--signal); color: #fff; transform: scale(1.08) rotate(-4deg); }
.highlight-card h3 { font-size: 1rem; margin-bottom: 6px; }
.highlight-card p { color: var(--muted); font-size: .88rem; margin: 0; line-height: 1.55; }
.highlight-card .tag {
    display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
    color: var(--live); background: #E8FBF0; padding: 2px 8px; border-radius: 999px; margin-bottom: 6px;
}
@media (max-width: 760px) {
    .highlight-grid { grid-template-columns: 1fr; }
}

/* ---- Features grid ---- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--signal-dim); }
.feature-icon {
    width: 46px; height: 46px; border-radius: 12px; background: var(--signal-dim); color: var(--signal);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: transform .25s ease, background .25s ease, color .25s ease;
}
.feature-card:hover .feature-icon { background: var(--signal); color: #fff; transform: scale(1.08) rotate(-4deg); }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Centered, larger icon variant (homepage "Why Syntra" teaser) */
.feature-card.centered { text-align: center; }
.feature-card.centered .feature-icon { margin-left: auto; margin-right: auto; }
.feature-icon.lg { width: 64px; height: 64px; border-radius: 16px; }
.feature-icon.lg svg { width: 28px; height: 28px; }

/* ---- How it works ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before {
    content: ''; position: absolute; top: 22px; left: 16%; right: 16%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px); z-index: 0;
}
.step { text-align: center; padding: 0 10px; position: relative; z-index: 1; }
.step-num {
    width: 44px; height: 44px; border-radius: 50%; background: var(--signal); color: #fff;
    display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; margin: 0 auto 18px; font-size: 1.1rem; box-shadow: var(--shadow-md);
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* Sequential (one-at-a-time) reveal for "How it works" — JS adds .in-view per step with a delay */
.steps.steps-sequential::before {
    transform: scaleX(0); transform-origin: left; transition: transform 1.3s cubic-bezier(.2,.7,.2,1) .15s;
}
.steps.steps-sequential.line-draw::before { transform: scaleX(1); }
.steps-sequential .step {
    opacity: 0; transform: translateY(26px) scale(.95);
    transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1);
}
.steps-sequential .step.in-view { opacity: 1; transform: translateY(0) scale(1); }
.steps-sequential .step-num {
    transform: scale(.4); opacity: 0;
    transition: transform .45s cubic-bezier(.34,1.56,.64,1) .1s, opacity .3s ease .1s, box-shadow .3s ease;
}
.steps-sequential .step.in-view .step-num { transform: scale(1); opacity: 1; }
.steps-sequential .step.in-view .step-num { animation: pulseGlow 1.6s ease-in-out .55s 1; }

/* Placeholder slot for a step image the user will add later */
.step-media {
    margin-top: 18px; border-radius: var(--radius-sm); overflow: hidden; line-height: 0;
}
.step-media img { width: 100%; height: auto; display: block; }

/* ---- About ---- */
.about-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-copy p { color: #333333; font-size: 1rem; margin-bottom: 16px; }
.about-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px; box-shadow: var(--shadow-md);
}
.about-stat { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.about-stat:last-child { border-bottom: none; }
.about-stat .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--signal); font-size: 1.3rem; }
.about-stat .label { color: var(--muted); font-size: .88rem; max-width: 170px; text-align: right; }

/* ---- Timeline (About page) ---- */
/* "Our story" sits on a blue band: heading in white, the timeline itself in a white card so every line stays readable. */
.story-section .section-head h2 { color: #fff; }
.story-section .section-head .eyebrow { background: #fff; color: var(--signal); }
.timeline {
    position: relative; max-width: 760px; margin: 0 auto; padding: 40px 40px 40px 64px;
    background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
}
.timeline::before {
    content: ''; position: absolute; left: 41px; top: 52px; bottom: 52px; width: 2px;
    background: linear-gradient(var(--signal), var(--signal-dim));
}
.timeline.reveal-stagger > * { opacity: 0; }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: ''; position: absolute; left: -31px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--signal); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--signal);
}
.timeline-item .year {
    display: inline-block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--signal);
    background: var(--signal-dim); font-size: .8rem; letter-spacing: .02em; padding: 3px 12px; border-radius: 999px; margin-bottom: 8px;
}
.timeline-item h3 { font-size: 1.15rem; color: var(--text); margin: 0 0 6px; }
.timeline-item p { color: #475569; font-size: .98rem; line-height: 1.65; margin: 0; }
@media (max-width: 560px) {
    .timeline { padding: 28px 22px 28px 48px; }
    .timeline::before { left: 28px; }
    .timeline-item::before { left: -27px; }
}

/* ---- Values grid ---- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { text-align: center; padding: 10px; transition: transform .25s ease; }
.value-card:hover { transform: translateY(-5px); }
.value-card:hover .value-icon { background: var(--signal); color: #fff; transform: scale(1.08) rotate(-4deg); }
.value-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--signal-dim); color: var(--signal); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; transition: transform .25s ease, background .25s ease, color .25s ease; }
.value-card h3 { font-size: 1.02rem; }
.value-card p { color: var(--muted); font-size: .9rem; }

/* ---- Pricing ---- */
.billing-toggle { display: flex; justify-content: center; align-items: center; gap: 14px; margin-bottom: 44px; font-size: .92rem; font-weight: 500; }
.switch { position: relative; width: 52px; height: 28px; background: var(--signal-dim); border-radius: 999px; cursor: pointer; border: none; padding: 0; }
.switch .knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--signal); transition: transform .25s ease; box-shadow: var(--shadow-sm); }
.switch.on .knob { transform: translateX(24px); }
.save-badge { background: var(--signal-dim); color: var(--signal); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card.featured { border: 2px solid var(--signal); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.price-card.featured:hover { transform: translateY(-10px); }
.price-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--signal); color: #fff; font-size: .72rem; font-weight: 700;
    padding: 4px 14px; border-radius: 999px; letter-spacing: .03em;
}
.price-card h3 { font-size: 1.1rem; margin-bottom: 2px; }
.price-card .for { font-size: .78rem; color: var(--muted); min-height: 32px; margin-bottom: 14px; }
.price-amount { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.9rem; margin-bottom: 2px; transition: opacity .15s ease; }
.price-amount small { font-family: 'Inter', sans-serif; font-weight: 500; font-size: .78rem; color: var(--muted); }
.price-yearly { font-size: .78rem; color: var(--muted); margin-bottom: 20px; min-height: 18px; }
.price-list { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.price-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .86rem; padding: 6px 0; color: var(--text); }
.price-list li.off { color: #B4B9C2; }
.price-list li .tick { color: var(--live); flex-shrink: 0; font-weight: 700; }
.price-list li .cross { color: #C7CBD3; flex-shrink: 0; }
.price-card .btn { width: 100%; }

/* ---- Compare table ---- */
.compare-wrap { overflow-x: auto; margin-top: 60px; }
table.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); min-width: 760px; }
table.compare th, table.compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: .88rem; }
table.compare th { background: #FAFBFC; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }
table.compare td:first-child, table.compare th:first-child { text-align: left; color: var(--muted); font-weight: 500; }
table.compare .yes { color: var(--live); font-weight: 700; }
table.compare .no { color: #C7CBD3; }

/* ---- FAQ accordion ---- */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 18px 22px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: .96rem; color: var(--text);
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .plus { font-size: 1.3rem; color: var(--signal); transition: transform .25s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { padding: 0 22px 18px; color: var(--muted); font-size: .9rem; margin: 0; }

/* ---- Contact page ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.contact-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
    box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--signal-dim); color: var(--signal); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }

/* ---- CTA band ---- */
.cta-band {
    background: linear-gradient(135deg, var(--signal), #3D8BFF); border-radius: 24px;
    padding: 56px 40px; text-align: center; color: #fff; margin: 0 24px; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
    content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12);
}
.cta-band::before { width: 220px; height: 220px; top: -100px; left: -60px; animation: float 8s ease-in-out infinite; }
.cta-band::after { width: 180px; height: 180px; bottom: -90px; right: -40px; animation: floatSlow 10s ease-in-out infinite; }
.cta-band h2 { color: #fff; font-size: 2rem; position: relative; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 480px; margin: 0 auto 28px; position: relative; }
.cta-band .btn { background: #fff; color: var(--signal); position: relative; }
.cta-band .btn:hover { background: #F2F4F7; }

/* ---- Footer ---- */
footer.site { padding: 60px 0 0; background: #0B0D12; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 36px; padding-bottom: 44px; }
footer.site .logo { color: #fff; }
footer.site .muted { color: #9AA1AE; }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: #8B93A3; margin-bottom: 14px; }
.footer-col a { display: block; color: #DEE1E7; font-size: .9rem; margin-bottom: 10px; }
.footer-col a:hover { color: #fff; }
.footer-bottom-strip { background: #fff; }
.footer-bottom { padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: var(--muted); }

/* ---- Back-to-top ---- */
.to-top {
    position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
    background: var(--signal); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease; z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 880px) {
    nav.links, .nav-actions .btn.secondary { display: none; }
    .menu-toggle { display: block; }
    .mobile-menu { display: flex; }
    .hero h1 { font-size: 2.1rem; }
    .about-wrap { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; gap: 36px; }
    .steps::before { display: none; }
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .price-card.featured { transform: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-band { margin: 0 16px; padding: 44px 24px; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .feature-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.7rem; }
    table.compare { min-width: 620px; }
    .stats-strip { grid-template-columns: 1fr 1fr; }
}

/* ---- Top contact bar (above logo + menu) ---- */
.topbar { background: var(--signal); color: #fff; font-size: .82rem; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; opacity: .8; }
.topbar svg { width: 14px; height: 14px; flex-shrink: 0; }
.topbar-contact { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social svg { width: 15px; height: 15px; }
@media (max-width: 640px) {
    .topbar-row { justify-content: center; }
    .topbar-contact { justify-content: center; gap: 14px; }
    .topbar-social { display: none; }
}

/* ---- Square image beside the intro text (homepage) ---- */
.about-image { width: 100%; max-width: 440px; justify-self: center; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--signal-dim); }
.about-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Header image band for inner pages (same photo as the homepage hero) ---- */
.page-hero.with-bg {
    background-image: radial-gradient(circle at top right, transparent 0%, transparent 10%, rgba(0, 0, 0, 0.99) 90%, rgba(0, 0, 0, 0.35) 100%), url('../hss.jpg');
    background-size: cover; background-position: center; background-repeat: no-repeat;
    padding: 84px 0 72px;
}
.page-hero.with-bg h1 { color: #fff; }
.page-hero.with-bg p { color: rgba(255,255,255,.88); }

/* ---- Mobile fixes: compact header + show the RIGHT side of the header photo ---- */
.logo { white-space: nowrap; }
@media (max-width: 760px) {
    .hero, .page-hero.with-bg { background-position: right center !important; }
}
@media (max-width: 560px) {
    .nav-row { padding: 12px 16px; gap: 12px; }
    .nav-actions .btn { display: none; }   /* Log in / Start Free Trial live in the menu on phones */
    .logo { font-size: 1.1rem; gap: 8px; }
    .logo-img { width: 30px; height: 30px; }
    .mobile-menu .btn { text-align: center; justify-content: center; }
}
.mobile-menu a.btn:not(.secondary) { color: #fff; }
.mobile-menu a.btn.secondary { color: var(--signal); }
