/* Premium Visual Overrides */
:root {
    --premium-bg: #030614;
    --premium-surface: #0a0f25;
    --premium-surface-glass: rgba(16, 23, 42, 0.65);
    --premium-border: rgba(99, 102, 241, 0.15);
    --premium-border-hover: rgba(139, 92, 246, 0.4);

    --premium-accent-1: #6366f1;
    /* Indigo */
    --premium-accent-2: #8b5cf6;
    /* Violet */
    --premium-accent-3: #ec4899;
    /* Pink */
    --premium-accent-4: #0ea5e9;
    /* Sky */

    --text-primary: #f8fafc;
    --text-muted: #94a3b8;
}

body .au-home,
body {
    font-family: 'Inter', sans-serif !important;
    background: var(--premium-bg) !important;
    color: var(--text-primary) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.brand-heading,
.story-section-heading h3 {
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.02em !important;
}

/* Background Gradients */
.au-home main {
    background:
        radial-gradient(circle at 15% 50%, rgba(99, 102, 241, 0.05), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.05), transparent 25%),
        transparent !important;
}

.home-hero {
    background:
        radial-gradient(circle at top right, rgba(139, 92, 246, 0.07), transparent 40%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.07), transparent 40%),
        var(--premium-bg) !important;
    border-bottom: 1px solid var(--premium-border) !important;
    position: relative;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Typography Enhancements */
.hero-title {
    background: linear-gradient(to right, #ffffff, #a5b4fc, #e879f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(139, 92, 246, 0.12);
    font-weight: 800 !important;
}

/* Premium Buttons */
.btn-solid {
    background: linear-gradient(135deg, var(--premium-accent-1), var(--premium-accent-2)) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 999px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
}

.btn-solid:hover {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 18px rgba(139, 92, 246, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid var(--premium-border) !important;
    color: var(--text-primary) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 999px !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--premium-border-hover) !important;
    transform: translateY(-2px) !important;
}

/* Glass Cards Enhancement */
.hub-hero-card,
.flow-card,
.glass-card,
.story-code-card,
.ask-ai-panel {
    background: var(--premium-surface-glass) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid var(--premium-border) !important;
    box-shadow: 0 4px 18px -2px rgba(0, 0, 0, 0.16) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.hub-hero-card:hover,
.flow-card:hover,
.ask-ai-panel:hover {
    transform: translateY(-4px) !important;
    border-color: var(--premium-border-hover) !important;
    box-shadow: 0 10px 24px -6px rgba(99, 102, 241, 0.1) !important;
}

/* Pills & Badges */
.hub-topic-pill,
.ask-ai-chip {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(8px) !important;
}

.hub-topic-pill:hover,
.ask-ai-chip:hover {
    background: rgba(99, 102, 241, 0.1) !important;
    border-color: var(--premium-accent-1) !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.12) !important;
}

/* Icons */
.flow-icon {
    background: linear-gradient(135deg, var(--premium-accent-1), var(--premium-accent-2)) !important;
    box-shadow: 0 6px 12px rgba(99, 102, 241, 0.18) !important;
    color: #fff !important;
}

/* Scroll Animations Baseline */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}