/* ============================================================
   Go2 Billing Software — Design System v3
   Single hue ramp, hairline borders, restrained motion.
   ============================================================ */

:root {
    /* Color — one blue ramp, warm neutrals */
    --ink: #0B1B34;            /* headings, footer */
    --ink-soft: #22334E;
    --body: #46536B;           /* body copy */
    --muted: #6B7A93;          /* secondary copy */
    --faint: #93A1B7;

    --blue-600: #2563EB;       /* primary */
    --blue-700: #1D4ED8;       /* hover */
    --blue-100: #DBE7FE;
    --blue-50: #EFF4FF;

    --green-600: #059669;
    --green-50: #ECFDF5;
    --amber-500: #F59E0B;

    --bg: #FFFFFF;
    --bg-alt: #F6F8FC;
    --line: #E7ECF4;
    --line-strong: #D8E0EC;

    --shadow-card: 0 1px 2px rgba(11, 27, 52, 0.04), 0 8px 24px -12px rgba(11, 27, 52, 0.10);
    --shadow-lift: 0 2px 4px rgba(11, 27, 52, 0.05), 0 18px 40px -16px rgba(11, 27, 52, 0.18);
    --shadow-btn: 0 1px 2px rgba(29, 78, 216, 0.25), 0 6px 16px -6px rgba(37, 99, 235, 0.45);

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-body);

    --max-width: 1200px;
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 999px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--body);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

::selection { background: var(--blue-100); color: var(--ink); }

:focus-visible {
    outline: 2px solid var(--blue-600);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Anchor targets clear the fixed header */
section[id] { scroll-margin-top: 92px; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 640px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

/* ---------- Icons ---------- */
.icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    flex-shrink: 0;
    vertical-align: middle;
}
.icon-lg { width: 24px; height: 24px; }

.icon-chip {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-50) 0%, #FFFFFF 60%, var(--blue-50) 100%);
    color: var(--blue-600);
    border: 1px solid var(--blue-100);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(37, 99, 235, 0.08);
}
.icon-chip .icon { width: 22px; height: 22px; }
.icon-chip.chip-green { background: var(--green-50); color: var(--green-600); border-color: #D2F1E4; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    cursor: pointer;
    padding: 0.75rem 1.375rem;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
                color 0.2s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--blue-600);
    color: #fff;
    box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--blue-700); box-shadow: var(--shadow-lift); }

.btn-ghost {
    background: #fff;
    color: var(--ink-soft);
    border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--blue-600); color: var(--blue-600); background: var(--blue-50); }

.btn-lg { padding: 0.9375rem 1.75rem; font-size: 1rem; border-radius: 14px; }

.btn-on-dark {
    background: #fff;
    color: var(--ink);
}
.btn-on-dark:hover { background: var(--blue-50); }
.btn-outline-dark {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}
.btn-outline-dark:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ---------- Badges ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.375rem 0.875rem;
    border-radius: var(--r-full);
    font-size: 0.8125rem;
    font-weight: 600;
    background: var(--blue-50);
    color: var(--blue-700);
    border: 1px solid var(--blue-100);
}
.badge .icon { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s var(--ease), transform 0.3s var(--ease), background 0.25s var(--ease);
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--line);
}
.header.hidden { transform: translateY(-100%); }

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
@media (min-width: 1024px) { .nav-container { padding: 0.875rem 2.5rem; } }

.logo { width: 104px; height: auto; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}
.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-soft);
    padding: 0.375rem 0;
    transition: color 0.2s var(--ease);
}
.nav-link:hover { color: var(--blue-600); }

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.625rem;
}
.mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 0.25s var(--ease), opacity 0.2s;
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero-section {
    position: relative;
    padding: 9.5rem 0 5rem;
    background:
        radial-gradient(1000px 500px at 85% -10%, rgba(37, 99, 235, 0.10), transparent 60%),
        radial-gradient(700px 420px at -10% 25%, rgba(37, 99, 235, 0.06), transparent 60%),
        linear-gradient(180deg, #FBFCFF 0%, #FFFFFF 100%);
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(11, 27, 52, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(11, 27, 52, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(900px 480px at 50% 0%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(900px 480px at 50% 0%, black 30%, transparent 75%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    gap: 3.5rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1.05fr 1fr; }
}

.hero-title {
    font-size: clamp(2.25rem, 4.6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 1.25rem 0;
}
.text-accent { color: var(--blue-600); }

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 1rem;
}
.hero-cta-note {
    font-size: 0.8125rem;
    color: var(--faint);
    margin-bottom: 2.25rem;
}

.hero-stats {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 1rem 0;
    border-top: 1px solid var(--line);
    padding-top: 1.75rem;
    margin-top: 1.25rem;
}
.hero-stat { text-align: center; }
.hero-stat {
    padding-right: 2rem;
    margin-right: 2rem;
    border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat .stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.hero-stat .stat-label {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* Device frames */
.frame-browser {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lift);
    overflow: hidden;
}
.frame-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg-alt);
}
.frame-browser-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line-strong);
}
.frame-browser-bar i:first-child { background: #FCA5A5; }
.frame-browser-bar i:nth-child(2) { background: #FCD34D; }
.frame-browser-bar i:nth-child(3) { background: #86EFAC; }
.frame-url {
    margin-left: 0.5rem;
    font-size: 0.71rem;
    color: var(--faint);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    padding: 0.15rem 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.frame-phone {
    width: min(260px, 66vw);
    aspect-ratio: 9 / 17.5;
    background: var(--ink);
    border-radius: 36px;
    padding: 9px;
    box-shadow: var(--shadow-lift);
    margin: 0 auto;
    position: relative;
}
.frame-phone::after {
    content: '';
    position: absolute;
    top: 17px;
    left: 50%;
    transform: translateX(-50%);
    width: 74px;
    height: 18px;
    background: var(--ink);
    border-radius: var(--r-full);
    z-index: 2;
}
.frame-phone .device-screen {
    border-radius: 28px;
    width: 100%;
    height: 100%;
}

.device-screen {
    position: relative;
    overflow: hidden;
    background: var(--bg-alt);
}
.device-screen img { width: 100%; height: 100%; object-fit: cover; }
.device-screen.screen-landscape { aspect-ratio: 1600 / 948; }
.device-screen.screen-wide { aspect-ratio: 1600 / 823; }

/* Swipeable screenshot rails inside device frames */
.shot-rail {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.shot-rail::-webkit-scrollbar { display: none; }
.shot-rail img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}
.device-screen.placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background:
        radial-gradient(420px 260px at 50% 0%, rgba(37, 99, 235, 0.10), transparent 70%),
        var(--bg-alt);
    color: var(--faint);
    min-height: 240px;
}
.device-screen.placeholder .icon { width: 30px; height: 30px; color: var(--blue-600); opacity: 0.55; }
.device-screen.placeholder span {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Floating invoice card on hero */
.hero-visual { position: relative; }
.hero-float-card {
    position: absolute;
    bottom: -4.75rem;
    left: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lift);
    padding: 0.875rem 1.125rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: floatY 5s ease-in-out infinite;
}
.hero-float-card .icon-chip { width: 38px; height: 38px; }
.hero-float-card .fc-title { font-size: 0.71rem; color: var(--muted); display: block; }
.hero-float-card .fc-value {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    font-size: 0.9375rem;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Floating receipt bills */
.floating-bill {
    position: absolute;
    width: 168px;
    padding: 0.875rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lift);
    font-family: 'Courier New', monospace;
    font-size: 0.68rem;
    color: var(--body);
    animation: floatY 5s ease-in-out infinite;
    z-index: 3;
}
.floating-bill.bill-1 { top: -2rem; right: -1.25rem; transform: rotate(4deg); }
.floating-bill.bill-2 { bottom: -3.5rem; right: -1.25rem; transform: rotate(-3deg); animation-delay: 2s; }
.hero-float-card { max-width: 62%; }
.bill-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.bill-logo { font-family: var(--font-display); font-weight: 800; color: var(--blue-600); font-size: 0.9rem; }
.bill-type { font-size: 0.6rem; font-weight: 700; background: var(--blue-50); color: var(--blue-700); padding: 0.1rem 0.4rem; border-radius: var(--r-sm); }
.bill-divider { height: 1px; margin: 0.35rem 0; background: repeating-linear-gradient(to right, var(--line-strong) 0 4px, transparent 4px 8px); }
.bill-items { display: grid; gap: 0.25rem; }
.bill-item { display: flex; justify-content: space-between; }
.bill-item.small { font-size: 0.62rem; color: var(--muted); font-style: italic; }
.bill-total { display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); font-size: 0.75rem; margin-top: 0.25rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-header {
    max-width: 680px;
    margin: 0 auto 3.5rem;
    text-align: center;
}
.section-title {
    font-size: clamp(1.75rem, 3.4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 1rem 0 0.875rem;
}
.section-subtitle { font-size: 1.0625rem; color: var(--muted); }

/* ---------- Switch reasons (pain points) ---------- */
.switch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}
.switch-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.switch-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
    border-color: var(--line-strong);
}
.switch-card h3 { font-size: 1.0625rem; margin: 1.125rem 0 0.5rem; }
.switch-card p { font-size: 0.9063rem; color: var(--muted); margin-bottom: 1rem; }
.switch-card .solution {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--green-600);
}
.switch-card .solution .icon { width: 15px; height: 15px; }

/* ---------- Product Suite ---------- */
.product-row {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--line);
}
.product-row:last-child { border-bottom: none; padding-bottom: 0; }
.product-row:first-child { padding-top: 0; }
@media (min-width: 900px) {
    .product-row { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
    .product-row.reverse .product-media { order: 2; }
    .product-row.reverse .product-copy { order: 1; }
}

.product-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-600);
    margin-bottom: 0.875rem;
}
.product-kicker .icon { width: 16px; height: 16px; }
.product-copy h3 {
    font-size: clamp(1.375rem, 2.4vw, 1.75rem);
    margin-bottom: 0.75rem;
}
.product-copy > p { color: var(--muted); margin-bottom: 1.375rem; }
.product-points { list-style: none; display: grid; gap: 0.625rem; }
.product-points li {
    display: flex;
    gap: 0.625rem;
    align-items: flex-start;
    font-size: 0.9375rem;
    color: var(--body);
}
.product-points .icon { width: 17px; height: 17px; color: var(--green-600); margin-top: 3px; }

/* ---------- Feature tabs ---------- */
.feature-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 0 auto 2.5rem;
    padding: 0.375rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.feature-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 0.9063rem;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.tab-btn:hover:not(.active) { color: var(--ink); }
.tab-btn.active {
    background: var(--blue-600);
    color: #fff;
    box-shadow: var(--shadow-btn);
}

.feature-panel { display: none; }
.feature-panel.active { display: block; animation: fadeUp 0.45s var(--ease); }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.feature-card h3 { font-size: 1.0625rem; margin: 1.125rem 0 0.5rem; }
.feature-card > p { font-size: 0.9063rem; color: var(--muted); margin-bottom: 1rem; }
.feature-list { list-style: none; display: grid; gap: 0.5rem; }
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--body);
}
.feature-list .icon { width: 15px; height: 15px; color: var(--green-600); margin-top: 4px; }

/* ---------- Industries ---------- */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}
.industry-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--blue-100); }
.industry-card .icon-chip { margin: 0 auto 0.875rem; }
.industry-card h3 { font-size: 0.9375rem; margin-bottom: 0.375rem; }
.industry-card p { font-size: 0.8125rem; color: var(--muted); margin-bottom: 0.75rem; }
.user-count {
    display: inline-block;
    font-size: 0.71rem;
    font-weight: 700;
    color: var(--blue-700);
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    padding: 0.2rem 0.625rem;
    border-radius: var(--r-full);
}

/* ---------- Testimonials ---------- */
.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 1rem;
}
.stars { display: inline-flex; gap: 2px; color: var(--amber-500); }
.stars .icon { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.rating-text { color: var(--muted); font-size: 0.9063rem; }

.testimonials-viewport {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.5rem 0.25rem 1.25rem;
    scrollbar-width: none;
}
.testimonials-viewport::-webkit-scrollbar { display: none; }

.testimonial-card {
    scroll-snap-align: start;
    flex: 0 0 min(400px, 86vw);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1rem;
}
.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-alt);
}
.testimonial-header h4 { font-size: 0.9375rem; }
.testimonial-header p { font-size: 0.8125rem; color: var(--muted); }
.testimonial-rating { margin-left: auto; display: inline-flex; gap: 1px; color: var(--amber-500); }
.testimonial-rating .icon { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.testimonial-text { font-size: 0.9375rem; color: var(--body); flex: 1; margin-bottom: 1.125rem; }
.testimonial-stats { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.testimonial-stats span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--blue-700);
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    padding: 0.25rem 0.625rem;
    border-radius: var(--r-full);
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 0.5rem;
}
.carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line-strong);
    color: var(--ink-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.carousel-btn:hover { border-color: var(--blue-600); color: var(--blue-600); background: var(--blue-50); }
.carousel-btn:disabled { opacity: 0.4; cursor: default; }

/* ---------- Pricing ---------- */
.pricing-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    max-width: 620px;
    margin: -1.5rem auto 3rem;
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--blue-700);
}
.pricing-tagline .icon { color: var(--amber-500); }
.pricing-tagline em {
    font-style: normal;
    background: linear-gradient(100deg, var(--blue-700) 20%, #7C3AED 40%, var(--blue-700) 60%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 4s linear infinite;
}
@keyframes shimmerText {
    0% { background-position: 120% 0; }
    100% { background-position: -80% 0; }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}
.pricing-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 2rem 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pricing-card.popular { border-color: var(--blue-600); box-shadow: var(--shadow-card); }

.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.875rem;
    background: var(--blue-600);
    color: #fff;
    border-radius: var(--r-full);
    font-size: 0.71rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.pricing-card .icon-chip { margin-bottom: 1.125rem; }
.plan-name { font-size: 1.125rem; margin-bottom: 0.25rem; }
.plan-for { font-size: 0.8125rem; color: var(--muted); margin-bottom: 1.25rem; }
.plan-price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}
.plan-price-note { font-size: 0.78rem; color: var(--faint); margin-bottom: 1.25rem; }
.plan-features {
    list-style: none;
    display: grid;
    gap: 0.625rem;
    margin-bottom: 1.75rem;
    flex: 1;
}
.plan-features li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-size: 0.875rem;
}
.plan-features .icon { width: 15px; height: 15px; color: var(--green-600); margin-top: 4px; }

.trial-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.75rem;
    margin-top: 2.5rem;
    padding: 1.125rem 1.75rem;
    background: var(--green-50);
    border: 1px solid #D2F1E4;
    border-radius: var(--r-lg);
    font-size: 0.9063rem;
    font-weight: 600;
    color: var(--green-600);
}
.trial-banner span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trial-banner .icon { width: 16px; height: 16px; }

/* Comparison table */
.pricing-comparison { margin-top: 4rem; }
.pricing-comparison h3 { text-align: center; font-size: 1.375rem; margin-bottom: 1.75rem; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); border: 1px solid var(--line); }
.comparison-table {
    width: 100%;
    min-width: 620px;
    background: #fff;
    border-collapse: collapse;
    font-size: 0.9063rem;
}
.comparison-table th, .comparison-table td {
    padding: 0.9375rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--line);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table th { background: var(--bg-alt); font-weight: 600; color: var(--ink); font-size: 0.875rem; }
.comparison-table th.highlight, .comparison-table td.highlight {
    background: var(--blue-50);
    color: var(--blue-700);
    font-weight: 600;
}
.comparison-table td { color: var(--body); }

/* ---------- FAQ ---------- */
.faq-grid { max-width: 760px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.25s var(--ease);
}
.faq-item:has(.faq-toggle[aria-expanded="true"]) { border-color: var(--blue-100); }
.faq-question { margin: 0; }
.faq-toggle {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-icon-wrap {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--blue-50);
    color: var(--blue-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease);
}
.faq-icon-wrap .icon { width: 14px; height: 14px; }
.faq-toggle[aria-expanded="true"] .faq-icon-wrap { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}
.faq-answer > div {
    padding: 0 1.5rem 1.375rem;
    color: var(--muted);
    font-size: 0.9375rem;
}

/* ---------- CTA band ---------- */
.cta-section {
    padding: 5.5rem 0;
    background:
        radial-gradient(800px 400px at 80% 0%, rgba(37, 99, 235, 0.35), transparent 60%),
        var(--ink);
}
.cta-content { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-title { color: #fff; font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; margin-bottom: 0.875rem; }
.cta-subtitle { color: rgba(255, 255, 255, 0.75); font-size: 1.0625rem; margin-bottom: 1.75rem; }
.cta-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.625rem 1.75rem;
    margin-bottom: 2.25rem;
}
.cta-features span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9063rem;
    font-weight: 500;
}
.cta-features .icon { width: 16px; height: 16px; color: #4ADE80; }
.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.875rem; }

/* ---------- Footer ---------- */
.footer {
    padding: 4rem 0 1.75rem;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo img { width: 92px; height: auto; }
.footer-description { font-size: 0.9063rem; margin-bottom: 1.5rem; max-width: 300px; }
.footer-contact { display: grid; gap: 0.5rem; font-size: 0.9063rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.footer-contact a:hover { color: #fff; }
.footer-contact .icon { width: 15px; height: 15px; }
.footer-column h4 { color: #fff; font-size: 0.9375rem; margin-bottom: 1.125rem; }
.footer-column ul { list-style: none; display: grid; gap: 0.625rem; }
.footer-column a { font-size: 0.9063rem; transition: color 0.2s; }
.footer-column a:hover { color: #fff; }
.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 27px; height: 27px; fill: #fff; }
.whatsapp-tooltip {
    position: absolute;
    right: 66px;
    bottom: 50%;
    transform: translateY(50%);
    background: var(--ink);
    color: #fff;
    padding: 0.5rem 0.875rem;
    border-radius: var(--r-sm);
    white-space: nowrap;
    font-size: 0.8125rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}
.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float.show-tooltip .whatsapp-tooltip { opacity: 1; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    display: none;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
}
.mobile-cta-bar.visible { transform: translateY(0); }
.mobile-cta-bar .btn { width: 100%; }

/* ---------- Modal ---------- */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(11, 27, 52, 0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), visibility 0.25s;
    padding: 1rem;
}
.modal.active { opacity: 1; visibility: visible; }
.modal-content {
    background: #fff;
    padding: 2.25rem;
    border-radius: var(--r-xl);
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(14px) scale(0.98);
    transition: transform 0.3s var(--ease);
}
.modal.active .modal-content { transform: translateY(0) scale(1); }
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted);
    transition: color 0.2s, border-color 0.2s;
}
.modal-close:hover { color: var(--ink); border-color: var(--line-strong); }
.modal h2 { font-size: 1.375rem; margin-bottom: 0.375rem; }
.modal > .modal-content > p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 1.5rem; }
.modal p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 1.5rem; }

.signup-form { display: grid; gap: 0.875rem; }
.signup-form input, .signup-form select {
    width: 100%;
    padding: 0.8125rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-md);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--ink);
    background: #fff;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.signup-form input:focus, .signup-form select:focus {
    outline: none;
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.btn-submit {
    padding: 0.9375rem;
    background: var(--blue-600);
    color: #fff;
    border: none;
    border-radius: var(--r-md);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--shadow-btn);
    transition: background 0.2s var(--ease);
}
.btn-submit:hover { background: var(--blue-700); }
.btn-submit:disabled { opacity: 0.65; cursor: default; }
.form-note { text-align: center; font-size: 0.78rem; color: var(--faint); }
.form-note a { color: var(--blue-600); text-decoration: underline; }

.success-message { text-align: center; padding: 1.5rem 0 0.5rem; }
.success-icon {
    width: 68px;
    height: 68px;
    background: var(--green-50);
    color: var(--green-600);
    border: 1px solid #D2F1E4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}
.success-icon .icon { width: 30px; height: 30px; }

/* ---------- Legal pages ---------- */
.legal-page { padding: 8.5rem 0 5rem; }
.legal-page .container { max-width: 780px; }
.legal-page h1 { font-size: clamp(1.875rem, 3.6vw, 2.5rem); margin-bottom: 0.5rem; letter-spacing: -0.025em; }
.legal-updated { color: var(--faint); font-size: 0.875rem; margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.25rem; margin: 2.25rem 0 0.75rem; }
.legal-page p, .legal-page li { color: var(--body); font-size: 0.9688rem; margin-bottom: 0.75rem; }
.legal-page ul { padding-left: 1.375rem; margin-bottom: 1rem; }
.legal-page a { color: var(--blue-600); text-decoration: underline; }

/* ---------- Scroll animations ---------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.12s; }
.stagger > *:nth-child(3) { transition-delay: 0.19s; }
.stagger > *:nth-child(4) { transition-delay: 0.26s; }
.stagger > *:nth-child(5) { transition-delay: 0.33s; }
.stagger > *:nth-child(6) { transition-delay: 0.4s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 4rem 0; }
    .hero-section { padding: 6.5rem 0 3rem; }

    /* Hero — tighter, confident type */
    .hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem); margin: 1rem 0 0.875rem; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
    .badge { font-size: 0.75rem; padding: 0.3rem 0.75rem; }

    /* Stats become swipeable chips */
    .hero-stats {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.625rem;
        border-top: none;
        padding: 1.25rem 0 0.25rem;
        margin-top: 0;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }
    .hero-stats::-webkit-scrollbar { display: none; }
    .hero-stat {
        border-right: none;
        margin: 0;
        padding: 0.75rem 1rem;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: var(--r-md);
        box-shadow: var(--shadow-card);
        flex: 0 0 auto;
        scroll-snap-align: start;
        text-align: center;
        min-width: 128px;
    }
    .hero-stat .stat-value { font-size: 1.2rem; }
    .hero-stat .stat-label { font-size: 0.71rem; white-space: nowrap; }

    /* Horizontal snap rails for card grids */
    .switch-grid, .feature-grid, .industry-grid, .pricing-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.875rem;
        padding: 0.25rem 1.25rem 1.25rem;
        margin: 0 -1.25rem;
        scrollbar-width: none;
    }
    .switch-grid::-webkit-scrollbar, .feature-grid::-webkit-scrollbar,
    .industry-grid::-webkit-scrollbar, .pricing-grid::-webkit-scrollbar { display: none; }
    .switch-card, .feature-card, .industry-card {
        flex: 0 0 76vw;
        max-width: 320px;
        scroll-snap-align: center;
    }
    .pricing-card { flex: 0 0 82vw; max-width: 340px; scroll-snap-align: center; }
    .industry-card { flex-basis: 60vw; }

    /* Rail hint — subtle edge fade */
    .rail-wrap { position: relative; }
    .rail-wrap::after {
        content: '';
        position: absolute;
        top: 0; right: 0; bottom: 0;
        width: 44px;
        background: linear-gradient(to left, var(--bg) 8%, transparent);
        pointer-events: none;
    }
    .section-alt .rail-wrap::after {
        background: linear-gradient(to left, var(--bg-alt) 8%, transparent);
    }

    /* Product rows — polished stacking */
    .product-row { padding: 2.75rem 0; gap: 1.75rem; }
    .product-media { order: 2; }
    .product-copy { order: 1; }
    .product-copy h3 { font-size: 1.3rem; }
    .frame-phone { width: min(230px, 62vw); }
    .product-points li { font-size: 0.9063rem; }

    .nav-menu {
        position: fixed;
        top: 62px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 1.25rem 1.25rem;
        gap: 0;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -20px rgba(11, 27, 52, 0.25);
        display: none;
        z-index: 999;
    }
    .nav-menu.active { display: flex; }
    .nav-link { padding: 0.9375rem 0.25rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .nav-menu .btn { margin-top: 1rem; }
    .mobile-menu-toggle { display: flex; }

    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-stat { padding-right: 1.25rem; margin-right: 1.25rem; }
    .hero-stat .stat-value { font-size: 1.25rem; }
    .hero-float-card { left: 0.5rem; bottom: -1rem; }
    .floating-bill { display: none; }

    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .mobile-cta-bar { display: block; }
    .whatsapp-float { bottom: 5.25rem; right: 1rem; width: 48px; height: 48px; }
    .whatsapp-float svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
    .testimonial-card { flex-basis: 86vw; }
    .hero-cta .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .animate-on-scroll { opacity: 1; transform: none; }
}

/* ---------- Print ---------- */
@media print {
    .header, .whatsapp-float, .mobile-cta-bar, .cta-buttons { display: none; }
    body { font-size: 12pt; }
}
