html {
    font-size: 18px;
}

:root {
    --primary-color: #00d2ff;
    --primary-dark: #00a8cc;
    --bg-page: #ffffff;
    --bg-alt: #f8f9fa;
    --text-main: #212529;
    --text-muted: #6c757d;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --accent-gradient: linear-gradient(90deg, #00d2ff 0%, #3a7bd5 100%);
}

/* Theme Overrides */
[data-theme="midnight"] { --bg-page: #020617; --bg-alt: #0f172a; --text-main: #f8fafc; --text-muted: #94a3b8; --card-bg: #1e293b; --card-border: #334155; --primary-color: #38bdf8; --accent-gradient: linear-gradient(90deg, #38bdf8 0%, #818cf8 100%); }
[data-theme="volcano"] { --bg-page: #450a0a; --bg-alt: #7f1d1d; --text-main: #fef2f2; --text-muted: #fca5a5; --card-bg: #991b1b; --card-border: #b91c1c; --primary-color: #facc15; --accent-gradient: linear-gradient(90deg, #facc15 0%, #ef4444 100%); }
[data-theme="cyber"] { --bg-page: #000000; --bg-alt: #0a0a0a; --text-main: #ffffff; --text-muted: #94a3b8; --card-bg: #111111; --card-border: #333333; --primary-color: #d946ef; --accent-gradient: linear-gradient(90deg, #d946ef 0%, #06b6d4 100%); }
[data-theme="forest"] { --bg-page: #064e3b; --bg-alt: #065f46; --text-main: #ecfdf5; --text-muted: #a7f3d0; --card-bg: #064e3b; --card-border: #10b981; --primary-color: #4ade80; --accent-gradient: linear-gradient(90deg, #4ade80 0%, #22c55e 100%); }
[data-theme="nordic"] { --bg-page: #f8fafc; --bg-alt: #f1f5f9; --text-main: #0f172a; --text-muted: #475569; --card-bg: #ffffff; --card-border: #e2e2e6; --primary-color: #2563eb; --accent-gradient: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%); }
[data-theme="sepia"] { --bg-page: #fdf6e3; --bg-alt: #eee8d5; --text-main: #586e75; --text-muted: #839496; --card-bg: #eee8d5; --card-border: #93a1a1; --primary-color: #b58900; --accent-gradient: linear-gradient(90deg, #b58900 0%, #cb4b16 100%); }
[data-theme="royal"] { --bg-page: #2e1065; --bg-alt: #4c1d95; --text-main: #f5f3ff; --text-muted: #c4b5fd; --card-bg: #5b21b6; --card-border: #7c3aed; --primary-color: #fbbf24; --accent-gradient: linear-gradient(90deg, #fbbf24 0%, #fcd34d 100%); }
[data-theme="ocean"] { --bg-page: #042f2e; --bg-alt: #0d9488; --text-main: #f0fdfa; --text-muted: #99f6e4; --card-bg: #134e4a; --card-border: #14b8a6; --primary-color: #2dd4bf; --accent-gradient: linear-gradient(90deg, #2dd4bf 0%, #0ea5e9 100%); }
[data-theme="rose"] { --bg-page: #4c0519; --bg-alt: #881337; --text-main: #fff1f2; --text-muted: #fecdd3; --card-bg: #9f1239; --card-border: #be123c; --primary-color: #fb7185; --accent-gradient: linear-gradient(90deg, #fb7185 0%, #f43f5e 100%); }
[data-theme="dracula"] { --bg-page: #282a36; --bg-alt: #44475a; --text-main: #f8f8f2; --text-muted: #bd93f9; --card-bg: #44475a; --card-border: #6272a4; --primary-color: #ff79c6; --accent-gradient: linear-gradient(90deg, #bd93f9 0%, #ff79c6 100%); }
[data-theme="monochrome"] { --bg-page: #000000; --bg-alt: #171717; --text-main: #ffffff; --text-muted: #a3a3a3; --card-bg: #000000; --card-border: #ffffff; --primary-color: #ffffff; --accent-gradient: linear-gradient(90deg, #ffffff 0%, #525252 100%); }
[data-theme="high-contrast"] { --bg-page: #000000; --bg-alt: #000000; --text-main: #ffffff; --text-muted: #ffffff; --card-bg: #000000; --card-border: #ffff00; --primary-color: #ffff00; --accent-gradient: linear-gradient(90deg, #ffff00 0%, #ffff00 100%); }
[data-theme="coffee"] { --bg-page: #27160c; --bg-alt: #3e2723; --text-main: #efebe9; --text-muted: #d7ccc8; --card-bg: #3e2723; --card-border: #5d4037; --primary-color: #fbbf24; --accent-gradient: linear-gradient(90deg, #795548 0%, #fbbf24 100%); }
[data-theme="slate"] { --bg-page: #0f172a; --bg-alt: #1e293b; --text-main: #f8fafc; --text-muted: #94a3b8; --card-bg: #1e293b; --card-border: #334155; --primary-color: #38bdf8; --accent-gradient: linear-gradient(90deg, #38bdf8 0%, #0ea5e9 100%); }
[data-theme="solarized"] { --bg-page: #002b36; --bg-alt: #073642; --text-main: #839496; --text-muted: #586e75; --card-bg: #073642; --card-border: #586e75; --primary-color: #268bd2; --accent-gradient: linear-gradient(90deg, #268bd2 0%, #2aa198 100%); }
[data-theme="lavender"] { --bg-page: #1e1b4b; --bg-alt: #312e81; --text-main: #e0e7ff; --text-muted: #a5b4fc; --card-bg: #3730a3; --card-border: #4338ca; --primary-color: #c084fc; --accent-gradient: linear-gradient(90deg, #c084fc 0%, #818cf8 100%); }
[data-theme="matrix"] { --bg-page: #000000; --bg-alt: #050505; --text-main: #00ff41; --text-muted: #008f11; --card-bg: #000000; --card-border: #00ff41; --primary-color: #00ff41; --accent-gradient: linear-gradient(90deg, #00ff41 0%, #003b00 100%); }
[data-theme="fire"] { --bg-page: #0c0a09; --bg-alt: #1c1917; --text-main: #fff7ed; --text-muted: #fed7aa; --card-bg: #1c1917; --card-border: #ea580c; --primary-color: #fb923c; --accent-gradient: linear-gradient(90deg, #ea580c 0%, #f97316 100%); }
[data-theme="gold"] { --bg-page: #0a0a0a; --bg-alt: #1a1a1a; --text-main: #fafaf9; --text-muted: #a8a29e; --card-bg: #111111; --card-border: #d4af37; --primary-color: #d4af37; --accent-gradient: linear-gradient(90deg, #d4af37 0%, #fde68a 100%); }
[data-theme="sunset"] { --bg-page: #1e1b4b; --bg-alt: #312e81; --text-main: #fff7ed; --text-muted: #fdba74; --card-bg: #3730a3; --card-border: #4338ca; --primary-color: #f97316; --accent-gradient: linear-gradient(90deg, #f97316 0%, #be123c 100%); }
[data-theme="emerald"] { --bg-page: #064e3b; --bg-alt: #065f46; --text-main: #ecfdf5; --text-muted: #a7f3d0; --card-bg: #064e3b; --card-border: #10b981; --primary-color: #34d399; --accent-gradient: linear-gradient(90deg, #34d399 0%, #059669 100%); }
[data-theme="toxic"] { --bg-page: #180024; --bg-alt: #2e0045; --text-main: #f0abfc; --text-muted: #e879f9; --card-bg: #180024; --card-border: #bef264; --primary-color: #bef264; --accent-gradient: linear-gradient(90deg, #bef264 0%, #d946ef 100%); }
[data-theme="crimson"] { --bg-page: #450a0a; --bg-alt: #7f1d1d; --text-main: #fef2f2; --text-muted: #fca5a5; --card-bg: #991b1b; --card-border: #ef4444; --primary-color: #f87171; --accent-gradient: linear-gradient(90deg, #ef4444 0%, #7f1d1d 100%); }
[data-theme="deep-sea"] { --bg-page: #020617; --bg-alt: #1e3a8a; --text-main: #eff6ff; --text-muted: #93c5fd; --card-bg: #1e40af; --card-border: #3b82f6; --primary-color: #60a5fa; --accent-gradient: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%); }
[data-theme="neon-pulse"] { --bg-page: #0f172a; --bg-alt: #1e1b4b; --text-main: #f5f3ff; --text-muted: #c4b5fd; --card-bg: #312e81; --card-border: #a855f7; --primary-color: #d8b4fe; --accent-gradient: linear-gradient(90deg, #a855f7 0%, #6366f1 100%); }
[data-theme="desert"] { --bg-page: #451a03; --bg-alt: #78350f; --text-main: #fff7ed; --text-muted: #fdba74; --card-bg: #92400e; --card-border: #fbbf24; --primary-color: #fcd34d; --accent-gradient: linear-gradient(90deg, #fbbf24 0%, #d97706 100%); }
[data-theme="cyber-pink"] { --bg-page: #2d0016; --bg-alt: #500724; --text-main: #fff1f2; --text-muted: #f9a8d4; --card-bg: #701a3b; --card-border: #f472b6; --primary-color: #fbcfe8; --accent-gradient: linear-gradient(90deg, #f472b6 0%, #9d174d 100%); }
[data-theme="arctic"] { --bg-page: #f0f9ff; --bg-alt: #e0f2fe; --text-main: #0c4a6e; --text-muted: #0369a1; --card-bg: #ffffff; --card-border: #0ea5e9; --primary-color: #0284c7; --accent-gradient: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 100%); }
[data-theme="phantom"] { --bg-page: #0f172a; --bg-alt: #1e293b; --text-main: #94a3b8; --text-muted: #64748b; --card-bg: #020617; --card-border: #334155; --primary-color: #f1f5f9; --accent-gradient: linear-gradient(90deg, #f1f5f9 0%, #475569 100%); }
[data-theme="mint"] { --bg-page: #f0fdf4; --bg-alt: #dcfce7; --text-main: #14532d; --text-muted: #15803d; --card-bg: #ffffff; --card-border: #22c55e; --primary-color: #16a34a; --accent-gradient: linear-gradient(90deg, #22c55e 0%, #10b981 100%); }
[data-theme="bubblegum"] { --bg-page: #fdf2f8; --bg-alt: #fce7f3; --text-main: #831843; --text-muted: #be185d; --card-bg: #ffffff; --card-border: #ec4899; --primary-color: #db2777; --accent-gradient: linear-gradient(90deg, #ec4899 0%, #f472b6 100%); }
[data-theme="space"] { --bg-page: #020617; --bg-alt: #000000; --text-main: #ffffff; --text-muted: #94a3b8; --card-bg: #0f172a; --card-border: #1e293b; --primary-color: #ffffff; --accent-gradient: linear-gradient(90deg, #ffffff 0%, #334155 100%); }
[data-theme="citrus"] { --bg-page: #f7fee7; --bg-alt: #ecfccb; --text-main: #365314; --text-muted: #4d7c0f; --card-bg: #ffffff; --card-border: #84cc16; --primary-color: #65a30d; --accent-gradient: linear-gradient(90deg, #84cc16 0%, #bef264 100%); }
[data-theme="electric"] { --bg-page: #1e1b4b; --bg-alt: #312e81; --text-main: #e0e7ff; --text-muted: #a5b4fc; --card-bg: #3730a3; --card-border: #6366f1; --primary-color: #818cf8; --accent-gradient: linear-gradient(90deg, #6366f1 0%, #4f46e5 100%); }
[data-theme="umber"] { --bg-page: #422006; --bg-alt: #713f12; --text-main: #fef3c7; --text-muted: #fbbf24; --card-bg: #92400e; --card-border: #d97706; --primary-color: #f59e0b; --accent-gradient: linear-gradient(90deg, #d97706 0%, #fbbf24 100%); }
[data-theme="teal-glow"] { --bg-page: #134e4a; --bg-alt: #115e59; --text-main: #ccfbf1; --text-muted: #5eead4; --card-bg: #134e4a; --card-border: #2dd4bf; --primary-color: #99f6e4; --accent-gradient: linear-gradient(90deg, #2dd4bf 0%, #14b8a6 100%); }
[data-theme="plum"] { --bg-page: #2e1065; --bg-alt: #4c1d95; --text-main: #f5f3ff; --text-muted: #d8b4fe; --card-bg: #5b21b6; --card-border: #c084fc; --primary-color: #e9d5ff; --accent-gradient: linear-gradient(90deg, #c084fc 0%, #9333ea 100%); }
[data-theme="shadow"] { --bg-page: #0a0a0a; --bg-alt: #171717; --text-main: #d4d4d8; --text-muted: #71717a; --card-bg: #000000; --card-border: #52525b; --primary-color: #fafafa; --accent-gradient: linear-gradient(90deg, #52525b 0%, #18181b 100%); }
[data-theme="cherry"] { --bg-page: #450a0a; --bg-alt: #7f1d1d; --text-main: #fecaca; --text-muted: #f87171; --card-bg: #991b1b; --card-border: #dc2626; --primary-color: #ef4444; --accent-gradient: linear-gradient(90deg, #dc2626 0%, #991b1b 100%); }
[data-theme="sky"] { --bg-page: #f0f9ff; --bg-alt: #e0f2fe; --text-main: #075985; --text-muted: #0284c7; --card-bg: #ffffff; --card-border: #0ea5e9; --primary-color: #38bdf8; --accent-gradient: linear-gradient(90deg, #0ea5e9 0%, #7dd3fc 100%); }
[data-theme="moss"] { --bg-page: #064e3b; --bg-alt: #14532d; --text-main: #dcfce7; --text-muted: #86efac; --card-bg: #064e3b; --card-border: #22c55e; --primary-color: #4ade80; --accent-gradient: linear-gradient(90deg, #22c55e 0%, #166534 100%); }
[data-theme="indigo-night"] { --bg-page: #1e1b4b; --bg-alt: #312e81; --text-main: #e0e7ff; --text-muted: #c7d2fe; --card-bg: #312e81; --card-border: #6366f1; --primary-color: #a5b4fc; --accent-gradient: linear-gradient(90deg, #4338ca 0%, #1e1b4b 100%); }

/* Pro Restrictions */
body.not-pro #themeToggleBtn,
body.not-pro #hero-embed-trigger-container {
    display: none !important;
}

/* New Light Themes */
[data-theme="white-gold"] { --bg-page: #ffffff; --bg-alt: #fafaf9; --text-main: #1c1917; --text-muted: #78716c; --card-bg: #ffffff; --card-border: #e7e5e4; --primary-color: #d4af37; --accent-gradient: linear-gradient(90deg, #d4af37 0%, #a8850b 100%); }
[data-theme="soft-lavender"] { --bg-page: #f5f3ff; --bg-alt: #ede9fe; --text-main: #4c1d95; --text-muted: #7c3aed; --card-bg: #ffffff; --card-border: #ddd6fe; --primary-color: #8b5cf6; --accent-gradient: linear-gradient(90deg, #8b5cf6 0%, #6366f1 100%); }
[data-theme="powder-blue"] { --bg-page: #f0f9ff; --bg-alt: #e0f2fe; --text-main: #0c4a6e; --text-muted: #0369a1; --card-bg: #ffffff; --card-border: #bae6fd; --primary-color: #0ea5e9; --accent-gradient: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 100%); }
[data-theme="melon"] { --bg-page: #fffafb; --bg-alt: #fff1f2; --text-main: #881337; --text-muted: #be123c; --card-bg: #ffffff; --card-border: #fecdd3; --primary-color: #fb7185; --accent-gradient: linear-gradient(90deg, #fb7185 0%, #f43f5e 100%); }
[data-theme="quartz"] { --bg-page: #fafafb; --bg-alt: #f3f4f6; --text-main: #111827; --text-muted: #4b5563; --card-bg: #ffffff; --card-border: #e5e7eb; --primary-color: #6366f1; --accent-gradient: linear-gradient(90deg, #6366f1 0%, #a855f7 100%); }
[data-theme="glacier"] { --bg-page: #f8fafc; --bg-alt: #f1f5f9; --text-main: #0f172a; --text-muted: #475569; --card-bg: #ffffff; --card-border: #e2e8f0; --primary-color: #3b82f6; --accent-gradient: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%); }
[data-theme="linen"] { --bg-page: #fafaf9; --bg-alt: #f5f5f4; --text-main: #1c1917; --text-muted: #57534e; --card-bg: #ffffff; --card-border: #e7e5e4; --primary-color: #78350f; --accent-gradient: linear-gradient(90deg, #78350f 0%, #d97706 100%); }
[data-theme="matcha"] { --bg-page: #f7fee7; --bg-alt: #ecfccb; --text-main: #365314; --text-muted: #4d7c0f; --card-bg: #ffffff; --card-border: #d9f99d; --primary-color: #65a30d; --accent-gradient: linear-gradient(90deg, #65a30d 0%, #84cc16 100%); }
[data-theme="velvet-light"] { --bg-page: #fff7ed; --bg-alt: #ffedd5; --text-main: #7c2d12; --text-muted: #9a3412; --card-bg: #ffffff; --card-border: #fed7aa; --primary-color: #ea580c; --accent-gradient: linear-gradient(90deg, #ea580c 0%, #f97316 100%); }
[data-theme="corporate"] { --bg-page: #ffffff; --bg-alt: #f8f9fa; --text-main: #212529; --text-muted: #6c757d; --card-bg: #ffffff; --card-border: #dee2e6; --primary-color: #0d6efd; --accent-gradient: linear-gradient(90deg, #0d6efd 0%, #0b5ed7 100%); }
[data-theme="startup"] { --bg-page: #ffffff; --bg-alt: #f3f4f6; --text-main: #111827; --text-muted: #6b7280; --card-bg: #ffffff; --card-border: #e5e7eb; --primary-color: #4f46e5; --accent-gradient: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%); }
[data-theme="modernist"] { --bg-page: #ffffff; --bg-alt: #f1f1f1; --text-main: #000000; --text-muted: #555555; --card-bg: #ffffff; --card-border: #000000; --primary-color: #000000; --accent-gradient: linear-gradient(90deg, #000000 0%, #333333 100%); }
[data-theme="airy"] { --bg-page: #ffffff; --bg-alt: #f0fdfa; --text-main: #134e4a; --text-muted: #0d9488; --card-bg: #ffffff; --card-border: #ccfbf1; --primary-color: #14b8a6; --accent-gradient: linear-gradient(90deg, #14b8a6 0%, #2dd4bf 100%); }
[data-theme="blush"] { --bg-page: #fff1f2; --bg-alt: #ffe4e6; --text-main: #881337; --text-muted: #be123c; --card-bg: #ffffff; --card-border: #fecdd3; --primary-color: #f43f5e; --accent-gradient: linear-gradient(90deg, #f43f5e 0%, #fb7185 100%); }
[data-theme="morning"] { --bg-page: #fffbeb; --bg-alt: #fef3c7; --text-main: #78350f; --text-muted: #92400e; --card-bg: #ffffff; --card-border: #fde68a; --primary-color: #f59e0b; --accent-gradient: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%); }
[data-theme="spring"] { --bg-page: #f0fdf4; --bg-alt: #dcfce7; --text-main: #14532d; --text-muted: #166534; --card-bg: #ffffff; --card-border: #bbf7d0; --primary-color: #22c55e; --accent-gradient: linear-gradient(90deg, #22c55e 0%, #4ade80 100%); }
[data-theme="latte"] { --bg-page: #fafaf9; --bg-alt: #f5f5f4; --text-main: #44403c; --text-muted: #78716c; --card-bg: #ffffff; --card-border: #e7e5e4; --primary-color: #a8a29e; --accent-gradient: linear-gradient(90deg, #a8a29e 0%, #78716c 100%); }
[data-theme="concrete"] { --bg-page: #f9fafb; --bg-alt: #f3f4f6; --text-main: #111827; --text-muted: #4b5563; --card-bg: #ffffff; --card-border: #d1d5db; --primary-color: #1f2937; --accent-gradient: linear-gradient(90deg, #1f2937 0%, #111827 100%); }
[data-theme="seafoam"] { --bg-page: #f0fdfa; --bg-alt: #ccfbf1; --text-main: #115e59; --text-muted: #0d9488; --card-bg: #ffffff; --card-border: #99f6e4; --primary-color: #2dd4bf; --accent-gradient: linear-gradient(90deg, #2dd4bf 0%, #5eead4 100%); }
[data-theme="sunshine"] { --bg-page: #fefce8; --bg-alt: #fef08a; --text-main: #854d0e; --text-muted: #a16207; --card-bg: #ffffff; --card-border: #fde047; --primary-color: #eab308; --accent-gradient: linear-gradient(90deg, #eab308 0%, #facc15 100%); }
[data-theme="modern-bw"] { --bg-page: #ffffff; --bg-alt: #f2f2f2; --text-main: #000000; --text-muted: #555555; --card-bg: #ffffff; --card-border: #000000; --primary-color: #000000; --accent-gradient: linear-gradient(90deg, #000000 0%, #444444 100%); }

[data-theme] h1, [data-theme] h2, [data-theme] h3, [data-theme] h4, [data-theme] h5, [data-theme] h6 {
    color: var(--text-main);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-page);
    scroll-behavior: smooth;
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.text-secondary, .text-body-secondary {
    color: var(--text-muted) !important;
}

.bg-body-tertiary {
    background-color: var(--bg-alt) !important;
}

.bg-white {
    background-color: var(--bg-page) !important;
}

.card {
    background-color: var(--card-bg);
    border-color: var(--card-border);
}

.fw-black { font-weight: 900; }
.tracking-tighter { letter-spacing: -0.05em; }

.py-100 { padding: 100px 0; }
.pt-100 { padding-top: 100px; }
.pb-100 { padding-bottom: 100px; }
.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section {
    min-height: 85vh;
}

#hero-badge {
    font-size: 0.75rem;
    max-width: 90%;
    white-space: normal;
    line-height: 1.4;
    display: inline-block;
}

@media (max-width: 576px) {
    #hero-badge {
        font-size: 0.65rem;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

#hero-headline {
    font-size: 1.9rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    #hero-headline {
        font-size: 1.6rem;
    }
}



.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.bg-primary-soft {
    background-color: var(--primary-color) !important;
    --bs-bg-opacity: 0.1;
    background-color: rgba(from var(--primary-color) r g b / 0.1) !important;
}

/* Fallback for browsers not supporting relative color syntax yet */
@supports not (color: rgba(from white r g b / 0.1)) {
    .bg-primary-soft {
        background-color: var(--primary-color) !important;
        opacity: 0.9; /* Slight compromise for compatibility if needed, but modern browsers used here do support it */
    }
}

.btn-primary {
    background: var(--accent-gradient);
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: white !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(from var(--primary-color) r g b / 0.3);
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(from var(--primary-color) r g b / 0.2);
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: #000;
    cursor: pointer;
    max-height: 450px;
}

.video-placeholder img {
    height: 100%;
    object-fit: cover;
}

#hero-embed-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.video-placeholder:hover .play-button {
    /* Removed strong blue circle on hover — keep a subtle, neutral hover effect */
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

.glass-card {
    background: var(--card-bg) !important;
    color: var(--text-main) !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border) !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.glass-card p, .glass-card h4 {
    color: inherit;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.module-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.module-card {
    border: 1px solid var(--card-border) !important;
    background: var(--card-bg) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.module-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color) !important;
    box-shadow: 0 20px 40px rgba(0, 210, 255, 0.15);
}

.module-number {
    font-size: 8rem;
    font-family: 'Inter', sans-serif;
    color: var(--primary-color);
    z-index: 0;
    pointer-events: none;
}

.avatar-group {
    display: flex;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-left: -12px;
    object-fit: cover;
}

.avatar:first-child { margin-left: 0; }



.pricing-card {
    border-radius: 2rem;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: scale(1.02);
}

.rounded-bl {
    border-bottom-left-radius: 1rem;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 210, 255, 0.1);
    color: var(--primary-color);
    box-shadow: none;
}



.custom-faq .accordion-item {
    background-color: var(--bs-tertiary-bg);
}

.custom-faq .accordion-button {
    background-color: var(--bs-tertiary-bg);
}

/* Theme Switcher Styling */
#themeToggleBtn {
    font-size: 1.25rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(135deg, #0ea5e9 0%, #3b82f6 100%) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
}

#themeToggleBtn:hover {
    transform: rotate(15deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6) !important;
}

/* Pricing Section Theming */
.pricing-card {
    border-radius: 2rem;
    transition: transform 0.3s ease;
    background-color: var(--card-bg) !important;
    border: 2px solid var(--primary-color) !important;
}

.pricing-badge {
    background-color: var(--primary-color);
    color: var(--bg-page);
}

.pricing-features-side {
    background-color: var(--card-bg);
}

.pricing-cta-side {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--card-border);
}

.pricing-accent-text {
    color: var(--primary-color) !important;
}

.pricing-price-text {
    color: var(--text-main);
}

.pricing-bonus-badge {
    background-color: var(--bg-alt);
    color: var(--text-muted);
    border: 1px solid var(--card-border);
}

/* Override for mobile/large screens layout consistency */
@media (min-width: 992px) {
    .pricing-cta-side {
        border-top: none;
        border-left: 1px solid var(--card-border);
    }
}

.tracking-widest { letter-spacing: 0.2em; }

.extra-small { font-size: 0.75rem; }

@media (max-width: 991px) {
    .py-100 { padding: 60px 0; }
    .hero-section { text-align: center; }
    
    #aiBuilderPanel {
        width: calc(100% - 2rem) !important;
        left: 1rem;
        right: 1rem;
        bottom: 5rem !important; /* Above the FAB if it stays, or adjust */
    }
}

#aiBuilderToggle, #settingsToggle {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#aiBuilderToggle:hover, #settingsToggle:hover {
    transform: scale(1.1) rotate(10deg);
}

#aiBuilderPanel, #settingsPanel {
    animation: slideUp 0.3s ease-out;
    /* Ensure panels don't overlap the buttons if they are tall */
    bottom: 90px !important; 
    right: 20px !important;
}

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

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Inline Editing Styles */
.editable-text:hover {
    outline: 2px dashed rgba(0, 210, 255, 0.5);
    cursor: text;
    border-radius: 4px;
    position: relative;
}

.editable-img:hover {
    outline: 4px dashed rgba(0, 210, 255, 0.8);
    cursor: pointer;
    position: relative;
    opacity: 0.9;
}

.editable-img:hover::after {
    content: "Click to Replace";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    pointer-events: none;
    z-index: 10;
}

.editable-icon {
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
    border-radius: 4px;
}

.editable-icon:hover {
    transform: scale(1.2);
    outline: 2px dashed rgba(0, 210, 255, 0.8);
    background-color: rgba(0, 210, 255, 0.1);
}

.icon-option {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-option:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

[contenteditable="true"] {
    outline: 2px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    min-width: 10px;
    white-space: pre-wrap; /* Ensure line breaks are visible */
}

/* Section Management */
.section-delete-btn {
    opacity: 0.4;
    transition: opacity 0.2s, transform 0.2s, background-color 0.2s;
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.section-delete-btn:hover {
    opacity: 1;
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

header:hover .section-delete-btn,
section:hover .section-delete-btn,
footer:hover .section-delete-btn {
    opacity: 0.8;
}

/* FAQ Edit Button */
.faq-edit-btn {
    opacity: 0;
    transition: all 0.2s ease;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    pointer-events: auto;
}

.accordion-item:hover .faq-edit-btn {
    opacity: 1;
}

.accordion-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.accordion-button::after {
    margin-left: auto;
}

.theme-item {
    cursor: pointer;
    transition: transform 0.2s;
    text-align: center;
}

.theme-item:hover {
    transform: scale(1.05);
}

.theme-preview {
    height: 60px;
    border-radius: 12px;
    margin-bottom: 8px;
    border: 2px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.theme-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
}