/* Dynamic Theming System - Maps to AppTheme Logic */
:root {
    /* Dark Theme (Default) */
    --bg-core: #0A0A0F;
    --bg-surface: #1A1A26;
    --text-primary: #FFF8E7; 
    --text-secondary: #EAE4D8; 
    --text-muted: #6B6880; 
    --accent-primary: #FF6B35; /* emberOrange */
    --accent-secondary: #FFA500; /* amberGold */
    --accent-gradient-1: #FF4500;
    --accent-gradient-2: #FF8E53;
    --glass-bg: rgba(26, 26, 38, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --nav-bg: rgba(10, 10, 15, 0.7);
    --phone-border: #2D2B3D;
    --shadow-color: rgba(0,0,0,0.8);
}

body.light-mode {
    /* Light Theme */
    --bg-core: #FFF8E7; /* warmCream */
    --bg-surface: #EAE4D8; /* softWhite */
    --text-primary: #2D2B3D; /* deepSlate */
    --text-secondary: #1A1A26; /* backgroundCard */
    --text-muted: #6B6880; /* mutedGray */
    --accent-primary: #FF4500; 
    --accent-secondary: #FF8C00;
    --accent-gradient-1: #FF4500;
    --accent-gradient-2: #FF6B35;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(45, 43, 61, 0.1);
    --glass-highlight: rgba(45, 43, 61, 0.15);
    --nav-bg: rgba(255, 248, 231, 0.85);
    --phone-border: #EAE4D8;
    --shadow-color: rgba(45, 43, 61, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-core); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; transition: background-color 0.5s, color 0.5s; position: relative; }

/* Abstract Background & Cursor Glow */
.glow-cursor { width: 400px; height: 400px; background: radial-gradient(circle, var(--accent-primary) 0%, transparent 60%); border-radius: 50%; position: fixed; pointer-events: none; z-index: -1; transform: translate(-50%, -50%); opacity: 0.1; }
.bg-orb { position: absolute; border-radius: 50%; filter: blur(100px); z-index: -1; animation: drift 20s infinite alternate ease-in-out; opacity: 0.15; }
.orb-1 { width: 600px; height: 600px; background: var(--accent-secondary); top: -100px; left: -200px; }
.orb-2 { width: 500px; height: 500px; background: var(--accent-gradient-1); top: 30%; right: -100px; animation-delay: -5s; }
.orb-3 { width: 700px; height: 700px; background: var(--accent-primary); bottom: -200px; left: 20%; animation-delay: -10s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 50px) scale(1.1); } }

/* Shared Glass styling */
.glass { background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: all 0.3s; }

/* Navbar */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; position: fixed; width: 100%; z-index: 100; background: var(--nav-bg); border-bottom: 1px solid var(--glass-border); transition: all 0.3s ease; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }
.logo-icon { color: var(--accent-primary); width: 28px; height: 28px;}
.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-primary); }
.nav-actions { display: flex; gap: 1rem; align-items: center; }
.glass-btn { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 50%; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; color: var(--text-primary); cursor: pointer; transition: all 0.3s; }
.glass-btn:hover { background: var(--glass-highlight); transform: scale(1.05); }

/* Typography */
.gradient-text { background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-gradient-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-size: 200% auto; animation: gradientShift 5s ease infinite; }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* Hero Section */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: space-between; padding: 140px 5% 60px; }
.hero-content { flex: 1; max-width: 650px; z-index: 2; }
.badge { display: inline-block; padding: 0.5rem 1.2rem; border-radius: 30px; font-size: 0.85rem; font-weight: 500; margin-bottom: 2rem; color: var(--text-secondary); }
h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 800; letter-spacing: -1px; }
.hero-content p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; max-width: 500px; }

/* Buttons */
.cta-buttons { display: flex; gap: 1.5rem; margin-bottom: 3rem; }
.btn { display: flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1.05rem; transition: transform 0.3s, box-shadow 0.3s; }
.btn-primary { background: linear-gradient(135deg, var(--accent-primary), var(--accent-gradient-1)); color: white; box-shadow: 0 10px 25px -5px rgba(255, 107, 53, 0.4); border: 1px solid rgba(255,255,255,0.1); }
.btn-primary:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 15px 35px -5px rgba(255, 107, 53, 0.6); color: white;}
.btn-secondary { background: var(--glass-bg); border: 1px solid var(--glass-highlight); color: var(--text-primary); }
.btn-secondary:hover { background: var(--glass-highlight); transform: translateY(-5px); color: var(--text-primary);}
.btn-icon { width: 22px; height: 22px; }

/* Stats */
.stats { display: inline-flex; align-items: center; gap: 2rem; background: var(--glass-bg); padding: 1rem 2rem; border-radius: 20px; border: 1px solid var(--glass-border); }
.stat-item { display: flex; flex-direction: column; }
.stat-item strong { font-size: 1.5rem; color: var(--text-primary); line-height: 1.2; }
.stat-item span { font-size: 0.85rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--glass-border); }

/* Hero Visual / Mockup */
.hero-visual { flex: 1; display: flex; justify-content: center; perspective: 1000px; z-index: 2; }
.phone-container { position: relative; transform-style: preserve-3d; transition: transform 0.1s ease-out; }
.phone-mockup { width: 320px; height: 650px; background: #050510; border-radius: 48px; border: 10px solid #1e1c2e; box-shadow: 0 35px 70px -10px rgba(0,0,0,0.9), inset 0 0 0 1px rgba(255,255,255,0.06), 0 0 0 1px rgba(0,0,0,0.8), 0 0 60px rgba(255,107,53,0.08); position: relative; overflow: hidden; transform-style: preserve-3d; transition: transform 0.5s, box-shadow 0.5s; }
.phone-mockup::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 45%; background: linear-gradient(to bottom, rgba(255,255,255,0.06), transparent); border-radius: 38px 38px 0 0; pointer-events: none; z-index: 40; }
.phone-mockup:hover { box-shadow: 0 50px 90px -10px rgba(0,0,0,0.95), inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 80px rgba(255,107,53,0.25); }
.phone-screen { width: 100%; height: 100%; background: #0a0a14; padding: 0; display: flex; flex-direction: column; justify-content: flex-start; position: relative; overflow: hidden; }
.ambient-glow { position: absolute; top: 20%; left: 50%; transform: translate(-50%, -50%); width: 250px; height: 250px; background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%); border-radius: 50%; animation: pulseGlow 4s infinite alternate; opacity: 0.2; }
@keyframes pulseGlow { 0% { opacity: 0.1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1.2); } }

.mixer-ui { padding: 1.5rem; border-radius: 25px; box-shadow: 0 20px 40px var(--shadow-color); position: relative; z-index: 10; }
.mixer-header { display: flex; align-items: center; gap: 0.8rem; font-weight: 600; margin-bottom: 2rem; color: var(--text-primary); font-size: 1.1rem; }
.slider-group { margin-bottom: 1.8rem; }
.slider-group:last-child { margin-bottom: 0.5rem; }
.slider-info { display: flex; align-items: center; gap: 0.8rem; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 0.8rem; }
.slider-info i { width: 18px; height: 18px; color: var(--text-muted); }
.slider-track { width: 100%; height: 8px; background: rgba(0, 0, 0, 0.4); border-radius: 4px; position: relative; }
body.light-mode .slider-track { background: var(--bg-core); }
.slider-fill { height: 100%; background: linear-gradient(90deg, var(--accent-primary), var(--accent-gradient-2)); border-radius: 4px; }
.slider-thumb { width: 16px; height: 16px; background: #FFF8E7; border-radius: 50%; position: absolute; top: 50%; transform: translateY(-50%); box-shadow: 0 0 10px rgba(255,255,255,0.5); }
.w-70 { width: 70%; } .w-thumb-70 { left: 70%; transform: translate(-50%, -50%); }
.w-40 { width: 40%; } .w-thumb-40 { left: 40%; transform: translate(-50%, -50%); }
.w-90 { width: 90%; } .w-thumb-90 { left: 90%; transform: translate(-50%, -50%); }

/* Floats */
.floating-bubble { position: absolute; width: 60px; height: 60px; border-radius: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 15px 30px var(--shadow-color); z-index: 20; animation: float-bubble 6s infinite ease-in-out; }
.bubble-1 { top: 10%; left: -40px; color: var(--accent-primary); }
.bubble-2 { bottom: 25%; right: -30px; animation-delay: 2s; color: var(--accent-secondary); }
.bubble-3 { top: 40%; right: -50px; animation-delay: 4s; color: var(--accent-gradient-2); width: 50px; height: 50px; }
@keyframes float-bubble { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } 100% { transform: translateY(0) rotate(0deg); } }

/* Sections Common */
.section-container { padding: 6rem 5%; position: relative; z-index: 2; }
.section-title { font-size: 3rem; margin-bottom: 2rem; font-weight: 700; color: var(--text-primary); }
.section-subtitle { font-size: 1.2rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 4rem; line-height: 1.8; }
.text-center { text-align: center; }
.bg-offset { background: var(--bg-surface); }

/* Features & Cards */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.feature-card { padding: 3rem 2.5rem; border-radius: 30px; text-align: left; position: relative; overflow: hidden; transition: all 0.4s; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent); opacity: 0; transition: opacity 0.4s; }
.card-glow { position: absolute; width: 150px; height: 150px; background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%); top: -50px; right: -50px; border-radius: 50%; opacity: 0.1; transition: transform 0.4s; }
.interactive-card:hover { transform: translateY(-15px); background: var(--glass-highlight); box-shadow: 0 30px 60px var(--shadow-color); }
.interactive-card:hover::before { opacity: 1; }
.interactive-card:hover .card-glow { transform: scale(1.5); opacity: 0.2; }
.icon-wrapper { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 20px; margin-bottom: 2rem; color: var(--accent-primary); }
.feature-card h3 { margin-bottom: 1rem; font-size: 1.5rem; color: var(--text-primary); font-weight: 600; }
.feature-card p { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.7; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; max-width: 1000px; margin: 0 auto; }
.review-card { padding: 2.5rem; border-radius: 25px; }
.review-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.stars { color: var(--accent-secondary); display: flex; gap: 4px; fill: var(--accent-secondary); }
.store-icon { color: var(--text-muted); width: 32px; height: 32px; }
.review-text { font-size: 1.1rem; color: var(--text-primary); font-style: italic; margin-bottom: 1.5rem; }
.reviewer { font-weight: 600; color: var(--text-muted); }

/* Developer Profile */
.developer-profile { max-width: 600px; margin: 0 auto; padding: 4rem 3rem; border-radius: 30px; }
.avatar-glow { width: 130px; height: 130px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; box-shadow: 0 0 0 4px var(--bg-core), 0 0 0 7px var(--accent-primary), 0 15px 40px rgba(255, 107, 53, 0.45); overflow: hidden; }
.developer-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; transform: scale(1.35); transform-origin: center 35%; border-radius: 50%; }
.dev-role { color: var(--accent-secondary); font-weight: 500; margin-bottom: 1.5rem; }
.dev-bio { color: var(--text-secondary); margin-bottom: 2rem; }
.social-links { display: flex; justify-content: center; gap: 1rem; }

/* Developer social chips */
.dev-social-links { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.dev-social-chip { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1.1rem; border-radius: 30px; background: var(--glass-bg); border: 1px solid var(--glass-border); color: var(--text-secondary); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: all 0.3s; }
.dev-social-chip svg, .dev-social-chip i { width: 16px; height: 16px; flex-shrink: 0; }
.dev-social-chip:hover { background: var(--accent-primary); border-color: var(--accent-primary); color: white; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255,107,53,0.35); }
.social-links a { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--glass-bg); color: var(--text-primary); border: 1px solid var(--glass-border); transition: all 0.3s; }
.social-links a:hover { background: var(--accent-primary); color: white; transform: translateY(-3px); }

/* Footer */
.glass-footer { background: var(--nav-bg); backdrop-filter: blur(20px); border-top: 1px solid var(--glass-border); padding: 5rem 5% 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand p { color: var(--text-muted); max-width: 300px; margin-top: 1rem;}
.mt-2 { margin-top: 2rem; justify-content: flex-start; }
.footer-column h4 { margin-bottom: 1.5rem; color: var(--text-primary); font-weight: 600; }
.footer-column a { display: flex; align-items: center; gap: 0.8rem; color: var(--text-muted); text-decoration: none; margin-bottom: 1rem; transition: color 0.3s; }
.footer-column a:hover { color: var(--accent-primary); }
.footer-bottom { text-align: center; color: var(--text-muted); padding-top: 2.5rem; border-top: 1px solid var(--glass-border); }

/* Scroll Anim Utils */
.hidden { opacity: 0; transform: translateY(40px); }
.visible { opacity: 1; transform: translateY(0); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

/* --- Web Mixer --- */
.web-mixer-container { max-width: 600px; margin: 0 auto; padding: 2.5rem; border-radius: 30px; box-shadow: var(--card-shadow); text-align: left; }
.web-mixer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; border-bottom: 1px solid var(--glass-border); padding-bottom: 1rem; }
.mixer-title-wrapper { display: flex; align-items: center; gap: 0.8rem; font-size: 1.2rem; font-weight: 600; color: var(--text-primary); }
.play-btn { width: 50px; height: 50px; color: var(--accent-primary); border-color: var(--accent-primary); }
.play-btn:hover { background: var(--accent-primary); color: white; transform: scale(1.05); }
.web-track { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.track-icon { width: 50px; height: 50px; border-radius: 15px; background: var(--glass-bg); display: flex; align-items: center; justify-content: center; color: var(--text-primary); border: 1px solid var(--glass-border); }
.track-slider-container { flex: 1; }
.track-slider-container label { display: block; margin-bottom: 0.8rem; font-size: 0.95rem; color: var(--text-primary); font-weight: 500; }
.web-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 4px; background: var(--glass-border); outline: none; transition: background 0.3s; }
.web-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-primary); cursor: pointer; box-shadow: 0 0 10px rgba(255,107,53,0.5); transition: transform 0.1s; }
.web-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

/* --- Pricing Table --- */
.pricing-toggle-wrapper { display: flex; justify-content: center; margin-bottom: 3.5rem; }
.pricing-toggle { display: inline-flex; border-radius: 30px; padding: 0.5rem; gap: 0.5rem; }
.toggle-option { padding: 0.8rem 2rem; border-radius: 25px; cursor: pointer; font-weight: 600; color: var(--text-muted); transition: all 0.3s; }
.toggle-option.active { background: var(--accent-primary); color: white; box-shadow: 0 5px 15px rgba(255,107,53,0.4); }
.pricing-grid { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.pricing-card { width: 340px; padding: 3rem 2.5rem; border-radius: 30px; text-align: left; display: flex; flex-direction: column; transition: all 0.3s; background: var(--glass-bg); border: 1px solid var(--glass-border); }
.pricing-card h3 { font-size: 1.6rem; color: var(--text-primary); font-weight: 700; margin-bottom: 1rem; }
.price { font-size: 3rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.5rem; }
.price span { font-size: 1.2rem; font-weight: 500; color: var(--text-muted); }
.price-desc { color: var(--text-secondary); margin-bottom: 2rem; }
.pricing-hr { border: none; border-top: 1px solid var(--glass-border); margin-bottom: 2rem; }
.pricing-features { list-style: none; margin-bottom: 3rem; flex: 1; }
.pricing-features li { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; color: var(--text-primary); font-size: 1.05rem; }
.pricing-features li.disabled { color: var(--text-muted); text-decoration: line-through; opacity: 0.5; }
.check-icon { color: var(--accent-primary); width: 20px; height: 20px; }
.x-icon { color: var(--text-muted); width: 20px; height: 20px; }
.pricing-btn { justify-content: center; width: 100%; border-radius: 15px; }
.pro-card { border: 2px solid var(--accent-primary); box-shadow: 0 20px 50px rgba(255,107,53,0.15); transform: scale(1.05); position: relative; }
.pro-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); color: white; padding: 0.4rem 1.2rem; border-radius: 20px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; box-shadow: 0 5px 15px rgba(255,107,53,0.4); }

/* --- FAQ Accordion --- */
.faq-container { max-width: 800px; margin: 0 auto; text-align: left; display: flex; flex-direction: column; gap: 1.2rem; }
.faq-item { border-radius: 20px; overflow: hidden; transition: all 0.3s; padding: 0; border: 1px solid var(--glass-border); background: var(--glass-bg); }
.faq-question { width: 100%; background: transparent; border: none; padding: 1.8rem; display: flex; justify-content: space-between; align-items: center; color: var(--text-primary); font-size: 1.1rem; font-weight: 600; cursor: pointer; text-align: left; transition: background 0.3s;}
.faq-question:hover { background: var(--glass-highlight); }
.faq-icon { transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); color: var(--accent-primary); }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background: rgba(0,0,0,0.2); }
body.light-mode .faq-answer { background: rgba(255,255,255,0.4); }
.faq-answer p { padding: 0 1.8rem 1.8rem; color: var(--text-secondary); line-height: 1.7; margin: 0;}

/* --- Ambient Particle System --- */
.ambient-canvas {
    position: absolute;
    top: 0; left: 0; width: 100vw; height: 100%;
    pointer-events: none; z-index: 10; overflow: hidden;
}

.particle-wrapper {
    position: absolute;
    top: 0;
    will-change: transform;
}

.particle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    will-change: transform, opacity;
}

/* Ashes - move up and sway */
.particle-ash {
    background: var(--accent-primary);
    box-shadow: 0 0 5px var(--accent-gradient-1);
    animation: float-ash linear infinite;
}

/* Rain Drops - move down fast diagonally */
.particle-rain {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    animation: fall-rain linear infinite;
}
body.light-mode .particle-rain { background: rgba(0, 0, 0, 0.2); }

/* Stars - stay still, twinkle */
.particle-star {
    background: var(--text-primary);
    box-shadow: 0 0 4px var(--text-primary);
    animation: twinkle-star ease-in-out infinite alternate;
}

/* Leaves - drift down slowly */
.particle-leaf {
    background: rgba(220, 120, 50, 0.7); /* Autumn aesthetic for dark mode */
    border-radius: 0 50% 0 50%;
    animation: float-leaf linear infinite;
}
body.light-mode .particle-leaf { background: rgba(46, 139, 87, 0.6); }

@keyframes float-ash {
    0% { transform: translateY(110vh) translateX(0) scale(1); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(-10vh) translateX(100px) scale(0.5) rotate(360deg); opacity: 0; }
}

@keyframes fall-rain {
    0% { transform: translateY(-10vh) translateX(0) rotate(15deg); opacity: 0; }
    10% { opacity: 0.7; }
    90% { opacity: 0.7; }
    100% { transform: translateY(110vh) translateX(-50px) rotate(15deg); opacity: 0; }
}

@keyframes float-leaf {
    0% { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateY(110vh) translateX(-150px) rotate(720deg); opacity: 0; }
}

@keyframes twinkle-star {
    0% { opacity: 0.1; transform: scale(0.8); }
    100% { opacity: 0.9; transform: scale(1.3); }
}

/* ---- Logo Image ---- */
.logo-img { width: 75px; height: 75px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(255,107,53,0.5)); }
.logo-img-hero { width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 0 20px rgba(255,107,53,0.6)); }
.footer-logo-img { width: 75px; height: 75px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(255,107,53,0.5)); }
.footer-brand-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.8rem; }
.footer-brand-header span { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }

/* ---- Scene Float Cards (hero) ---- */
.scene-float-card {
    position: absolute;
    width: 165px;
    border-radius: 18px;
    overflow: hidden;
    z-index: 20;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08);
    animation: float-bubble 6s infinite ease-in-out;
    cursor: default;
}
.scene-card-1 { top: 8%;  left: -90px; animation-delay: 0s; }
.scene-card-2 { top: 42%; right: -85px; animation-delay: 2.5s; }
.scene-card-3 { bottom: 12%; left: -85px; animation-delay: 4.5s; }
.scene-float-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55) saturate(1.2);
    transition: filter 0.4s;
}
.scene-float-card:hover .scene-float-bg { filter: brightness(0.7) saturate(1.3); }
.scene-float-content {
    position: relative;
    z-index: 2;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
    backdrop-filter: blur(2px);
}
.scene-float-emoji { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.scene-float-info { flex: 1; min-width: 0; }
.scene-float-name { font-size: 0.8rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scene-float-status { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.25rem; }
.playing-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-primary); flex-shrink: 0; animation: pulse-dot 1.4s ease-in-out infinite; }
.scene-float-status span { font-size: 0.68rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.scene-float-bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.scene-float-bars b { width: 3px; border-radius: 2px; background: var(--accent-primary); display: block; }
.scene-float-bars b:nth-child(1) { animation: bar-bounce 0.9s ease-in-out infinite; height: 6px; }
.scene-float-bars b:nth-child(2) { animation: bar-bounce 0.7s ease-in-out infinite 0.2s; height: 10px; }
.scene-float-bars b:nth-child(3) { animation: bar-bounce 1.1s ease-in-out infinite 0.1s; height: 8px; }
.scene-float-bars b:nth-child(4) { animation: bar-bounce 0.8s ease-in-out infinite 0.3s; height: 12px; }
@keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.4; transform:scale(0.7); } }

/* ---- Volume Controls (cards & mixer) ---- */
.sound-volume-row { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid rgba(255,255,255,0.12); }
.sound-vol-btn { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; color: white; flex-shrink: 0; transition: background 0.2s; padding: 0; }
.sound-vol-btn:hover { background: rgba(255,255,255,0.28); }
.sound-vol-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.22); outline: none; cursor: pointer; }
.sound-vol-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: white; cursor: pointer; box-shadow: 0 0 6px rgba(0,0,0,0.3); }
.sound-vol-slider::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: white; cursor: pointer; border: none; }

/* Mixer master volume row */
.mixer-vol-row { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 0 1.1rem; border-bottom: 1px solid var(--glass-border); margin-bottom: 0.5rem; }
.mixer-vol-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--glass-bg); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-primary); flex-shrink: 0; transition: all 0.2s; padding: 0; }
.mixer-vol-btn:hover { background: var(--glass-highlight); color: var(--accent-primary); }
.mixer-master-slider { flex: 1; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 3px; background: var(--glass-border); outline: none; cursor: pointer; }
.mixer-master-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-primary); cursor: pointer; box-shadow: 0 0 8px rgba(255,107,53,0.45); }
.mixer-master-slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent-primary); cursor: pointer; border: none; }
.mixer-vol-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; }

/* Speaker device dropdown */
.speaker-dropdown-wrap { position: relative; }
.speaker-device-btn { width: 38px; height: 38px; flex-shrink: 0; color: var(--text-primary); }
.speaker-device-btn:hover { color: var(--accent-primary); }
.speaker-dropdown { position: absolute; right: 0; top: calc(100% + 10px); min-width: 260px; padding: 1.2rem; border-radius: 18px; z-index: 300; box-shadow: 0 20px 50px rgba(0,0,0,0.5); display: none; }
.speaker-dropdown-title { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.speaker-device-item { width: 100%; background: transparent; border: none; border-radius: 10px; padding: 0.7rem 0.8rem; color: var(--text-primary); font-family: 'Poppins', sans-serif; font-size: 0.88rem; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 0.7rem; transition: background 0.2s, color 0.2s; }
.speaker-device-item:hover { background: var(--glass-highlight); color: var(--accent-primary); }
.speaker-device-item.active { color: var(--accent-primary); font-weight: 600; }
.device-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--glass-border); flex-shrink: 0; transition: background 0.2s; }
.speaker-device-item.active .device-dot { background: var(--accent-primary); box-shadow: 0 0 6px rgba(255,107,53,0.6); }
.speaker-no-devices { color: var(--text-muted); font-size: 0.85rem; text-align: center; padding: 0.8rem 0; }

/* ---- Free Sound Preview Cards ---- */
.sound-preview-section { background: var(--bg-surface); }
.sound-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto 4rem; }
.sound-card { border-radius: 28px; padding: 2.5rem 2rem; text-align: center; position: relative; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.sound-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
.sound-card-bg { position: absolute; inset: 0; z-index: 0; }
.sound-card > * { position: relative; z-index: 2; }
.sound-free-badge { display: inline-block; background: rgba(255,255,255,0.2); color: white; padding: 0.3rem 1rem; border-radius: 20px; font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,0.3); }
.sound-emoji { font-size: 3.8rem; margin-bottom: 0.8rem; display: block; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.4)); }
.sound-card h3 { font-size: 1.35rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.sound-card .sound-tagline { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin-bottom: 1.8rem; line-height: 1.5; }

/* Animated Visualizer */
.sound-visualizer { display: flex; justify-content: center; align-items: flex-end; gap: 5px; height: 44px; margin-bottom: 1.8rem; }
.sound-visualizer span { width: 5px; background: rgba(255,255,255,0.35); border-radius: 3px; height: 6px; transition: background 0.3s; }
.sound-card.is-playing .sound-visualizer span { background: rgba(255,255,255,0.9); }
.sound-card.is-playing .sound-visualizer span:nth-child(1) { animation: bar-bounce 0.9s ease-in-out infinite; }
.sound-card.is-playing .sound-visualizer span:nth-child(2) { animation: bar-bounce 0.7s ease-in-out infinite 0.15s; }
.sound-card.is-playing .sound-visualizer span:nth-child(3) { animation: bar-bounce 1.1s ease-in-out infinite 0.05s; }
.sound-card.is-playing .sound-visualizer span:nth-child(4) { animation: bar-bounce 0.6s ease-in-out infinite 0.25s; }
.sound-card.is-playing .sound-visualizer span:nth-child(5) { animation: bar-bounce 0.85s ease-in-out infinite 0.1s; }
.sound-card.is-playing .sound-visualizer span:nth-child(6) { animation: bar-bounce 0.75s ease-in-out infinite 0.3s; }
.sound-card.is-playing .sound-visualizer span:nth-child(7) { animation: bar-bounce 1.0s ease-in-out infinite 0.08s; }
.sound-card.is-playing .sound-visualizer span:nth-child(8) { animation: bar-bounce 0.65s ease-in-out infinite 0.2s; }
.sound-card.is-playing .sound-visualizer span:nth-child(9) { animation: bar-bounce 0.95s ease-in-out infinite 0.35s; }
@keyframes bar-bounce { 0%, 100% { height: 6px; } 50% { height: 36px; } }

/* Sound Controls */
.sound-controls { display: flex; align-items: center; gap: 1.2rem; }
.sound-play-btn { width: 56px; height: 56px; border-radius: 50%; background: white; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,0.3); transition: transform 0.2s, box-shadow 0.2s; flex-shrink: 0; }
.sound-play-btn:hover { transform: scale(1.1); box-shadow: 0 10px 28px rgba(0,0,0,0.4); }
.sound-play-btn i { width: 22px; height: 22px; color: #FF6B35; }
.sound-progress-wrap { flex: 1; }
.sound-progress-bar { height: 5px; background: rgba(255,255,255,0.2); border-radius: 3px; overflow: hidden; margin-bottom: 0.5rem; }
.sound-progress-fill { height: 100%; background: white; border-radius: 3px; width: 0%; transition: width 0.25s linear; }
.sound-timer { font-size: 0.8rem; color: rgba(255,255,255,0.6); font-weight: 500; }

/* Preview Expired Overlay */
.sound-expired-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: none; flex-direction: column; align-items: center; justify-content: center; z-index: 20; border-radius: 28px; gap: 1rem; }
.sound-expired-overlay p { color: white; font-weight: 600; font-size: 1.05rem; }
.btn-sm { padding: 0.65rem 1.5rem; font-size: 0.9rem; border-radius: 30px; }

/* More Scenes Locked Row */
.more-scenes-row { display: flex; justify-content: center; align-items: stretch; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.locked-scene-chip { padding: 1rem 1.4rem; border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; filter: blur(0px); opacity: 0.6; position: relative; transition: opacity 0.3s; min-width: 100px; }
.locked-scene-chip .chip-emoji { font-size: 1.8rem; }
.locked-scene-chip .chip-name { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.locked-scene-chip .chip-lock { position: absolute; top: 6px; right: 8px; width: 16px; height: 16px; color: var(--text-muted); }
.more-count-chip { padding: 1rem 1.8rem; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; }
.more-count-chip strong { font-size: 1.4rem; font-weight: 800; color: var(--accent-primary); }
.more-count-chip span { font-size: 0.78rem; color: var(--text-muted); }

/* Download CTA Banner */
.sounds-download-cta { display: flex; align-items: center; gap: 2.5rem; padding: 2.5rem 3rem; border-radius: 28px; max-width: 900px; margin: 0 auto; text-align: left; }
.sounds-cta-logo { width: 70px; height: 70px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 0 16px rgba(255,107,53,0.5)); }
.sounds-cta-text { flex: 1; }
.sounds-cta-text h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.4rem; }
.sounds-cta-text p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }
.sounds-cta-stats { display: flex; gap: 1.5rem; margin-top: 0.8rem; }
.sounds-cta-stats span { font-size: 0.85rem; color: var(--accent-secondary); font-weight: 600; }

/* ───── Phone App UI ───── */
.app-scene-bg { position: absolute; inset: 0; z-index: 0; }
.app-scene-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6) saturate(1.3); }
.app-scene-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.1) 55%, rgba(0,0,0,0.6) 78%, rgba(0,0,0,0.92) 100%); }

.app-dynamic-island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 85px; height: 26px; background: #000; border-radius: 20px; z-index: 50; }

.app-status-bar { position: relative; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 0; height: 44px; }
.app-time { font-size: 11px; font-weight: 700; color: white; letter-spacing: 0.5px; }
.app-status-right { display: flex; align-items: center; gap: 5px; }

.app-top-controls { position: relative; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 8px 14px; }
.app-scene-tag-pill { display: flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.18); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.22); border-radius: 30px; padding: 4px 11px; font-size: 10px; font-weight: 600; color: white; }
.app-icon-btn { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }

.app-scene-dots { position: relative; z-index: 10; display: flex; justify-content: center; gap: 6px; padding: 4px 0; }
.scene-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.scene-dot-active { width: 18px; border-radius: 3px; background: var(--accent-primary); }

.app-play-area { position: relative; z-index: 10; display: flex; align-items: center; justify-content: center; flex: 1; }
.app-pulse-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,107,53,0.55); animation: app-ring-pulse 3s ease-in-out infinite; }
.app-ring-1 { width: 72px; height: 72px; animation-delay: 0s; }
.app-ring-2 { width: 104px; height: 104px; animation-delay: 0.6s; opacity: 0.55; }
.app-ring-3 { width: 136px; height: 136px; animation-delay: 1.2s; opacity: 0.25; }
@keyframes app-ring-pulse { 0% { transform: scale(0.94); opacity: 0.7; } 50% { transform: scale(1.06); opacity: 0.35; } 100% { transform: scale(0.94); opacity: 0.7; } }
.app-center-play { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--accent-primary), var(--accent-gradient-2)); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 28px rgba(255,107,53,0.55), 0 0 0 4px rgba(255,107,53,0.15); position: relative; z-index: 5; }

.app-scene-info { position: relative; z-index: 10; padding: 0 16px 6px; text-align: center; }
.app-waveform { display: flex; justify-content: center; align-items: flex-end; gap: 3px; height: 28px; margin-bottom: 10px; }
.app-waveform span { width: 3px; background: rgba(255,107,53,0.75); border-radius: 2px; animation: app-wave 0.8s ease-in-out infinite alternate; }
.app-waveform span:nth-child(1) { height:8px; animation-delay:0s; }
.app-waveform span:nth-child(2) { height:16px; animation-delay:0.08s; }
.app-waveform span:nth-child(3) { height:22px; animation-delay:0.16s; }
.app-waveform span:nth-child(4) { height:18px; animation-delay:0.24s; }
.app-waveform span:nth-child(5) { height:26px; animation-delay:0.05s; }
.app-waveform span:nth-child(6) { height:20px; animation-delay:0.12s; }
.app-waveform span:nth-child(7) { height:24px; animation-delay:0.20s; }
.app-waveform span:nth-child(8) { height:16px; animation-delay:0.28s; }
.app-waveform span:nth-child(9) { height:12px; animation-delay:0.04s; }
.app-waveform span:nth-child(10) { height:20px; animation-delay:0.18s; }
.app-waveform span:nth-child(11) { height:28px; animation-delay:0.32s; }
.app-waveform span:nth-child(12) { height:14px; animation-delay:0.10s; }
.app-waveform span:nth-child(13) { height:9px; animation-delay:0.26s; }
@keyframes app-wave { 0% { transform:scaleY(0.35); opacity:0.5; } 100% { transform:scaleY(1); opacity:1; } }
.app-scene-title { font-size: 14px; font-weight: 700; color: white; margin-bottom: 3px; letter-spacing: 0.2px; }
.app-scene-subtitle { font-size: 10px; color: rgba(255,255,255,0.55); font-weight: 400; }

.app-timer-row { position: relative; z-index: 10; display: flex; justify-content: center; padding: 6px 16px 8px; }
.app-timer-badge { display: flex; align-items: center; gap: 5px; background: rgba(255,107,53,0.14); border: 1px solid rgba(255,107,53,0.35); border-radius: 20px; padding: 4px 13px; font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.88); }

.app-playback-controls { position: relative; z-index: 10; display: flex; justify-content: center; align-items: center; gap: 18px; padding: 4px 16px 10px; }
.app-ctrl-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.app-ctrl-main { width: 50px; height: 50px; background: linear-gradient(135deg, var(--accent-primary), var(--accent-gradient-2)); border-color: transparent; box-shadow: 0 5px 18px rgba(255,107,53,0.45); }

.app-bottom-nav { position: relative; z-index: 10; display: flex; justify-content: space-around; align-items: center; padding: 10px 10px 16px; background: rgba(0,0,0,0.5); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(255,255,255,0.07); margin-top: auto; }
.app-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; cursor: pointer; }
.app-nav-item span { font-size: 8px; color: rgba(255,255,255,0.38); font-weight: 500; }
.app-nav-active span { color: white; }

/* ───── Mixer Floating Card ───── */
.mixer-float-card {
    position: absolute;
    width: 188px;
    border-radius: 22px;
    z-index: 20;
    box-shadow: 0 24px 55px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,107,53,0.18), inset 0 1px 0 rgba(255,255,255,0.07);
    animation: float-bubble 7s infinite ease-in-out;
    animation-delay: 1.8s;
    background: rgba(8, 6, 18, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,107,53,0.22);
    padding: 14px 14px 13px;
    cursor: default;
    bottom: 20%;
    right: -152px;
}
.mixer-float-header { display: flex; align-items: center; gap: 7px; margin-bottom: 13px; }
.mixer-float-header span { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.9); flex: 1; letter-spacing: 0.3px; }
.mixer-float-live { font-size: 9px; font-weight: 700; color: var(--accent-primary); background: rgba(255,107,53,0.14); border: 1px solid rgba(255,107,53,0.32); border-radius: 10px; padding: 2px 8px; letter-spacing: 0.5px; text-transform: uppercase; animation: pulse-dot 1.6s ease-in-out infinite; }
.mixer-float-track-row { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; }
.mixer-float-track-row:last-child { margin-bottom: 0; }
.mixer-float-emoji { font-size: 13px; flex-shrink: 0; }
.mixer-float-bar-wrap { flex: 1; height: 5px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: visible; position: relative; }
.mixer-float-bar { height: 100%; background: linear-gradient(90deg, var(--accent-primary), var(--accent-gradient-2)); border-radius: 3px; position: relative; }
.mixer-float-bar::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; background: #fff; border-radius: 50%; box-shadow: 0 0 7px rgba(255,107,53,0.7); }
.mixer-float-pct { font-size: 9px; font-weight: 600; color: rgba(255,255,255,0.45); min-width: 24px; text-align: right; }

/* Responsive */
@media (max-width: 1024px) { .hero { flex-direction: column; text-align: center; padding-top: 130px; gap: 4rem; } .footer-grid { grid-template-columns: 1fr; gap: 2rem; } h1 { font-size: 3.5rem; } .stats { justify-content: center; } .pricing-grid { flex-direction: column; align-items: center; } .pro-card { transform: scale(1); border-width: 1px;} }
@media (max-width: 768px) { h1 { font-size: 2.5rem; } .cta-buttons { flex-direction: column; align-items: stretch; } .stats { flex-wrap: wrap; text-align: center; justify-content: center;} .stat-divider { display: none; } .desktop-only { display: none; } .web-mixer-container { padding: 1.5rem; } .sound-preview-grid { grid-template-columns: 1fr; } .sounds-download-cta { flex-direction: column; text-align: center; padding: 2rem; } .sounds-cta-stats { justify-content: center; } }
