/* ── ICU Advantage Presale Landing Page ── */

:root {
    /* App-matched backgrounds */
    --bg-primary: #14171A;
    --bg-secondary: #1F2328;
    --bg-card: #1F2328;
    --bg-card-hover: #282d33;
    --text-primary: #F6F7F8;
    --text-secondary: #A1A8B1;
    --text-muted: #5B646F;
    /* App primary blue */
    --accent: #6B9BD1;
    --accent-hover: #94B4D8;
    --accent-glow: rgba(107, 155, 209, 0.15);
    --accent-soft: rgba(107, 155, 209, 0.08);
    --border: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(107, 155, 209, 0.3);
    --success: #6BD19E;
    --gradient-hero: linear-gradient(180deg, #14171A 0%, #1F2328 100%);
    --gradient-accent: linear-gradient(135deg, #6B9BD1, #6E6BD1);
    /* App category colors */
    --color-cardio: #D16E6B;
    --color-pulmo: #6B9BD1;
    --color-neuro: #6E6BD1;
    --color-renal: #D1A26B;
    --color-endo: #6BCED1;
    --color-hema: #D16B9B;
    --color-gastro: #9BD16B;
    --color-pharma: #818B98;
    --color-labs: #D1C96B;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.4);
    --max-width: 1100px;
    --max-width-narrow: 720px;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: var(--max-width-narrow);
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ── Top Bar ── */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-logo {
    height: 80px;
    width: auto;
}

.topbar-cta {
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: var(--accent);
    padding: 8px 20px;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s;
}

.topbar-cta:hover {
    background: var(--accent-hover);
    text-decoration: none;
}

/* ── Hero ── */

.hero {
    padding: 140px 0 80px;
    background: var(--gradient-hero);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.hero-brain {
    width: 180px;
    height: 180px;
    margin-bottom: 28px;
    opacity: 0.9;
}

.hero-badge {
    display: inline-block;
    background: var(--accent-soft);
    border: 1px solid var(--border-accent);
    color: var(--accent);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    max-width: 800px;
    margin: 0 auto 20px;
    letter-spacing: -0.02em;
}

.hero h1 .accent {
    color: var(--accent);
}

.hero-sub {
    font-size: clamp(18px, 2.5vw, 21px);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 48px;
    font-weight: 300;
}

.hero-image {
    max-width: 100%;
    margin: 0 auto;
}

/* ── Placeholder Images ── */

.placeholder-img {
    background: var(--bg-card);
    border: 2px dashed var(--border-accent);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    transition: border-color 0.3s;
}

.placeholder-img:hover {
    border-color: var(--accent);
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.placeholder-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.4;
}

.placeholder-detail {
    font-weight: 400;
    font-size: 12px;
    color: var(--text-muted);
}

.placeholder-hero {
    height: 520px;
    border-radius: var(--radius-lg);
}

.placeholder-phone {
    height: 440px;
    width: 220px;
    border-radius: 28px;
    flex-shrink: 0;
}

.placeholder-gif {
    height: 400px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--bg-card), var(--bg-secondary));
}

.placeholder-feature {
    height: 280px;
    margin-bottom: 20px;
    border-radius: var(--radius);
}

.placeholder-feature-sm {
    height: 240px;
    margin-bottom: 20px;
    border-radius: var(--radius);
}

/* ── Story Section ── */

.story {
    padding: 100px 0;
    background: var(--bg-primary);
}

.story h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 36px;
    letter-spacing: -0.02em;
}

.story p {
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.8;
}

.story p:last-child {
    margin-bottom: 0;
}

.story strong {
    color: var(--text-primary);
}

/* ── Showcase (Multi-phone fan) ── */

.showcase {
    padding: 100px 0;
    background: var(--bg-secondary);
    text-align: center;
    overflow: hidden;
}

.showcase h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-sub {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 48px;
    font-weight: 300;
}

.showcase-phones {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    padding: 0 20px;
}

.phone-left {
    transform: rotate(-8deg) translateY(-20px);
    opacity: 0.85;
}

.phone-center {
    height: 480px;
    width: 240px;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.phone-right {
    transform: rotate(8deg) translateY(-20px);
    opacity: 0.85;
}

/* ── Demo Sections (GIF rows) ── */

.demo-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.demo-section-alt {
    background: var(--bg-secondary);
}

.demo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.demo-row-reverse {
    direction: rtl;
}

.demo-row-reverse > * {
    direction: ltr;
}

.demo-text h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.demo-text p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
}

/* ── Features Grid ── */

.features {
    padding: 100px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.features h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    text-align: left;
    margin-top: 48px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--card-accent, var(--accent));
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-card:nth-child(1) { --card-accent: #396EAB; }
.feature-card:nth-child(2) { --card-accent: #39AB72; }
.feature-card:nth-child(3) { --card-accent: #AB7639; }
.feature-card:nth-child(4) { --card-accent: #ABA239; }

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    background: var(--icon-bg, rgba(107, 155, 209, 0.12));
}

.feature-card:nth-child(1) .feature-icon { background: rgba(107, 155, 209, 0.12); }
.feature-card:nth-child(2) .feature-icon { background: rgba(107, 209, 158, 0.12); }
.feature-card:nth-child(3) .feature-icon { background: rgba(209, 162, 107, 0.12); }
.feature-card:nth-child(4) .feature-icon { background: rgba(209, 201, 107, 0.12); }

.feature-item:nth-child(1) .feature-icon { background: rgba(107, 206, 209, 0.12); }
.feature-item:nth-child(2) .feature-icon { background: rgba(209, 110, 107, 0.12); }

.feature-card h4,
.feature-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-primary);
}

.feature-card p,
.feature-item > p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-top: 12px;
}

/* ── Features Secondary (2-col row) ── */

.features-secondary {
    padding: 80px 0;
    background: var(--bg-primary);
}

.features-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--card-accent, var(--accent));
    border-radius: var(--radius-lg);
    padding: 28px;
}

.feature-item:nth-child(1) { --card-accent: #39A7AB; }
.feature-item:nth-child(2) { --card-accent: #AB3C39; }

/* ── Pricing ── */

.pricing {
    padding: 100px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.pricing h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

/* ── Countdown Banner ── */

.countdown-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(107, 155, 209, 0.18), rgba(110, 107, 209, 0.12));
    border: 1px solid rgba(107, 155, 209, 0.25);
    border-radius: 60px;
    padding: 10px 10px 10px 10px;
    max-width: 800px;
    margin: 0 auto 48px;
    overflow: hidden;
}

.countdown-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    flex-shrink: 0;
    object-fit: cover;
    margin-right: 16px;
}

.countdown-content {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.countdown-numbers {
    display: flex;
    align-items: center;
    gap: 0;
}

.cd-group {
    display: flex;
    align-items: baseline;
    gap: 1px;
}

.cd-num {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.cd-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-right: 8px;
}

.cd-sep {
    color: rgba(107, 155, 209, 0.4);
    font-size: 24px;
    font-weight: 300;
    margin: 0 6px 0 0;
}

.countdown-btn {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 60px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-left: 12px;
}

.countdown-btn:hover {
    background: var(--accent-hover);
    text-decoration: none;
    transform: scale(1.03);
}

/* ── Sticky Bottom Bar ── */

.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(20, 23, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 14px 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-bar.sticky-visible {
    transform: translateY(0);
}

.sticky-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sticky-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
    flex-shrink: 0;
}

.sticky-countdown {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sticky-label {
    color: var(--text-muted);
    font-size: 16px;
    white-space: nowrap;
    font-weight: 500;
}

.sticky-time {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.sticky-btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.sticky-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
}

.sticky-price-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.sticky-price-amount {
    font-size: 26px;
    font-weight: 700;
    color: var(--accent);
}

.sticky-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.pricing-card {
    background: var(--bg-card);
    border: 2px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 480px;
    margin: 0 auto 40px;
    position: relative;
    box-shadow: 0 0 60px var(--accent-glow);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 20px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.pricing-amount {
    font-size: 96px;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-top: 16px;
}

.pricing-term {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 28px;
}

.pricing-highlight {
    color: var(--accent);
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 28px;
    padding: 12px 16px;
    background: var(--accent-soft);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.btn-buy {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-size: 17px;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 100px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(107, 155, 209, 0.3);
}

.btn-buy:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    box-shadow: 0 6px 28px rgba(107, 155, 209, 0.3);
    text-decoration: none;
}

.pricing-compare {
    max-width: 480px;
    margin: 0 auto;
}

.pricing-compare-label {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 16px;
}

.pricing-launch {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 16px;
}

.pricing-launch-item {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.pricing-launch-amount {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.5);
}

.pricing-launch-term {
    font-size: 15px;
    color: var(--text-muted);
    text-decoration: line-through;
    text-decoration-color: rgba(239, 68, 68, 0.5);
}

.pricing-launch-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.pricing-compare-note {
    color: var(--text-muted);
    font-size: 14px;
    font-style: italic;
}

.pricing-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.trust-icon {
    font-size: 18px;
}

/* ── Beta Section ── */

.beta {
    padding: 80px 0;
    background: var(--bg-primary);
    text-align: center;
}

.beta h2 {
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.beta > .container > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.beta-form {
    display: flex;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
}

.beta-form input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

.beta-form input:focus {
    border-color: var(--accent);
}

.beta-form input::placeholder {
    color: var(--text-muted);
}

.btn-beta {
    padding: 14px 24px;
    border-radius: 100px;
    border: none;
    background: var(--accent);
    color: white;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-beta:hover {
    background: var(--accent-hover);
}

.beta-note {
    color: var(--success);
    font-size: 15px;
    margin-top: 16px;
}

/* ── Beta Invitation ── */

.beta-invite {
    padding: 80px 0;
    background: var(--bg-primary);
}

.beta-invite-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
}

.beta-invite h2 {
    font-size: clamp(20px, 2.5vw, 25px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    text-align: center;
}

.beta-invite-inner > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    text-align: center;
}

.beta-perks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 560px;
    margin: 0 auto 28px;
}

.beta-perk {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: rgba(107, 155, 209, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.beta-perk-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    margin-top: 2px;
}

.beta-perk:nth-child(1) .beta-perk-icon { color: var(--color-pulmo); }
.beta-perk:nth-child(2) .beta-perk-icon { color: var(--success); }
.beta-perk:nth-child(3) .beta-perk-icon { color: var(--color-neuro); }

.beta-perk strong {
    display: block;
    color: var(--text-primary);
    font-size: 15px;
    margin-bottom: 4px;
}

.beta-perk p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.beta-note {
    color: var(--text-muted);
    font-size: 14px;
    font-style: italic;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

/* ── Feature Carousel ── */

.carousel {
    max-width: 900px;
    margin: 48px auto 0;
    position: relative;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.carousel-slide.active {
    display: grid;
    animation: carouselSlideIn 0.5s ease;
}

.carousel-slide.leaving {
    display: grid;
    animation: carouselSlideOut 0.4s ease forwards;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

@keyframes carouselSlideIn {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes carouselSlideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-60px); }
}

.carousel-img {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 700px;
}

.carousel-img img {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
}

.carousel-img .placeholder-img {
    width: 100%;
    max-width: 400px;
    height: 700px;
}

.carousel-info {
    padding: 20px 0;
}

.carousel-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--card-accent, var(--accent));
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 -8px 30px rgba(var(--card-accent-rgb, 107, 155, 209), 0.12);
    position: relative;
}

.carousel-info-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: var(--card-accent, var(--accent));
    filter: blur(8px);
    opacity: 0.6;
}

.carousel-info .feature-card-header {
    margin-bottom: 20px;
}

.carousel-info .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
}

.carousel-info h4 {
    font-size: 24px;
}

.carousel-info p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-top: 16px;
}

/* Alternate layout: even slides flip screenshot/info sides */
.carousel-slide:nth-child(even).active,
.carousel-slide:nth-child(even).leaving {
    direction: rtl;
}

.carousel-slide:nth-child(even) > * {
    direction: ltr;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.carousel-arrow {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s, color 0.2s;
}

.carousel-arrow:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .carousel-slide,
    .carousel-slide.active {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .carousel-img {
        min-height: 500px;
    }

    .carousel-img img {
        max-width: 320px;
    }

    .carousel-img .placeholder-img {
        max-width: 320px;
        height: 500px;
    }

    .carousel-info {
        text-align: center;
    }

    .carousel-info .feature-card-header {
        justify-content: center;
    }

    .carousel-info-card {
        padding: 24px;
    }
}

/* ── FAQ ── */

.faq {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.faq-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* ── Final CTA ── */

.final-cta {
    padding: 100px 0;
    background: var(--bg-primary);
    text-align: center;
    position: relative;
}

.final-cta::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.final-cta-brain {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.final-cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.final-cta p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 36px;
}

.btn-buy-large {
    font-size: 19px;
    padding: 18px 48px;
}

/* ── Footer ── */

.footer {
    padding: 60px 0 40px;
    background: var(--bg-secondary);
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
    opacity: 0.7;
}

.footer p {
    color: var(--text-secondary);
    font-size: 17px;
}

.footer-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer-links {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-sep {
    color: var(--text-muted);
}

/* Add bottom padding for sticky bar */
body {
    padding-bottom: 70px;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .hero {
        padding: 112px 0 60px;
    }

    .topbar-logo {
        height: 52px;
    }

    .countdown-banner {
        border-radius: var(--radius-lg);
        flex-wrap: wrap;
        padding: 12px;
        gap: 8px;
        margin-left: 12px;
        margin-right: 12px;
        overflow: hidden;
    }

    .countdown-avatar {
        width: 40px;
        height: 40px;
        margin-right: 6px;
    }

    .countdown-content {
        flex: 1;
        min-width: 0;
    }

    .cd-num {
        font-size: 22px;
    }

    .cd-sep {
        font-size: 16px;
        margin: 0 2px 0 0;
    }

    .cd-label {
        font-size: 8px;
        margin-right: 3px;
    }

    .countdown-btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
        justify-content: center;
        font-size: 12px;
        padding: 10px 16px;
    }

    .sticky-label {
        font-size: 12px;
    }

    .sticky-time {
        font-size: 20px;
    }

    .sticky-countdown {
        flex-direction: column;
        gap: 2px;
    }

    .beta-invite-inner {
        padding: 28px 20px;
    }

    .sticky-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .sticky-price {
        order: 3;
        width: auto;
    }

    .sticky-price-amount {
        font-size: 20px;
    }

    .sticky-price-label {
        font-size: 11px;
    }

    .sticky-btn {
        order: 4;
        width: 100%;
        text-align: center;
    }

    .beta-perk {
        padding: 12px;
    }

    .pricing-trust {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-image {
        max-width: 100%;
    }

    .placeholder-hero {
        height: 400px;
    }

    .showcase-phones {
        flex-direction: column;
        align-items: center;
    }

    .phone-left,
    .phone-right {
        transform: none;
        opacity: 1;
    }

    .phone-center {
        height: 440px;
        width: 220px;
    }

    .placeholder-phone {
        width: 200px;
        height: 380px;
    }

    .demo-row,
    .demo-row-reverse {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .demo-row-reverse {
        direction: ltr;
    }

    /* Videos 30% smaller on mobile */
    .demo-visual video {
        max-width: 280px !important;
    }

    /* Pricing badge on mobile — wider, 2 lines */
    .pricing-badge {
        font-size: 11px;
        padding: 6px 20px;
        max-width: calc(100vw - 32px);
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    /* Countdown banner fit on mobile */
    .countdown-banner {
        margin-left: 8px;
        margin-right: 8px;
    }

    .countdown-content {
        justify-content: flex-start;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-row {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 40px 16px;
        margin-left: 8px;
        margin-right: 8px;
    }

    .pricing-amount {
        font-size: 72px;
    }

    .pricing-launch {
        gap: 24px;
    }

    .beta-form {
        flex-direction: column;
    }

    .btn-beta {
        padding: 14px;
    }

    section {
        padding: 64px 0;
    }

    .story,
    .features,
    .showcase,
    .pricing,
    .final-cta {
        padding: 64px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .placeholder-hero {
        height: 340px;
    }

    .placeholder-gif {
        height: 300px;
    }

    .placeholder-feature {
        height: 220px;
    }
}
