* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #070b14;
    --bg-secondary: #0d1322;
    --card: #111827;
    --card-hover: #172033;
    --border: rgba(255, 255, 255, 0.09);

    --text: #f8fafc;
    --muted: #94a3b8;

    --accent: #8b5cf6;
    --accent-secondary: #06b6d4;

    --success: #22c55e;
    --warning: #f59e0b;

    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(139, 92, 246, 0.15),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 25%,
            rgba(6, 182, 212, 0.12),
            transparent 28%
        ),
        var(--bg);

    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 7%;

    background: rgba(7, 11, 20, 0.82);
    backdrop-filter: blur(16px);

    border-bottom: 1px solid var(--border);
}

.logo {
    color: var(--text);
    font-weight: 900;
    font-size: 1.2rem;
    cursor: pointer;
    user-select: none;

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: #a78bfa;
}

.site-header nav {
    display: flex;
    gap: 24px;
}

.site-header nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.site-header nav a:hover {
    color: var(--text);
    transform: translateY(-1px);
}

/* =========================================================
   Main
   ========================================================= */

main {
    width: min(1100px, 90%);
    margin: auto;
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
    min-height: 650px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 80px 0;
}

.eyebrow,
.section-label {
    color: #a78bfa;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    margin-top: 14px;

    max-width: 850px;

    font-size:
        clamp(3rem, 8vw, 6rem);

    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero h1 span {
    background:
        linear-gradient(
            90deg,
            #a78bfa,
            #22d3ee
        );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-text {
    max-width: 700px;
    margin-top: 28px;

    color: var(--muted);
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    display: inline-block;

    padding: 12px 20px;

    border-radius: 9px;

    text-decoration: none;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.primary-button {
    color: white;

    background:
        linear-gradient(
            135deg,
            #8b5cf6,
            #6366f1
        );

    box-shadow:
        0 10px 30px rgba(99, 102, 241, 0.25);
}

.secondary-button {
    color: var(--text);

    background: var(--card);
    border: 1px solid var(--border);
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-3px);
}

/* =========================================================
   Discovery Counter
   ========================================================= */

.discovery-card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 24px 28px;

    margin-bottom: 100px;

    background:
        linear-gradient(
            135deg,
            rgba(139, 92, 246, 0.13),
            rgba(6, 182, 212, 0.08)
        );

    border: 1px solid var(--border);
    border-radius: 16px;

    box-shadow: var(--shadow);
}

.discovery-card h2 {
    margin-top: 5px;
    font-size: 1.5rem;
}

.dolphin {
    font-size: 2.5rem;

    animation:
        dolphinFloat 3s ease-in-out infinite;
}

@keyframes dolphinFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* =========================================================
   Sections
   ========================================================= */

.section {
    padding: 90px 0;
}

.section h2 {
    margin-top: 8px;
    margin-bottom: 35px;

    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.04em;
}

.section > p:not(.section-label) {
    color: var(--muted);
}

/* =========================================================
   Project Cards
   ========================================================= */

.card-grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(250px, 1fr)
        );

    gap: 18px;
}

.project-card {
    padding: 28px;

    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;

    box-shadow: var(--shadow);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    background: var(--card-hover);
    border-color: rgba(139, 92, 246, 0.35);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 18px;
}

.project-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.project-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.project-card a {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.project-card a:hover {
    text-decoration: underline;
}

.coming-soon {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 600;
}

/* =========================================================
   Timeline
   ========================================================= */

.timeline {
    position: relative;

    margin-left: 12px;
    padding-left: 30px;

    border-left: 2px solid rgba(139, 92, 246, 0.3);
}

.timeline-item {
    position: relative;

    margin-bottom: 35px;
}

.timeline-item::before {
    content: "";

    position: absolute;

    left: -39px;
    top: 5px;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: #8b5cf6;

    box-shadow:
        0 0 0 5px rgba(139, 92, 246, 0.12);
}

.timeline-date {
    color: #a78bfa;

    font-size: 0.75rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.timeline-item h3 {
    margin-top: 4px;
    margin-bottom: 5px;
}

.timeline-item p {
    color: var(--muted);
    max-width: 700px;
}

/* =========================================================
   Easter Egg Terminal
   ========================================================= */

.secrets-section {
    text-align: left;
}

.secret-terminal {
    overflow: hidden;

    margin-top: 30px;

    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 12px;

    background: #020617;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45);
}

.terminal-header {
    display: flex;
    justify-content: space-between;

    padding: 10px 15px;

    color: #64748b;

    background: #0f172a;

    font-family: monospace;
    font-size: 0.75rem;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-body {
    padding: 25px;

    color: #4ade80;

    font-family:
        "Cascadia Code",
        "Fira Code",
        monospace;

    font-size: 0.85rem;
}

.secret-input-row {
    display: flex;
    gap: 10px;

    margin-top: 15px;
}

.secret-input-row input {
    flex: 1;

    min-width: 0;

    padding: 12px;

    color: #4ade80;
    background: #020617;

    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: 7px;

    outline: none;

    font-family: inherit;
}

.secret-input-row input:focus {
    border-color: #4ade80;

    box-shadow:
        0 0 0 3px rgba(74, 222, 128, 0.08);
}

.secret-input-row button {
    padding: 12px 18px;

    color: #020617;
    background: #4ade80;

    border: none;
    border-radius: 7px;

    font-weight: 800;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.secret-input-row button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

#secret-message {
    margin-top: 18px;

    min-height: 24px;

    color: #86efac;
}

.secret-pop {
    animation: secretPop 0.35s ease;
}

@keyframes secretPop {
    0% {
        transform: translateX(-8px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =========================================================
   Warning
   ========================================================= */

.warning-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;

    padding: 22px;

    background: rgba(245, 158, 11, 0.08);

    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
}

.warning-card > span {
    font-size: 1.5rem;
}

.warning-card h3 {
    margin-bottom: 5px;
}

.warning-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* =========================================================
   Footer
   ========================================================= */

footer {
    margin-top: 60px;
    padding: 50px 7%;

    text-align: center;

    color: var(--muted);

    border-top: 1px solid var(--border);
}

footer strong {
    color: var(--text);
    font-size: 1.1rem;
}

footer p {
    margin-top: 5px;
    font-size: 0.8rem;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 700px) {

    .site-header {
        flex-direction: column;
        gap: 14px;
        padding: 16px 5%;
    }

    .site-header nav {
        gap: 14px;
        flex-wrap: wrap;
        justify-content: center;
    }

    main {
        width: min(92%, 1100px);
    }

    .hero {
        min-height: 560px;
        padding: 60px 0;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 14vw, 4.5rem);
    }

    .hero-text {
        font-size: 1rem;
    }

    .section {
        padding: 65px 0;
    }

    .discovery-card {
        margin-bottom: 60px;
    }

    .secret-input-row {
        flex-direction: column;
    }

    .secret-input-row button {
        width: 100%;
    }
}