/* ========================================
   MODERN DARK GLASSMORPHISM DESIGN
   ======================================== */

/* CSS Variables */
:root {
    --color-bg: #0a0a0b;
    --color-bg-secondary: #111113;
    --color-bg-tertiary: #18181b;
    --color-surface: rgba(255, 255, 255, 0.03);
    --color-surface-hover: rgba(255, 255, 255, 0.06);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    --color-text: #fafafa;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #71717a;
    --color-primary: #8b5cf6;
    --color-primary-light: #a78bfa;
    --color-accent: #06b6d4;
    --color-gradient-1: #8b5cf6;
    --color-gradient-2: #06b6d4;
    --color-gradient-3: #10b981;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
    
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--color-gradient-1);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--color-gradient-2);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--color-gradient-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.header.scrolled::before {
    opacity: 1;
}

.header .container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1.125rem;
    z-index: 10;
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav a {
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav a:hover {
    color: var(--color-text);
    background: var(--color-surface);
}

.nav-btn {
    background: var(--color-primary) !important;
    color: white !important;
}

.nav-btn:hover {
    background: var(--color-primary-light) !important;
    transform: translateY(-1px);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all var(--transition-fast);
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    position: absolute;
    transition: all var(--transition-fast);
}

.menu-toggle span::before { top: -8px; }
.menu-toggle span::after { top: 8px; }

.menu-toggle.active span {
    background: transparent;
}

.menu-toggle.active span::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active span::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    text-align: center;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    color: white;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
}

.btn-ghost {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-border-hover);
}

.btn-light {
    background: white;
    color: var(--color-bg);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-text), var(--color-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Sections */
.section {
    position: relative;
    padding: 120px 0;
    z-index: 1;
}

.section-dark {
    background: var(--color-bg-secondary);
}

.section-gradient {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
}

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

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary-light);
    margin-bottom: 20px;
}

.section h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 32px 0 16px;
    color: var(--color-text);
}

.section h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary-light);
    margin-bottom: 12px;
}

.section p {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* Intro Section */
.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.intro-lead {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 24px;
}

.intro-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.visual-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.visual-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.visual-card:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.visual-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.visual-card h4 {
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--color-text);
    margin-bottom: 4px;
}

.visual-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Bento Grid Features */
.features-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.bento-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.bento-item:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.bento-large {
    grid-column: span 2;
}

.bento-accent {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-color: rgba(139, 92, 246, 0.2);
}

.bento-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.bento-icon svg {
    stroke: white;
}

.bento-item h3 {
    margin: 0 0 8px;
    font-size: 1.375rem;
}

.bento-item h4 {
    margin-bottom: 16px;
}

.bento-item p {
    margin: 0;
}

/* Audio Section */
.audio-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.audio-visual {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
}

.waveform {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 80px;
    margin-bottom: 24px;
}

.waveform span {
    width: 4px;
    background: linear-gradient(180deg, var(--color-gradient-1), var(--color-gradient-2));
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 20%; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 40%; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 80%; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 100%; animation-delay: 0.4s; }
.waveform span:nth-child(6) { height: 80%; animation-delay: 0.5s; }
.waveform span:nth-child(7) { height: 60%; animation-delay: 0.6s; }
.waveform span:nth-child(8) { height: 80%; animation-delay: 0.7s; }
.waveform span:nth-child(9) { height: 100%; animation-delay: 0.8s; }
.waveform span:nth-child(10) { height: 80%; animation-delay: 0.9s; }
.waveform span:nth-child(11) { height: 60%; animation-delay: 1s; }
.waveform span:nth-child(12) { height: 40%; animation-delay: 1.1s; }
.waveform span:nth-child(13) { height: 60%; animation-delay: 0.2s; }
.waveform span:nth-child(14) { height: 40%; animation-delay: 0.3s; }
.waveform span:nth-child(15) { height: 20%; animation-delay: 0.4s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

.audio-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Usage Cards */
.usage-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.usage-card {
    display: flex;
    gap: 24px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 36px;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.usage-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.usage-card:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-border-hover);
}

.usage-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.usage-content h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.usage-content h4 {
    margin-bottom: 12px;
}

.usage-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* Plus Card */
.plus-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.plus-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.plus-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.plus-card h3 {
    margin-top: 40px;
}

.plus-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

.plus-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
}

.check-icon {
    color: var(--color-accent);
    font-weight: 700;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

.faq-item[open] {
    border-color: var(--color-primary);
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
    list-style: none;
}

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

.faq-item summary h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-text-secondary);
    border-radius: 2px;
    transition: transform var(--transition-fast);
}

.faq-icon::before {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
    padding: 0 28px 24px;
}

.faq-answer h4 {
    margin-top: 0;
}

/* CTA Section */
.cta {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-gradient-1), var(--color-gradient-2));
    z-index: 1;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background: var(--color-bg-tertiary);
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

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

.footer-brand p {
    color: var(--color-text-muted);
    max-width: 320px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    padding: 8px 0;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-bento {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav.active {
        opacity: 1;
        visibility: visible;
    }
    
    .nav a {
        font-size: 1.25rem;
        padding: 16px 24px;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-bento {
        grid-template-columns: 1fr;
    }
    
    .bento-large {
        grid-column: span 1;
    }
    
    .audio-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .usage-cards {
        grid-template-columns: 1fr;
    }
    
    .usage-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .plus-card {
        padding: 40px 24px;
    }
    
    .plus-features {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .bento-item {
        padding: 28px;
    }
    
    .cta h2 {
        font-size: 1.75rem;
    }
}
