/* monopoleai.com - Evolved-Minimal Cinematic AI Manifesto */
/* Colors: #6366F1, #1A1A2E, #000000, #FFFFFF, #818CF8, #4F46E5, #9CA3AF */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    min-height: 100vh;
    background: #000000;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    overflow-x: hidden;
}

/* Hero Section */
#hero {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000000;
}

/* Wireframe Container */
#wireframe-container {
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 48px;
}

#wireframe {
    width: 100%;
    height: 100%;
}

#wireframe-group line {
    stroke: #6366F1;
    stroke-width: 1;
    stroke-opacity: 0.6;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    transition: stroke-dashoffset 0.1s linear;
}

#wireframe-group line.drawn {
    stroke-dashoffset: 0;
}

/* Hero Text */
#hero-text {
    text-align: center;
}

#hero-title {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 56px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 1.5s linear;
}

#hero-title.visible {
    opacity: 1;
}

#hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 17px;
    color: #9CA3AF;
    margin-top: 12px;
    opacity: 0;
    transition: opacity 1.5s linear;
}

#hero-subtitle.visible {
    opacity: 1;
}

/* Scroll Indicator */
#scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 1s ease 0.5s;
}

#scroll-indicator.visible {
    opacity: 1;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, #6366F1, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* Section Spacers */
.section-spacer {
    height: 40vh;
    background: #000000;
}

.section-spacer-end {
    height: 20vh;
    background: #000000;
}

/* Content Sections */
.content-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20%;
    text-align: center;
    background: #000000;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 36px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    max-width: 600px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.75;
    color: #9CA3AF;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.section-footnote {
    font-family: 'Geist Mono', 'Fira Code', monospace;
    font-size: 13px;
    color: #818CF8;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.8s ease 0.4s;
}

.reveal-section.visible .section-title,
.reveal-section.visible .section-body,
.reveal-section.visible .section-footnote {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section */
.contact-label {
    font-family: 'Geist Mono', 'Fira Code', monospace;
    font-size: 13px;
    color: #818CF8;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-link {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #FFFFFF;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s, border-color 0.3s ease, color 0.3s ease;
}

.contact-link:hover {
    border-bottom-color: #6366F1;
    color: #818CF8;
}

#contact-section.visible .contact-label,
#contact-section.visible .contact-link {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle radial gradient behind wireframe */
#wireframe-container::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    #hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .content-section {
        padding: 60px 10%;
    }

    #wireframe-container {
        width: 240px;
        height: 240px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #1A1A2E;
    border-radius: 2px;
}
