/* Page Dark Theme - Shared styles for use-case and feature pages */

/* Base Dark Theme */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f14;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(99, 102, 241, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-indigo: #818cf8;
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
}

body.dark-theme {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-secondary);
}

/* Typography */
.headline-xl {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.headline-lg {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text-bold {
    background: linear-gradient(135deg, #818cf8 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero-dark {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hero-dark::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: glow-float 8s ease-in-out infinite;
}

.hero-dark::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: glow-float 10s ease-in-out infinite reverse;
}

@keyframes glow-float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

/* Dark Section */
.section-dark {
    background: var(--bg-primary);
    padding: 5rem 0;
}

.section-dark-alt {
    background: var(--bg-secondary);
    padding: 5rem 0;
}

/* Dark Cards */
.card-dark {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card-dark:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

/* CTA Buttons */
.cta-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
}

.cta-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
}

.cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-ghost:hover {
    border-color: var(--accent-indigo);
    color: var(--text-primary);
}

/* Feature Grid */
.feature-grid-dark {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Image/Video Containers */
.media-container-dark {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Footer Dark */
.footer-dark {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 0;
}

/* Header stays white for contrast */
.header-light {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}