:root {
    --bg: #ffffff;
    --text: #1d1d1f;
    --text-sec: #86868b;
    --accent: #0071e3;
    --card: #f5f5f7;
    --liquid-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --gold: #ffb800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background: #fff;
}

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 52px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 30px;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: perspective(1px) translateZ(0);
    /* Anti-aliasing */
}

.logo:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo:active {
    transform: translateY(-4px) scale(1.1);
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Hero Moderno */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
}

.hero h1 {
    letter-spacing: -4px;
    line-height: 0.8;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero h1 .giant {
    font-size: clamp(80px, 20vw, 240px);
    font-weight: 900;
    letter-spacing: -12px;
    text-transform: uppercase;
    display: block;
    line-height: 0.8;
}

.hero h1 .soul {
    font-size: clamp(28px, 5vw, 60px);
    font-weight: 600;
    color: var(--text-sec);
    letter-spacing: -2px;
    margin-top: -10px;
}

.hero p {
    font-size: 24px;
    color: var(--text-sec);
    max-width: 700px;
    margin: 40px auto 40px;
    font-weight: 500;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.btn-blue {
    background: var(--accent);
    color: white;
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-blue:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 15px 40px rgba(0, 113, 227, 0.3);
}

.btn-blue:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 5px 15px rgba(0, 113, 227, 0.2);
}

.app-store-tag {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-sec);
    opacity: 0.8;
}

/* Demo Mac */
.demo-section {
    padding: 0 0 100px;
    /* Reduced padding for desktop */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.macbook-air {
    position: relative;
    width: 800px;
    transition: transform 1.2s var(--liquid-ease);
    flex-shrink: 0;
}

.screen-container {
    background: #000;
    padding: 3px;
    border-radius: 14px 14px 0 0;
    position: relative;
}

.mac-screen {
    width: 100%;
    height: 500px;
    background-image: url('assets/wallpaper_pro.png');
    background-size: cover;
    background-position: center;
    border-radius: 11px;
    position: relative;
    overflow: hidden;
}

.keyboard-base {
    height: 18px;
    background: #d2d2d7;
    border-radius: 0 0 100px 100px / 0 0 20px 20px;
    width: 110%;
    margin-left: -5%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.demo-disclaimer {
    display: block;
    width: 100%;
    margin-top: 120px;
    padding: 0 20px;
    font-size: 11px;
    color: #999;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.2px;
}

.fake-menubar {
    width: 100%;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    padding: 0 25px;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.8);
    z-index: 1;
    /* Much lower than notch */
    position: relative;
}

.fake-menubar .left,
.fake-menubar .right {
    display: flex;
    gap: 15px;
    cursor: default;
}

.fake-menubar span {
    color: inherit;
    text-decoration: none;
}

/* NOTCH CLONE */
.web-notch-hitbox {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 55px;
    z-index: 9999;
}

.web-notch {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 34px;
    background: #000;
    border-radius: 0 0 10px 10px;
    z-index: 9998;
    transition: width 0.6s var(--liquid-ease), height 0.6s var(--liquid-ease), border-radius 0.6s var(--liquid-ease), box-shadow 0.6s var(--liquid-ease);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 0.5px solid rgba(255, 255, 255, 0.05);
}

.web-notch.active {
    width: 480px;
    height: 180px;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.island-compact {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    transition: opacity 0.3s var(--liquid-ease), transform 0.3s var(--liquid-ease);
}

.web-notch.active .island-compact {
    opacity: 0;
    transform: translateY(-10px);
    transition-delay: 0s;
}

.compact-art {
    width: 22px;
    height: 22px;
    border-radius: 6px;
}

.compact-visualizer {
    display: flex;
    gap: 2px;
}

.compact-visualizer span {
    width: 2px;
    height: 10px;
    background: #0f0;
    border-radius: 1px;
    animation: dance 0.6s infinite alternate;
}

@keyframes dance {
    from {
        height: 4px;
    }

    to {
        height: 14px;
    }
}

.island-expanded {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.5s 0.2s var(--liquid-ease), transform 0.5s 0.2s var(--liquid-ease);
    pointer-events: none;
}

.web-notch.active .island-expanded {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.exp-top-row {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 800;
    color: #888;
    margin-bottom: 20px;
}

.batt-icon {
    color: #2ecc71;
    margin-right: 5px;
}

.exp-mid-row {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-album-art {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.song-info-block {
    flex-grow: 1;
}

.playback-status {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 4px;
}

.song-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.artist-name {
    font-size: 15px;
    color: #888;
}

.progress-container {
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex-grow: 1;
    height: 4px;
    background: #333;
    border-radius: 2px;
    position: relative;
}

.progress-knob {
    position: absolute;
    left: 40%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
}

.time-stamp {
    font-size: 11px;
    color: #555;
    font-weight: 600;
}

.main-controls {
    display: flex;
    gap: 25px;
    font-size: 22px;
    padding-left: 10px;
}

.control-btn {
    cursor: pointer;
    transition: 0.2s;
    opacity: 0.8;
}

.control-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.control-btn.play {
    font-size: 32px;
}

/* MEGA FEATURES */
.mega-feature {
    padding: 200px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mega-feature.reversed {
    background: #fafafa;
}

.feature-tag {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 20px;
}

.mega-feature h2 {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: -3px;
    margin-bottom: 20px;
}

.mega-feature p {
    font-size: 28px;
    color: var(--text-sec);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.2;
}

/* FEATURE ICONS */
.feature-icon {
    margin-bottom: 30px;
}

.feature-icon svg {
    width: 80px;
    height: 80px;
}

.feature-icon.heart-pulse span {
    font-size: 60px;
    display: inline-block;
    animation: heart-beat 1.5s ease-in-out infinite;
}

@keyframes heart-beat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.15);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.1);
    }
}

/* PILL MODE DEMO - V2 (matches screenshot) */
.pill-demo {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.pill-notch-v2 {
    background: #000;
    padding: 16px 50px 16px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: pill-float 3s ease-in-out infinite;
    min-width: 300px;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pill-notch-v2:hover {
    transform: scale(1.15) translateY(-5px);
    animation-play-state: paused;
}

@keyframes pill-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1);
    }
}

.pill-music-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pill-music-icon span {
    font-size: 24px;
    color: #fff;
}

.pill-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
    padding-left: 20px;
}

.pill-visualizer span {
    width: 4px;
    background: #22c55e;
    border-radius: 2px;
    animation: visualize 0.4s ease-in-out infinite alternate;
}

.pill-visualizer span:nth-child(1) {
    height: 8px;
    animation-delay: 0s;
}

.pill-visualizer span:nth-child(2) {
    height: 14px;
    animation-delay: 0.05s;
}

.pill-visualizer span:nth-child(3) {
    height: 20px;
    animation-delay: 0.1s;
}

.pill-visualizer span:nth-child(4) {
    height: 26px;
    animation-delay: 0.15s;
}

.pill-visualizer span:nth-child(5) {
    height: 30px;
    animation-delay: 0.2s;
}

.pill-visualizer span:nth-child(6) {
    height: 24px;
    animation-delay: 0.25s;
}

.pill-visualizer span:nth-child(7) {
    height: 18px;
    animation-delay: 0.3s;
}

.pill-visualizer span:nth-child(8) {
    height: 12px;
    animation-delay: 0.35s;
}

@keyframes visualize {
    0% {
        transform: scaleY(0.6);
    }

    100% {
        transform: scaleY(1);
    }
}

.pill-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-sec);
}

/* METRICS (Specs de una en una) */
.metrics {
    padding: 150px 0;
    background: #000;
    color: #fff;
    overflow: hidden;
}

/* APP STORE SIMULATION */
.appstore-hero {
    padding: 100px 0;
    background: #fff;
    display: flex;
    justify-content: center;
}

.appstore-container {
    display: flex;
    gap: 60px;
    max-width: 900px;
    align-items: center;
    background: #fbfbfd;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.as-big-icon {
    width: 200px;
    height: 200px;
    border-radius: 45px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.as-meta h1 {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -2px;
    transition: all 0.3s var(--liquid-ease);
    cursor: default;
}

.as-meta h1:hover {
    transform: translateY(-2px);
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.as-meta h2 {
    font-size: 24px;
    color: var(--text-sec);
    font-weight: 500;
    margin-bottom: 5px;
}

.as-dev {
    font-size: 18px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 25px;
}

.as-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.as-btn-get {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 32px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    top: 0;
}

.as-btn-get:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.4);
}

.as-btn-get:active {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 113, 227, 0.5);
}

.as-hint {
    font-size: 10px;
    color: var(--text-sec);
    font-weight: 600;
}

.as-badges {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 25px;
}

.as-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.b-val {
    font-size: 20px;
    font-weight: 800;
    color: #555;
}

.b-label {
    font-size: 10px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
}

/* HORIZONTAL METRICS */
.metrics {
    padding: 150px 0;
    background: #000;
    color: #fff;
    overflow: hidden;
}

.metrics-horizontal {
    display: flex;
    justify-content: center;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
}

.metric-item-h {
    text-align: center;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s var(--liquid-ease);
}

.metric-item-h.active {
    opacity: 1;
    transform: translateX(0);
}

.h-label {
    font-size: 14px;
    font-weight: 800;
    color: #444;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.h-value {
    font-size: 100px;
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 1;
    margin-bottom: 10px;
}

.metric-item-h p {
    font-size: 20px;
    color: #666;
    font-weight: 500;
}

.reveal-h-1 {
    transition-delay: 0s;
}

.reveal-h-2 {
    transition-delay: 0.2s;
}

.reveal-h-3 {
    transition-delay: 0.4s;
}

/* REVIEWS MARQUEE */
.reviews-section {
    padding: 150px 0;
    background: #fff;
}

.marquee {
    overflow: hidden;
    user-select: none;
    display: flex;
    gap: 40px;
    padding: 20px 0;
}

.marquee:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.review-pill {
    background: #f5f5f7;
    padding: 40px 60px;
    border-radius: 40px;
    min-width: 500px;
    transition: transform 0.4s;
}

.review-pill:hover {
    transform: scale(1.05);
}

.review-pill p {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -1px;
    margin: 15px 0;
}

.review-pill .author {
    color: var(--text-sec);
    font-size: 18px;
    font-weight: 600;
}

.stars-container {
    display: flex;
    gap: 5px;
    font-size: 24px;
}

.star {
    color: #ccc;
    transition: color 0.5s;
    opacity: 0;
    transform: scale(0.5);
}

.star.active {
    color: var(--gold);
    opacity: 1;
    transform: scale(1);
}

/* WAITLIST */
.waitlist-section {
    padding: 150px 0;
    text-align: center;
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.waitlist-container {
    position: relative;
    z-index: 2;
    animation: breathing 4s infinite ease-in-out;
}

@keyframes breathing {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.waitlist-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    animation: pulse-glow 6s infinite alternate;
}

@keyframes pulse-glow {
    from {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.waitlist-form {
    margin-top: 50px;
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-form input {
    flex-grow: 1;
    background: #1a1a1a;
    border: none;
    padding: 25px 30px;
    border-radius: 20px;
    color: #fff;
    font-size: 18px;
    outline: none;
    transition: 0.3s;
}

.waitlist-form input:focus {
    background: #222;
    box-shadow: 0 0 0 2px var(--accent);
}

.btn-waitlist {
    background: #fff;
    color: #000;
    border: none;
    padding: 0 40px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
}

.success-message {
    color: #2ecc71;
    font-weight: 600;
    margin-top: 20px;
    font-size: 24px;
    display: none;
}

.instagram-link {
    display: inline-block;
    margin-top: 40px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s var(--liquid-ease);
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
}

.instagram-link:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.ig-icon {
    margin-right: 8px;
}

/* REVEAL ANIMATIONS */
.reveal-scroll {
    opacity: 0;
    transform: translateY(100px);
    transition: all 1s var(--liquid-ease);
}

.reveal-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-spec {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1.2s var(--liquid-ease);
}

.reveal-spec.active {
    opacity: 1;
    transform: translateX(0);
}

/* Footer */
footer {
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 500;
    color: #888;
}

/* CURSOR GLOW */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    mix-blend-mode: screen;
}

/* FLOATING PARTICLES */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 113, 227, 0.15);
    border-radius: 50%;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* BUTTON MAGNETIC TRANSITION */
.btn-blue,
.btn-primary,
.as-btn-get,
.btn-waitlist {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s;
    cursor: pointer;
}

.btn-blue:active,
.btn-primary:active,
.as-btn-get:active,
.btn-waitlist:active {
    animation: bounce-click 0.4s ease;
}

@keyframes bounce-click {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.08);
    }

    70% {
        transform: scale(0.98);
    }

    100% {
        transform: scale(1);
    }
}

/* POP IN ANIMATION */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* NAV LINK HOVER */
.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s var(--liquid-ease);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10002;
    /* Higher than mobile menu */
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle span:last-child {
    width: 70%;
}

.menu-toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
    width: 100%;
}

.menu-toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
    width: 100%;
}

/* APP STORE CARD TILT */
.appstore-container {
    transition: transform 0.4s var(--liquid-ease), box-shadow 0.4s;
}

.appstore-container:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* BADGE POP ANIMATION */
.as-badge {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--liquid-ease);
}

.as-badge.active {
    opacity: 1;
    transform: translateY(0);
}

.as-badge:nth-child(1) {
    transition-delay: 0.1s;
}

.as-badge:nth-child(2) {
    transition-delay: 0.2s;
}

.as-badge:nth-child(3) {
    transition-delay: 0.3s;
}

/* HERO GRADIENT ANIMATION */
.hero h1 {
    background: linear-gradient(90deg, #1d1d1f, #0071e3, #1d1d1f);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* MACBOOK HOVER GLOW */
.macbook-air::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(0, 113, 227, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: -1;
}

.macbook-air:hover::after {
    opacity: 1;
}

/* IMMERSIVE VIDEO SECTION - EDGE TO EDGE */
.video-demo-section {
    width: 100vw;
    background: #000;
    overflow: hidden;
    margin: 150px 0 0;
    /* Reduced for desktop */
    padding: 0;
    /* Removed padding to avoid black bars */
}

.video-container {
    width: 100%;
    height: 100vh;
}

.notch-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fills entire screen, cropping if necessary */
    background: #000;
}

.video-disclaimer-wrapper {
    background: #fff;
    padding: 20px 0 60px;
    display: flex;
    justify-content: center;
}

.video-disclaimer {
    color: #a1a1a6;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    max-width: 500px;
    line-height: 1.4;
}

/* VISION SECTION - APPLE STYLE */
.vision-section {
    padding: 180px 20px;
    background: #000;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.vision-container {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.vision-section .feature-tag {
    color: #86868b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

.vision-section h2 {
    font-size: clamp(48px, 10vw, 80px);
    font-weight: 700;
    letter-spacing: -4px;
    margin-bottom: 24px;
    color: #fff;
    line-height: 1;
}

.vision-subtitle {
    font-size: 21px;
    color: #86868b;
    max-width: 600px;
    margin: 0 auto 80px;
    line-height: 1.5;
    font-weight: 400;
}

.vision-principles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 100px;
}

.vision-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px 24px 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
}

.vision-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.vision-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
}

.vision-card:hover::before {
    opacity: 1;
}

.vision-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.vision-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f5f5f7;
    letter-spacing: -0.3px;
}

.vision-card p {
    font-size: 14px;
    color: #86868b;
    line-height: 1.6;
    margin: 0;
}

.vision-quote {
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    position: relative;
}

.vision-quote::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    font-family: Georgia, serif;
}

.vision-quote blockquote {
    font-size: 28px;
    font-weight: 500;
    color: #f5f5f7;
    font-style: normal;
    line-height: 1.4;
    margin: 0;
    letter-spacing: -0.5px;
}

/* LAUNCHPAD FEATURE */
.launchpad-section {
    background: #fbfbfd;
    padding: 120px 0;
}

.launchpad-image-container {
    margin-top: 60px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.launchpad-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    transition: transform 0.6s var(--liquid-ease), filter 0.6s;
}

.launchpad-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.2));
}

/* UTILITY BUTTONS - SYMBOLIC STYLE */
.utility-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.utility-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.utility-btn:hover {
    transform: translateY(-6px) scale(1.1);
}

.utility-btn:active {
    transform: translateY(-3px) scale(1.05);
}

.utility-icon {
    font-size: 42px;
    transition: transform 0.3s ease;
    filter: grayscale(0.2);
}

.utility-btn:hover .utility-icon {
    transform: scale(1.15);
    filter: grayscale(0);
}

.utility-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-sec);
    letter-spacing: -0.3px;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
}

.utility-btn:hover .utility-label {
    opacity: 1;
    color: var(--text);
}

.utility-btn.add-more .utility-icon {
    opacity: 0.5;
}

.utility-btn.add-more:hover .utility-icon {
    opacity: 0.8;
}

.video-caption,
.video-glow {
    display: none !important;
}

/* WAITLIST CONTAINER H2 */
.waitlist-container h2 {
    font-size: 60px;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

/* ========== MOBILE RESPONSIVE ========== */
@media (max-width: 768px) {

    /* Hero */
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 42px;
        letter-spacing: -1.5px;
        line-height: 1.1;
    }

    .hero p {
        font-size: 17px;
        margin-bottom: 25px;
        padding: 0 20px;
    }

    .btn-blue {
        padding: 16px 28px;
        font-size: 16px;
    }

    /* Nav */
    .nav-content {
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(40px);
        backdrop-filter: blur(40px);
        display: flex;
        /* Force flex */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10001;
        /* Higher than notch (9999) */
        padding: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    /* Hide notch when menu is open to prevent z-index conflicts */
    .nav-links.active~.web-notch,
    .nav-links.active~.web-notch-hitbox,
    body:has(.nav-links.active) .web-notch,
    body:has(.nav-links.active) .web-notch-hitbox {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .nav-links a {
        font-size: 32px;
        font-weight: 700;
        letter-spacing: -1px;
        color: #000;
        text-decoration: none;
    }

    .nav-links .btn-primary {
        margin-top: 20px;
        padding: 20px 60px;
        font-size: 20px;
        width: auto;
        border-radius: 30px;
        background: #000;
        color: #fff;
    }

    .logo {
        font-size: 20px;
        letter-spacing: -0.5px;
    }

    .nav-icon {
        width: 32px;
        height: 32px;
    }

    /* MacBook Demo */
    .demo-section {
        padding: 0 10px 20px;
    }

    .macbook-air {
        width: 100%;
        max-width: 300px;
    }

    .mac-screen {
        height: 180px;
    }

    .demo-disclaimer {
        margin-top: 30px;
        font-size: 10px;
        line-height: 1.4;
        padding: 0 30px;
    }

    .keyboard-base {
        height: 8px;
    }

    .fake-menubar {
        height: 16px;
        font-size: 7px;
        padding: 0 8px;
    }

    /* Notch */
    .web-notch {
        width: 90px;
        height: 18px;
        border-radius: 0 0 8px 8px;
    }

    .web-notch.active {
        width: 200px;
        height: 70px;
        border-radius: 0 0 12px 12px;
    }

    .island-expanded {
        padding: 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .exp-top-row {
        display: none;
        /* Hide battery on mobile to save space */
    }

    .main-album-art {
        width: 30px;
        height: 30px;
        border-radius: 6px;
    }

    .song-info-block {
        gap: 1px;
    }

    .song-title {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 80px;
    }

    .artist-name {
        font-size: 8px;
    }

    .playback-status {
        font-size: 6px;
        gap: 2px;
    }

    .progress-container {
        display: none;
        /* Hide progress bar on mobile */
    }

    .exp-mid-row {
        gap: 10px;
        align-items: center;
    }

    .main-controls {
        gap: 8px;
        font-size: 12px;
    }

    .control-btn.play {
        font-size: 16px;
    }

    /* Metrics */
    .metrics {
        padding: 60px 20px;
    }

    .metrics-horizontal {
        flex-direction: column;
        gap: 40px;
    }

    .h-value {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .h-label {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .metric-item-h p {
        font-size: 13px;
        opacity: 0.8;
    }

    /* App Store Section */
    .appstore-hero {
        padding: 40px 15px;
    }

    .appstore-container {
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
        text-align: center;
        border-radius: 32px;
    }

    .as-big-icon {
        width: 100px;
        height: 100px;
        border-radius: 22px;
    }

    .as-meta h1 {
        font-size: 28px;
    }

    .as-meta h2 {
        font-size: 16px;
    }

    .as-actions {
        justify-content: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .as-badges {
        width: 100%;
        justify-content: center;
        gap: 25px;
        padding-top: 20px;
    }

    .b-val {
        font-size: 14px;
    }

    .b-label {
        font-size: 7px;
    }

    /* Features */
    .mega-feature {
        padding: 60px 20px;
    }

    .mega-feature h2 {
        font-size: 32px;
    }

    .mega-feature p {
        font-size: 16px;
        line-height: 1.4;
    }

    /* Waitlist */
    .waitlist-section {
        padding: 50px 20px;
    }

    .waitlist-container h2 {
        font-size: 28px;
        line-height: 1.1;
    }

    .waitlist-form {
        margin-top: 30px;
        gap: 8px;
    }

    .waitlist-form input {
        border-radius: 12px;
        padding: 15px;
        font-size: 14px;
    }

    .btn-waitlist {
        padding: 15px;
        border-radius: 12px;
        font-size: 16px;
    }

    /* Video Demo Fullscreen Mobile Edge to Edge */
    .video-demo-section {
        height: auto;
        margin: 80px 0 0;
        /* Added top margin on mobile */
    }

    .video-container {
        width: 100%;
        height: 60vh;
    }

    .notch-video {
        object-fit: cover;
    }

    /* Utility Buttons Mobile - Single Row */
    .utility-buttons {
        gap: 15px;
        margin-top: 40px;
    }

    .utility-icon {
        font-size: 28px;
    }

    .utility-label {
        font-size: 10px;
    }

    /* Vision Section Mobile */
    .vision-section {
        padding: 100px 20px;
    }

    .vision-section h2 {
        font-size: 36px;
        letter-spacing: -2px;
    }

    .vision-subtitle {
        font-size: 17px;
        margin-bottom: 50px;
    }

    .vision-principles {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 60px;
    }

    .vision-card {
        padding: 30px 16px 24px;
        border-radius: 16px;
    }

    .vision-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
        margin-bottom: 16px;
        border-radius: 12px;
    }

    .vision-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .vision-card p {
        font-size: 13px;
        line-height: 1.5;
    }

    .vision-quote {
        padding: 0;
    }

    .vision-quote::before {
        font-size: 80px;
        top: -25px;
    }

    .vision-quote blockquote {
        font-size: 20px;
    }

    /* General */
    .reveal-scroll {
        transform: translateY(40px);
    }
}