/* ==========================================================================
   PAUZAMUSIC LANDING PAGE STYLES - LIQUID GLASS THEMED
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    --transition-speed: 0.5s;
    --transition-curve: cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-main: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --border-radius-lg: 32px;
    --border-radius-md: 20px;
    --border-radius-sm: 12px;
}

/* 1. Warm Theme (Default) */
[data-theme="warm"] {
    --bg-start: #FFF8F0;
    --bg-end: #FFE4B5;
    --text-primary: #3D2B1F;
    --text-secondary: #9B7A5B;
    --accent-color: #FF8C00;
    --accent-rgb: 255, 140, 0;
    --glass-bg: rgba(255, 248, 240, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-color: rgba(61, 43, 31, 0.08);
    --orb-color-1: rgba(255, 140, 0, 0.15);
    --orb-color-2: rgba(240, 222, 205, 0.6);
    --orb-color-3: rgba(123, 168, 146, 0.1);
}

/* 2. Ice Theme */
[data-theme="ice"] {
    --bg-start: #E0F7FA;
    --bg-end: #B3E5FC;
    --text-primary: #1a3644;
    --text-secondary: #5BA3D0;
    --accent-color: #1E88E5;
    --accent-rgb: 30, 136, 229;
    --glass-bg: rgba(224, 247, 250, 0.65);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-color: rgba(26, 54, 68, 0.08);
    --orb-color-1: rgba(30, 136, 229, 0.15);
    --orb-color-2: rgba(179, 229, 252, 0.5);
    --orb-color-3: rgba(255, 255, 255, 0.4);
}

/* 3. Gold Theme */
[data-theme="gold"] {
    --bg-start: #FDF8F3;
    --bg-end: #E8D5C4;
    --text-primary: #3D2B1F;
    --text-secondary: #C8874B;
    --accent-color: #D4AF37;
    --accent-rgb: 212, 175, 55;
    --glass-bg: rgba(253, 248, 243, 0.75);
    --glass-border: rgba(255, 255, 255, 0.7);
    --shadow-color: rgba(200, 135, 75, 0.1);
    --orb-color-1: rgba(212, 175, 55, 0.15);
    --orb-color-2: rgba(245, 230, 211, 0.6);
    --orb-color-3: rgba(232, 213, 196, 0.4);
}

/* 4. Emerald Theme (Books) */
[data-theme="emerald"] {
    --bg-start: #F0F7F4;
    --bg-end: #D1E5DB;
    --text-primary: #1F3D2B;
    --text-secondary: #5B9B7A;
    --accent-color: #2E8B57;
    --accent-rgb: 46, 139, 87;
    --glass-bg: rgba(240, 247, 244, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-color: rgba(31, 61, 43, 0.08);
    --orb-color-1: rgba(46, 139, 87, 0.15);
    --orb-color-2: rgba(209, 229, 219, 0.6);
    --orb-color-3: rgba(168, 196, 180, 0.1);
}

/* Reset & Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: clip;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--bg-start), var(--bg-end));
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background var(--transition-speed) var(--transition-curve),
                color var(--transition-speed) var(--transition-curve);
    position: relative;
}

/* Floating Decor Orbs (Background layer) */
.decor-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    transition: background var(--transition-speed) var(--transition-curve);
}

.orb-1 {
    top: 10%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: var(--orb-color-1);
    animation: orbMove1 25s infinite alternate ease-in-out;
}

.orb-2 {
    top: 45%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--orb-color-2);
    animation: orbMove2 40s infinite alternate ease-in-out;
}

.orb-3 {
    bottom: 5%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--orb-color-3);
    animation: orbMove1 30s infinite alternate-reverse ease-in-out;
}

@keyframes orbMove1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 60px) scale(1.15); }
}

@keyframes orbMove2 {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(100px, -100px) scale(0.9) rotate(45deg); }
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography & Links */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    margin-bottom: 8px;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

p {
    color: var(--text-primary);
    opacity: 0.85;
    font-size: 1.125rem;
}

.tagline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    transition: color var(--transition-speed) var(--transition-curve);
}

.inline-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.inline-link:hover {
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-start);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    opacity: 0.95;
}

.btn-secondary {
    background-color: var(--glass-bg);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
    border-radius: 20px;
}

/* Glassmorphism Containers */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px var(--shadow-color);
    transition: background var(--transition-speed) var(--transition-curve),
                border var(--transition-speed) var(--transition-curve),
                box-shadow var(--transition-speed) var(--transition-curve);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 35px var(--shadow-color);
    transition: background var(--transition-speed) var(--transition-curve),
                border var(--transition-speed) var(--transition-curve),
                box-shadow var(--transition-speed) var(--transition-curve);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-warm {
    background: rgba(255, 140, 0, 0.12);
    color: #FF8C00;
}

.badge-ice {
    background: rgba(30, 136, 229, 0.12);
    color: #1E88E5;
}

.badge-gold {
    background: rgba(212, 175, 55, 0.15);
    color: #C8874B;
}

.badge-emerald {
    background: rgba(46, 139, 87, 0.15);
    color: #2E8B57;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 1000;
    transition: padding 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 16px 0;
    box-shadow: 0 10px 30px var(--shadow-color);
    border-bottom: 1.5px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.2s;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container, .features-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
    align-items: center;
}

.reverse-grid {
    grid-template-columns: 0.85fr 1.15fr;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
}

.stat-desc {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Theme Pill (Toggle controls) */
.theme-pill {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px 6px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 32px;
    box-shadow: 0 10px 25px var(--shadow-color);
}

.theme-toggles {
    display: flex;
    gap: 6px;
}

.toggle-btn {
    background: none;
    border: none;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-primary);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.toggle-btn:hover {
    opacity: 0.9;
}

.toggle-btn.active {
    background: var(--text-primary);
    color: var(--bg-start);
    opacity: 1;
}

/* Hero Visual & Sandbox */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.sandbox-container {
    padding: 32px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.sandbox-view {
    display: none;
    flex-direction: column;
    animation: fadeInView 0.5s ease forwards;
}

.sandbox-view.active {
    display: flex;
}

@keyframes fadeInView {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.track-source {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.7;
}

/* Warm Mode Player Visuals */
.track-artwork-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.track-artwork {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, #FFB85C, #FF8C00);
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: 0 15px 35px var(--accent-glow);
    position: relative;
}

.artwork-pulse {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: inherit;
    z-index: -1;
    opacity: 0.4;
}

.playing .artwork-pulse {
    animation: artworkPulseScale 2s infinite ease-out;
}

@keyframes artworkPulseScale {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.3); opacity: 0; }
}

.track-info {
    text-align: center;
    margin-bottom: 16px;
}

.track-info h3 {
    font-size: 1.35rem;
    margin-bottom: 4px;
}

.track-info p {
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Interactive Audio Waves */
.audio-waves {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 40px;
    margin-bottom: 24px;
}

.wave-bar {
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 4px;
    transition: height 0.3s ease;
}

.playing .wave-bar {
    animation: wavePulse 1.2s infinite ease-in-out alternate;
}

.playing .wave-bar:nth-child(2) { animation-delay: 0.2s; }
.playing .wave-bar:nth-child(3) { animation-delay: 0.4s; }
.playing .wave-bar:nth-child(4) { animation-delay: 0.1s; }
.playing .wave-bar:nth-child(5) { animation-delay: 0.5s; }
.playing .wave-bar:nth-child(6) { animation-delay: 0.3s; }
.playing .wave-bar:nth-child(7) { animation-delay: 0.6s; }

@keyframes wavePulse {
    0% { height: 8px; }
    100% { height: 35px; }
}

.player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-label {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.7;
    min-width: 45px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: var(--accent-color);
    border-radius: 4px;
    transition: width 0.1s linear;
}

.play-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--text-primary);
    color: var(--bg-start);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.play-btn:hover {
    transform: scale(1.05);
}

/* Ice Mode Breathing Visuals */
.breathing-circle-outer {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ice-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(30, 136, 229, 0.3);
    border-radius: 50%;
    animation: rotateRing 60s infinite linear;
}

@keyframes rotateRing {
    to { transform: rotate(360deg); }
}

.breathing-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(179,229,252,0.85) 100%);
    border: 1.5px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px var(--accent-glow);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Breathing animation states controlled by JS */
.breathing-circle.inhale {
    transform: scale(1.65);
    background: radial-gradient(circle, rgba(255,255,255,0.98) 0%, rgba(129,212,250,0.9) 100%);
}

.breathing-circle.hold {
    transform: scale(1.65);
    background: radial-gradient(circle, rgba(255,255,255,0.98) 0%, rgba(79,195,247,0.9) 100%);
    box-shadow: 0 10px 40px rgba(30, 136, 229, 0.5);
}

.breathing-circle.exhale {
    transform: scale(1);
    background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(179,229,252,0.85) 100%);
}

.breathing-circle span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

#breath-state-text {
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#breath-timer {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 4px;
}

.practice-controls {
    text-align: center;
}

.practice-sub {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 16px;
    min-height: 40px;
}

/* Gold Mode Journal Visuals */
.journal-entry {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.entry-date {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.quote-text {
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 12px;
}

.journal-input-mock {
    font-size: 0.85rem;
    opacity: 0.8;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 10px;
}

.input-line {
    border-right: 2px solid var(--accent-color);
    white-space: nowrap;
    overflow: hidden;
    animation: typeCursor 1.5s steps(30, end) infinite alternate;
}

@keyframes typeCursor {
    from { width: 0; }
    to { width: 100%; }
}

.profile-stats-mock {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card-mock {
    background: rgba(255, 255, 255, 0.65);
    border: 1.5px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--border-radius-sm);
    padding: 14px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.7;
}

.visual-shadow {
    position: absolute;
    width: 85%;
    height: 20px;
    bottom: -15px;
    left: 7.5%;
    background: rgba(0, 0, 0, 0.08);
    filter: blur(15px);
    border-radius: 50%;
    z-index: 1;
}

/* Sections Structure */
section {
    padding: 65px 0;
}

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

.section-header h2 {
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.25rem;
    margin-top: -8px;
    margin-bottom: 32px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-card {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s var(--transition-curve);
}

.about-card:hover {
    transform: translateY(-8px);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

/* Ambient Music Showcase layout */
.ambient-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.showcase-card {
    padding: 32px;
}

.showcase-card h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.showcase-card p {
    font-size: 1rem;
    opacity: 0.85;
}

/* Audiobooks layout */
.books-section {
    background: rgba(255, 255, 255, 0.15);
}

.book-feature-detail {
    margin-bottom: 24px;
}

.book-feature-detail h4 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.book-feature-detail p {
    font-size: 1.05rem;
    opacity: 0.85;
}

.mockup-book-content {
    background: rgba(255,255,255,0.6);
    border-radius: var(--border-radius-sm);
    padding: 24px;
    min-height: 180px;
}

.highlighted-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 12px;
    border-left: 3px solid var(--accent-color);
    padding-left: 12px;
}

.normal-text {
    font-size: 0.95rem;
    opacity: 0.8;
}

.mockup-book-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 600;
}

.speed-badge {
    background: var(--text-primary);
    color: var(--bg-start);
    padding: 4px 10px;
    border-radius: 12px;
}

.bookmark-btn {
    opacity: 0.8;
}

/* Breathing Protocol Layout */
.reverse-grid .features-visual {
    order: 2;
}

.breathing-steps-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.breath-round-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.4);
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.breath-round-row.active {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.round-indicator {
    background: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.breath-round-row h5 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.breath-round-row p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.breath-recovery-note {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.7;
    text-align: center;
}

.breath-detail {
    margin-bottom: 24px;
}

.breath-detail h4 {
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.breath-detail p {
    font-size: 1.05rem;
    opacity: 0.85;
}

/* Why Pauza / Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.benefit-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.benefit-num {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent-color);
    opacity: 0.4;
    line-height: 1;
}

.benefit-body h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.benefit-body p {
    font-size: 1.05rem;
}

/* CTA Download Panel */
.download-card {
    padding: 80px 40px;
    text-align: center;
}

.download-card h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 16px;
}

.download-card p {
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.store-btn img {
    height: 52px;
    transition: transform 0.2s ease;
}

.store-btn:hover img {
    transform: translateY(-3px);
}

.web-app-cta {
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.pro-features-summary {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pro-badge {
    background: linear-gradient(135deg, #C8874B, #D4AF37);
    color: white;
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.pro-features-summary p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Footer styling */
.footer {
    background: var(--glass-bg);
    border-top: 1.5px solid var(--glass-border);
    padding: 80px 0 0;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 48px;
    padding-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo-wrap {
    margin-bottom: 16px;
}

.footer-links-grid {
    display: flex;
    gap: 80px;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-primary);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-bottom {
    padding: 32px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.6;
    text-align: center;
}

/* App Home Feed Layout */
.app-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.app-section-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.app-section-header .section-sub {
    font-size: 1.1rem;
    opacity: 0.8;
}

.app-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.app-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    display: flex;
    flex-direction: column;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
    background: rgba(255, 255, 255, 0.7);
}

.app-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.app-card p {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.5;
}

.card-badge {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-start);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    align-self: flex-start;
}

.breathing-widget {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(240, 248, 255, 0.6) 100%);
    border-left: 4px solid var(--accent-color);
}

@media (min-width: 992px) {
    .breathing-widget {
        grid-column: span 2;
    }
}

.breathing-steps-mini {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.mini-step {
    background: rgba(255,255,255,0.6);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.mini-step span {
    background: var(--accent-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.carousel-shelf {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.featured-spark {
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(245, 240, 235, 0.6) 100%);
    border-left: 4px solid #C8874B;
}

@media (min-width: 992px) {
    .featured-spark {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .carousel-shelf {
        display: flex;
        overflow-x: auto;
        padding-bottom: 24px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* Padding to allow seeing the next card slightly */
        padding-right: 24px;
    }

    .carousel-shelf::-webkit-scrollbar {
        height: 6px;
    }

    .carousel-shelf::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.05);
        border-radius: 4px;
    }

    .carousel-shelf::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.15);
        border-radius: 4px;
    }

    .carousel-shelf .app-card {
        min-width: 280px;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
    
    .featured-spark {
        min-width: 300px !important;
    }
}

.program-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 240, 235, 0.6) 100%);
}

.partner-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(230, 240, 250, 0.8) 100%);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-container, .features-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
        align-items: flex-start;
    }

    .hero-content {
        align-items: center;
    }

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

    .theme-pill {
        align-self: center;
    }

    .features-text h2 {
        text-align: center;
    }

    .about-grid, .ambient-showcase {
        grid-template-columns: 1fr 1fr;
    }

    .reverse-grid .features-visual {
        order: 0;
    }
}

/* Release hardening overrides */
img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5 {
    letter-spacing: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 2000;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--bg-start);
    background: var(--text-primary);
    text-decoration: none;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid #0b6fba;
    outline-offset: 3px;
}

.logo-icon {
    width: auto;
    max-width: 40px;
    object-fit: contain;
}

.btn:disabled {
    cursor: default;
    opacity: 0.7;
    transform: none;
}

.release-status {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    background: var(--glass-bg);
    font-size: 0.9rem;
    font-weight: 600;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .navbar.menu-open {
        background: var(--bg-start);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.mobile-open {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--glass-border);
        background: var(--bg-start);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 18px 30px var(--shadow-color);
    }

    .nav-links.mobile-open a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(var(--accent-rgb), 0.12);
    }

    .nav-links.mobile-open a:last-child {
        border-bottom: 0;
    }

    .hero {
        min-height: auto;
        padding-top: 116px;
    }

    .theme-pill {
        width: 100%;
        flex-direction: column;
        border-radius: 24px;
        padding: 12px;
    }

    .theme-toggles {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .toggle-btn {
        min-height: 38px;
    }

    .hero-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .stat-num {
        font-size: 1.5rem;
    }

    .stat-desc {
        overflow-wrap: anywhere;
    }

    .sandbox-container {
        min-height: 440px;
        padding: 22px;
    }

    .cta-store-buttons {
        width: 100%;
    }

    .release-status {
        max-width: 320px;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .stat-item {
        align-items: center;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 768px) {
    .nav-links, .btn-nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .about-grid, .ambient-showcase, .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-store-buttons {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-links-grid {
        gap: 40px;
        width: 100%;
        justify-content: space-between;
    }
}

/* Animations Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--transition-curve), transform 0.6s var(--transition-curve);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Connected Roadmap Timeline */
.roadmap-timeline {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    margin-top: 50px;
    gap: 24px;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(to right, rgba(255, 140, 0, 0.2), rgba(30, 136, 229, 0.4), rgba(212, 175, 55, 0.4));
    z-index: 1;
}

.roadmap-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.roadmap-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg-start);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px var(--shadow-color);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 5;
}

.roadmap-step:hover .roadmap-icon-wrap {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(var(--accent-rgb), 0.25);
}

.roadmap-card {
    padding: 24px;
    background: var(--glass-bg);
    border: 1.5px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: 0 12px 30px var(--shadow-color);
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.roadmap-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.roadmap-card p {
    font-size: 0.92rem;
    line-height: 1.45;
    opacity: 0.85;
    margin-bottom: 0;
}

/* AI Composer Simulation styles */
.ai-composer-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: white;
    text-align: left;
}

.composer-control-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.composer-control-row label {
    font-size: 0.75rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.composer-slider-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.composer-slider {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    cursor: pointer;
}

.composer-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.5);
}

.slider-val {
    font-size: 0.8rem;
    min-width: 28px;
    text-align: right;
    font-weight: 500;
}

.mix-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mix-opt {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 6px;
    font-size: 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.mix-opt:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mix-opt.active {
    background: var(--accent-color);
    color: #3D2B1F;
    border-color: var(--accent-color);
    font-weight: 600;
}

.composer-action-btn {
    width: 100%;
    background: var(--accent-color);
    color: #3D2B1F;
    border: none;
    padding: 12px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 6px;
}

.composer-action-btn:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.generating .composer-action-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    cursor: not-allowed;
}

/* Background particles Layer */
.bg-particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
    contain: paint;
}

.bg-particle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Warm Clouds Particle */
.bg-particle.cloud {
    background: radial-gradient(circle, var(--orb-color-1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: cloudDrift 20s infinite ease-in-out alternate;
}

/* Ice Snowflakes Particle */
.bg-particle.snowflake {
    border: 1.2px solid rgba(30, 136, 229, 0.2);
    background: rgba(224, 247, 250, 0.04);
    transform: rotate(45deg);
    border-radius: 2px;
    animation: flakeFall 12s infinite linear;
}

/* Gold Flower Particle */
.bg-particle.flower {
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: flowerRotate 22s infinite linear;
}

.bg-particle.flower::after {
    content: '';
    position: absolute;
    top: 25%; left: 25%; right: 25%; bottom: 25%;
    border: 0.8px dashed rgba(212, 175, 55, 0.15);
    border-radius: 50%;
}

@keyframes cloudDrift {
    0% { transform: translate(0, 0) scale(1); opacity: 0.2; }
    100% { transform: translate(60px, 30px) scale(1.15); opacity: 0.5; }
}

@keyframes flakeFall {
    0% { transform: translateY(-10%) rotate(0deg) translateX(0); opacity: 0; }
    10% { opacity: 0.45; }
    90% { opacity: 0.45; }
    100% { transform: translateY(110vh) rotate(270deg) translateX(40px); opacity: 0; }
}

@keyframes flowerRotate {
    0% { transform: rotate(0deg) scale(0.9); opacity: 0.15; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 0.35; }
    100% { transform: rotate(360deg) scale(0.9); opacity: 0.15; }
}

@media (max-width: 992px) {
    .roadmap-timeline {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        margin-top: 30px;
    }
    
    .roadmap-timeline::before {
        top: 25px;
        bottom: 25px;
        left: 35px;
        right: auto;
        width: 3px;
        height: auto;
        background: linear-gradient(to bottom, rgba(255, 140, 0, 0.2), rgba(30, 136, 229, 0.4), rgba(212, 175, 55, 0.4));
    }
    
    .roadmap-step {
        flex-direction: row;
        text-align: left;
        width: 100%;
        gap: 20px;
        align-items: flex-start;
    }
    
    .roadmap-icon-wrap {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .roadmap-card {
        padding: 20px;
    }
}
