/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors from Palette.swift */
    --coral: #F56660;
    --indigo: #726FD9;

    /* Text */
    --text-primary: #242431;
    --text-secondary: rgba(36, 36, 49, 0.55);
    --text-tertiary: rgba(36, 36, 49, 0.35);

    /* Backgrounds — light mode from app */
    --bg-screen: #F7F2FA;
    --bg-card: #FFFFFF;
    --bg-alt: #EFE9F5;

    /* Status — light mode values from app */
    --status-spark: #B04590;
    --status-unfolding: #2563EB;
    --status-settled: #16A34A;

    /* Misc */
    --card-border: rgba(36, 36, 49, 0.07);
    --radius: 22px;
    --radius-sm: 16px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', system-ui, sans-serif;
    background: var(--bg-screen);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
}

.nav-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 18px;
}

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

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 9px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== GLOBAL BACKGROUND ORBS ===== */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.2;
}

.orb-coral {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #FFE29A, #FFD26F);
    top: -100px;
    left: -150px;
    animation: float 8s ease-in-out infinite;
}

.orb-indigo {
    width: 700px;
    height: 700px;
    background: var(--indigo);
    top: 50%;
    right: -200px;
    animation: float 10s ease-in-out infinite reverse;
}

.orb-purple {
    width: 500px;
    height: 500px;
    background: #9333EA;
    bottom: -100px;
    left: 30%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1100px;
    width: 100%;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-phone {
    width: 260px;
    height: auto;
    margin-top: 60px;
    filter: drop-shadow(0 24px 50px rgba(32, 28, 46, 0.22));
    transition: filter 0.4s ease, transform 0.4s ease;
}

.hero-image:hover .hero-phone {
    transform: translateY(-10px);
    filter:
        drop-shadow(0 0 12px rgba(114, 111, 217, 0.30))
        drop-shadow(0 0 28px rgba(114, 111, 217, 0.15))
        drop-shadow(0 28px 50px rgba(36, 36, 49, 0.20));
}

.hero-icon {
    width: 220px;
    height: 220px;
    border-radius: 48px;
    box-shadow: 0 24px 60px rgba(114, 111, 217, 0.18), 0 8px 24px rgba(0,0,0,0.08);
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 12px;
    background: linear-gradient(130deg, #242431 0%, #726FD9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 0 36px;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--coral);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(245, 102, 96, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(245, 102, 96, 0.4);
}

.appstore-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    color: #1d2b3a;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 60px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 8px 28px rgba(0,0,0,0.10);
}

.appstore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.14);
}

.appstore-btn-logo {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.appstore-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.appstore-btn-sub {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a6472;
}

.appstore-btn-main {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #1d2b3a;
}

/* ===== FEATURES ===== */
.features {
    padding: 120px 0;
    position: relative;
}


.instruments h2 {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 60px;
}

.features h2 {
    margin-bottom: 60px;
}

/* ===== FEATURES HEADER ===== */
.features-header {
    text-align: left;
    margin-bottom: 80px;
}

.features-header h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}

/* ===== FEATURE ROWS (alternating) ===== */
.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 140px;
}

.feature-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.feature-block:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-block-text {
    flex: 1;
    max-width: 460px;
}

.feature-block-text h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
}

.feature-lead {
    font-size: 20px;
    font-weight: 600;
    color: var(--indigo);
    margin-bottom: 20px;
    line-height: 1.4;
}

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

.feature-bullets {
    list-style: none;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-bullets li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
}

.fb-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 17px;
    line-height: 1;
    background: rgba(114, 111, 217, 0.10);
    box-shadow: inset 0 0 0 1px rgba(114, 111, 217, 0.12);
}

.feature-block-media {
    flex-shrink: 0;
}

.phone-video {
    position: relative;
    flex-shrink: 0;
    width: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* soft ambient glow behind the device */
.phone-video::before {
    content: '';
    position: absolute;
    inset: -12%;
    background: radial-gradient(circle at 50% 45%, rgba(114, 111, 217, 0.28), rgba(168, 216, 234, 0.14) 45%, transparent 70%);
    filter: blur(40px);
    z-index: 0;
}

/* titanium outer rail — the thick visible band */
.phone-bezel {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 4px;
    border-radius: 50px;
    background: linear-gradient(135deg,
        #f4f3f0 0%,
        #c7c5c0 16%,
        #8c8a85 34%,
        #dcdad5 52%,
        #a09e99 68%,
        #78766f 82%,
        #cecbc5 100%);
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.22),
        0 30px 64px rgba(60, 55, 80, 0.22),
        0 10px 24px rgba(60, 55, 80, 0.12);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

/* side buttons — left: action + volume up/down */
.phone-bezel::before {
    content: '';
    position: absolute;
    left: -1.5px;
    top: 112px;
    width: 2px;
    height: 26px;
    border-radius: 2px 0 0 2px;
    background: linear-gradient(90deg, #6f6d67 0%, #b4b2ac 60%, #dedcd6 100%);
    box-shadow:
        0 44px 0 #9c9a94,
        0 80px 0 #9c9a94;
}

/* right: power button */
.phone-bezel::after {
    content: '';
    position: absolute;
    right: -1.5px;
    top: 148px;
    width: 2px;
    height: 60px;
    border-radius: 0 2px 2px 0;
    background: linear-gradient(270deg, #6f6d67 0%, #b4b2ac 60%, #dedcd6 100%);
}

/* thin black bezel between rail and screen */
.phone-inner {
    background: #050506;
    border-radius: 47px;
    padding: 5px;
    box-shadow:
        0 0 0 1px #4a4a4e,                    /* thin dark-gray line outside the black */
        0 0 0 2px rgba(255, 255, 255, 0.45);  /* bright highlight on the titanium edge */
}

.phone-inner video,
.phone-inner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 42px;
    box-shadow: 0 0 0 1px #3a3a3e;  /* thin dark-gray line on inner edge of black frame */
}

/* ===== CENTERED CALLOUT SHOWCASE ===== */
.feature-showcase {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 260px;
    width: calc(100vw - 48px);
    max-width: 1220px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.feature-showcase-text {
    max-width: 520px;
    flex-shrink: 0;
    margin: 0;
    text-align: left;
}

.phone-callouts {
    overflow: visible;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 200px;
}

.phone-video.phone-callouts:hover .phone-bezel {
    transform: none !important;
    transition: box-shadow 0.6s ease !important;
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.22),
        0 0 18px 4px rgba(114, 111, 217, 0.28),
        0 0 40px 8px rgba(114, 111, 217, 0.13),
        0 30px 64px rgba(60, 55, 80, 0.20);
}

/* connector lines drawn from each pill to a point on the screen */
.callout-lines {
    position: absolute;
    top: 0;
    left: -200px;
    width: calc(100% + 400px);
    height: 100%;
    overflow: visible;
    z-index: 2;
    pointer-events: none;
}

.callout-lines line {
    stroke: var(--indigo);
    stroke-width: 1.5;
    stroke-opacity: 0.55;
    vector-effect: non-scaling-stroke;
}

/* target dot on the screen */
.cdot {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--indigo);
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 0 0 3px rgba(114, 111, 217, 0.20);
}

/* the pills */
@keyframes pill-float {
    0%, 100% { transform: translateY(-50%); }
    50%      { transform: translateY(calc(-50% - 4px)); }
}

.callout {
    position: absolute;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: #fff;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 40px;
    white-space: nowrap;
    transform: translateY(-50%);
    box-shadow: 0 8px 24px rgba(60, 55, 80, 0.16), 0 2px 6px rgba(60, 55, 80, 0.08);
    animation: pill-float 3s ease-in-out infinite;
}


.cl-left {
    right: 100%;
    margin-right: 26px;
}

.cl-right {
    left: 100%;
    margin-left: 26px;
}

.phone-video:hover .phone-bezel {
    transform: translateY(-10px);
    box-shadow:
        0 0 0 0.5px rgba(0, 0, 0, 0.22),
        0 44px 88px rgba(60, 55, 80, 0.28),
        0 14px 32px rgba(60, 55, 80, 0.14);
}

@media (max-width: 900px) {
    .features {
        overflow-x: clip;
    }
    .features > .container {
        padding-left: 0;
        padding-right: 0;
    }
    .phone-bezel {
        box-shadow:
            0 0 0 0.5px rgba(0, 0, 0, 0.22),
            0 18px 32px rgba(60, 55, 80, 0.18),
            0 6px 14px rgba(60, 55, 80, 0.10);
    }
    .feature-showcase {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        transform: none;
        overflow-x: clip;
    }
    .feature-showcase-text {
        max-width: 100%;
        text-align: center;
    }
    .feature-bullets {
        display: flex;
        text-align: left;
        margin-top: 8px;
        gap: 10px;
        padding: 0 24px;
    }
    .feature-lead {
        margin-bottom: 0;
    }
    .phone-callouts {
        margin-left: 0;
        margin-right: 0;
    }
    .callout-lines,
    .cdot {
        display: none;
    }
    /* overlay pills onto the mockup edges */
    .callout {
        font-size: 11px;
        padding: 6px 11px;
        box-shadow: 0 6px 18px rgba(60, 55, 80, 0.20);
    }
    .cl-left {
        right: auto;
        left: -6px;
        margin-right: 0;
    }
    .cl-right {
        left: auto;
        right: -6px;
        margin-left: 0;
    }
    .cl-labels {
        top: 36% !important;
        left: -16px;
    }
    .cl-memos {
        top: 60% !important;
    }
}

@media (max-width: 768px) {
    .feature-block {
        flex-direction: column-reverse;
        gap: 48px;
    }
    .feature-block-text {
        text-align: center;
    }
    .features,
    .ai-section,
    .essentials,
    .pricing,
    .support {
        padding: 72px 0;
    }
    .ai-card {
        width: min(320px, 82vw);
    }
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.5;
}

.status-tags {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.status {
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status.spark {
    background: rgba(224, 128, 200, 0.15);
    color: var(--status-spark);
}

.status.unfolding {
    background: rgba(96, 165, 250, 0.15);
    color: var(--status-unfolding);
}

.status.settled {
    background: rgba(74, 222, 128, 0.15);
    color: var(--status-settled);
}

/* ===== INSTRUMENTS ===== */
.instruments {
    padding: 120px 0;
    background: var(--bg-alt);
}

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}

.instrument-card {
    padding: 40px 24px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    transition: transform 0.2s;
}

.instrument-card:hover {
    transform: translateY(-4px);
}

.instrument-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    opacity: 0.75;
}

.instrument-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.instrument-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ===== AI SECTION ===== */
.ai-section {
    padding: 120px 0;
    position: relative;
}

.ai-header {
    text-align: center;
    margin-bottom: 56px;
}

.ai-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: 18px;
    padding: 6px 16px;
    border: 1px solid rgba(114, 111, 217, 0.25);
    border-radius: 40px;
    background: rgba(114, 111, 217, 0.08);
}

.ai-header h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
}

.ai-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

.ai-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 520px;
}

.ai-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.ai-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: 320px;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 0 0 28px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(60, 55, 80, 0.10), 0 2px 6px rgba(60, 55, 80, 0.06);
    transform: translateX(-50%) scale(0.82);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
}

.ai-card.is-active {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
    box-shadow:
        0 18px 40px rgba(60, 55, 80, 0.14),
        0 0 0 1px rgba(114, 111, 217, 0.20),
        0 0 24px 4px rgba(114, 111, 217, 0.12);
}

.ai-card.is-prev {
    transform: translateX(calc(-50% - 300px)) scale(0.82);
    opacity: 0.55;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

.ai-card.is-next {
    transform: translateX(calc(-50% + 300px)) scale(0.82);
    opacity: 0.55;
    z-index: 2;
    pointer-events: auto;
    cursor: pointer;
}

/* Carousel navigation */
.ai-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(60, 55, 80, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ai-nav:hover {
    box-shadow: 0 8px 20px rgba(60, 55, 80, 0.18);
}

.ai-prev { left: 0; }
.ai-next { right: 0; }

.ai-dots {
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}

.ai-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: var(--card-border);
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
}

.ai-dot.is-active {
    background: var(--indigo);
    width: 22px;
    border-radius: 4px;
}

.ai-card-video {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}

.ai-video-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
}

.ai-video-bar {
    height: 100%;
    width: 0%;
    background: var(--indigo);
}

.ai-card-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.ai-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    padding: 0 24px;
}

.ai-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 0 24px;
}

/* ===== ESSENTIALS SECTION ===== */
.essentials {
    padding: 40px 0 120px;
    position: relative;
}

.essentials-header {
    text-align: center;
    margin-bottom: 64px;
}

.essentials-header h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
}

.essentials-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

.essentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .essentials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.essential-tile {
    --accent: var(--indigo);
    text-align: center;
    padding: 30px 18px 26px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.45));
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius);
    box-shadow:
        0 2px 10px rgba(60, 55, 80, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* rotating accent colors */
.essential-tile:nth-child(4n+1) { --accent: #726FD9; }
.essential-tile:nth-child(4n+2) { --accent: #F56660; }
.essential-tile:nth-child(4n+3) { --accent: #B04590; }
.essential-tile:nth-child(4n+4) { --accent: #2563EB; }

/* colored glow blooming from the accent */
.essential-tile::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    width: 160px;
    height: 160px;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--accent), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: -1;
}

.essential-tile:hover {
    transform: translateY(-8px);
    box-shadow:
        0 22px 50px rgba(60, 55, 80, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.essential-tile:hover::before {
    opacity: 0.22;
}

.essential-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 27px;
    border-radius: 50%;
    background: var(--bg-card);
    box-shadow:
        0 6px 16px color-mix(in srgb, var(--accent) 30%, transparent),
        inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 35%, transparent);
    margin-bottom: 18px;
    transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.essential-tile:hover .essential-icon {
    transform: scale(1.12) rotate(-6deg);
}

.essential-tile h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.essential-tile p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: 120px 0;
    position: relative;
}

.pricing-header {
    text-align: center;
    margin-bottom: 56px;
}

.pricing-header h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
}

.pricing-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 auto;
    line-height: 1.6;
}

/* Feature comparison columns */
.cmp2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto 48px;
    align-items: stretch;
}

.cmp-col {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 32px 30px;
    box-shadow: 0 8px 24px rgba(60, 55, 80, 0.08);
}

.cmp-col-pro {
    border: 1.5px solid rgba(114, 111, 217, 0.30);
    background: linear-gradient(180deg, rgba(114, 111, 217, 0.05), rgba(114, 111, 217, 0.01));
}

.cmp-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
    min-height: 132px;
}

.cmp-head-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
}

.cmp-col-name {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.cmp-col-pro .cmp-col-name {
    color: var(--indigo);
}

.cmp-price {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -1.5px;
    line-height: 1;
}

.cmp-per {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0;
    margin-left: 2px;
}

.cmp-badge {
    display: inline-block;
    background: var(--indigo);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
    letter-spacing: 0.04em;
}

.cmp-note {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cmp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cmp-list li {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
    color: var(--text-primary);
    line-height: 1.4;
}

.cmp-list li.yes::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--indigo);
    font-weight: 800;
}

.cmp-list li.limited {
    color: var(--text-primary);
}

.cmp-list li.limited::before {
    content: '~';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--indigo);
    font-weight: 700;
}

.cmp-list li.no {
    color: var(--text-tertiary);
}

.cmp-list li.no::before {
    content: '✕';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-tertiary);
    font-weight: 800;
}

.cmp-list li strong {
    color: var(--indigo);
    font-weight: 700;
}

/* Monthly / Annual tabs in the Pro header */
.buy-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg-alt);
    border-radius: 12px;
}

.buy-tab {
    padding: 7px 12px;
    border: none;
    background: transparent;
    border-radius: 9px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.buy-tab.active {
    background: var(--bg-card);
    color: var(--text-primary);
    box-shadow: 0 2px 6px rgba(60, 55, 80, 0.10);
}

/* single CTA */
.buy {
    display: flex;
    flex-direction: column;
}

.buy-single-cta {
    align-self: center;
}

@media (max-width: 640px) {
    .buy-grid {
        grid-template-columns: 1fr;
    }
    .cmp2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== FOOTER ===== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--card-border);
    position: relative;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}

.footer-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-copy {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 13px;
}

.hero-cta-group {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-requirements {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ===== PRIVACY PAGE ===== */
.privacy {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    background: var(--bg-screen);
}

.privacy-container {
    max-width: 760px;
}

.privacy h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.privacy-updated {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-bottom: 48px;
}

.privacy-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
    text-align: left;
    color: var(--text-primary);
}

.privacy-content h3 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.privacy-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.privacy-content ul {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-left: 24px;
    margin-bottom: 16px;
}

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

.contact-email {
    color: var(--coral) !important;
    font-weight: 600;
}

/* ===== BLOG LISTING ===== */
.blog {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    position: relative;
}

.blog-header {
    text-align: center;
    margin: 0 auto 56px;
}

.blog-header h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-header p {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: none;
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(36, 36, 49, 0.12);
}

.blog-card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-tag {
    align-self: flex-start;
    background: rgba(114, 111, 217, 0.12);
    color: var(--indigo);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-card-body h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.35;
}

.blog-card-body p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.blog-card-meta {
    margin-top: 16px;
    color: var(--text-tertiary);
    font-size: 13px;
}

/* ===== BLOG POST (ARTICLE) ===== */
.post {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    position: relative;
}

.post-container {
    max-width: 900px;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 48px 56px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .post-container {
        padding: 32px 24px;
    }
}

.post-back {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 28px;
    transition: color 0.2s;
}

.post-back:hover {
    color: var(--text-primary);
}

.post-tag {
    display: inline-block;
    background: rgba(114, 111, 217, 0.12);
    color: var(--indigo);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.post h1 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.post-meta {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-bottom: 40px;
}

.post-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 12px;
}

.post-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

.post-content ul {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-left: 24px;
    margin-bottom: 18px;
}

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

.post-content blockquote {
    border-left: 3px solid var(--coral);
    padding: 4px 0 4px 20px;
    margin: 24px 0;
    color: var(--text-primary);
    font-size: 18px;
    font-style: italic;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .post h1 {
        font-size: 30px;
    }
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(140%);
    z-index: 1000;
    width: calc(100% - 32px);
    max-width: 720px;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    box-shadow: 0 16px 50px rgba(36, 36, 49, 0.18);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

#cookie-banner.cookie-banner-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 240px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .cookie-banner-text {
        font-size: 12px;
    }
}

.cookie-banner-text a {
    color: var(--coral);
    text-decoration: none;
    font-weight: 600;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.cookie-btn-primary {
    background: var(--coral);
    color: #fff;
    box-shadow: 0 4px 16px rgba(245, 102, 96, 0.3);
}

.cookie-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 102, 96, 0.4);
}

.cookie-btn-secondary {
    background: var(--bg-alt);
    color: var(--text-primary);
    border-color: var(--card-border);
}

.cookie-btn-secondary:hover {
    transform: translateY(-2px);
    background: #e4dcee;
}

@media (max-width: 480px) {
    .cookie-banner-actions {
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 72px;
        right: 16px;
        left: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        min-width: 200px;
        background: var(--bg-card);
        border: 1px solid var(--card-border);
        border-radius: 18px;
        box-shadow: 0 18px 48px rgba(60, 55, 80, 0.18);
        padding: 10px;
        display: flex;
        transform-origin: top right;
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.4, 0.64, 1);
    }

    .nav-links.open {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 12px;
        color: var(--text-primary);
        transition: background 0.18s, color 0.18s;
    }

    .nav-links a:hover,
    .nav-links a:active,
    .nav-links a.active {
        background: rgba(114, 111, 217, 0.10);
        color: var(--indigo);
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 36px;
        padding-top: 80px;
        padding-bottom: 48px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 36px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-icon {
        width: 140px;
        height: 140px;
        border-radius: 32px;
    }

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

    .ai-carousel {
        max-width: 340px;
        height: 500px;
        overflow-x: clip;
    }

    .ai-card.is-prev,
    .ai-card.is-next {
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) scale(0.82);
    }

    .ai-nav {
        top: 38%;
    }

    .ai-prev { left: -8px; }
    .ai-next { right: -8px; }

    .essentials-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .features h2,
    .instruments h2,
    .ai-header h2 {
        font-size: 28px;
    }
}

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

    .hero-tagline {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .privacy h1 {
        font-size: 30px;
    }
}

/* Support / FAQ */
.support {
    padding: 120px 0;
    position: relative;
}

.support-header {
    text-align: center;
    margin-bottom: 56px;
}

.support-header h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
}

.support-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 auto;
    line-height: 1.6;
}

.support-faq {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 4px 24px;
    transition: box-shadow 0.25s ease;
}

.faq-item[open] {
    box-shadow: 0 8px 24px rgba(60,55,80,0.08);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--indigo);
    line-height: 1;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 0 0 20px;
    margin: 0;
}

.support-contact {
    text-align: center;
    margin-top: 48px;
}

.support-contact p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.support-contact-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--bg-card);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.support-contact-btn:hover {
    box-shadow: 0 8px 24px rgba(60,55,80,0.12);
    transform: translateY(-1px);
}
