/* muhan.ai - Dark Mode Neon Crypto Aesthetic */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #000000;
    color: #e0e0e0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== HERO / VOID SECTION (0-100vh) ===== */
.void.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.infinity-container {
    margin-bottom: 3rem;
    animation: float-slow 6s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.infinity-symbol {
    position: relative;
    width: 120px;
    height: 60px;
}

.loop {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    animation: glow-pulse 3s ease-in-out infinite;
}

.loop-left {
    left: 0;
    animation-delay: 0s;
}

.loop-right {
    right: 0;
    animation-delay: 0.5s;
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
    }
}

.brand {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: 0.05em;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 1rem;
}

.tagline {
    font-size: clamp(0.75rem, 2vw, 1.2rem);
    color: #888;
    letter-spacing: 0.02em;
    text-align: center;
}

/* ===== CAPABILITIES SECTION (100-280vh) ===== */
.capabilities-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cap-panel {
    background: #0a0a0a;
    border-left: 3px solid #3b82f6;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.cap-panel:hover {
    border-left-color: #60a5fa;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.cap-left {
    flex: 1;
}

.cap-title {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.cap-text {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
}

.cap-metric {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
}

/* ===== INFINITE SECTION (280-360vh) ===== */
.infinite-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    position: relative;
}

.infinite-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.infinity-symbol-large {
    position: relative;
    width: 200px;
    height: 100px;
}

.loop-large {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
    animation: rotate-infinite 8s linear infinite;
}

.loop-large-left {
    left: 0;
    animation: rotate-infinite 8s linear infinite;
}

.loop-large-right {
    right: 0;
    animation: rotate-infinite 8s linear infinite reverse;
}

@keyframes rotate-infinite {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.infinite-text {
    text-align: center;
    max-width: 500px;
}

.infinite-text h2 {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #e0e0e0;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
}

.infinite-text p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* ===== METRICS SECTION (360vh+) ===== */
.metrics-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.metrics-header {
    text-align: center;
    margin-bottom: 1rem;
}

.metrics-header h2 {
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.metrics-header p {
    font-size: 0.85rem;
    color: #888;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.metric-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #60a5fa;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.metric-label {
    font-size: 0.65rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.counter-dot {
    display: inline-block;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ===== CONTINUE SECTION (open-ended) ===== */
.continue-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
}

.continue-content {
    text-align: center;
}

.continue-dots {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    animation: fade-dots 2s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.3s;
}

.dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fade-dots {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

.continue-text {
    display: block;
    font-family: 'Sora', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #1e3a5f;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.continue-subtitle {
    font-size: 0.7rem;
    color: #555;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .infinity-symbol {
        width: 80px;
        height: 40px;
    }

    .loop {
        width: 40px;
        height: 40px;
    }

    .brand {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cap-panel {
        padding: 1.25rem;
    }

    .infinite-text h2 {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
    }
}
