/* ============================================
   LOKSETU — REVAMPED
   Aesthetic: Editorial Tricolor — Bold & Sovereign
   ============================================ */

:root {
    --saffron: #FF9933;
    --saffron-light: #FFB366;
    --saffron-dim: rgba(255,153,51,0.12);
    --emerald: #138808;
    --emerald-light: #22c55e;
    --emerald-dim: rgba(19,136,8,0.08);
    --navy: #000080;
    --navy-mid: #0000cc;
    --navy-dim: rgba(0,0,128,0.08);
    --white: #ffffff;
    --off-white: #fafaf8;
    --paper: #f5f3ef;
    --ink: #0f0f0f;
    --ink-mid: #2d2d2d;
    --ink-soft: #5a5a6a;
    --border: rgba(0,0,0,0.07);
    --nav-h: 72px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Sora', sans-serif;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
ul { list-style: none; }
a { text-decoration: none; transition: all 0.25s; }
img { display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 110px 0; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0,0,0,0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    flex-shrink: 0;
}
.logo-mark {
    display: flex;
    flex-direction: column;
    width: 18px;
    gap: 3px;
}
.logo-mark.sm { width: 14px; gap: 2px; }
.logo-mark span {
    display: block;
    height: 5px;
    border-radius: 2px;
}
.logo-mark.sm span { height: 4px; }
.lm-s { background: var(--saffron); }
.lm-w { background: #e5e5e5; }
.lm-g { background: var(--emerald); }
.logo-name {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--navy);
    letter-spacing: -0.5px;
    display: block;
    line-height: 1;
}
.logo-tagline {
    font-size: 0.6rem;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-top: 3px;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 36px;
    align-items: center;
}
.nav-item {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink-mid);
    position: relative;
    padding: 4px 0;
}
.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--saffron);
    border-radius: 1px;
    transition: width 0.3s;
}
.nav-item:hover::after,
.nav-item.active::after { width: 100%; }
.nav-item.active { color: var(--navy); }

/* Nav Right */
.nav-right { display: flex; align-items: center; gap: 16px; }
.github-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: white;
    padding: 9px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: background 0.25s, transform 0.2s;
}
.github-btn:hover {
    background: var(--saffron);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: saturate(0.6);
}
.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(0,0,128,0.6) 0%, transparent 60%),
        linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 40%);
    z-index: 2;
}
.tricolor-stripe {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 6px;
    display: flex;
    z-index: 10;
}
.tc-saffron, .tc-white, .tc-green {
    flex: 1;
}
.tc-saffron { background: var(--saffron); }
.tc-white { background: white; }
.tc-green { background: var(--emerald); }

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    padding-top: var(--nav-h);
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.75);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 28px;
}
.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--saffron);
    box-shadow: 0 0 0 3px rgba(255,153,51,0.3);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(255,153,51,0.3); }
    50% { box-shadow: 0 0 0 6px rgba(255,153,51,0.15); }
}

.hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -3px;
    color: white;
    margin-bottom: 32px;
}
.hero-em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--saffron-light);
    letter-spacing: -2px;
}
.hero-word {
    color: white;
    -webkit-text-stroke: 1px rgba(255,255,255,0.4);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 44px;
    font-weight: 300;
}
.hero-desc strong { color: white; font-weight: 600; }

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--saffron);
    color: white;
    padding: 15px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    box-shadow: 0 4px 20px rgba(255,153,51,0.4);
}
.btn-primary:hover {
    background: #e88800;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,153,51,0.5);
}
.btn-primary i { font-size: 0.85rem; transition: transform 0.2s; }
.btn-primary:hover i { transform: translateX(3px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    color: white;
    padding: 14px 30px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.35);
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(6px);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.6);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-bottom: 15px;
}
.hstat { text-align: left; }
.hstat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 4px;
}
.hstat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.hstat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

/* Scroll cue */
.scroll-cue {
    position: absolute;
    bottom: 48px;
    right: 48px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    writing-mode: vertical-rl;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ============================================
   SECTION LABELS & HEADERS
   ============================================ */
.section-label {
    margin-bottom: 20px;
}
.section-label span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--saffron);
    font-weight: 700;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--ink);
    margin-bottom: 20px;
}
.section-title em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -1px;
}

.section-header { max-width: 560px; margin-bottom: 60px; }
.section-header.centered { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-sub {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
}


/* ============================================
   MISSION
   ============================================ */
.mission-section { background: var(--off-white); }

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mission-card {
    background: white;
    border-radius: 16px;
    padding: 36px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.07);
}
.mc-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: rgba(0,0,0,0.2);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
}
.mc-icon {
    font-size: 1.5rem;
    color: var(--accent, var(--navy));
    margin-bottom: 20px;
}
.mission-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.mission-card p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.7;
}
.mc-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 0;
}


/* ============================================
   PANELS
   ============================================ */
.panels-section { background: white; }

.panels-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.panel-card {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.35s, box-shadow 0.35s;
    background: white;
}
.panel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.panel-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.panel-card:hover .panel-img { transform: scale(1.05); }
.panel-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.5) 100%);
}
.panel-img-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--saffron);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 50px;
}
.admin-badge { background: var(--emerald); }

.panel-body {
    padding: 28px 30px 32px;
}
.panel-body h3 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}
.panel-body p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 20px;
}
.panel-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.panel-features li {
    font-size: 0.82rem;
    color: var(--ink-mid);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.panel-features i {
    font-size: 0.7rem;
    color: var(--emerald);
    background: var(--emerald-dim);
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.voter-panel .panel-features i { color: var(--saffron); background: var(--saffron-dim); }

.panel-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: background 0.25s, transform 0.2s;
}
.voter-btn {
    background: var(--saffron-dim);
    color: var(--saffron);
}
.voter-btn:hover {
    background: var(--saffron);
    color: white;
    transform: translateX(2px);
}
.admin-btn {
    background: var(--emerald-dim);
    color: var(--emerald);
}
.admin-btn:hover {
    background: var(--emerald);
    color: white;
    transform: translateX(2px);
}


/* ============================================
   GHOST / SECURITY
   ============================================ */
.ghost-section { background: var(--paper); }

.ghost-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.lead-text {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--ink-mid);
    line-height: 1.5;
    margin-bottom: 36px;
    letter-spacing: -0.3px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.check-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.check-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.check-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: -0.2px;
}
.check-item p {
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.65;
}

/* Security Card */
.security-card {
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.sc-header {
    padding: 18px 24px;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.875rem;
}
.sc-header i { color: var(--navy); font-size: 1rem; }
.sc-live {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--emerald);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--emerald);
    animation: pulse 2s infinite;
}
.sc-stats {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sc-stat {}
.sc-big {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 4px;
}
.sc-stat p {
    font-size: 0.78rem;
    color: var(--ink-soft);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.sc-progress {
    height: 5px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}
.sc-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.5s ease;
}
.animated-fill { width: 0 !important; }
.animated-fill.revealed { width: var(--target-width) !important; }
.sc-shield {
    position: relative;
    height: 180px;
    overflow: hidden;
}
.sc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.5);
}
.sc-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,128,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.sc-img-overlay i { font-size: 2rem; color: rgba(255,255,255,0.9); }


/* ============================================
   FEASIBILITY / SCALE
   ============================================ */
.feasibility-section { background: white; }
.feasibility-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.scale-card {
    background: var(--ink);
    border-radius: 20px;
    padding: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}
.scale-card .sc-header {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white;
}
.scale-card .sc-header i { color: var(--saffron); }
.load-bars {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.load-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.load-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    width: 100px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.load-track {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}
.load-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 1.5s ease;
}
.saffron-bar { background: var(--saffron); }
.green-bar { background: var(--emerald-light); }
.navy-bar { background: #6699ff; }
.load-pct {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    font-family: 'JetBrains Mono', monospace;
    width: 36px;
    text-align: right;
    flex-shrink: 0;
}
.kafka-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,153,51,0.15);
    color: var(--saffron-light);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,153,51,0.25);
    margin-bottom: 20px;
}
.kafka-badge i { font-size: 0.8rem; }
.scale-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    filter: saturate(0.3) brightness(0.5);
}


/* ============================================
   TECH STACK
   ============================================ */
.tech-section { background: var(--off-white); }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tech-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.07);
}
.tech-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: rgba(0,0,0,0.2);
    font-weight: 700;
    margin-bottom: 16px;
}
.tech-icon-wrap {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.navy-icon { background: var(--navy-dim); color: var(--navy); }
.saffron-icon { background: var(--saffron-dim); color: var(--saffron); }
.green-icon { background: var(--emerald-dim); color: var(--emerald); }
.tech-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}
.tech-card p {
    font-size: 0.85rem;
    color: var(--ink-soft);
    line-height: 1.65;
    margin-bottom: 16px;
}
.tech-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--paper);
    color: var(--ink-soft);
}


/* ============================================
   TEAM
   ============================================ */
.team-section { background: var(--ink); }

.team-inner {
    display: grid;
    grid-template-columns: 8px 1fr;
    gap: 60px;
    align-items: center;
    border-radius: 24px;
    overflow: hidden;
    padding: 80px;
    background: linear-gradient(135deg, #0a0a1a 0%, #0f1628 100%);
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
}
.team-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(0,0,128,0.3) 0%, transparent 60%);
}

.team-flag-stripe {
    display: flex;
    flex-direction: column;
    height: 120px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    align-self: center;
    position: relative;
    z-index: 1;
}
.tf-saffron, .tf-white, .tf-green {
    flex: 1;
}
.tf-saffron { background: var(--saffron); }
.tf-white { background: white; display: flex; align-items: center; justify-content: center; }
.tf-green { background: var(--emerald); }
.ashoka-chakra {
    color: var(--navy);
    font-size: 0.6rem;
    opacity: 0.7;
}

.team-content {
    position: relative;
    z-index: 1;
}
.team-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--saffron);
    font-weight: 700;
    margin-bottom: 16px;
}
.team-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    color: white;
    margin-bottom: 12px;
    line-height: 1.1;
}
.team-title em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--saffron-light);
}
.team-subtitle {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
    font-weight: 400;
}
.team-names {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 0;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}
.name-sep { color: var(--saffron); margin: 0 12px; }
.team-event {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--off-white);
    padding: 32px 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--navy);
}
.footer-copy {
    font-size: 0.8rem;
    color: var(--ink-soft);
}
.footer-gh {
    font-size: 1.3rem;
    color: var(--ink-soft);
    transition: color 0.25s;
}
.footer-gh:hover { color: var(--navy); }


/* ============================================
   ANIMATIONS
   ============================================ */
.hidden-el {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.hidden-el.show {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger delays */
.mission-card:nth-child(2).hidden-el { transition-delay: 0.1s; }
.mission-card:nth-child(3).hidden-el { transition-delay: 0.2s; }
.tech-card:nth-child(2).hidden-el { transition-delay: 0.06s; }
.tech-card:nth-child(3).hidden-el { transition-delay: 0.12s; }
.tech-card:nth-child(4).hidden-el { transition-delay: 0.18s; }
.tech-card:nth-child(5).hidden-el { transition-delay: 0.24s; }
.tech-card:nth-child(6).hidden-el { transition-delay: 0.30s; }
.admin-panel.hidden-el { transition-delay: 0.12s; }


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .mission-grid { grid-template-columns: 1fr; }
    .panels-grid { grid-template-columns: 1fr; }
    .ghost-split { grid-template-columns: 1fr; gap: 50px; }
    .feasibility-split { grid-template-columns: 1fr; gap: 50px; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .team-inner { padding: 50px 40px; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 32px 30px;
        gap: 20px;
        border-top: 1px solid var(--border);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }
    .nav-links.nav-open { display: flex; }
    .hamburger { display: flex; }
    .github-btn span { display: none; }
    .github-btn { padding: 9px 14px; }

    .hero-title { letter-spacing: -2px; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .hstat-divider { display: none; }
    .scroll-cue { display: none; }

    .section { padding: 72px 0; }
    .tech-grid { grid-template-columns: 1fr; }
    .team-inner { grid-template-columns: 1fr; gap: 30px; padding: 40px 24px; }
    .team-flag-stripe { width: 120px; height: 8px; flex-direction: row; }
    .ashoka-chakra { display: none; }
    .footer-inner { flex-direction: column; text-align: center; }
    .mission-grid { grid-template-columns: 1fr; }
}