/* ========================================
   Base
   ======================================== */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #000000;
    color: #cccccc;
    overflow-x: hidden;
}

h1:focus {
    outline: none;
}

.mt-app-font {
    font-family: "Gotu", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* ========================================
   Header
   ======================================== */
.ai-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.ai-header-brand {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    transition: opacity 0.2s ease;
}

.ai-header-brand:hover {
    opacity: 0.8;
}

/* ========================================
   Footer
   ======================================== */
.ai-footer {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
}

.ai-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.ai-footer-copyright {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.ai-footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ai-footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.ai-footer-links a:hover {
    color: #F59E0B;
}

/* ========================================
   Hero
   ======================================== */
.ai-hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ai-hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ai-hero-canvas canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.ai-hero-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse at 50% 50%, #0a0a0a 0%, #000000 100%);
}

.ai-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.ai-hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.ai-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.ai-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.5rem;
    background: #F59E0B;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 1em;
    transition: background 0.2s ease, transform 0.2s ease;
}

.ai-hero-cta:hover {
    background: #d97706;
    transform: translateY(-1px);
}

/* ========================================
   Narrative Sections
   ======================================== */
.ai-section {
    padding: 8rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.ai-section-wide {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.ai-full-width-visual {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    filter: drop-shadow(0 0 40px rgba(245, 158, 11, 0.08));
}

.ai-section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ai-section-body {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
}

.ai-section-body strong {
    color: #ffffff;
}

.ai-section-visual {
    margin-top: 3rem;
    text-align: center;
}

.ai-section-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.1));
}

.ai-statement {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.ai-statement .ai-emphasis {
    color: #ffffff;
}

/* ========================================
   Platform Bar
   ======================================== */
.ai-platform-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    padding: 4rem 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ai-platform-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.ai-platform-item .mud-icon-root {
    color: rgba(255,255,255,0.3);
}

/* ========================================
   Final CTA
   ======================================== */
.ai-final-cta {
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.ai-final-cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 1rem;
}

.ai-final-cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2.5rem;
}

/* ========================================
   Glassmorphism
   ======================================== */
.ai-glass {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
}

/* ========================================
   Scroll Reveal Animations
   ======================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

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

.fade-in-up-delay-1 {
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

.fade-in-up-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ========================================
   Section Dividers / Gradients
   ======================================== */
.ai-gradient-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245,158,11,0.15), transparent);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .ai-section {
        padding: 5rem 1.5rem;
    }

    .ai-hero-content {
        padding: 1.5rem;
    }

    .ai-platform-bar {
        gap: 1.5rem;
        padding: 3rem 1.5rem;
    }

    .ai-footer-content {
        flex-direction: column;
        text-align: center;
    }

    .ai-footer-links {
        justify-content: center;
    }
}

/* MudBlazor overrides */
.mud-button {
    text-transform: none !important;
}
