/* =========================================================
   Condarp Industries — Unified Stylesheet (Cleaned)
   ========================================================= */

/* ---------- Color System ---------- */
:root {
    --bg: #070b12;
    --panel: #0e1420;
    --ink: #cdd6e9;
    --muted: #97a6c9;
    --brand: #4fd1c5;
    --brand2: #7aa2ff;
    --accent: #9bff8b;
    --danger: #ff7aa2;
    --grid: rgba(124, 143, 203, 0.08);
}

/* ---------- Reset & Base ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    height: 100%;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, Noto Sans, Arial, sans-serif;
    overflow-x: hidden;
}

/* ---------- Layout Helpers ---------- */
.container {
    width: min(1200px, 92vw);
    margin-inline: auto;
}

section {
    padding: 80px 0;
    scroll-margin-top: 100px;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.1;
    color: var(--ink);
}

h1 {
    font-size: clamp(34px, 4.8vw, 72px);
    margin: 10px 0 12px;
    letter-spacing: 0.02em;
}

h2 {
    font-size: clamp(24px, 3vw, 40px);
    margin-bottom: 12px;
}

h3 {
    font-size: 20px;
}

p {
    margin-bottom: 1em;
}

.lead {
    color: var(--muted);
    max-width: 820px;
}

/* ---------- Links ---------- */
a {
    color: var(--brand);
    text-decoration: none;
    transition: opacity 0.25s ease;
}

a:hover {
    opacity: 0.85;
}

/* ---------- Buttons ---------- */
.btn, .big-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    font-weight: 700;
    border-radius: 12px;
    position: relative;
}

.big-btn {
    padding: 12px 20px;
    border: 2px solid var(--accent);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(79,209,197,0.3), rgba(79,209,197,0.15));
    color: #071015;
    font-size: 15px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 14px rgba(79,209,197,0.25), inset 0 0 0 1px rgba(255,255,255,0.1);
}

.big-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79,209,197,0.35);
}

.btn {
    padding: 12px 16px;
    border: 2px solid var(--accent);
    background: linear-gradient(180deg, rgba(79,209,197,0.25), rgba(79,209,197,0.1));
    color: var(--ink);
}

.btn .glow {
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: conic-gradient(
            from 0deg,
            rgba(79,209,197,0.5),
            rgba(122,162,255,0.5),
            rgba(155,255,139,0.5),
            rgba(79,209,197,0.5)
    );
    filter: blur(16px);
    opacity: 0.35;
    z-index: -1;
}

.ghost {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    color: var(--ink);
}

.pill {
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.06);
}

.cta {
    border-color: rgba(79,209,197,0.45);
    box-shadow: 0 0 0 0 rgba(79,209,197,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79,209,197,0.2);
}

/* ---------- UI Tokens ---------- */
.chip {
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    font-size: 12px;
    color: var(--muted);
}

.tag {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- KPI & Grid Helpers ---------- */
.grid {
    display: grid;
    gap: 3px;
}

.kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.kpi {
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kpi .num {
    font-size: 28px;
    font-weight: 800;
}

.kpi .cap {
    font-size: 12px;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
}

/* ---------- Animations ---------- */
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.7s ease;
}

.reveal.on {
    opacity: 1;
    transform: none;
}

/* ---------- Header & Navigation ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: linear-gradient(180deg, rgba(7,11,18,0.8), rgba(7,11,18,0.3));
    border-bottom: 1px solid rgba(255,255,255,0.06);
    isolation: isolate;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-mark {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 0 8px rgba(79,209,197,0.4));
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
}

.nav-links a {
    color: var(--ink);
    opacity: 0.9;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--brand);
}

header a.active {
    color: var(--brand);
    text-shadow: 0 0 8px var(--brand);
}

/* ---------- Hero Section (Main Page) ---------- */
.hero {
    position: relative;
    padding: 8vh 0 6vh;
}

.h-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 40%, transparent 80%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.sub {
    color: var(--muted);
    font-size: clamp(15px, 1.2vw, 18px);
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}
/* =========================================================
   Mainpage Section Layouts — Horizontal Modules
   ========================================================= */

/* Default horizontal layout for all major homepage sections */
#products .grid,
#platform .grid,
#contact .grid,
#signals .grid,
#announcements .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-top: 12px;
}

/* Contact section (form + details) usually 2 columns */
#contact .grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
#press .press {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 22px;
}

/* Individual announcement cards */
#press .item {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

/* Responsive collapse for mobile */
@media (max-width: 980px) {
    #products .grid,
    #platform .grid,
    #contact .grid,
    #signals .grid,
    #press .grid,
    #announcements .grid {
        grid-template-columns: 1fr;
    }
}


/* Radar Component */
.radar {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background:
            radial-gradient(circle at 50% 50%, rgba(122,162,255,0.18), rgba(255,255,255,0) 55%),
            linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.radar svg {
    position: absolute;
    inset: 0;
}

/* Responsive tweak for hero grid */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
}

/* ---------- Footer ---------- */
footer {
    padding: 60px 0 100px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.02));
}

.cols {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
    gap: 30px;
}

.cols strong {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
}

/* ---------- Card Component ---------- */
.card {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    position: relative;
}

.card .title {
    font-size: 20px;
    font-weight: 800;
}

.card .desc {
    color: var(--muted);
    font-size: 0.9rem;
}

.card .meta {
    margin-top: auto;
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
}

.pulse {
    position: absolute;
    right: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(79,209,197,0.35), transparent 60%);
    filter: blur(12px);
    opacity: 0.4;
}

/* ---------- Modal ---------- */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--panel);
    padding: 24px 32px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    position: relative;
}

.modal-content h2 {
    color: var(--brand2);
}

.modal .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    color: var(--ink);
    cursor: pointer;
}

.modal-content form {
    text-align: left;
    margin-top: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-field span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.form-field input {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    color: var(--ink);
    font-size: 0.95rem;
}

.form-field input:focus {
    outline: 2px solid rgba(79,209,197,0.45);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.status-message {
    margin-top: 16px;
    min-height: 20px;
    color: var(--muted);
    font-size: 0.9rem;
}

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

/* ---------- Leadership Page ---------- */
.leadership-hero {
    text-align: center;
    padding: 80px 20px 60px;
}

.leadership-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 10px;
}

.leadership-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.leadership-grid {
    padding: 40px 20px 100px;
}

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

.leader-card {
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(79, 209, 197, 0.35);
}

.leader-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.02); /* optional subtle background */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* visual separator */
    padding: 8px; /* avoids touching edges */
}

.leader-card .name {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 14px 0 6px;
}

.leader-card .role {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.leader-card .bio {
    color: var(--muted);
    font-size: 0.85rem;
    padding: 0 12px 16px;
}

/* ---------- Careers Page ---------- */
.careers-hero {
    text-align: center;
    padding: 100px 20px 60px;
}

.careers-hero .container {
    width: min(760px, 92vw);
}

.careers-title {
    font-size: clamp(36px, 5vw, 60px);
    margin-bottom: 8px;
}

.careers-title2 {
    font-size: clamp(24px, 3.2vw, 34px);
    color: var(--brand2);
    margin-bottom: 10px;
}

.careers-subtitle {
    color: var(--muted);
    margin: 0 auto 28px;
    max-width: 720px;
    font-size: 1rem;
}

.careers-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn.btn-secondary {
    border-color: rgba(255,255,255,0.12);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
    color: var(--ink);
}

.careers-culture .container,
.careers-openings .container,
.careers-benefits .container,
.careers-cta .container {
    width: min(960px, 92vw);
}

.careers-culture {
    padding: 60px 0;
}

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

.value-card {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    padding: 20px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.value-card h3 {
    font-size: 1.1rem;
}

.value-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

.careers-openings {
    padding: 60px 0;
}

.roles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.role-card {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.role-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0 0;
    background: transparent; /* eliminate any hidden gradient */
    justify-content: center; /* center contents horizontally */
}

.role-header h3 {
    font-size: 1.2rem;
}

.role-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--muted);
}

.role-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.role-footer {
    margin-top: auto;
    padding: 16px 0 0;
    background: transparent; /* eliminate any hidden gradient */
    display: flex;
    justify-content: center; /* center contents horizontally */
}

.apply-btn {
    width: fit-content;
}

.careers-benefits {
    padding: 60px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.benefit-card {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefit-card h3 {
    font-size: 1.05rem;
}

.benefit-card p {
    color: var(--muted);
    font-size: 0.92rem;
}

.careers-cta {
    padding: 60px 0 120px;
    text-align: center;
}

.careers-cta p {
    max-width: 600px;
    margin: 16px auto 24px;
    color: var(--muted);
}

@media (max-width: 640px) {
    .roles-list {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .role-card {
        padding: 20px;
    }
}


/* ---------- Conference Page ---------- */
.conference-hero {
    text-align: center;
    padding: 80px 20px 60px;
}

.conference-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    margin-bottom: 10px;
}

.conference-subtitle {
    color: var(--muted);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.conference-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}


.carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 30px;
}

.track {
    display: flex;
    gap: 20px;
    animation: scroll 45s linear infinite;
}

#intro {
    text-align: center;
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

#intro h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

#intro .lead {
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 24px;
}

/* --- Agenda Section Centering --- */
#agenda {
    text-align: center;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#agenda h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

#agenda .lead {
    max-width: 750px;
    margin: 0 auto 30px;
    color: var(--muted);
}

/* --- Fix Carousel Layout and Image Sizes --- */
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.track {
    display: flex;
    gap: 24px;
    animation: scroll 45s linear infinite;
    will-change: transform;
}

/* Standardize card size */
#agenda .card {
    flex: 0 0 300px;
    max-width: 300px;
    min-height: 400px;
    background: var(--panel);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#agenda .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(79,209,197,0.35);
}

/* Normalize images */
#agenda .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Loop illusion: duplicate content if needed */
.track::after {
    content: '';
    display: flex;
    width: 100%;
}

/* --- Mobile Layout --- */
@media (max-width: 980px) {
    #agenda .track {
        flex-direction: column;
        align-items: center;
        animation: none;
    }

    #agenda .card {
        width: 90%;
        max-width: 360px;
        min-height: auto;
    }
}

/* ---------- Utilities ---------- */
.tiny {
    color: var(--muted);
    font-size: 12px;
}

#bgCanvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: transparent;
}

body > * {
    position: relative;
    z-index: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .kpis {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-inner,
    .cols {
        grid-template-columns: 1fr;
    }

    .press {
        grid-template-columns: 1fr;
    }

    #contact .grid,
    #products .grid,
    #platform .grid {
        grid-template-columns: 1fr;
    }
}

#trusted {
    max-width: 90%;                  /* slightly inset, not full-bleed */
    overflow: hidden;
}

.marquee {
    position: relative;
    overflow: hidden;
    height: 32px;                    /* shorter height */
    line-height: 32px;               /* vertically centers text */
}

.marquee .track {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: marquee-scroll 55s linear infinite;
}

.logoish {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--muted);
    text-transform: uppercase;
    opacity: 0.75;
    text-align: center;
    text-shadow: 0 0 4px rgba(79, 209, 197, 0.25);
}
.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

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

/* Responsive fine-tuning */
@media (max-width: 768px) {
    #trusted {
        margin: 40px auto 30px;
        max-width: 95%;
    }
    .logoish {
        font-size: 0.8rem;
        letter-spacing: 0.1em;
    }
    .marquee .track {
        gap: 30px;
        animation-duration: 70s;
    }
}
/* ===============================
   Hamburger Button — Reset & Shape Fix
   =============================== */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;

    width: 40px;
    height: 32px;

    background: #0e1420; /* solid dark background */
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px; /* not circular */
    padding: 6px;
    cursor: pointer;

    /* Make sure no global styles leak in */
    box-shadow: none;
    text-decoration: none;
    color: inherit;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* --- Toggle Animation --- */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
/* --- Hard override: make hamburger fully opaque and above all --- */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    isolation: isolate; /* 🔑 stops backdrop blending */
}

/* --- Mobile layout --- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 40px;
        height: 32px;
        background: #0e1420;
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 8px;
        cursor: pointer;
    }

    .hamburger span {
        width: 100%;
        height: 3px;
        background: #ffffff;
        border-radius: 2px;
        transition: 0.3s ease;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: 0;
        width: 240px;
        background: rgba(7, 11, 18, 0.98);
        border-left: 1px solid rgba(255,255,255,0.08);
        border-top: 1px solid rgba(255,255,255,0.08);
        border-radius: 0 0 0 14px;
        flex-direction: column;
        gap: 14px;
        padding: 24px;
        display: none;
    }

    .nav-links.show {
        display: flex;
    }
}
@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}