/* ============================================
   MedSync Landing — Antigravity-style Light Theme
   Font: Inter (matching Google Sans Flex weight 450)
   Colors: #121317 text, #454D4D grey, #5F6368 muted
   Border-radius: 36px media, 9999px buttons
   ============================================ */

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

:root {
    --black: #121317;
    --grey: #454D4D;
    --muted: #5F6368;
    --light-muted: #6A6A71;
    --bg: #ffffff;
    --bg-subtle: #F8F9FC;
    --border: rgba(183, 191, 217, 0.2);
    --border-light: rgba(183, 191, 217, 0.1);
    --btn-secondary-bg: rgba(183, 191, 217, 0.09);
    --accent: #1a73e8;
    --doctor: #1a73e8;
    --patient: #0d9488;
    --radius-pill: 9999px;
    --radius-media: 36px;
    --radius-card: 24px;
    --radius-sm: 12px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1200px;
    --section-padding: 120px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--black);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; }

::selection { background: rgba(26, 115, 232, 0.15); color: var(--black); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.text-muted { color: var(--muted); }

/* ---- Scroll reveal animations ---- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */
#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    isolation: isolate;
    padding: 12px 24px;
    transition: padding 0.3s ease;
}
#nav.scrolled { padding: 6px 24px; }

.nav-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: 8px 8px 8px 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
#nav.scrolled .nav-inner {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
    color: var(--black);
    white-space: nowrap;
    transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.75; }
.nav-logo-icon, .nav-logo-img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-logo:hover .nav-logo-icon, .nav-logo:hover .nav-logo-img { transform: rotate(-8deg) scale(1.08); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}
.nav-item { position: relative; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 8px 16px;
    font-size: 14.5px;
    font-weight: 450;
    color: var(--grey);
    border-radius: var(--radius-pill);
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
.nav-link:hover { color: var(--black); background: var(--btn-secondary-bg); }
.nav-chevron { width: 16px; height: 16px; transition: transform 0.2s; margin-left: -2px; }
.has-dropdown:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 100;
    padding-top: 16px;
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}
.dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 12px;
    min-width: 520px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
}
.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: var(--radius-sm);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown-item:hover {
    background: var(--bg-subtle);
    transform: translateX(4px);
}
.dropdown-item:hover .dropdown-icon { color: var(--accent); }
.dropdown-icon { flex-shrink: 0; width: 22px; height: 22px; color: var(--muted); margin-top: 1px; transition: color 0.25s, transform 0.25s; }
.dropdown-icon svg { width: 22px; height: 22px; }
.dropdown-title { font-size: 14px; font-weight: 600; color: var(--black); }
.dropdown-desc { font-size: 12.5px; color: var(--light-muted); margin-top: 3px; line-height: 1.4; }

.dropdown-list {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 8px;
    min-width: 220px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}
.dropdown-header {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    padding: 10px 16px 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.dropdown-item-simple {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--grey);
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.dropdown-item-simple:hover { color: var(--black); background: var(--bg-subtle); }
.dropdown-overview {
    display: block;
    padding: 12px 16px 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
}
.dropdown-overview:hover { text-decoration: underline; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    font-size: 14.5px;
    font-weight: 500;
    color: #fff;
    background: var(--black);
    border-radius: var(--radius-pill);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-btn-primary:hover {
    background: #2d2e33;
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(18,19,23,0.2);
}
.nav-btn-icon { width: 16px; height: 16px; }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   BUTTONS — Matching antigravity style
   ============================================ */
.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14.5px;
    font-weight: 500;
    color: #fff;
    background: var(--black);
    border-radius: var(--radius-pill);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.btn-dark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-dark:hover {
    background: #2d2e33;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(18,19,23,0.25), 0 2px 8px rgba(18,19,23,0.15);
}
.btn-dark:hover::after { opacity: 1; }
.btn-dark:active { transform: translateY(0) scale(0.98); }

.btn-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--black);
    background: var(--btn-secondary-bg);
    border-radius: var(--radius-pill);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-light:hover {
    background: rgba(183, 191, 217, 0.2);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 16px rgba(183,191,217,0.15);
}
.btn-light:active { transform: translateY(0) scale(0.98); }

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 180px 40px 0;
    max-width: var(--container);
    margin: 0 auto;
    text-align: center;
    position: relative;
}

#confetti-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-content, .hero-video-section {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 450;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--black);
    margin-bottom: 40px;
    min-height: 2.2em;
}
.hero-cursor {
    display: inline-block;
    font-weight: 300;
    color: var(--accent);
    animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-actions.visible {
    opacity: 1;
    transform: translateY(0);
}
.hero-waitlist-panel {
    margin: -10px auto 72px;
    max-width: 1180px;
    pointer-events: none;
}

/* Hero product window */
.hero-video-section {
    max-width: 1080px;
    margin: 0 auto;
    padding-bottom: 88px;
}
.hero-window {
    border-radius: var(--radius-media);
    overflow: hidden;
    background: var(--black);
    box-shadow: 0 20px 80px rgba(0,0,0,0.12), 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-window:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 32px 100px rgba(0,0,0,0.18), 0 8px 32px rgba(0,0,0,0.08);
}
.hero-window-inner {
    display: flex;
    min-height: 400px;
}

/* Mock sidebar */
.mock-sidebar {
    width: 200px;
    padding: 20px 16px;
    background: rgba(255,255,255,0.04);
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mock-sidebar-item {
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    transition: background 0.3s;
}
.mock-sidebar-item.active {
    background: rgba(108,142,255,0.12);
    border: 1px solid rgba(108,142,255,0.15);
}

/* Mock main area */
.mock-main {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mock-recording-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.12);
    border-radius: var(--radius-sm);
}
.mock-rec-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    flex-shrink: 0;
    animation: rec-pulse 1.5s ease-in-out infinite;
}
@keyframes rec-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.3); opacity: 1; }
    50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); opacity: 0.6; }
}
.mock-waveform {
    display: flex;
    align-items: center;
    gap: 2.5px;
    flex: 1;
}
.mock-waveform span {
    display: block;
    width: 2.5px;
    border-radius: 2px;
    background: rgba(255,255,255,0.25);
    animation: wave 1.2s ease-in-out infinite;
}
.mock-waveform span:nth-child(1)  { height: 12px; animation-delay: 0s; }
.mock-waveform span:nth-child(2)  { height: 20px; animation-delay: .05s; }
.mock-waveform span:nth-child(3)  { height: 8px; animation-delay: .1s; }
.mock-waveform span:nth-child(4)  { height: 26px; animation-delay: .15s; }
.mock-waveform span:nth-child(5)  { height: 14px; animation-delay: .2s; }
.mock-waveform span:nth-child(6)  { height: 22px; animation-delay: .25s; }
.mock-waveform span:nth-child(7)  { height: 10px; animation-delay: .3s; }
.mock-waveform span:nth-child(8)  { height: 18px; animation-delay: .35s; }
.mock-waveform span:nth-child(9)  { height: 24px; animation-delay: .4s; }
.mock-waveform span:nth-child(10) { height: 12px; animation-delay: .45s; }
.mock-waveform span:nth-child(11) { height: 16px; animation-delay: .5s; }
.mock-waveform span:nth-child(12) { height: 28px; animation-delay: .55s; }
.mock-waveform span:nth-child(13) { height: 8px; animation-delay: .6s; }
.mock-waveform span:nth-child(14) { height: 20px; animation-delay: .65s; }
.mock-waveform span:nth-child(15) { height: 14px; animation-delay: .7s; }
.mock-waveform span:nth-child(16) { height: 22px; animation-delay: .75s; }
.mock-waveform span:nth-child(17) { height: 10px; animation-delay: .8s; }
.mock-waveform span:nth-child(18) { height: 18px; animation-delay: .85s; }
.mock-waveform span:nth-child(19) { height: 26px; animation-delay: .9s; }
.mock-waveform span:nth-child(20) { height: 12px; animation-delay: .95s; }
@keyframes wave {
    0%, 100% { transform: scaleY(1); opacity: 0.4; }
    50% { transform: scaleY(0.3); opacity: 0.2; }
}
.mock-timer {
    font-size: 13px;
    font-weight: 600;
    color: #ef4444;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.mock-transcript {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mock-line {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    border-radius: 10px;
    border-left: 3px solid;
    transition: background 0.3s;
}
.mock-line:nth-child(odd) { background: rgba(26,115,232,0.04); border-color: var(--doctor); }
.mock-line:nth-child(even) { background: rgba(13,148,136,0.04); border-color: var(--patient); }
.mock-speaker {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.mock-speaker.doctor { color: rgba(108,142,255,0.8); }
.mock-speaker.patient { color: rgba(52,211,153,0.8); }
.mock-text { font-size: 13.5px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.cursor-blink { color: var(--accent); animation: blink 1s step-end infinite; font-weight: 300; }

/* ============================================
   ICON TICKER
   ============================================ */
.ticker {
    padding: 48px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}
.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll 30s linear infinite;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-slide { display: flex; gap: 0; }
.ticker-item {
    flex-shrink: 0;
    padding: 0 28px;
    color: var(--muted);
    opacity: 0.35;
    transition: opacity 0.3s;
}
.ticker-item:hover { opacity: 0.6; }
.ticker-item svg { width: 28px; height: 28px; }

.ticker-caption {
    max-width: 720px;
    margin: 40px auto 0;
    text-align: center;
    padding: 0 40px;
}
.ticker-caption p {
    font-size: 18px;
    font-weight: 400;
    color: var(--muted);
    line-height: 1.55;
}

/* ============================================
   COMPLIANCE TRUST BANNER
   ============================================ */
.compliance-banner {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.compliance-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}

.compliance-shield {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.25);
}
.compliance-shield svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
}

.compliance-header h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 16px;
}

.compliance-subtitle {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.6;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.compliance-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.compliance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.compliance-card-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.compliance-card-badge.hipaa {
    background: #dbeafe;
    color: #1d4ed8;
}
.compliance-card-badge.gdpr {
    background: #d1fae5;
    color: #047857;
}
.compliance-card-badge.infra {
    background: #ede9fe;
    color: #6d28d9;
}

.compliance-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.compliance-card p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.compliance-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}
.compliance-checklist li {
    font-size: 13.5px;
    color: #374151;
    padding: 6px 0 6px 24px;
    position: relative;
    line-height: 1.45;
}
.compliance-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='8' cy='8' r='7' fill='%2310b981'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
}

.compliance-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.compliance-stat {
    text-align: center;
    padding: 24px 16px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.compliance-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--black);
    margin-bottom: 4px;
}

.compliance-stat-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

@media (max-width: 900px) {
    .compliance-grid { grid-template-columns: 1fr; }
    .compliance-stats { grid-template-columns: repeat(2, 1fr); }
    .compliance-header h2 { font-size: 32px; }
}
@media (max-width: 480px) {
    .compliance-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
    .compliance-stat-number { font-size: 22px; }
}

/* ============================================
   FEATURE EXPLORER — Scrolling list + media
   ============================================ */
.feature-explorer {
    padding: var(--section-padding) 0;
}
.feature-explorer .container {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}
.feature-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.feature-item {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-item:first-child { padding-top: 0; }
.feature-item:not(.is-active) { opacity: 0.4; }
.feature-item:not(.is-active):hover { opacity: 0.8; padding-left: 8px; }
.feature-item.is-active { opacity: 1; }

.feature-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.feature-desc {
    font-size: 15px;
    color: var(--grey);
    line-height: 1.65;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    opacity: 0;
}
.feature-item.is-active .feature-desc {
    max-height: 200px;
    opacity: 1;
}

.feature-media-wrap {
    flex: 1;
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 24px;
    min-height: 480px;
    background: linear-gradient(160deg, #0f1117 0%, #1a1f2e 100%);
    border-radius: var(--radius-media);
    padding: 40px;
    overflow: hidden;
    position: sticky;
    box-shadow: 0 30px 60px rgba(15, 17, 23, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.feature-media-wrap::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(108, 142, 255, 0.18) 0%, transparent 60%);
    pointer-events: none;
    animation: visual-glow 8s ease-in-out infinite;
}
@keyframes visual-glow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-30px, 30px) scale(1.1); opacity: 1; }
}

.feature-visual {
    position: absolute;
    inset: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.feature-visual.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Transcription waveform + bubbles */
.visual-waveform {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 36px;
    margin-bottom: 4px;
}
.visual-waveform span {
    flex: 1;
    background: linear-gradient(180deg, #6c8eff, #5f6cff);
    border-radius: 2px;
    animation: wave 1.4s ease-in-out infinite;
}
.visual-waveform span:nth-child(1)  { animation-delay: 0.0s; }
.visual-waveform span:nth-child(2)  { animation-delay: 0.1s; }
.visual-waveform span:nth-child(3)  { animation-delay: 0.2s; }
.visual-waveform span:nth-child(4)  { animation-delay: 0.3s; }
.visual-waveform span:nth-child(5)  { animation-delay: 0.4s; }
.visual-waveform span:nth-child(6)  { animation-delay: 0.5s; }
.visual-waveform span:nth-child(7)  { animation-delay: 0.6s; }
.visual-waveform span:nth-child(8)  { animation-delay: 0.7s; }
.visual-waveform span:nth-child(9)  { animation-delay: 0.6s; }
.visual-waveform span:nth-child(10) { animation-delay: 0.5s; }
.visual-waveform span:nth-child(11) { animation-delay: 0.4s; }
.visual-waveform span:nth-child(12) { animation-delay: 0.3s; }
.visual-waveform span:nth-child(13) { animation-delay: 0.2s; }
.visual-waveform span:nth-child(14) { animation-delay: 0.1s; }
.visual-waveform span:nth-child(15) { animation-delay: 0.0s; }
@keyframes wave {
    0%, 100% { height: 20%; opacity: 0.5; }
    50% { height: 100%; opacity: 1; }
}

.visual-bubbles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.visual-bubble {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 14px;
    backdrop-filter: blur(8px);
    animation: bubble-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.visual-bubble:nth-child(1) { animation-delay: 0.0s; }
.visual-bubble:nth-child(2) { animation-delay: 0.4s; }
.visual-bubble:nth-child(3) { animation-delay: 0.8s; }
@keyframes bubble-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.bubble-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.visual-bubble.doctor .bubble-label { color: #6c8eff; }
.visual-bubble.patient .bubble-label { color: #34d399; }
.bubble-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}
.bubble-text.typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    height: 16px;
}
.bubble-text.typing i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    animation: typing-dot 1.2s ease-in-out infinite;
}
.bubble-text.typing i:nth-child(2) { animation-delay: 0.15s; }
.bubble-text.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* SOAP visual */
.visual-soap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.soap-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.soap-tag {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(108, 142, 255, 0.15);
    color: #6c8eff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.soap-bar {
    height: 8px;
    background: linear-gradient(90deg, rgba(108, 142, 255, 0.3), rgba(108, 142, 255, 0.05));
    border-radius: 4px;
    flex: 1;
    position: relative;
    overflow: hidden;
    width: 0;
    animation: soap-fill 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.feature-visual[data-feature="intelligence"].is-active .soap-bar.w-80 { animation-delay: 0.0s; --target: 80%; }
.feature-visual[data-feature="intelligence"].is-active .soap-bar.w-60 { animation-delay: 0.15s; --target: 60%; }
.feature-visual[data-feature="intelligence"].is-active .soap-bar.w-90 { animation-delay: 0.3s; --target: 90%; }
.feature-visual[data-feature="intelligence"].is-active .soap-bar.w-70 { animation-delay: 0.45s; --target: 70%; }
@keyframes soap-fill {
    from { width: 0; }
    to { width: var(--target, 80%); }
}
.visual-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.chip {
    font-size: 12px;
    padding: 6px 12px;
    background: rgba(52, 211, 153, 0.12);
    color: #34d399;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.2);
    animation: chip-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.chip:nth-child(1) { animation-delay: 0.6s; }
.chip:nth-child(2) { animation-delay: 0.75s; }
.chip:nth-child(3) { animation-delay: 0.9s; }
@keyframes chip-in {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Timeline visual */
.visual-timeline {
    position: relative;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.tl-line {
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, #6c8eff, rgba(108, 142, 255, 0.1));
}
.tl-node {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    animation: bubble-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.tl-node:nth-child(2) { animation-delay: 0.1s; }
.tl-node:nth-child(3) { animation-delay: 0.25s; }
.tl-node:nth-child(4) { animation-delay: 0.4s; }
.tl-dot {
    position: absolute;
    left: -22px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #6c8eff;
    box-shadow: 0 0 0 4px rgba(108, 142, 255, 0.2);
    animation: tl-pulse 2s ease-in-out infinite;
}
.tl-node:nth-child(2) .tl-dot { animation-delay: 0s; }
.tl-node:nth-child(3) .tl-dot { animation-delay: 0.4s; opacity: 0.7; }
.tl-node:nth-child(4) .tl-dot { animation-delay: 0.8s; opacity: 0.5; }
@keyframes tl-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(108, 142, 255, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(108, 142, 255, 0.05); }
}
.tl-meta {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 500;
}

/* Analytics visual */
.visual-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 140px;
    padding: 12px 0;
}
.visual-chart .bar {
    flex: 1;
    height: 0;
    background: linear-gradient(180deg, #6c8eff, rgba(108, 142, 255, 0.3));
    border-radius: 4px 4px 0 0;
    animation: bar-grow 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.feature-visual[data-feature="analytics"].is-active .bar:nth-child(1) { animation-delay: 0.0s; }
.feature-visual[data-feature="analytics"].is-active .bar:nth-child(2) { animation-delay: 0.08s; }
.feature-visual[data-feature="analytics"].is-active .bar:nth-child(3) { animation-delay: 0.16s; }
.feature-visual[data-feature="analytics"].is-active .bar:nth-child(4) { animation-delay: 0.24s; }
.feature-visual[data-feature="analytics"].is-active .bar:nth-child(5) { animation-delay: 0.32s; }
.feature-visual[data-feature="analytics"].is-active .bar:nth-child(6) { animation-delay: 0.40s; }
.feature-visual[data-feature="analytics"].is-active .bar:nth-child(7) { animation-delay: 0.48s; }
@keyframes bar-grow {
    from { height: 0; }
    to { height: var(--h); }
}
.visual-stats {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}
.stat-tile {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-num {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-explore-link {
    position: relative;
    z-index: 2;
    margin-top: auto;
    align-self: flex-start;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 16px;
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(10px);
}
.feature-explore-link::after {
    content: '→';
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-explore-link:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
}
.feature-explore-link:hover::after { transform: translateX(4px); }

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    margin-bottom: 64px;
}
.section-header h2 {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 450;
    line-height: 1.04;
    letter-spacing: -0.73px;
    color: var(--black);
    margin-bottom: 20px;
}
.section-sub {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.55;
    max-width: 560px;
}

/* ============================================
   USE CASES — Card slider
   ============================================ */
.use-cases-section {
    padding: 72px 0 var(--section-padding);
}
.use-case-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.use-case-card {
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--bg-subtle);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}
.use-case-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 64px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.04);
    border-color: var(--border);
    background: #fff;
}
.use-case-card-inner {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(183,191,217,0.08), rgba(183,191,217,0.02));
    position: relative;
    overflow: hidden;
    transition: background 0.4s;
}
.use-case-card:hover .use-case-card-inner {
    background: linear-gradient(135deg, rgba(26,115,232,0.06), rgba(183,191,217,0.04));
}
.use-case-card-label {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
    transition: opacity 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.08;
    letter-spacing: -0.02em;
}
.use-case-card:hover .use-case-card-label {
    opacity: 0.06;
    transform: scale(1.05);
}

/* ---- Use case card SVG illustrations ---- */
.case-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.55;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.use-case-card:hover .case-art { opacity: 1; }

/* Cardiology — EKG */
.case-art.ekg .ekg-grid {
    stroke: rgba(232, 69, 60, 0.18);
    stroke-width: 1;
    stroke-dasharray: 4 6;
}
.case-art.ekg .ekg-line {
    fill: none;
    stroke: #e8453c;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    filter: drop-shadow(0 0 6px rgba(232,69,60,0.35));
    animation: ekg-draw 4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.case-art.ekg .ekg-pulse {
    fill: #ff6d3f;
    filter: drop-shadow(0 0 8px rgba(255,109,63,0.7));
    animation: ekg-pulse 4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes ekg-draw {
    0% { stroke-dashoffset: 1200; }
    60%, 100% { stroke-dashoffset: 0; }
}
@keyframes ekg-pulse {
    0% { transform: translateX(0); opacity: 0; }
    5% { opacity: 1; }
    60% { transform: translateX(320px); opacity: 1; }
    65%, 100% { opacity: 0; }
}
.use-case-card:hover .case-art.ekg .ekg-line {
    animation-duration: 2s;
}
.use-case-card:hover .case-art.ekg .ekg-pulse {
    animation-duration: 2s;
}

/* Psychiatry — brain network */
.case-art.brain .brain-ring {
    fill: none;
    stroke: #7b61ff;
    stroke-width: 1.2;
    transform-origin: center;
    transform-box: fill-box;
    opacity: 0.5;
}
.case-art.brain .brain-ring.r1 { animation: brain-ring 3s ease-in-out infinite; }
.case-art.brain .brain-ring.r2 { animation: brain-ring 3s ease-in-out infinite 0.4s; }
.case-art.brain .brain-ring.r3 { animation: brain-ring 3s ease-in-out infinite 0.8s; }
.case-art.brain .brain-link {
    stroke: rgba(123,97,255,0.4);
    stroke-width: 1;
    stroke-dasharray: 3 4;
    animation: brain-link-flow 2.4s linear infinite;
}
.case-art.brain .brain-node {
    fill: #a89bff;
    filter: drop-shadow(0 0 6px rgba(168,155,255,0.7));
    animation: brain-node 2s ease-in-out infinite;
}
.case-art.brain .brain-node.n1 { animation-delay: 0s; }
.case-art.brain .brain-node.n2 { animation-delay: 0.3s; }
.case-art.brain .brain-node.n3 { animation-delay: 0.6s; }
.case-art.brain .brain-node.n4 { animation-delay: 0.9s; }
.case-art.brain .brain-node.n5 { animation-delay: 1.2s; }
@keyframes brain-ring {
    0%, 100% { transform: scale(0.94); opacity: 0.25; }
    50% { transform: scale(1.06); opacity: 0.7; }
}
@keyframes brain-link-flow {
    to { stroke-dashoffset: -14; }
}
@keyframes brain-node {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.6); opacity: 1; }
}

/* Pediatrics — growth curve */
.case-art.growth .growth-axis {
    stroke: rgba(52, 168, 83, 0.35);
    stroke-width: 1.5;
    stroke-linecap: round;
}
.case-art.growth .growth-curve {
    fill: none;
    stroke: #34a853;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    filter: drop-shadow(0 0 6px rgba(52,168,83,0.4));
    animation: growth-draw 3.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.case-art.growth .growth-dot {
    fill: #fbbc04;
    filter: drop-shadow(0 0 5px rgba(251,188,4,0.6));
    opacity: 0;
    animation: growth-dot 3.5s ease-out infinite;
}
.case-art.growth .growth-dot.d1 { animation-delay: 0.4s; }
.case-art.growth .growth-dot.d2 { animation-delay: 0.8s; }
.case-art.growth .growth-dot.d3 { animation-delay: 1.2s; }
.case-art.growth .growth-dot.d4 { animation-delay: 1.6s; }
.case-art.growth .growth-dot.d5 { animation-delay: 2s; }
@keyframes growth-draw {
    0% { stroke-dashoffset: 400; }
    65%, 100% { stroke-dashoffset: 0; }
}
@keyframes growth-dot {
    0%, 10% { opacity: 0; transform: scale(0.4); transform-origin: center; transform-box: fill-box; }
    20% { opacity: 1; transform: scale(1.4); transform-origin: center; transform-box: fill-box; }
    40%, 100% { opacity: 1; transform: scale(1); transform-origin: center; transform-box: fill-box; }
}

/* Dental — tooth with sparkles */
.case-art.tooth .tooth-shape {
    fill: none;
    stroke: #4285f4;
    stroke-width: 2.4;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-dasharray: 360;
    stroke-dashoffset: 360;
    filter: drop-shadow(0 0 8px rgba(66,133,244,0.4));
    animation: tooth-draw 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.case-art.tooth .tooth-sparkle {
    stroke: #fbbc04;
    stroke-width: 2;
    stroke-linecap: round;
    fill: none;
    filter: drop-shadow(0 0 6px rgba(251,188,4,0.8));
    transform-origin: center;
    transform-box: fill-box;
    opacity: 0;
    animation: tooth-sparkle 2.8s ease-in-out infinite;
}
.case-art.tooth .tooth-sparkle.s1 { animation-delay: 0.6s; }
.case-art.tooth .tooth-sparkle.s2 { animation-delay: 1.2s; }
.case-art.tooth .tooth-sparkle.s3 { animation-delay: 1.8s; }
@keyframes tooth-draw {
    0% { stroke-dashoffset: 360; }
    50%, 100% { stroke-dashoffset: 0; }
}
@keyframes tooth-sparkle {
    0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
    40% { opacity: 1; transform: scale(1.4) rotate(45deg); }
    60% { opacity: 1; transform: scale(1) rotate(90deg); }
    80% { opacity: 0; transform: scale(0.6) rotate(135deg); }
}

/* Card label sits above the art */
.use-case-card-label {
    position: relative;
    z-index: 2;
}

.use-case-card-copy { padding: 24px; }
.use-case-card-copy h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}
.use-case-card-copy p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.6;
    margin-bottom: 16px;
}
.view-case {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.view-case::after {
    content: '→';
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.view-case:hover { gap: 8px; }
.view-case:hover::after { transform: translateX(3px); }

.slider-controls {
    display: flex;
    gap: 8px;
    margin-top: 32px;
    justify-content: flex-end;
}
.slider-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--btn-secondary-bg);
    color: var(--black);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.slider-btn:hover {
    background: rgba(183, 191, 217, 0.22);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.slider-btn:active { transform: scale(0.95); }
.slider-btn svg { width: 20px; height: 20px; }

/* ============================================
   SECURITY
   ============================================ */
.security-section {
    padding: var(--section-padding) 0;
    background: var(--bg-subtle);
}
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.security-card {
    padding: 32px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.security-card:hover {
    border-color: var(--border);
    box-shadow: 0 16px 48px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.03);
    transform: translateY(-6px) scale(1.01);
}
.security-card:hover .security-icon {
    color: var(--accent);
    transform: scale(1.15);
}
.security-icon {
    width: 28px;
    height: 28px;
    color: var(--muted);
    margin-bottom: 20px;
    transition: color 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.security-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}
.security-card p {
    font-size: 14px;
    color: var(--grey);
    line-height: 1.6;
}

/* ============================================
   PRICING — Side-by-side (antigravity style)
   ============================================ */
.pricing-section {
    padding: var(--section-padding) 0;
}
.pricing-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.pricing-card {
    padding: 48px;
    background: var(--bg-subtle);
    border-radius: var(--radius-card);
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pricing-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 56px rgba(0,0,0,0.06);
    border-color: var(--border);
    background: #fff;
}
.pricing-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pricing-tag.muted { color: var(--muted); }
.pricing-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.pricing-tagline {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 32px;
}
.pricing-action { display: flex; }

/* ============================================
   WAITLIST
   ============================================ */
.waitlist-section {
    padding: 0 0 var(--section-padding);
}
.waitlist-shell {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    text-align: left;
    pointer-events: auto;
    background: linear-gradient(135deg, #f7f9ff 0%, #ffffff 55%, #eef5ff 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(26, 115, 232, 0.08);
}
.waitlist-copy {
    padding: 12px 4px 12px 0;
}
.waitlist-copy h2 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 14px;
}
.waitlist-copy p {
    font-size: 16px;
    color: var(--grey);
    line-height: 1.7;
    max-width: 34ch;
}
.waitlist-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.waitlist-points span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(26, 115, 232, 0.08);
    color: #255ecf;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.waitlist-form-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 255, 0.96) 100%);
    border: 1px solid rgba(183, 191, 217, 0.42);
    border-radius: 28px;
    min-height: 240px;
    padding: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 24px 48px rgba(18, 19, 23, 0.08);
}
.waitlist-form-header {
    max-width: 520px;
    margin-bottom: 18px;
}
.waitlist-form-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}
.waitlist-form-header h3 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 650;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.waitlist-form-header p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
}
.waitlist-form-embed {
    background: #fff;
    border: 1px solid rgba(183, 191, 217, 0.35);
    border-radius: 22px;
    padding: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
}
.waitlist-form-embed iframe {
    display: block;
    width: 100%;
    min-height: 220px;
    background: transparent;
    border-radius: 14px;
}

/* ============================================
   CTA
   ============================================ */
.cta-section {
    padding: var(--section-padding) 0;
    text-align: center;
}
.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.cta-logo { width: 48px; height: 48px; }
.cta-inner h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 450;
    letter-spacing: -0.5px;
    color: var(--black);
}
.cta-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .hero-waitlist-panel {
        margin-top: 0;
        margin-bottom: 56px;
    }
    .waitlist-shell {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .waitlist-copy {
        padding-right: 0;
    }
    .waitlist-form-card {
        padding: 22px;
    }
    .waitlist-form-embed {
        padding: 10px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 64px 0 40px;
    border-top: 1px solid var(--border-light);
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
}
.footer-tagline {
    font-size: 22px;
    font-weight: 500;
    color: var(--black);
    letter-spacing: -0.01em;
}
.footer-links {
    display: flex;
    gap: 32px;
}
.footer-links a {
    font-size: 14px;
    color: var(--grey);
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}
.footer-links a:hover { color: var(--black); transform: translateX(2px); }

.footer-app-url {
    text-align: center;
    padding: 16px 0 20px;
    font-size: 14px;
    color: #666;
}
.footer-app-url a {
    color: var(--black);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-app-url a:hover { color: #4285f4; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}
.footer-brand-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}
.footer-legal {
    display: flex;
    gap: 24px;
}
.footer-legal a {
    font-size: 13px;
    color: var(--muted);
    transition: color 0.2s;
}
.footer-legal a:hover { color: var(--grey); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nav-menu, .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 72px;
        left: 16px;
        right: 16px;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: var(--radius-card);
        padding: 16px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .nav-menu.open .has-dropdown .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: all;
        box-shadow: none;
    }
    .nav-menu.open .dropdown-grid { grid-template-columns: 1fr; min-width: 0; }

    .feature-explorer .container { flex-direction: column; gap: 40px; }
    .feature-media-wrap { position: static; width: 100%; }

    .use-case-cards { grid-template-columns: 1fr; max-width: 480px; }
    .security-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-row { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

    .footer-top { flex-direction: column; gap: 24px; align-items: flex-start; }
    .footer-links { flex-wrap: wrap; gap: 20px; }

    .mock-sidebar { display: none; }
}

@media (max-width: 768px) {
    :root { --section-padding: 80px; }
    #nav { padding: 10px 14px; }
    .container { padding: 0 20px; }
    .nav-inner { padding: 8px 10px 8px 14px; }
    .nav-logo { gap: 8px; font-size: 15px; }
    .nav-logo-icon, .nav-logo-img { width: 28px; height: 28px; }

    .hero { padding: 118px 20px 0; }
    .hero-title {
        font-size: clamp(38px, 11vw, 52px);
        line-height: 1.04;
        margin-bottom: 22px;
        min-height: auto;
        max-width: 7.5ch;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 18px;
    }
    .hero-actions .btn-dark,
    .hero-actions .btn-light {
        width: 100%;
        justify-content: center;
    }
    .hero-waitlist-panel {
        margin: 2px auto 26px;
        max-width: 100%;
    }
    .waitlist-shell {
        gap: 14px;
        padding: 14px;
        border-radius: 18px;
    }
    .waitlist-copy { padding: 0; }
    .waitlist-copy h2 {
        font-size: clamp(24px, 7.5vw, 30px);
        line-height: 1.04;
        margin-bottom: 8px;
    }
    .waitlist-copy p {
        max-width: none;
        font-size: 13px;
        line-height: 1.5;
    }
    .waitlist-points { display: none; }
    .waitlist-form-card {
        padding: 10px;
        border-radius: 16px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 28px rgba(18, 19, 23, 0.06);
    }
    .waitlist-form-header { display: none; }
    .waitlist-form-embed {
        padding: 0;
        border: 0;
        border-radius: 12px;
        box-shadow: none;
    }
    .waitlist-form-embed iframe { min-height: 155px; }

    .hero-video-section {
        display: none;
    }
    .mock-speaker { display: none; }
    #confetti-canvas { display: none; }

    .ticker {
        padding: 0 0 20px;
        border-bottom: 0;
    }
    .ticker-track { display: none; }
    .ticker-caption {
        margin-top: 0;
        padding: 0 20px;
    }
    .ticker-caption p { font-size: 15px; }

    .compliance-shield {
        width: 48px;
        height: 48px;
        margin-bottom: 18px;
    }

    .section-header h2 { font-size: 32px; }
    .section-sub,
    .compliance-subtitle { font-size: 15px; }
    .compliance-banner { padding: 72px 0 56px; }
    .compliance-header { margin-bottom: 36px; }
    .compliance-card,
    .security-card,
    .pricing-card { padding: 22px 20px; }

    .feature-explorer .container { gap: 24px; }
    .feature-item { padding: 20px 0; }
    .feature-title { font-size: 18px; }
    .feature-desc {
        font-size: 14px;
        line-height: 1.55;
    }
    .feature-media-wrap { display: none; }
    .feature-desc,
    .feature-item.is-active .feature-desc {
        max-height: none;
        opacity: 1;
    }
    .feature-item:not(.is-active) {
        opacity: 1;
    }

    .use-case-cards {
        max-width: none;
        gap: 16px;
    }
    .use-case-card-copy { padding: 18px; }
    .slider-controls {
        justify-content: center;
        margin-top: 18px;
    }

    .security-grid { grid-template-columns: 1fr; }
    .pricing-section,
    .cta-section { padding-top: 56px; }
    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }
    .cta-buttons .btn-dark,
    .cta-buttons .btn-light {
        width: 100%;
        justify-content: center;
    }

    .footer { padding: 48px 0 32px; }
    .footer-top { flex-direction: column; gap: 24px; align-items: flex-start; }
    .footer-links { flex-wrap: wrap; gap: 14px 18px; }
    .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

@media (max-width: 480px) {
    :root { --section-padding: 64px; }
    .container { padding: 0 16px; }
    #nav { padding: 8px 10px; }
    .nav-inner { padding: 7px 8px 7px 12px; }
    .nav-logo { font-size: 14px; }
    .nav-toggle { padding: 8px; }

    .hero { padding: 106px 16px 0; }
    .hero-title {
        font-size: 30px;
        max-width: 7ch;
    }
    .hero-actions .btn-dark,
    .hero-actions .btn-light {
        padding: 11px 18px;
        font-size: 14px;
    }
    .hero-waitlist-panel { margin-bottom: 22px; }
    .waitlist-shell {
        padding: 12px;
        border-radius: 16px;
    }
    .waitlist-copy h2 { font-size: 22px; }
    .waitlist-copy p { font-size: 12.5px; }
    .waitlist-form-card {
        padding: 8px;
        border-radius: 14px;
    }
    .waitlist-form-embed iframe { min-height: 145px; }

    .feature-media-wrap {
        min-height: 300px;
        padding: 16px;
    }
    .feature-visual { inset: 16px; }
    .section-header h2,
    .compliance-header h2 { font-size: 28px; }
    .section-header,
    .compliance-header {
        margin-bottom: 24px;
    }
    .footer-tagline {
        font-size: 18px;
    }
    .footer-links,
    .footer-legal {
        gap: 12px 16px;
        flex-wrap: wrap;
    }
}
