/* ============================================================
   Previx — Design System
   Clean, professional, gamified-safety brand
   ============================================================ */

:root {
    /* Brand */
    --primary:        #FF8134;
    --primary-dark:   #F46A12;
    --primary-soft:   #FFE7D5;
    --primary-tint:   #FFF4EA;

    --accent-green:   #48C086;
    --accent-green-soft: #E6F7EE;

    /* Neutrals */
    --ink:            #0F1115;
    --ink-2:          #1A1D22;
    --muted:          #5C616B;
    --muted-2:        #8A8F99;
    --line:           #ECEEF1;
    --line-2:         #E2E5EA;

    --bg:             #FFFFFF;
    --bg-soft:        #F8F8FA;
    --bg-deep:        #0F1115;

    /* Type */
    --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Easing & radii */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 24px;
    --r-xl: 32px;
    --r-pill: 999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(15, 17, 21, 0.04);
    --shadow-md: 0 12px 32px -12px rgba(15, 17, 21, 0.10);
    --shadow-lg: 0 30px 80px -20px rgba(15, 17, 21, 0.18);
    --shadow-orange: 0 16px 40px -12px rgba(255, 129, 52, 0.45);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* -------- Hex watermark background -------- */
.hex-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='254' viewBox='0 0 220 254'><path d='M110 0 L220 63.5 L220 190.5 L110 254 L0 190.5 L0 63.5 Z' fill='none' stroke='%23E9EBEF' stroke-width='1.4'/></svg>");
    background-size: 220px 254px;
    background-position: center top;
    opacity: 0.7;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}

/* -------- Typography -------- */
h1, h2, h3, h4 {
    font-family: var(--font-sans);
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.08;
}
h1 {
    font-size: clamp(2.4rem, 6.2vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}
h2 {
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.025em;
}
h3 {
    font-size: 1.15rem;
    font-weight: 700;
}
p {
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-pill);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 0 rgba(255,129,52,.4);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,129,52,.45); }
    70%  { box-shadow: 0 0 0 9px rgba(255,129,52,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,129,52,0); }
}

.text-orange { color: var(--primary); }
.muted { color: var(--muted); }

/* -------- Layout -------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
@media (max-width: 480px) {
    .container { padding: 0 18px; }
}

/* -------- Buttons -------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 0.97rem;
    transition: transform .25s var(--ease-out),
                box-shadow .25s var(--ease-out),
                background .2s ease, color .2s ease;
    line-height: 1;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px -14px rgba(255,129,52,.55);
    background: var(--primary-dark);
}

.btn-ghost {
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--line-2);
}
.btn-ghost:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--ink);
    color: #fff;
}
.btn-dark:hover {
    background: #000;
    transform: translateY(-2px);
}

.btn-link {
    padding: 12px 0;
    color: var(--ink);
    font-weight: 600;
    gap: 8px;
    border-radius: 0;
}
.btn-link i { transition: transform .25s var(--ease-out); }
.btn-link:hover i { transform: translateX(4px); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 1rem; }

/* Play-store badge (kept for compatibility) */
.btn-playstore {
    background: var(--ink);
    color: #fff;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 22px; border-radius: 14px;
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn-playstore i { font-size: 26px; }
.btn-playstore .btn-playstore-text { display: flex; flex-direction: column; line-height: 1.15; }
.btn-playstore .btn-playstore-text small { font-size: 10px; opacity: .8; text-transform: uppercase; letter-spacing: .5px; }
.btn-playstore .btn-playstore-text span { font-size: 15px; font-weight: 600; }
.btn-playstore:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(0,0,0,.35); }

/* -------- Header -------- */
header {
    position: fixed;
    top: 18px;
    left: 0; right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    transition: top .3s var(--ease-soft);
}
@media (max-width: 480px) { header { top: 12px; padding: 0 12px; } }

.header-glass {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 8px 8px 8px 28px;
    background: rgba(255,255,255,0.78);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: 0 10px 30px -16px rgba(15,17,21,.18), 0 1px 0 rgba(15,17,21,.04);
    border-radius: var(--r-pill);
    width: auto;
    max-width: calc(100vw - 36px);
    justify-content: space-between;
}
header.scrolled .header-glass {
    background: rgba(255,255,255,0.92);
    box-shadow: 0 14px 38px -18px rgba(15,17,21,.25);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}
.logo-icon {
    color: var(--primary);
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 10px;
    align-items: center;
}
.nav-link {
    position: relative;
    color: var(--muted);
    font-weight: 500;
    font-size: 0.94rem;
    padding: 9px 16px;
    border-radius: 100px;
    transition: color .2s ease, background .2s ease;
    white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: rgba(15,17,21,0.04); }
.nav-link.is-active { color: var(--ink); }

.header-cta {
    background: var(--ink);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: var(--r-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    transition: width .45s var(--ease-out), background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.header-cta i {
    font-size: 1rem;
    flex-shrink: 0;
}
.header-cta .header-cta-label {
    display: inline-block;
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.88rem;
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    overflow: hidden;
    transition: max-width .4s var(--ease-out),
                opacity .25s ease .05s,
                margin-left .4s var(--ease-out);
}
.header-cta:hover {
    width: 160px;
    background: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -8px rgba(255,129,52,.55);
}
.header-cta:hover .header-cta-label {
    max-width: 110px;
    opacity: 1;
    margin-left: 8px;
}
.header-cta:focus-visible {
    width: 160px;
    background: var(--primary);
}
.header-cta:focus-visible .header-cta-label {
    max-width: 110px;
    opacity: 1;
    margin-left: 8px;
}

.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.95);
    border: 1px solid var(--line);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background .2s ease;
}
.nav-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all .3s var(--ease-soft);
}

@media (max-width: 820px) {
    .header-glass { padding: 8px 8px 8px 22px; gap: 14px; }
    .nav-menu {
        position: fixed;
        top: 76px; left: 12px; right: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: 0 24px 60px -18px rgba(15,17,21,.18);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all .25s var(--ease-soft);
        pointer-events: none;
    }
    .nav-menu.open {
        opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
    }
    .nav-menu .nav-link {
        font-size: 1rem;
        padding: 14px 16px;
        border-radius: 12px;
        font-weight: 600;
        color: var(--ink);
    }
    .nav-menu .nav-link:hover { background: var(--primary-tint); color: var(--primary); }
    .nav-toggle { display: flex; }
    .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Disable hover-expand on touch devices */
    .header-cta { background: var(--primary); }
    .header-cta:hover { width: 44px; box-shadow: none; transform: none; }
    .header-cta:hover .header-cta-label,
    .header-cta:focus-visible .header-cta-label { max-width: 0; opacity: 0; margin-left: 0; }
    .header-cta:focus-visible { width: 44px; }
}
@media (hover: none) {
    .header-cta:hover { width: 44px; }
    .header-cta:hover .header-cta-label { max-width: 0; opacity: 0; margin-left: 0; }
}

body.nav-open { overflow: hidden; }

/* -------- HERO -------- */
.hero {
    position: relative;
    padding: 150px 0 80px;
    overflow: hidden;
}
@media (max-width: 768px) {
    .hero { padding: 110px 0 50px; }
}

.hero::before {
    content: "";
    position: absolute;
    width: 720px; height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255,129,52,.18), transparent 65%);
    top: -200px; right: -180px;
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 60px;
}
@media (max-width: 968px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
}

.hero-title {
    font-size: clamp(2.5rem, 6.4vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
}
.hero-title .line {
    display: block;
    padding-bottom: 0.04em;
}
.hero-title .underline {
    background: linear-gradient(120deg, transparent 0%, transparent 60%, rgba(255,129,52,.28) 60%, rgba(255,129,52,.28) 96%, transparent 96%);
    background-size: 100% 100%;
    padding: 0 4px;
}
.hero-title em {
    font-style: normal;
    color: var(--primary);
}
.hero-sub {
    margin-top: 22px;
    max-width: 520px;
    font-size: 1.12rem;
    color: var(--muted);
}
@media (max-width: 968px) { .hero-sub { margin-left: auto; margin-right: auto; } }

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
    flex-wrap: wrap;
}
@media (max-width: 968px) { .hero-cta-row { justify-content: center; } }
@media (max-width: 480px) {
    .hero-cta-row { flex-direction: column; gap: 12px; }
    .hero-cta-row .btn { width: 100%; max-width: 320px; }
}

.hero-trust {
    margin-top: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted-2);
    font-size: 0.86rem;
}
@media (max-width: 968px) { .hero-trust { justify-content: center; } }
.hero-trust .stars { color: #F5A623; letter-spacing: 1px; }
.hero-trust .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }

/* Hero visual — phone showcase */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1400px;
}
.phone-frame {
    position: relative;
    width: 300px;
    aspect-ratio: 9 / 19;
    background: #0c0c10;
    border-radius: 44px;
    padding: 11px;
    box-shadow:
        0 50px 90px -28px rgba(15,17,21,.45),
        inset 0 0 0 2px #2a2a32;
    transform-style: preserve-3d;
    transform: rotateY(-6deg) rotateX(3deg);
    transition: transform .6s var(--ease-out);
}
.phone-frame:hover { transform: rotateY(0deg) rotateX(0deg) translateY(-4px); }
.phone-frame::before {
    /* Camera notch */
    content: "";
    position: absolute;
    top: 12px; left: 50%; transform: translateX(-50%);
    width: 96px; height: 22px;
    background: #0a0a0d;
    border-radius: 0 0 14px 14px;
    z-index: 5;
}
.phone-screen {
    width: 100%; height: 100%;
    border-radius: 34px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Hero phone — Previx splash content */
.splash {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background:
        radial-gradient(120% 80% at 50% 10%, #FFF4EA 0%, #fff 70%);
    text-align: center;
    gap: 12px;
}
.splash .splash-shield {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: var(--primary-tint);
    color: var(--primary);
    font-size: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    box-shadow: 0 8px 24px -10px rgba(255,129,52,.6);
}
.splash .splash-wordmark {
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    color: var(--primary);
    line-height: 1;
}
.splash .splash-tagline {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--ink);
    text-transform: uppercase;
}
.splash .splash-cta {
    margin-top: 20px;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    box-shadow: 0 14px 26px -10px rgba(255,129,52,.55);
}

/* Floating badges next to phone */
.float-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
    animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
.float-card .fc-icon {
    width: 38px; height: 38px; border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.float-card .fc-icon.orange { background: var(--primary); }
.float-card .fc-icon.green  { background: var(--accent-green); }
.float-card .fc-text { display: flex; flex-direction: column; line-height: 1.2; }
.float-card .fc-label { font-size: 0.7rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.float-card .fc-value { font-size: 0.95rem; font-weight: 700; color: var(--ink); }

.float-card.fc-1 { top: 12%;  left: -36px; animation-delay: 0s; }
.float-card.fc-2 { top: 50%;  right: -54px; animation-delay: -2s; }
.float-card.fc-3 { bottom: 8%; left: -28px; animation-delay: -4s; width: 200px; flex-direction: column; align-items: flex-start; gap: 6px; }
.float-card.fc-3 .fc-quiz-q { font-size: 0.78rem; color: var(--muted); }
.float-card.fc-3 .fc-quiz-a { font-size: 0.85rem; font-weight: 700; color: var(--accent-green); display: inline-flex; gap: 6px; align-items: center; }

@media (max-width: 968px) {
    .float-card.fc-1 { left: -10px; top: 8%; }
    .float-card.fc-2 { right: -10px; top: 48%; }
    .float-card.fc-3 { left: -10px; bottom: 4%; width: 180px; }
}
@media (max-width: 480px) {
    .phone-frame { width: 240px; border-radius: 36px; padding: 9px; }
    .phone-frame::before { width: 80px; height: 18px; top: 10px; }
    .phone-screen { border-radius: 28px; }
    .splash .splash-wordmark { font-size: 1.95rem; }
    .float-card { padding: 10px 12px; border-radius: 14px; }
    .float-card .fc-icon { width: 32px; height: 32px; font-size: 0.85rem; }
    .float-card.fc-1 { left: -4px; top: 5%; }
    .float-card.fc-2 { right: -4px; top: 50%; }
    .float-card.fc-3 { left: 50%; transform: translateX(-50%); bottom: -12px; width: 75%; }
}

/* -------- MARQUEE (seamless infinite) --------
   Two identical sets sit side-by-side; the track translates by exactly one
   set's width so the loop is perfectly seamless. */
.marquee {
    background: var(--ink);
    color: #fff;
    padding: 18px 0;
    overflow: hidden;
    position: relative;
}
.marquee::before,
.marquee::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 2;
}
.marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--ink) 0%, transparent 100%);
}
.marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--ink) 0%, transparent 100%);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeMove 30s linear infinite;
    will-change: transform;
}
.marquee-set {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-right: 48px;
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}
.marquee-set span { opacity: 0.85; }
.marquee-set .dot { color: var(--primary); opacity: 1; font-size: 0.7rem; }
@keyframes marqueeMove {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .marquee-set { gap: 32px; padding-right: 32px; font-size: 0.95rem; }
    .marquee { padding: 14px 0; }
    .marquee::before, .marquee::after { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation: none; }
}

/* -------- SECTIONS -------- */
.section {
    position: relative;
    padding: 110px 0;
}
.section.tight { padding: 80px 0; }
.section.soft { background: var(--bg-soft); }
@media (max-width: 768px) {
    .section { padding: 70px 0; }
    .section.tight { padding: 56px 0; }
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
    position: relative;
    z-index: 1;
}
.section-head .eyebrow { margin-bottom: 16px; }
.section-head p { margin-top: 14px; }
@media (max-width: 768px) { .section-head { margin-bottom: 44px; } }

/* -------- FEATURE ROWS (alternating image + text) -------- */
.feature-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    padding: 60px 0;
    z-index: 1;
}
.feature-row + .feature-row { border-top: 1px solid var(--line); }
.feature-row.reverse .feature-text { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

@media (max-width: 968px) {
    .feature-row { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
    .feature-row.reverse .feature-text { order: 1; }
    .feature-row.reverse .feature-visual { order: 2; }
}

.feature-text .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--primary-tint);
    color: var(--primary);
    margin-bottom: 16px;
}
.feature-text .tag.green { background: var(--accent-green-soft); color: #1f8e57; }
.feature-text h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    margin-bottom: 14px;
}
.feature-text p { font-size: 1.05rem; max-width: 480px; }
.feature-text .feature-bullets {
    margin-top: 22px;
    display: grid;
    gap: 10px;
}
.feature-text .feature-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.96rem;
    color: var(--ink);
    font-weight: 500;
}
.feature-text .feature-bullets li i {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--primary-tint);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.feature-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
    isolation: isolate;
}
.feature-visual::before {
    /* hex watermark behind phone */
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='370' viewBox='0 0 220 254'><path d='M110 0 L220 63.5 L220 190.5 L110 254 L0 190.5 L0 63.5 Z' fill='none' stroke='%23E9EBEF' stroke-width='1.5'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.7;
    z-index: 0;
}

/* Feature phone — uses the iPhone marketing PNGs that already include their own
   bezel. The PNGs have ~28% of vertical space reserved for caption at the top —
   we crop that out by anchoring the full-width image to the bottom of a shorter
   container, letting the top overflow above (hidden). */
.feature-phone {
    position: relative;
    width: 320px;
    aspect-ratio: 9 / 14;
    overflow: hidden;
    z-index: 1;
    filter: drop-shadow(0 32px 50px rgba(15,17,21,.18));
}
.feature-phone .phone-screen {
    position: absolute;
    inset: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}
.feature-phone .phone-screen img {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 480px) {
    .feature-visual { min-height: 420px; }
    .feature-phone { width: 260px; }
}

/* Floating badge on feature phones */
.feature-badge {
    position: absolute;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: var(--shadow-md);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
}
.feature-badge.top { top: 20px; right: -10px; }
.feature-badge.mid { top: 45%; left: -16px; }
.feature-badge.bot { bottom: 30px; right: -20px; }
.feature-badge i { color: var(--primary); }
.feature-badge.green-tint { background: var(--accent-green); color: #fff; border-color: transparent; }
.feature-badge.green-tint i { color: #fff; }

@media (max-width: 480px) {
    .feature-badge.top { right: -4px; }
    .feature-badge.mid { left: -6px; }
    .feature-badge.bot { right: -6px; }
}

/* -------- VALUE CARDS / TRUST BAND -------- */
.value-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 968px) { .value-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .value-band { grid-template-columns: 1fr; } }
.value-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 26px 24px;
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s ease;
}
.value-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow-md); }
.value-card .vc-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--primary-tint);
    color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.value-card p { font-size: 0.94rem; line-height: 1.55; }

/* -------- STATS BAND -------- */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 36px 28px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-xl);
    margin-top: 56px;
}
@media (max-width: 768px) {
    .stats-band { grid-template-columns: repeat(2, 1fr); padding: 28px 20px; gap: 16px; border-radius: 24px; }
}
.stat {
    text-align: center;
    padding: 12px 8px;
}
.stat .stat-num {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1;
}
.stat .stat-lbl {
    margin-top: 8px;
    font-size: 0.86rem;
    color: rgba(255,255,255,.7);
    font-weight: 500;
}

/* -------- ENTERPRISE STRIP -------- */
.enterprise {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 48px;
    overflow: hidden;
}
.enterprise-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    z-index: 1;
}
@media (max-width: 768px) {
    .enterprise { padding: 32px 28px; border-radius: var(--r-lg); }
    .enterprise-grid { grid-template-columns: 1fr; text-align: center; gap: 24px; }
}
.enterprise h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 10px; }
.enterprise p { max-width: 520px; }
.enterprise::after {
    content: "";
    position: absolute;
    right: -60px; bottom: -80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,129,52,.18), transparent 70%);
}
.enterprise .ent-actions {
    display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap;
}
@media (max-width: 768px) { .enterprise .ent-actions { justify-content: center; } }

/* -------- CTA BIG CARD -------- */
.cta-big {
    position: relative;
    background:
        radial-gradient(120% 130% at 0% 0%, rgba(255,255,255,.18), transparent 50%),
        linear-gradient(135deg, #FF8134 0%, #F46A12 100%);
    border-radius: var(--r-xl);
    padding: 80px 60px;
    color: #fff;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-orange);
}
@media (max-width: 768px) {
    .cta-big { padding: 56px 28px; border-radius: var(--r-lg); }
}
.cta-big::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='254' viewBox='0 0 220 254'><path d='M110 0 L220 63.5 L220 190.5 L110 254 L0 190.5 L0 63.5 Z' fill='none' stroke='rgba(255,255,255,0.18)' stroke-width='1.5'/></svg>");
    background-size: 220px 254px;
    opacity: 0.55;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.cta-big h2 {
    color: #fff;
    font-size: clamp(2rem, 4.4vw, 3rem);
    max-width: 720px;
    margin: 0 auto 14px;
    position: relative;
    z-index: 1;
}
.cta-big p {
    color: rgba(255,255,255,.92);
    font-size: 1.06rem;
    max-width: 540px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}
.cta-big .cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: #fff;
    color: var(--primary);
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 18px 36px -12px rgba(0,0,0,.18);
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
    position: relative;
    z-index: 1;
}
.cta-big .cta-pill:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -16px rgba(0,0,0,.25); }
.cta-big .cta-pill i { font-size: 1.2rem; }
.cta-big .cta-sub-note {
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,.85);
    position: relative;
    z-index: 1;
}

/* -------- FOOTER -------- */
footer {
    padding: 80px 0 36px;
    background: #fff;
    border-top: 1px solid var(--line);
}
@media (max-width: 768px) { footer { padding: 56px 0 28px; } }

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}
@media (max-width: 968px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; margin-bottom: 40px; }
    .footer-brand { grid-column: span 2; }
}
@media (max-width: 540px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand { grid-column: span 1; }
}

.footer-brand p {
    margin-top: 14px;
    color: var(--muted);
    max-width: 320px;
    font-size: 0.95rem;
}
.footer-brand .footer-social {
    margin-top: 18px;
    display: flex;
    gap: 10px;
}
.footer-brand .footer-social a {
    width: 38px; height: 38px;
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--muted);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer-brand .footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--ink);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.footer-links ul { display: grid; gap: 10px; }
.footer-links a {
    color: var(--muted);
    font-size: 0.95rem;
    transition: color .2s ease;
}
.footer-links a:hover { color: var(--primary); }

.copyright {
    padding-top: 28px;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 0.86rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
@media (max-width: 540px) { .copyright { justify-content: center; text-align: center; } }

/* -------- CONTACT PAGE -------- */
.contact-page { padding: 140px 0 80px; }
@media (max-width: 768px) { .contact-page { padding: 110px 0 56px; } }

.contact-hero {
    text-align: center;
    margin-bottom: 56px;
}
.contact-hero h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 14px;
}
.contact-hero p { max-width: 620px; margin: 0 auto; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
@media (max-width: 540px) { .contact-card { padding: 28px 22px; border-radius: var(--r-lg); } }

.contact-card .card-eyebrow {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.contact-card h2 {
    font-size: clamp(1.5rem, 2.6vw, 1.85rem);
    margin-bottom: 8px;
}
.contact-card > p { color: var(--muted); margin-bottom: 28px; font-size: 1rem; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink);
    font-size: 0.85rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-soft);
    border: 1.5px solid transparent;
    border-radius: 14px;
    font-family: var(--font-sans);
    font-size: 0.97rem;
    color: var(--ink);
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-2); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255,129,52,.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.btn-submit {
    width: 100%;
    margin-top: 8px;
    padding: 16px 28px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s ease;
    box-shadow: var(--shadow-orange);
}
.btn-submit:hover { transform: translateY(-2px); background: var(--primary-dark); }

.contact-info-card {
    background: linear-gradient(160deg, var(--ink) 0%, #1d2129 100%);
    border-radius: var(--r-xl);
    padding: 40px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact-info-card::after {
    content: "";
    position: absolute;
    right: -80px; bottom: -80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,129,52,.25), transparent 70%);
}
@media (max-width: 540px) { .contact-info-card { padding: 28px 22px; border-radius: var(--r-lg); } }

.contact-info-card h2 { color: #fff; margin-bottom: 28px; }
.contact-info-card .info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
    position: relative;
}
.contact-info-card .info-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(255,129,52,.16);
    color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.contact-info-card .info-content h3 { color: #fff; font-size: 0.98rem; margin-bottom: 4px; }
.contact-info-card .info-content p { color: rgba(255,255,255,.72); font-size: 0.93rem; line-height: 1.55; margin: 0; }
.contact-info-card .info-content a { color: var(--primary); }
.contact-info-card .info-content a:hover { color: #FFB382; }

.benefit-list-wrap {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.1);
    position: relative;
}
.benefit-list-wrap h3 {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.benefit-list {
    display: grid; gap: 10px;
}
.benefit-list li {
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,.88);
    font-size: 0.93rem;
}
.benefit-list li i {
    color: var(--accent-green);
    font-size: 0.78rem;
}

.form-success {
    display: none;
    text-align: center;
    padding: 36px 16px;
}
.form-success.show { display: block; }
.form-success i { font-size: 3.5rem; color: var(--accent-green); margin-bottom: 16px; }
.form-success h3 { font-size: 1.3rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); }
.contact-form.hidden { display: none; }

/* -------- PAGE CONTENT (legal pages) -------- */
.page-content {
    padding-top: 140px;
    padding-bottom: 80px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 768px) {
    .page-content { padding-top: 110px; padding-bottom: 56px; }
}

.page-content h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    margin-bottom: 14px;
}
.page-content .lead {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 32px;
}
.page-content h2 {
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    margin: 40px 0 14px;
}
.page-content h3 {
    font-size: 1.05rem;
    margin: 26px 0 10px;
}
.page-content p { margin-bottom: 14px; line-height: 1.7; }
.page-content ul, .page-content ol {
    margin: 14px 0 14px 22px;
    padding-left: 6px;
}
.page-content li { margin-bottom: 8px; line-height: 1.65; color: var(--muted); }
.page-content a { color: var(--primary); }
.page-content a:hover { text-decoration: underline; }

@media (max-width: 480px) {
    .page-content { padding: 100px 18px 48px; }
    .page-content ul, .page-content ol { margin-left: 18px; }
}

/* -------- UTILITIES & SAFE FALLBACKS -------- */
section[id] { scroll-margin-top: 100px; }
@media (max-width: 768px) { section[id] { scroll-margin-top: 80px; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Legacy compat (in case anything still references them) */
.bg-blob, .ambient-bg { display: none !important; }
