/* muhan.ai - Holographic Futurism meets Cosmic Minimalism */
/* Descent into the Infinite */

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

@property --holo-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

:root {
    --void-black: #08080f;
    --deep-black: #0c0c14;
    --mid-black: #10101c;
    --near-black: #141424;
    --ghost-white: #e8e8f0;
    --holo-blue: #4a2aff;
    --holo-pink: #ff2a8a;
    --holo-cyan: #2affcc;
    --holo-gold: #ffcc2a;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--void-black);
    color: var(--ghost-white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    line-height: 1.75;
    overflow-x: hidden;
}

/* ========== HERO - THE INFINITE FIELD ========== */

.hero {
    position: relative;
    width: 100%;
    height: 120vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--void-black);
}

.holo-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from var(--holo-angle),
        var(--holo-blue),
        var(--holo-pink),
        var(--holo-cyan),
        var(--holo-gold),
        var(--holo-blue)
    );
    opacity: 0.06;
    animation: holoRotate 30s linear infinite;
    z-index: 1;
}

@keyframes holoRotate {
    from { --holo-angle: 0deg; }
    to { --holo-angle: 360deg; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(3rem, 8vw, 7rem);
    letter-spacing: 0.02em;
    background: linear-gradient(90deg, var(--holo-blue), var(--holo-pink), var(--holo-cyan), var(--holo-gold));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 6s linear infinite;
    opacity: 0;
    transform: translateY(20px);
    animation: shimmerText 6s linear infinite, fadeInUp 1s ease 0.5s forwards;
}

@keyframes shimmerText {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

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

.hero-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(0.85rem, 2vw, 1.2rem);
    color: var(--ghost-white);
    opacity: 0;
    margin-top: 0.5rem;
    animation: fadeIn 0.8s ease 1.2s forwards;
}

@keyframes fadeIn {
    to { opacity: 0.6; }
}

.infinity-loop {
    position: absolute;
    bottom: 20%;
    z-index: 5;
    opacity: 0;
    animation: fadeIn 1s ease 1.8s forwards;
}

.infinity-loop svg path {
    stroke-dasharray: 400;
}

.scroll-cue {
    position: absolute;
    bottom: 3rem;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 0.8s ease 2.5s forwards, pulseGlow 3s ease-in-out 3s infinite;
}

.scroll-cue span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--holo-cyan);
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* ========== DESCENT SECTIONS ========== */

.descent-section {
    position: relative;
    padding: 6rem 2rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.descent-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.depth-1 {
    background: var(--deep-black);
    padding-left: 5vw;
}

.depth-2 {
    background: var(--mid-black);
    padding-left: 10vw;
}

.depth-3 {
    background: var(--near-black);
    padding-left: 15vw;
}

.depth-4 {
    background: var(--mid-black);
    padding-left: 10vw;
}

.depth-5 {
    background: var(--deep-black);
    padding-left: 5vw;
}

.section-content {
    max-width: 560px;
    position: relative;
    z-index: 3;
}

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--holo-cyan);
    opacity: 0.5;
    display: block;
    margin-bottom: 1rem;
}

.section-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--ghost-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.85;
    color: var(--ghost-white);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.section-body:last-child {
    font-style: italic;
    opacity: 0.6;
}

/* Depth glows */
.depth-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
    z-index: 1;
}

.glow-1 {
    background: var(--holo-blue);
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
}

.glow-2 {
    background: var(--holo-pink);
    right: -30px;
    bottom: -50px;
}

.glow-3 {
    background: var(--holo-cyan);
    left: 10%;
    top: -50px;
}

.glow-4 {
    background: var(--holo-gold);
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.glow-5 {
    background: var(--holo-blue);
    right: -100px;
    bottom: -50px;
}

/* ========== DATA STREAM ========== */

.data-stream {
    overflow: hidden;
    padding: 2rem 0;
    background: var(--void-black);
    border-top: 1px solid rgba(42, 255, 204, 0.1);
    border-bottom: 1px solid rgba(42, 255, 204, 0.1);
}

.stream-track {
    display: flex;
    gap: 3rem;
    white-space: nowrap;
    animation: streamScroll 15s linear infinite;
}

.stream-item {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    background: linear-gradient(90deg, var(--holo-blue), var(--holo-pink), var(--holo-cyan));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 4s linear infinite;
    opacity: 0.3;
    flex-shrink: 0;
}

@keyframes streamScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ========== FOOTER ========== */

.site-footer {
    position: relative;
    padding: 4rem 2rem;
    background: var(--void-black);
    text-align: center;
    overflow: hidden;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-domain {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    background: linear-gradient(90deg, var(--holo-blue), var(--holo-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--ghost-white);
    opacity: 0.3;
}

.footer-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    border-radius: 50%;
    background: var(--holo-blue);
    filter: blur(120px);
    opacity: 0.05;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 600px) {
    .descent-section {
        padding: 4rem 1.5rem;
    }

    .depth-1,
    .depth-2,
    .depth-3,
    .depth-4,
    .depth-5 {
        padding-left: 1.5rem;
    }

    .hero {
        height: 100vh;
    }
}
