:root {
    --bg: #05060d;
    --panel: #0b0d18;
    --panel-2: #0f1222;
    --primary: #7df0ff;
    --accent: #ff6f61;
    --text: #e9ecf3;
    --muted: #9aa4b5;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --radius: 18px;
}

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

body {
    margin: 0;
    font-family: "Space Grotesk", "Manrope", system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(125, 240, 255, 0.08), transparent 30%),
        radial-gradient(circle at 80% 10%, rgba(255, 111, 97, 0.12), transparent 35%),
        linear-gradient(140deg, #04050c 0%, #060916 50%, #05060d 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: rgba(125, 240, 255, 0.25);
    color: var(--text);
}

.backdrop {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 15% 30%, rgba(125, 240, 255, 0.1), transparent 25%),
        radial-gradient(circle at 80% 50%, rgba(255, 111, 97, 0.08), transparent 30%);
    filter: blur(60px);
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 120px 120px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(circle at 50% 20%, black 0%, transparent 65%);
}

header.hero,
main,
.footer {
    position: relative;
    z-index: 1;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 32px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 14px;
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 6, 13, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.logo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--primary), var(--accent));
    box-shadow: 0 0 18px rgba(125, 240, 255, 0.7);
}

.logo-text {
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--text);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.95rem;
    transition: max-height 0.25s ease, opacity 0.25s ease;
}

.nav-links a {
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--muted);
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.nav-links .pill {
    background: rgba(125, 240, 255, 0.12);
    color: var(--text);
    border: 1px solid rgba(125, 240, 255, 0.3);
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 600;
    cursor: pointer;
}

.menu-icon {
    width: 16px;
    height: 2px;
    background: var(--text);
    position: relative;
    display: inline-block;
}

.menu-icon::before,
.menu-icon::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 2px;
    background: var(--text);
    left: 0;
}

.menu-icon::before {
    top: -5px;
}

.menu-icon::after {
    top: 5px;
}

.hero {
    padding: 30px 24px 40px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin: 14px 0;
}

.hero-copy .lead {
    color: var(--muted);
    max-width: 640px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text);
}

.cta-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 20px 0 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.btn.primary {
    background: linear-gradient(120deg, var(--primary), #82ffe9);
    color: #041017;
    box-shadow: 0 10px 35px rgba(125, 240, 255, 0.35);
}

.btn.primary:hover {
    transform: translateY(-1px);
}

.btn.ghost {
    border: 1px solid var(--border);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
}

.btn.ghost:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.meta-label {
    color: var(--muted);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-visual {
    position: relative;
    display: grid;
    gap: 16px;
}

.floating-card {
    background: linear-gradient(145deg, var(--panel), var(--panel-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.green {
    background: #7df0ff;
    box-shadow: 0 0 12px rgba(125, 240, 255, 0.8);
}

.dot.amber {
    background: #f9d65c;
}

.dot.red {
    background: #ff6f61;
}

.card-body {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.card-body-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    align-items: flex-start;
    gap: 12px;
}

.stat .card-title {
    margin: 2px 0;
}

.stat .card-sub {
    margin: 0;
}

.pulse {
    position: relative;
    width: 70px;
    height: 70px;
}

.pulse span {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(125, 240, 255, 0.4);
    animation: pulse 3s infinite;
}

.pulse span:nth-child(2) {
    animation-delay: 0.6s;
}

.pulse span:nth-child(3) {
    animation-delay: 1.2s;
}

@keyframes pulse {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.card-text .eyebrow {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.card-title {
    margin: 4px 0;
    font-weight: 700;
}

.card-sub {
    color: var(--muted);
    margin: 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.song {
    font-weight: 600;
    margin: 0;
}

.tiny {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0;
}

.hero-image {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 24px 60px;
}

.section-head {
    max-width: 720px;
}

.eyebrow {
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin: 0 0 6px;
}

.section h2 {
    margin: 0 0 12px;
    line-height: 1.2;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.section-lead {
    color: var(--muted);
    margin: 0 0 24px;
}

.muted {
    color: var(--muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(125, 240, 255, 0.25);
}

.card h3 {
    margin: 10px 0 8px;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.icon {
    font-size: 1.4rem;
    background: rgba(125, 240, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 20px 0;
}

.step {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(125, 240, 255, 0.1);
    border: 1px solid rgba(125, 240, 255, 0.3);
    color: var(--text);
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-inline {
    margin-top: 16px;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(120deg, rgba(255, 111, 97, 0.18), rgba(125, 240, 255, 0.12));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.gallery-frame {
    background: var(--panel-2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px;
    box-shadow: var(--shadow);
    --gallery-height: clamp(280px, 55vw, 520px);
}

.gallery-track {
    position: relative;
    overflow: hidden;
    min-height: var(--gallery-height);
    height: var(--gallery-height);
    border-radius: var(--radius);
}

.gallery-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.gallery-slide.active {
    opacity: 1;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    gap: 10px;
}

.gallery-controls button {
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    cursor: pointer;
    transition: transform 0.2s ease, border 0.2s ease;
}

.gallery-controls button:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 240, 255, 0.2);
}

.dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex: 1;
}

.dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid transparent;
    padding: 0;
}

.dots button.active {
    background: var(--primary);
    box-shadow: 0 0 12px rgba(125, 240, 255, 0.7);
}

.gallery-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gallery-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.gallery-row-reverse {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.gallery-frame.tablet {
    --gallery-height: clamp(320px, 48vw, 520px);
}

.gallery-frame.phone {
    --gallery-height: clamp(360px, 70vw, 620px);
}

.gallery-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.chip {
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(125, 240, 255, 0.14);
    border: 1px solid rgba(125, 240, 255, 0.35);
    font-weight: 600;
    align-self: flex-start;
}

.chip.accent {
    background: rgba(255, 111, 97, 0.14);
    border-color: rgba(255, 111, 97, 0.4);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.detail-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
}

.detail-card ul {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.5;
}

.detail-card li {
    margin-bottom: 6px;
}

.gallery-tabs {
    display: flex;
    gap: 10px;
    margin: 12px 0 6px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.tab-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 240, 255, 0.2);
}

.tab-btn.active {
    background: linear-gradient(120deg, var(--primary), #82ffe9);
    color: #041017;
    border-color: rgba(125, 240, 255, 0.4);
    box-shadow: 0 8px 24px rgba(125, 240, 255, 0.35);
}

.hidden {
    display: none !important;
}

.cta {
    padding-bottom: 80px;
}

.cta-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    background: linear-gradient(145deg, rgba(125, 240, 255, 0.16), rgba(255, 111, 97, 0.22));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.cta-card p {
    margin: 0 0 10px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 20px 24px 32px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer a {
    color: var(--muted);
}

@media (max-width: 900px) {
    .nav {
        flex-wrap: wrap;
        align-items: center;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .nav-links {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 0 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 12px;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

    .card-footer {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .nav {
        padding: 18px 16px;
    }

    .hero {
        padding: 24px 16px 36px;
    }

    .section {
        padding: 32px 16px 48px;
    }

    .gallery-frame {
        --gallery-height: clamp(260px, 70vw, 480px);
    }

    .gallery-frame.phone {
        --gallery-height: clamp(300px, 80vw, 560px);
    }
    .gallery-row-reverse {
        grid-template-columns: 1fr;
    }
}
