/* Nuada Quantum — Global Styles */

:root {
    --bg: #0a0a0f;
    --text: rgba(229, 231, 235, 0.9);
    --text-subtle: rgba(156, 163, 175, 0.6);
    --accent: #D4A843;
    --border: rgba(255, 255, 255, 0.08);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.8; }

main { padding-top: 5rem; }

.section {
    padding: 5rem 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--text-subtle);
    margin-bottom: 3rem;
}

.stub-notice {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-subtle);
    text-transform: uppercase;
}

/* ── Landing page ────────────────────────────────────────────── */

@keyframes ethereal-glow {
    0%, 100% {
        text-shadow:
            0 0 8px  rgba(180, 190, 210, 0.25),
            0 0 20px rgba(180, 190, 210, 0.2),
            0 0 45px rgba(160, 175, 210, 0.15),
            0 0 80px rgba(140, 160, 210, 0.08);
        filter: blur(0.4px);
    }
    50% {
        text-shadow:
            0 0 12px rgba(210, 220, 240, 0.5),
            0 0 30px rgba(200, 215, 240, 0.35),
            0 0 60px rgba(180, 200, 235, 0.25),
            0 0 120px rgba(160, 185, 230, 0.12);
        filter: blur(0.9px);
    }
}

.landing-main {
    height: calc(100vh - 4.75rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    gap: 0;
    max-height: calc(100vh - 4.75rem);
}

#hero-animation {
    background: transparent;
    flex-shrink: 0;
    width: min(500px, 40vw, calc(100vh - 18rem));
    height: min(500px, 40vw, calc(100vh - 18rem));
    margin: 0 auto;
}

.wordmark {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: #6b7280;
    padding: 1rem 1.5rem 1rem calc(1.5rem + 0.5em);
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.1;
    position: relative;
    z-index: 1;
    animation: ethereal-glow 7s ease-in-out infinite;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 0.6rem;
}

.subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin-bottom: 1.75rem;
}

.cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2.2rem;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 2px;
    transition: opacity 0.2s, background 0.2s;
    min-height: 48px;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    opacity: 1;
}

/* Landing footer */
.landing-footer {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--text-subtle);
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
}

.footer-sep { color: var(--border); }

/* ── About page ────────────────────────────────────────────── */

.about-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.8rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 768px) {
    #hero-animation {
        width: min(280px, 65vw, calc(100vh - 16rem));
        height: min(280px, 65vw, calc(100vh - 16rem));
    }

    .wordmark {
        font-size: clamp(2rem, 7vw, 3.5rem);
        letter-spacing: 0.35em;
        padding: 0.75rem 1rem 0.75rem calc(1rem + 0.35em);
    }

    .hero {
        padding: 0 1rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        padding: 0 1.5rem;
    }

    .btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .about-content {
        max-width: none;
        padding: 3rem 1.5rem;
    }

    .about-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .landing-footer {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }

    .footer-sep { display: none; }
}

/* Fine-tune for very small screens (iPhone SE) */
@media (max-width: 375px) {
    .wordmark {
        font-size: 1.8rem;
        letter-spacing: 0.25em;
        padding: 0.5rem 0.75rem 0.5rem calc(0.75rem + 0.25em);
    }

    #hero-animation {
        width: min(240px, 60vw);
        height: min(240px, 60vw);
    }
}
