/* ============================================================
   SmartRoaster AI — Landing / Marketing design system v2
   Aurora theme: cyan → indigo → violet → pink
   ============================================================ */

:root {
    --cyan: #06b6d4;
    --indigo: #6366f1;
    --violet: #a855f7;
    --pink: #ec4899;
    --teal: #14b8a6;
    --emerald: #10b981;
    --amber: #f59e0b;
    --rose: #f43f5e;

    --ink: #0f172a;
    --ink-2: #334155;
    --ink-3: #64748b;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f7f8fc;
    --surface: #ffffff;
    --header-glass: rgba(255, 255, 255, .9);
    --bg-dark: #060a1f;
    --bg-dark-2: #0a1029;

    --grad: linear-gradient(115deg, #06b6d4, #6366f1 38%, #a855f7 68%, #ec4899);
    --grad-soft: linear-gradient(115deg, rgba(6,182,212,.12), rgba(99,102,241,.12) 38%, rgba(168,85,247,.12) 68%, rgba(236,72,153,.12));
    --grad-bright: linear-gradient(115deg, #67e8f9, #a5b4fc 40%, #d8b4fe 70%, #f9a8d4);

    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, .08);
    --shadow-md: 0 8px 30px rgba(15, 23, 42, .10);
    --shadow-lg: 0 24px 60px -12px rgba(99, 102, 241, .28);
    --glow: 0 0 40px rgba(139, 92, 246, .35);

    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Sora', 'Inter', system-ui, sans-serif;
}

/* Dark theme — stamped on <html> by the toggle / OS preference */
:root[data-theme="dark"] {
    --ink: #eef1fb;
    --ink-2: #c3cce6;
    --ink-3: #8d9bc0;
    --line: rgba(148, 163, 184, .18);
    --bg: #0b1026;
    --bg-soft: #0e1430;
    --surface: #141b3a;
    --header-glass: rgba(10, 15, 38, .92);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .35);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, .45);
}

/* Mock UI cards keep their light "app screenshot" look in both themes */
.dash-card, .float-card, .phone-screen {
    --surface: #ffffff;
    --bg-soft: #f1f5f9;
    --ink: #0f172a;
    --ink-2: #334155;
    --ink-3: #64748b;
    --line: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; }

@keyframes gradShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.grad-text, .grad-text-bright {
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gradShift 6s ease infinite;
}
.grad-text { background-image: var(--grad); }
.grad-text-bright { background-image: var(--grad-bright); }

/* ---------------- Buttons ---------------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .95rem;
    padding: .7rem 1.35rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
    background-image: var(--grad);
    background-size: 200% 200%;
    color: #fff;
    box-shadow: 0 10px 30px -6px rgba(139, 92, 246, .55);
    animation: gradShift 7s ease infinite;
}
.btn-primary::after {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 50%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .38), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -6px rgba(168, 85, 247, .65); }
.btn-primary:hover::after { left: 130%; }

.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--violet); color: var(--violet); transform: translateY(-2px); box-shadow: 0 10px 26px -10px rgba(168, 85, 247, .4); }

.btn-ghost { color: var(--ink-2); background: transparent; }
.btn-ghost:hover { color: var(--violet); }

.btn-bright { background: #ffffff; color: #0f172a; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .4); }
.btn-bright:hover { transform: translateY(-2px) scale(1.02); }

.btn-glass {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
    backdrop-filter: blur(8px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }

.btn-play { color: #cbd5e1; background: transparent; padding-left: .4rem; overflow: visible; }
.btn-play:hover { color: #fff; }
.play-circle {
    position: relative;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: #ffffff;
    color: var(--violet);
    flex-shrink: 0;
}
.play-circle::before {
    content: "";
    position: absolute; inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .35);
    animation: ringPulse 2.2s ease-out infinite;
}
@keyframes ringPulse {
    0% { transform: scale(.85); opacity: 1; }
    100% { transform: scale(1.45); opacity: 0; }
}
.play-circle svg { width: 16px; height: 16px; margin-left: 2px; }

/* ---------------- Header / Nav ---------------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    background: transparent;
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
    border-bottom: 1px solid transparent;
}
.site-header.dark-glass {
    background: rgba(6, 10, 31, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: rgba(255, 255, 255, .07);
}
.site-header.scrolled {
    background: var(--header-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
    box-shadow: 0 4px 20px rgba(15, 23, 42, .07);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; }
.brand-mark { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(139, 92, 246, .45)); }
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { color: #fff; transition: color .3s ease; }
.site-header.scrolled .brand-text { color: var(--ink); }
.brand-ai {
    background-image: var(--grad-bright);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradShift 6s ease infinite;
    margin-left: 2px;
}
.site-header.scrolled .brand-ai { background-image: var(--grad); }
.brand-light .brand-text { color: #fff !important; }

.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav > a {
    font-weight: 500;
    font-size: .93rem;
    color: rgba(226, 232, 240, .85);
    position: relative;
    padding: .3rem 0;
    transition: color .25s ease;
}
.site-header.scrolled .main-nav > a { color: var(--ink-2); }
.main-nav > a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    border-radius: 2px;
    background: var(--grad);
    transition: width .22s ease;
}
.main-nav > a:hover { color: #fff; }
.site-header.scrolled .main-nav > a:hover { color: var(--ink); }
.main-nav > a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: .5rem; }
.nav-cta .btn-ghost { color: #e2e8f0; }
.nav-cta .btn-ghost:hover { color: #fff; }
.site-header.scrolled .nav-cta .btn-ghost { color: var(--ink-2); }
.site-header.scrolled .nav-cta .btn-ghost:hover { color: var(--violet); }
.nav-cta-mobile { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    padding: .5rem;
    cursor: pointer;
}
.nav-toggle span {
    width: 24px; height: 2.4px;
    border-radius: 2px;
    background: var(--surface);
    transition: transform .25s ease, opacity .25s ease, background .3s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ---------------- Hero (dark aurora) ---------------- */
.hero {
    position: relative;
    padding: 176px 0 130px;
    overflow: hidden;
    background: var(--bg-dark);
    color: #e2e8f0;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
    animation: float 10s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; top: -180px; right: -100px; background: radial-gradient(circle, rgba(168, 85, 247, .5), rgba(168, 85, 247, 0) 70%); }
.orb-2 { width: 460px; height: 460px; bottom: -160px; left: -140px; background: radial-gradient(circle, rgba(6, 182, 212, .45), rgba(6, 182, 212, 0) 70%); animation-delay: -3.5s; }
.orb-3 { width: 340px; height: 340px; top: 34%; left: 44%; background: radial-gradient(circle, rgba(236, 72, 153, .32), rgba(236, 72, 153, 0) 70%); animation-delay: -7s; }
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-32px) scale(1.06); }
}
.hero-grid-lines {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
}
.hero-spotlight {
    position: absolute; inset: 0;
    background: radial-gradient(560px 420px at var(--mx, 60%) var(--my, 35%), rgba(139, 92, 246, .16), transparent 65%);
    transition: background .12s linear;
}

/* twinkling sparkles */
.spark {
    position: absolute;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 0 10px 2px rgba(165, 180, 252, .8);
    animation: twinkle 3.4s ease-in-out infinite;
}
@keyframes twinkle {
    0%, 100% { opacity: .1; transform: scale(.6); }
    50% { opacity: .9; transform: scale(1.15); }
}
.spark:nth-child(odd) { animation-duration: 4.6s; }

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3.5rem;
    align-items: center;
}

/* --- Orchestrated hero entrance --- */
@keyframes heroRise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}
@keyframes heroCard {
    from { opacity: 0; transform: translateY(44px) scale(.94); }
    to { opacity: 1; transform: none; }
}
@keyframes heroPop {
    0% { opacity: 0; transform: translateY(14px) scale(.85); }
    70% { transform: translateY(-3px) scale(1.03); }
    100% { opacity: 1; transform: none; }
}
.hero-badge, .hero h1, .hero-sub, .hero-actions, .hero-note, .hero-stats {
    opacity: 0;
    animation: heroRise .8s cubic-bezier(.2, .7, .3, 1) forwards;
}
.hero-badge { animation-delay: .05s; }
.hero h1 { animation-delay: .18s; }
.hero-sub { animation-delay: .34s; }
.hero-actions { animation-delay: .5s; }
.hero-note { animation-delay: .62s; }
.hero-stats { animation-delay: .74s; }
.hero-visual .dash-card, .hero-visual .dash-glow {
    opacity: 0;
    animation: heroCard 1s cubic-bezier(.2, .7, .3, 1) .45s forwards;
}
.hero-visual .float-card {
    opacity: 0;
    animation: heroPop .7s cubic-bezier(.2, .7, .3, 1.2) forwards, floatCard 7s ease-in-out 2.2s infinite;
}
.hero-visual .ai-suggest { animation-delay: 1.5s, 2.2s; }
.hero-visual .clock-card { animation-delay: 1.85s, 3.6s; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 600;
    color: #c7d2fe;
    background: rgba(129, 140, 248, .12);
    border: 1px solid rgba(129, 140, 248, .35);
    padding: .4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 20px rgba(129, 140, 248, .08);
}
.pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .6);
    animation: pulse 1.8s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); }
    70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
    font-size: clamp(2.3rem, 4.6vw, 3.8rem);
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 40px rgba(99, 102, 241, .25);
}

/* rotating word */
.rotate-words {
    display: inline-grid;
    justify-items: start;
    vertical-align: bottom;
}
.rotate-words > span {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(60%);
    transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .3, 1.1);
    background-image: var(--grad-bright);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradShift 6s ease infinite;
    white-space: nowrap;
}
.rotate-words > span.active { opacity: 1; transform: none; }
.rotate-words > span.leaving { opacity: 0; transform: translateY(-55%); }

.hero-sub {
    font-size: 1.14rem;
    color: #9fb0d0;
    max-width: 34rem;
    margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .95rem; margin-bottom: 1.1rem; }
.hero-note { font-size: .84rem; color: #7c8bab; margin-bottom: 2.4rem; }

.hero-stats { display: flex; gap: 2.6rem; flex-wrap: wrap; }
.hero-stats strong {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    display: block;
    background-image: var(--grad-bright);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradShift 6s ease infinite;
}
.hero-stats span { font-size: .84rem; color: #7c8bab; }

/* hero bottom wave */
.hero-wave {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 70px; }

/* ---------------- Hero dashboard mock ---------------- */
.hero-visual { position: relative; perspective: 1200px; }
.dash-glow {
    position: absolute;
    inset: -8%;
    background: conic-gradient(from 90deg, rgba(6, 182, 212, .35), rgba(99, 102, 241, .35), rgba(168, 85, 247, .4), rgba(236, 72, 153, .3), rgba(6, 182, 212, .35));
    filter: blur(60px);
    border-radius: 50%;
    animation: spinSlow 14s linear infinite;
    opacity: .5;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

.dash-card {
    position: relative;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 90px -20px rgba(2, 6, 23, .8), 0 0 0 1px rgba(255, 255, 255, .08);
    padding: 1.3rem 1.3rem 1.1rem;
    transform-style: preserve-3d;
    transition: transform .25s ease;
    will-change: transform;
    color: var(--ink);
}
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: .6rem; }
.dash-title { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .92rem; }
.dash-title svg { width: 18px; height: 18px; color: var(--indigo); }
.dash-chip {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .72rem; font-weight: 600;
    padding: .3rem .7rem; border-radius: 999px;
    white-space: nowrap;
}
.dash-chip svg { width: 12px; height: 12px; }
.chip-live { background: rgba(16, 185, 129, .12); color: #059669; }
.chip-ok { background: rgba(16, 185, 129, .12); color: #059669; }
.chip-cost { background: rgba(99, 102, 241, .1); color: var(--indigo); }

.dash-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    font-size: .68rem;
    font-weight: 600;
    color: var(--ink-3);
    text-align: center;
    margin: 0 0 .55rem 108px;
}
.dash-days .today { color: var(--violet); position: relative; }
.dash-days .today::after {
    content: "";
    position: absolute; left: 50%; bottom: -3px;
    transform: translateX(-50%);
    width: 14px; height: 2.5px; border-radius: 2px;
    background: var(--grad);
}

.dash-row { display: flex; align-items: center; gap: .6rem; padding: .42rem 0; border-top: 1px dashed var(--line); }
.dash-emp { display: flex; align-items: center; gap: .5rem; width: 100px; flex-shrink: 0; }
.emp-name { font-size: .76rem; font-weight: 600; color: var(--ink-2); }
.avatar {
    width: 30px; height: 30px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .66rem; font-weight: 700; color: #fff;
    flex-shrink: 0;
}
.av-1 { background: linear-gradient(135deg, #6366f1, #a855f7); }
.av-2 { background: linear-gradient(135deg, #06b6d4, #14b8a6); }
.av-3 { background: linear-gradient(135deg, #f59e0b, #ec4899); }

.dash-shifts { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; flex: 1; }
.shift {
    font-size: .62rem;
    font-weight: 600;
    padding: .35rem .5rem;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .45s ease, transform .45s cubic-bezier(.2, .8, .3, 1.3);
}
.dash-card.chips-in .shift { opacity: 1; transform: none; }
.s-teal { background: rgba(20, 184, 166, .14); color: #0f766e; border: 1px solid rgba(20, 184, 166, .3); }
.s-violet { background: rgba(168, 85, 247, .12); color: #9333ea; border: 1px solid rgba(168, 85, 247, .3); }
.s-amber { background: rgba(245, 158, 11, .14); color: #b45309; border: 1px solid rgba(245, 158, 11, .32); }
.s-open { background: repeating-linear-gradient(-45deg, var(--surface), var(--surface) 5px, var(--bg-soft) 5px, var(--bg-soft) 10px); color: var(--ink-3); border: 1.5px dashed var(--line); }

.dash-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }

.float-card {
    position: absolute;
    display: flex;
    gap: .7rem;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: var(--radius);
    box-shadow: 0 24px 50px -12px rgba(2, 6, 23, .6);
    padding: .85rem 1rem;
    max-width: 290px;
    animation: floatCard 7s ease-in-out infinite;
    color: var(--ink);
    z-index: 2;
}
@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.ai-suggest { bottom: -38px; left: -30px; }
.ai-suggest strong { font-size: .8rem; display: block; }
.ai-suggest p { font-size: .74rem; color: var(--ink-3); margin: .15rem 0 .5rem; line-height: 1.45; }
.ai-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    background-image: var(--grad);
    background-size: 200% 200%;
    animation: gradShift 7s ease infinite;
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ai-icon svg { width: 18px; height: 18px; }
.ai-actions { display: flex; gap: .4rem; }
.mini-btn {
    font-size: .68rem; font-weight: 600;
    padding: .3rem .8rem;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background-image: var(--grad);
    color: #fff;
}
.mini-btn.ghost { background: #f1f5f9; color: var(--ink-2); }

.clock-card { top: -30px; right: -20px; align-items: center; animation-delay: -3.5s; }
.clock-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: #fff;
    font-size: .72rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.clock-card strong { font-size: .8rem; display: block; }
.clock-card p { font-size: .72rem; color: var(--ink-3); }

/* ---------------- Trusted / marquee ---------------- */
.trusted { padding: 3.2rem 0 2.6rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.trusted-label {
    text-align: center;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 1.7rem;
}
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
    content: "";
    position: absolute; top: 0; bottom: 0;
    width: 110px;
    z-index: 2;
    pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track { display: flex; gap: 3.4rem; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-item {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: #a3aec2;
    white-space: nowrap;
    transition: color .25s ease, transform .25s ease;
    cursor: default;
}
.logo-item:hover {
    background-image: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateY(-2px);
}

/* ---------------- Sections ---------------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 44rem; margin: 0 auto 3.6rem; }
.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    background-image: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1px solid rgba(139, 92, 246, .3);
    background-color: rgba(139, 92, 246, .05);
    padding: .36rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.2rem;
}
.eyebrow-light { border-color: rgba(199, 210, 254, .3); background-color: rgba(255, 255, 255, .06); }
.section-head h2, .ai-split h2, .app-copy h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 800; margin-bottom: .9rem; }
.section-head p { color: var(--ink-3); font-size: 1.06rem; }

/* ---------------- Feature cards ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 1.7rem;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--grad);
    opacity: 0;
    transition: opacity .3s ease;
}
.feature-card::after {
    content: "";
    position: absolute;
    top: -60px; right: -60px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: var(--grad-soft);
    opacity: 0;
    transition: opacity .35s ease, transform .35s ease;
    transform: scale(.6);
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -18px rgba(139, 92, 246, .35);
    border-color: rgba(168, 85, 247, .4);
}
.feature-card:hover::before, .feature-card:hover::after { opacity: 1; }
.feature-card:hover::after { transform: scale(1); }
.feature-card h3 { font-size: 1.13rem; margin-bottom: .55rem; position: relative; }
.feature-card p { font-size: .92rem; color: var(--ink-3); position: relative; }

.f-icon {
    position: relative;
    width: 54px; height: 54px;
    border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 1.2rem;
    color: #fff;
    transition: transform .35s cubic-bezier(.2, .8, .3, 1.4);
}
.feature-card:hover .f-icon { transform: scale(1.12) rotate(-4deg); }
.f-icon svg { width: 26px; height: 26px; }
.fi-indigo { background: linear-gradient(135deg, #6366f1, #818cf8); box-shadow: 0 10px 24px -8px rgba(99, 102, 241, .6); }
.fi-violet { background: linear-gradient(135deg, #a855f7, #d946ef); box-shadow: 0 10px 24px -8px rgba(168, 85, 247, .6); }
.fi-teal { background: linear-gradient(135deg, #06b6d4, #14b8a6); box-shadow: 0 10px 24px -8px rgba(6, 182, 212, .55); }
.fi-emerald { background: linear-gradient(135deg, #10b981, #34d399); box-shadow: 0 10px 24px -8px rgba(16, 185, 129, .55); }
.fi-amber { background: linear-gradient(135deg, #f59e0b, #fbbf24); box-shadow: 0 10px 24px -8px rgba(245, 158, 11, .55); }
.fi-rose { background: linear-gradient(135deg, #ec4899, #f43f5e); box-shadow: 0 10px 24px -8px rgba(236, 72, 153, .55); }

/* ---------------- Pillars ---------------- */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.pillar {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.7rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: 0 24px 46px -16px rgba(99, 102, 241, .3); border-color: rgba(139, 92, 246, .35); }
.pillar h3 { font-size: 1.02rem; display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem; }
.pillar-dot { width: 11px; height: 11px; border-radius: 4px; flex-shrink: 0; }
.pd-indigo { background: linear-gradient(135deg, #6366f1, #818cf8); }
.pd-violet { background: linear-gradient(135deg, #a855f7, #d946ef); }
.pd-teal { background: linear-gradient(135deg, #06b6d4, #14b8a6); }
.pd-amber { background: linear-gradient(135deg, #f59e0b, #ec4899); }
.pillar li { font-size: .89rem; color: var(--ink-3); padding: .38rem 0 .38rem 1.5rem; position: relative; }
.pillar li::before {
    content: "";
    position: absolute;
    left: 0; top: .78rem;
    width: 14px; height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------------- Mobile app showcase ---------------- */
.app-section {
    background:
        radial-gradient(800px 420px at 90% 10%, rgba(168, 85, 247, .08), transparent 60%),
        radial-gradient(700px 420px at 5% 90%, rgba(6, 182, 212, .08), transparent 60%),
        var(--bg-soft);
    overflow: hidden;
}
.app-split {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 4.5rem;
    align-items: center;
}
.app-visual { position: relative; display: flex; justify-content: center; }
.phone-glow {
    position: absolute;
    inset: 6% 16%;
    background: conic-gradient(from 45deg, rgba(6, 182, 212, .4), rgba(99, 102, 241, .45), rgba(168, 85, 247, .45), rgba(236, 72, 153, .35), rgba(6, 182, 212, .4));
    filter: blur(55px);
    border-radius: 50%;
    animation: spinSlow 16s linear infinite;
    opacity: .55;
}
.phone {
    position: relative;
    width: 290px;
    border-radius: 42px;
    background: #0b1023;
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 12px;
    box-shadow: 0 50px 100px -24px rgba(2, 6, 23, .55), inset 0 0 0 2px rgba(255, 255, 255, .04);
    animation: phoneFloat 8s ease-in-out infinite;
}
@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotate(-1.2deg); }
    50% { transform: translateY(-14px) rotate(1.2deg); }
}
.phone-notch {
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 110px; height: 26px;
    background: #0b1023;
    border-radius: 0 0 16px 16px;
    z-index: 3;
}
.phone-screen {
    background: linear-gradient(175deg, #f7f8fd, #eef0fa);
    border-radius: 32px;
    overflow: hidden;
    padding: 2.4rem 1rem 1rem;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}
.app-head { display: flex; justify-content: space-between; align-items: center; }
.app-hello { display: block; font-size: .68rem; color: var(--ink-3); }
.app-head strong { font-family: var(--font-head); font-size: .95rem; }
.app-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    color: #fff;
    font-size: .68rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.app-dates { display: flex; gap: .4rem; }
.app-dates span {
    flex: 1;
    text-align: center;
    font-size: .62rem;
    font-weight: 600;
    color: var(--ink-3);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .45rem 0;
}
.app-dates .active {
    background-image: var(--grad);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 14px -4px rgba(139, 92, 246, .5);
}
.app-shift-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: .85rem .9rem;
    box-shadow: var(--shadow-sm);
}
.asc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .35rem; }
.asc-tag { font-size: .6rem; font-weight: 700; color: var(--violet); background: rgba(168, 85, 247, .1); padding: .2rem .55rem; border-radius: 999px; }
.asc-status { font-size: .6rem; font-weight: 700; color: #059669; }
.app-shift-card strong { font-size: .82rem; display: block; }
.asc-loc { font-size: .66rem; color: var(--ink-3); }
.app-clock {
    position: relative;
    border: 0;
    border-radius: 16px;
    padding: .95rem;
    font-family: var(--font-body);
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
    background-image: var(--grad);
    background-size: 200% 200%;
    animation: gradShift 7s ease infinite;
    cursor: pointer;
    box-shadow: 0 12px 26px -8px rgba(139, 92, 246, .55);
    display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.app-clock .ring {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .7);
    animation: pulse 1.8s infinite;
}
.app-list-item {
    display: flex; align-items: center; gap: .6rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .6rem .75rem;
    font-size: .68rem;
    color: var(--ink-2);
}
.app-list-item .avatar { width: 26px; height: 26px; font-size: .56rem; }
.app-list-item b { font-size: .7rem; display: block; }
.app-list-item span { color: var(--ink-3); }
.app-nav {
    margin-top: auto;
    display: flex;
    justify-content: space-around;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: .6rem 0;
}
.app-nav svg { width: 19px; height: 19px; color: #94a3b8; }
.app-nav .on svg { color: var(--violet); }

.app-float-1 { top: 8%; right: -4%; align-items: center; max-width: 210px; animation-delay: -2s; }
.app-float-1 strong { font-size: .76rem; display: block; }
.app-float-1 p { font-size: .68rem; color: var(--ink-3); }
.app-float-2 { bottom: 6%; left: -6%; align-items: center; max-width: 220px; animation-delay: -5s; }
.app-float-2 strong { font-size: .76rem; display: block; }
.app-float-2 p { font-size: .68rem; color: var(--ink-3); }
.badge-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.bi-green { background: linear-gradient(135deg, #10b981, #06b6d4); }
.bi-pink { background: linear-gradient(135deg, #ec4899, #a855f7); }
.badge-icon svg { width: 17px; height: 17px; }

.app-copy .eyebrow { margin-bottom: 1rem; }
.app-copy > p { color: var(--ink-3); font-size: 1.05rem; margin-bottom: 1.6rem; }
.app-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 1.4rem; margin-bottom: 2rem; }
.app-feature-list li { font-size: .95rem; color: var(--ink-2); padding-left: 1.8rem; position: relative; }
.app-feature-list li::before {
    content: "";
    position: absolute;
    left: 0; top: .28rem;
    width: 18px; height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10' stroke-opacity='.3'/%3E%3Cpath d='M8.5 12.2l2.4 2.4 4.6-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.store-badges { display: flex; gap: .8rem; flex-wrap: wrap; }
.store-badge {
    display: inline-flex; align-items: center; gap: .6rem;
    background: var(--ink);
    color: #fff;
    border-radius: 14px;
    padding: .6rem 1.15rem;
    transition: transform .2s ease, box-shadow .2s ease;
}
.store-badge:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -10px rgba(15, 23, 42, .5); }
.store-badge svg { width: 22px; height: 22px; }
.store-badge small { display: block; font-size: .6rem; opacity: .75; line-height: 1.2; }
.store-badge b { font-size: .88rem; line-height: 1.2; }

/* ---------------- Industries ---------------- */
.industry-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
    max-width: 56rem;
    margin: 0 auto;
}
.industry-chip {
    font-size: .93rem;
    font-weight: 600;
    color: var(--ink-2);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .68rem 1.35rem;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
    cursor: default;
}
.industry-chip:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: rgba(168, 85, 247, .5);
    background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
    border: 1px solid transparent;
    box-shadow: 0 16px 30px -12px rgba(139, 92, 246, .4);
}

/* ---------------- AI section (dark) ---------------- */
.section-dark { background: var(--bg-dark); color: #e2e8f0; overflow: hidden; }
.ai-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(700px 400px at 12% 15%, rgba(99, 102, 241, .25), transparent 60%),
        radial-gradient(600px 420px at 92% 85%, rgba(236, 72, 153, .16), transparent 60%),
        radial-gradient(500px 300px at 60% 40%, rgba(6, 182, 212, .1), transparent 60%);
    pointer-events: none;
}
.ai-split {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 4rem;
    align-items: center;
}
h2.light { color: #f8fafc; }
.light-sub { color: #94a3b8; font-size: 1.05rem; margin: 0 0 1.6rem; }
.ai-list { margin-bottom: 2rem; }
.ai-list li { padding: .45rem 0 .45rem 2rem; position: relative; color: #cbd5e1; font-size: .97rem; }
.ai-list li::before {
    content: "";
    position: absolute;
    left: 0; top: .62rem;
    width: 19px; height: 19px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10' stroke-opacity='.35'/%3E%3Cpath d='M8.5 12.2l2.4 2.4 4.6-5'/%3E%3C/svg%3E") no-repeat center / contain;
}

.ai-visual { position: relative; }
.ai-visual::before {
    content: "";
    position: absolute;
    inset: -12%;
    background: conic-gradient(from 0deg, rgba(6, 182, 212, .25), rgba(168, 85, 247, .3), rgba(236, 72, 153, .22), rgba(6, 182, 212, .25));
    filter: blur(60px);
    border-radius: 50%;
    animation: spinSlow 18s linear infinite;
}
.ai-panel {
    position: relative;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--radius-lg);
    padding: 1.7rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6);
}
.ai-panel-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.5rem; }
.ai-icon-lg {
    width: 46px; height: 46px;
    border-radius: 13px;
    background-image: var(--grad);
    background-size: 200% 200%;
    animation: gradShift 7s ease infinite;
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ai-icon-lg svg { width: 24px; height: 24px; }
.ai-panel-head strong { display: block; color: #f1f5f9; font-size: .98rem; }
.ai-panel-head span { font-size: .8rem; color: #94a3b8; }

.ai-bars { display: grid; gap: .95rem; margin-bottom: 1.5rem; }
.ai-bar { display: grid; grid-template-columns: 128px 1fr 42px; align-items: center; gap: .8rem; }
.ai-bar > span { font-size: .8rem; color: #94a3b8; }
.ai-bar b { font-size: .8rem; color: #e2e8f0; text-align: right; }
.bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #06b6d4, #a855f7, #ec4899);
    background-size: 200% 100%;
    animation: gradShift 4s ease infinite;
    transition: width 1.3s cubic-bezier(.2, .7, .3, 1);
}
.ai-panel.animated .bar i { width: var(--w); }

.ai-result {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .86rem;
    font-weight: 600;
    color: #6ee7b7;
    background: rgba(16, 185, 129, .1);
    border: 1px solid rgba(16, 185, 129, .3);
    border-radius: 12px;
    padding: .8rem 1rem;
}
.ai-result svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ---------------- Integrations ---------------- */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 58rem;
    margin: 0 auto;
}
.integration-grid span {
    font-weight: 600;
    font-size: .94rem;
    color: var(--ink-2);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
    cursor: default;
}
.integration-grid span:hover {
    transform: translateY(-4px);
    border-color: rgba(168, 85, 247, .5);
    color: var(--violet);
    box-shadow: 0 16px 32px -14px rgba(139, 92, 246, .4);
}

/* ---------------- Pricing ---------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.price-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.1rem 1.9rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform .28s ease, box-shadow .28s ease;
}
.price-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px -18px rgba(99, 102, 241, .35); }
.price-card h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.price-desc { font-size: .88rem; color: var(--ink-3); margin-bottom: 1.4rem; }
.price { display: flex; align-items: baseline; gap: .45rem; margin-bottom: 1.5rem; }
.amount { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; }
.price-card.featured .amount {
    background-image: var(--grad);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradShift 6s ease infinite;
}
.per { font-size: .84rem; color: var(--ink-3); }
.price-card ul { flex: 1; margin-bottom: 1.8rem; }
.price-card li { font-size: .92rem; color: var(--ink-2); padding: .42rem 0 .42rem 1.7rem; position: relative; }
.price-card li::before {
    content: "";
    position: absolute;
    left: 0; top: .72rem;
    width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a855f7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.price-card.featured {
    border: 2px solid transparent;
    background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
    box-shadow: 0 30px 70px -20px rgba(168, 85, 247, .45);
    transform: scale(1.045);
}
.price-card.featured:hover { transform: scale(1.045) translateY(-8px); }
.popular-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background-image: var(--grad);
    background-size: 200% 200%;
    animation: gradShift 6s ease infinite;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .4rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 8px 22px -4px rgba(236, 72, 153, .5);
    white-space: nowrap;
}

/* ---------------- Testimonials ---------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.7rem 1.9rem;
    box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease;
    overflow: hidden;
}
.testimonial::before {
    content: "\201C";
    position: absolute;
    top: -22px; right: 14px;
    font-family: Georgia, serif;
    font-size: 8rem;
    line-height: 1;
    background-image: var(--grad-soft);
    background-image: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: .16;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -18px rgba(99, 102, 241, .3); }
.stars { color: #f59e0b; letter-spacing: .18em; margin-bottom: 1rem; font-size: .95rem; }
.testimonial blockquote { font-size: .99rem; color: var(--ink-2); margin-bottom: 1.5rem; line-height: 1.65; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; }
.testimonial figcaption .avatar { width: 42px; height: 42px; font-size: .8rem; }
.testimonial strong { display: block; font-size: .92rem; }
.testimonial figcaption div span { font-size: .8rem; color: var(--ink-3); }

/* ---------------- CTA band ---------------- */
.cta-band {
    position: relative;
    background-image: var(--grad);
    background-size: 260% 260%;
    animation: gradShift 10s ease infinite;
    padding: 92px 0;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(500px 300px at 20% 0%, rgba(255, 255, 255, .2), transparent 60%),
        radial-gradient(500px 320px at 85% 100%, rgba(255, 255, 255, .12), transparent 60%);
}
.cta-inner { position: relative; text-align: center; color: #fff; }
.cta-inner h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 800; margin-bottom: .8rem; text-shadow: 0 2px 24px rgba(0, 0, 0, .18); }
.cta-inner p { font-size: 1.08rem; opacity: .94; margin-bottom: 2rem; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--bg-dark); color: #94a3b8; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand p { font-size: .9rem; margin-top: 1.1rem; max-width: 22rem; line-height: 1.7; }
.footer-col h4 { color: #f1f5f9; font-size: .92rem; font-weight: 700; margin-bottom: 1.1rem; }
.footer-col a { display: block; font-size: .88rem; padding: .3rem 0; color: #94a3b8; transition: color .2s ease, transform .2s ease; }
.footer-col a:hover { color: #d8b4fe; transform: translateX(3px); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding-top: 1.6rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .6rem;
    font-size: .8rem;
}

/* ---------------- Product tour slider ---------------- */
.tour { max-width: 62rem; margin: 0 auto; }
.tour-tabs {
    display: flex;
    justify-content: center;
    gap: .6rem;
    margin-bottom: 1.6rem;
    flex-wrap: wrap;
}
.tour-tab {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-2);
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: .62rem 1.3rem;
    cursor: pointer;
    transition: all .25s ease;
}
.tour-tab svg { width: 17px; height: 17px; }
.tour-tab:hover { border-color: rgba(168, 85, 247, .45); color: var(--violet); transform: translateY(-2px); }
.tour-tab.active {
    background-image: var(--grad);
    background-size: 200% 200%;
    animation: gradShift 7s ease infinite;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 26px -8px rgba(139, 92, 246, .55);
}

.browser-frame {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 90px -24px rgba(79, 70, 229, .35), 0 6px 24px -8px rgba(15, 23, 42, .12);
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1.1rem;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
}
.b-dot { width: 11px; height: 11px; border-radius: 50%; }
.bd-red { background: #f87171; }
.bd-amber { background: #fbbf24; }
.bd-green { background: #34d399; }
.browser-url {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-left: 1rem;
    font-size: .76rem;
    font-weight: 500;
    color: var(--ink-3);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .32rem 1rem;
    min-width: 0;
    max-width: 60%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.browser-url svg { width: 12px; height: 12px; color: var(--emerald); flex-shrink: 0; }

.tour-viewport { overflow: hidden; }
.tour-track {
    display: flex;
    width: 300%;
    transition: transform .65s cubic-bezier(.2, .7, .25, 1);
}
.tour-slide {
    width: calc(100% / 3);
    flex-shrink: 0;
    padding: 1.5rem 1.6rem 1.6rem;
    min-height: 380px;
}

.ts-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}
.ts-head strong { font-family: var(--font-head); font-size: 1.02rem; }
.ts-head-actions { display: flex; gap: .5rem; }
.ts-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .76rem;
    font-weight: 600;
    padding: .42rem .95rem;
    border-radius: 999px;
    cursor: default;
    white-space: nowrap;
}
.ts-btn svg { width: 13px; height: 13px; }
.ts-btn.ghost { background: #f1f5f9; color: var(--ink-2); }
.ts-btn.ai {
    background-image: var(--grad);
    background-size: 200% 200%;
    animation: gradShift 7s ease infinite;
    color: #fff;
    box-shadow: 0 8px 18px -6px rgba(139, 92, 246, .5);
}

.t-days {
    display: grid;
    grid-template-columns: 120px repeat(7, 1fr);
    gap: 5px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--ink-3);
    text-align: center;
    margin-bottom: .6rem;
}
.t-days .today { color: var(--violet); }
.t-row { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; border-top: 1px dashed var(--line); }
.t-emp {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 113px;
    flex-shrink: 0;
    font-size: .78rem;
    font-weight: 600;
    color: var(--ink-2);
}
.t-cells { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; flex: 1; }
.t-cells .shift { opacity: 1; transform: none; text-align: center; }
.av-4 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.s-pink { background: rgba(236, 72, 153, .12); color: #db2777; border: 1px solid rgba(236, 72, 153, .3); }
.ts-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }

.stat-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .8rem;
    margin-bottom: 1.2rem;
}
.stat-tile {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .85rem 1rem;
}
.stat-tile span { display: block; font-size: .7rem; font-weight: 600; color: var(--ink-3); margin-bottom: .15rem; }
.stat-tile b { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; }
.stat-tile i { display: block; font-style: normal; font-size: .68rem; font-weight: 600; color: var(--ink-3); margin-top: .1rem; }
.stat-tile i.up { color: #059669; }
.stat-tile i.down { color: #059669; }
.c-green { color: #059669; }
.c-amber { color: #d97706; }
.c-red { color: #e11d48; }

.chart-wrap { padding: .4rem .2rem 0; }
.chart-wrap svg { width: 100%; height: 175px; }
.chart-x {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: .7rem;
    font-weight: 600;
    color: var(--ink-3);
    margin-top: .4rem;
}

.comp-list { display: grid; gap: .6rem; }
.comp-row {
    display: flex;
    align-items: center;
    gap: .8rem;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .65rem .95rem;
}
.comp-info { flex: 1; min-width: 0; }
.comp-info b { display: block; font-size: .84rem; }
.comp-info span { font-size: .72rem; color: var(--ink-3); }
.pill {
    font-size: .7rem;
    font-weight: 700;
    padding: .32rem .8rem;
    border-radius: 999px;
    white-space: nowrap;
}
.p-green { background: rgba(16, 185, 129, .13); color: #059669; }
.p-amber { background: rgba(245, 158, 11, .15); color: #b45309; }
.p-red { background: rgba(244, 63, 94, .12); color: #e11d48; }

.tour-dots { display: flex; justify-content: center; gap: .55rem; margin-top: 1.4rem; }
.tour-dots button {
    width: 9px; height: 9px;
    border-radius: 999px;
    border: 0;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: all .3s ease;
}
.tour-dots button.active {
    width: 26px;
    background-image: var(--grad);
}

/* ---------------- Industry photo slider ---------------- */
.ind-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: .9rem;
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 0 1.2rem;
}
.ind-viewport {
    display: flex;
    gap: 1.1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: .8rem .2rem 1.4rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}
.ind-viewport::-webkit-scrollbar { display: none; }
.ind-card {
    position: relative;
    flex: 0 0 320px;
    height: 400px;
    border-radius: 22px;
    overflow: hidden;
    scroll-snap-align: center;
    background: linear-gradient(160deg, #312e81, #6d28d9 55%, #be185d);
    box-shadow: 0 18px 44px -16px rgba(15, 23, 42, .35);
    transition: transform .35s ease, box-shadow .35s ease;
    cursor: default;
}
.ind-card:hover {
    transform: translateY(-8px) scale(1.015);
    box-shadow: 0 34px 64px -20px rgba(99, 102, 241, .5);
}
.ind-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.ind-card:hover img { transform: scale(1.07); }
.ind-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(185deg, rgba(6, 10, 31, 0) 30%, rgba(6, 10, 31, .55) 62%, rgba(6, 10, 31, .92));
}
.ind-info {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.4rem 1.4rem 1.5rem;
    color: #fff;
}
.ind-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    font-size: 1.25rem;
    border-radius: 13px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(8px);
    margin-bottom: .7rem;
}
.ind-info h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.ind-info p { font-size: .84rem; color: rgba(226, 232, 240, .85); line-height: 1.55; }

.ind-arrow {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all .22s ease;
    z-index: 2;
}
.ind-arrow svg { width: 20px; height: 20px; }
.ind-arrow:hover {
    background-image: var(--grad);
    color: #fff;
    border-color: transparent;
    transform: scale(1.08);
    box-shadow: 0 14px 30px -8px rgba(139, 92, 246, .55);
}

/* ---------------- Theme toggle ---------------- */
.hero-wave path { fill: var(--bg); }

.theme-toggle {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .25);
    background: transparent;
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
    flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--violet); color: #fff; transform: rotate(15deg); }
.site-header.scrolled .theme-toggle { border-color: var(--line); color: var(--ink-2); }
.site-header.scrolled .theme-toggle:hover { color: var(--violet); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------------- ROI calculator ---------------- */
.roi-card {
    max-width: 62rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 70px -24px rgba(99, 102, 241, .35);
}
.roi-inputs { padding: 2.4rem 2.2rem; }
.roi-inputs h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.roi-inputs > p { font-size: .92rem; color: var(--ink-3); margin-bottom: 2rem; }

.roi-field { margin-bottom: 1.9rem; }
.roi-field-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: .7rem;
}
.roi-field-head label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.roi-field-head output {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.05rem;
    font-variant-numeric: tabular-nums;
    background-image: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.roi-field input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 999px;
    background: linear-gradient(90deg, #06b6d4 0%, #a855f7 var(--fill, 50%), var(--bg-soft) var(--fill, 50%));
    outline-offset: 4px;
    cursor: pointer;
}
.roi-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--violet);
    box-shadow: 0 4px 12px rgba(139, 92, 246, .45);
    cursor: grab;
}
.roi-field input[type="range"]::-moz-range-thumb {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--violet);
    box-shadow: 0 4px 12px rgba(139, 92, 246, .45);
    cursor: grab;
}
.roi-scale { display: flex; justify-content: space-between; font-size: .72rem; color: var(--ink-3); margin-top: .35rem; }

.roi-result {
    background: var(--bg-dark);
    color: #e2e8f0;
    padding: 2.4rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.roi-result::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(400px 260px at 85% 10%, rgba(168, 85, 247, .25), transparent 60%),
        radial-gradient(360px 240px at 10% 95%, rgba(6, 182, 212, .18), transparent 60%);
    pointer-events: none;
}
.roi-result > * { position: relative; }
.roi-result-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8d9bc0;
    margin-bottom: .5rem;
}
.roi-total {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
    background-image: var(--grad-bright);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradShift 6s ease infinite;
    margin-bottom: 1.6rem;
}
.roi-breakdown { display: grid; gap: .7rem; margin-bottom: 1.6rem; }
.roi-breakdown div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: .88rem;
    color: #b6c1dc;
    padding-bottom: .7rem;
    border-bottom: 1px solid rgba(148, 163, 184, .15);
}
.roi-breakdown b { color: #eef1fb; font-variant-numeric: tabular-nums; white-space: nowrap; }
.roi-note { font-size: .72rem; color: #8494b8; margin-top: 1.2rem; }

/* ---------------- FAQ accordion ---------------- */
.faq-list { max-width: 46rem; margin: 0 auto; display: grid; gap: .8rem; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-item.open { border-color: rgba(168, 85, 247, .45); box-shadow: 0 14px 34px -16px rgba(139, 92, 246, .35); }
.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: left;
    font-family: var(--font-body);
    font-size: .98rem;
    font-weight: 600;
    color: var(--ink);
    background: none;
    border: 0;
    padding: 1.15rem 1.3rem;
    cursor: pointer;
}
.faq-q svg {
    width: 18px; height: 18px;
    color: var(--violet);
    flex-shrink: 0;
    transition: transform .3s ease;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-a p {
    padding: 0 1.3rem 1.25rem;
    font-size: .92rem;
    color: var(--ink-3);
    line-height: 1.7;
}

/* ---------------- Demo request form ---------------- */
.demo-split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 4rem;
    align-items: center;
    max-width: 66rem;
    margin: 0 auto;
}
.demo-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: .9rem; }
.demo-copy > p { color: var(--ink-3); font-size: 1.02rem; margin-bottom: 1.8rem; }
.demo-points { display: grid; gap: .9rem; }
.demo-points li {
    display: flex;
    gap: .8rem;
    font-size: .93rem;
    color: var(--ink-2);
    align-items: flex-start;
}
.demo-points .badge-icon { width: 30px; height: 30px; border-radius: 9px; margin-top: .1rem; }
.demo-points .badge-icon svg { width: 15px; height: 15px; }

.demo-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.2rem 2rem;
}
.demo-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.demo-field { margin-bottom: 1rem; }
.demo-field.full { grid-column: 1 / -1; }
.demo-field label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--ink-2);
    margin-bottom: .35rem;
}
.demo-field input,
.demo-field select,
.demo-field textarea {
    width: 100%;
    font: inherit;
    font-size: .92rem;
    color: var(--ink);
    background: var(--bg-soft);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: .68rem .9rem;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.demo-field textarea { resize: vertical; min-height: 86px; }
.demo-field input:focus,
.demo-field select:focus,
.demo-field textarea:focus {
    outline: none;
    border-color: var(--indigo);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .15);
}
.demo-field input::placeholder, .demo-field textarea::placeholder { color: var(--ink-3); opacity: .7; }
.field-error { display: block; font-size: .74rem; color: #e11d48; margin-top: .3rem; }
.demo-form .btn { margin-top: .4rem; }
.demo-privacy { font-size: .74rem; color: var(--ink-3); margin-top: .9rem; text-align: center; }

.demo-success {
    background: var(--surface);
    border: 1px solid rgba(16, 185, 129, .4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem 2.4rem;
    text-align: center;
}
.demo-success .success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    margin: 0 auto 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: #fff;
    box-shadow: 0 16px 36px -10px rgba(16, 185, 129, .5);
}
.demo-success .success-icon svg { width: 30px; height: 30px; }
.demo-success h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.demo-success p { font-size: .95rem; color: var(--ink-3); }

/* ---------------- Sticky mobile CTA ---------------- */
.mobile-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .8rem 1.1rem calc(.8rem + env(safe-area-inset-bottom));
    background: rgba(6, 10, 31, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, .12);
    transform: translateY(105%);
    transition: transform .35s cubic-bezier(.2, .7, .3, 1);
}
.mobile-cta.show { transform: none; }
.mobile-cta-text { min-width: 0; }
.mobile-cta-text strong { display: block; color: #fff; font-size: .88rem; }
.mobile-cta-text span { font-size: .72rem; color: #94a3b8; }
.mobile-cta .btn { flex-shrink: 0; padding: .65rem 1.3rem; }

@media (max-width: 860px) {
    .mobile-cta { display: flex; }
}

/* ---------------- Reveal animations ---------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .3, 1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .75s ease, transform .75s cubic-bezier(.2, .7, .3, 1.1); }
.reveal-scale.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal, .reveal-scale { opacity: 1; transform: none; transition: none; }
    .hero-badge, .hero h1, .hero-sub, .hero-actions, .hero-note, .hero-stats,
    .hero-visual .dash-card, .hero-visual .dash-glow, .hero-visual .float-card {
        opacity: 1;
        animation: none;
    }
    .orb, .float-card, .marquee-track, .pulse-dot, .phone, .dash-glow, .phone-glow, .ai-visual::before,
    .grad-text, .grad-text-bright, .btn-primary, .cta-band, .brand-ai, .spark, .play-circle::before { animation: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 4.5rem; }
    .hero-copy { text-align: center; }
    .rotate-words { justify-items: center; }
    .hero-sub { margin-inline: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
    .ai-suggest { left: -8px; }
    .clock-card { right: -8px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .pillar-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
    .ai-split, .app-split { grid-template-columns: 1fr; gap: 3.4rem; }
    .app-visual { order: 2; }
    .integration-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .roi-card { grid-template-columns: 1fr; }
    .demo-split { grid-template-columns: 1fr; gap: 2.6rem; }
}

@media (max-width: 860px) {
    .main-nav {
        position: fixed;
        top: 74px;
        left: 0; right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -20px rgba(15, 23, 42, .2);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .6rem 1.4rem 1.4rem;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform .25s ease, opacity .25s ease, visibility .25s;
    }
    .main-nav.open { transform: none; opacity: 1; visibility: visible; }
    .main-nav > a { padding: .85rem 0; border-bottom: 1px solid var(--bg-soft); font-size: 1rem; color: var(--ink-2); }
    .main-nav > a:hover { color: var(--violet); }
    .main-nav > a::after { display: none; }
    .nav-cta { display: none; }
    .nav-cta-mobile { display: flex; gap: .7rem; margin-top: 1.1rem; }
    .nav-cta-mobile .btn { flex: 1; }
    .nav-cta-mobile .btn-ghost { color: var(--ink-2); border: 1.5px solid var(--line); }
    .nav-toggle { display: flex; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; }
    .price-card.featured { transform: none; }
    .price-card.featured:hover { transform: translateY(-8px); }
}

@media (max-width: 640px) {
    .section { padding: 68px 0; }
    .stat-tiles { grid-template-columns: repeat(2, 1fr); }
    .tour-slide { padding: 1.1rem 1rem 1.2rem; min-height: 0; }
    .t-emp { width: 40px; font-size: 0; gap: 0; }
    .t-days { grid-template-columns: 40px repeat(7, 1fr); }
    .t-cells .shift { font-size: .54rem; padding: .3rem .2rem; }
    .browser-url { max-width: 55%; }
    .ind-arrow { display: none; }
    .ind-slider { padding: 0; }
    .ind-card { flex-basis: 264px; height: 350px; }
    .hero { padding: 132px 0 96px; }
    .hero-stats { gap: 1.4rem; }
    .feature-grid, .pillar-grid { grid-template-columns: 1fr; }
    .integration-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .dash-emp { width: 78px; }
    .emp-name { display: none; }
    .dash-days { margin-left: 42px; }
    .ai-suggest { position: static; margin-top: 1rem; max-width: 100%; animation: heroPop .7s cubic-bezier(.2, .7, .3, 1.2) 1.5s forwards; }
    .clock-card { display: none; }
    .hero-actions .btn { width: 100%; }
    .btn-play { justify-content: center; }
    .app-feature-list { grid-template-columns: 1fr; }
    .roi-inputs, .roi-result { padding: 1.7rem 1.3rem; }
    .demo-form { padding: 1.6rem 1.2rem; }
    .demo-form .form-grid { grid-template-columns: 1fr; }
    .app-float-1 { right: 0; }
    .app-float-2 { display: none; }
    .phone { width: 260px; }
    .phone-screen { min-height: 500px; }
}
