/* ========================================
   AI-FOCUSED LIGHT THEME — AVANISH MISHRA
   Clean light bg · Blue accents · Neural aesthetic
   ======================================== */

/* ---------- DESIGN TOKENS ---------- */
:root {
    --bg-primary: #fafbfd;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-solid: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 102, 255, 0.10);
    --glass-hover: rgba(0, 102, 255, 0.04);

    --text-primary: #1b2a40;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --accent: #0066ff;
    --accent-dark: #0050cc;
    --accent-2: #3b82f6;
    --accent-3: #06b6d4;
    --accent-glow: rgba(0, 102, 255, 0.15);
    --accent-gradient: linear-gradient(135deg, #0066ff, #3b82f6);
    --accent-gradient-wide: linear-gradient(135deg, #0066ff, #3b82f6, #06b6d4);
    --accent-light: #e8f0ff;

    --neural-gradient: linear-gradient(135deg, #e8f0ff, #eef4ff, #f0f9ff);
    --hero-gradient: linear-gradient(180deg, #e8f0ff 0%, #fafbfd 40%, #ffffff 100%);

    --shadow-sm: 0 1px 3px rgba(27, 42, 64, 0.04);
    --shadow-md: 0 4px 20px rgba(27, 42, 64, 0.06);
    --shadow-lg: 0 12px 40px rgba(27, 42, 64, 0.08);
    --shadow-xl: 0 20px 60px rgba(0, 102, 255, 0.08);
    --shadow-card: 0 2px 16px rgba(27, 42, 64, 0.05);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

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

/* ---------- PARTICLE CANVAS ---------- */
#particleCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ---------- UTILITIES ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.glow-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--bg-card-solid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.glass-card:hover {
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.section {
    position: relative;
    z-index: 1;
    padding: 7rem 0;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
    background: var(--accent-light);
    padding: 0.35rem 1rem;
    border-radius: 50px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    margin-top: 0.75rem;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.7;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--accent-gradient);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid var(--glass-border);
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 102, 255, 0.04);
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.1);
}

/* ---------- NAVBAR ---------- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(250, 251, 253, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 102, 255, 0.06);
    transition: var(--transition);
}

#navbar.scrolled {
    padding: 0.7rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(27, 42, 64, 0.06);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.nav-logo .accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}


#navToggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

#navToggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(250, 251, 253, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

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

.mobile-nav a {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.mobile-nav a:hover {
    color: var(--accent);
}

/* ---------- HERO ---------- */
#hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7rem 2rem 4rem;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--hero-gradient);
}

.hero-title-block {
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-bottom {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-name {
    display: block;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-acronym {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin-top: 0.2rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-subname {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-secondary);
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-subname strong {
    color: var(--text-primary);
    font-weight: 700;
}

.hero-tagline {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 560px;
    margin-top: 1.2rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.5s both;
}

/* ---------- HERO RESEARCH PILLARS ---------- */
.hero-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.pillar {
    position: relative;
    text-align: center;
    padding: 1.4rem 0.8rem;
    border-radius: var(--radius-md);
    background: var(--bg-card-solid);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: default;
    overflow: hidden;
}

.pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pillar:hover::before {
    transform: scaleX(1);
}

.pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 102, 255, 0.2);
}

.pillar-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

.pillar h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.pillar p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: var(--transition);
    background: var(--bg-card-solid);
}

.hero-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.12);
    transform: translateY(-2px);
}

.hero-social svg {
    width: 18px;
    height: 18px;
}

/* AI Neural Orb — Light Blue Theme */
.hero-visual {
    flex: 0 0 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.2s ease 0.5s both;
}

.quantum-orb {
    position: relative;
    width: 320px;
    height: 320px;
}

.orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: var(--accent-gradient);
    box-shadow: 0 0 50px rgba(0, 102, 255, 0.25), 0 0 100px rgba(59, 130, 246, 0.12);
    animation: pulse 3s ease-in-out infinite;
}

.orb-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1.5px solid rgba(0, 102, 255, 0.18);
    border-radius: 50%;
}

.ring-1 {
    width: 180px;
    height: 180px;
    margin: -90px 0 0 -90px;
    animation: orbit 8s linear infinite;
    border-style: dashed;
}

.ring-1::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent);
}

.ring-2 {
    width: 260px;
    height: 260px;
    margin: -130px 0 0 -130px;
    transform: rotateX(60deg);
    animation: orbit 12s linear infinite reverse;
    border-color: rgba(59, 130, 246, 0.15);
}

.ring-2::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--accent-2);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-2);
}

.ring-3 {
    width: 320px;
    height: 320px;
    margin: -160px 0 0 -160px;
    transform: rotateY(60deg);
    animation: orbit 16s linear infinite;
    border-color: rgba(6, 182, 212, 0.15);
    border-style: dashed;
}

.ring-3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 30%;
    width: 7px;
    height: 7px;
    background: var(--accent-3);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 0.8s ease 1s both;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ---------- ABOUT ---------- */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-lead {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
}

.about-lead strong {
    color: var(--text-primary);
}

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

.about-text strong {
    color: var(--text-primary);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.highlight-card {
    background: var(--bg-card-solid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.8rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.highlight-card:hover {
    border-color: rgba(0, 102, 255, 0.25);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.highlight-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.highlight-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.highlight-card .subtle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* ---------- AI METHODOLOGY BANNER ---------- */
.ai-method-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--neural-gradient);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.ai-method-item {
    text-align: center;
    padding: 1.5rem 1rem;
}

.ai-method-item .method-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.ai-method-item h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.ai-method-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ---------- RESEARCH CARDS ---------- */
.research-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.research-grid .research-card:nth-child(1),
.research-grid .research-card:nth-child(2),
.research-grid .research-card:nth-child(3) {
    grid-column: span 2;
}

/* Center the last 2 cards */
.research-grid .research-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.research-grid .research-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.research-card {
    position: relative;
    background: var(--bg-card-solid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    overflow: hidden;
    transition: var(--transition);
    cursor: default;
    box-shadow: var(--shadow-sm);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 102, 255, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.research-card:hover .card-glow {
    opacity: 1;
}

.research-card:hover {
    border-color: rgba(0, 102, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* First card (AI) gets special emphasis */
.research-card:first-child {
    border-color: rgba(0, 102, 255, 0.15);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02), rgba(59, 130, 246, 0.02));
}

.research-card:first-child .card-icon {
    background: var(--accent-gradient);
    color: white;
    padding: 10px;
    border-radius: 14px;
    width: 52px;
    height: 52px;
}

.card-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.research-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.research-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.2rem;
}

.card-tags span {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid rgba(0, 102, 255, 0.12);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.card-cta {
    display: block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    opacity: 0;
    transform: translateY(4px);
    transition: var(--transition);
}

.research-card:hover .card-cta {
    opacity: 1;
    transform: translateY(0);
}

.research-card[data-modal] {
    cursor: pointer;
}

/* ---------- RESEARCH MODALS ---------- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(27, 42, 64, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 3rem;
    border-radius: var(--radius-lg);
    background: var(--bg-card-solid);
    box-shadow: var(--shadow-xl);
    animation: modalIn 0.35s ease;
}

.modal-content:hover {
    transform: none;
    box-shadow: 0 20px 80px rgba(0, 102, 255, 0.12);
}

.modal-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 1.5rem 0 0.75rem;
    color: var(--accent);
}

.modal-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.modal-content ul {
    padding-left: 0;
    margin-bottom: 1rem;
}

.modal-content li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 0.4rem 0 0.4rem 1.4rem;
    position: relative;
}

.modal-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.modal-content li strong {
    color: var(--text-primary);
}

.modal-content .btn-primary {
    margin-top: 1.5rem;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
    z-index: 1;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--accent);
    background: var(--accent-light);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---------- IMPACT & TIMELINE ---------- */
.impact-banner {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    background: var(--neural-gradient);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    margin-bottom: 4rem;
}

.impact-stat {
    text-align: center;
}

.big-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.impact-stat span:last-child {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.impact-banner .btn-primary {
    margin-left: auto;
}

.timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline-track {
    position: absolute;
    top: 0;
    left: 7px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--accent-2), transparent);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -2.5rem;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.timeline-content {
    padding: 1.5rem 2rem;
}

.timeline-year {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 1px;
    font-weight: 500;
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.4rem 0;
    color: var(--text-primary);
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- SOFTWARE ---------- */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.software-card {
    padding: 2rem;
    display: block;
    background: var(--bg-card-solid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.software-card:hover {
    border-color: rgba(0, 102, 255, 0.25);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.software-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.software-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.software-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 1rem;
    letter-spacing: 0.5px;
    background: var(--accent-light);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

/* ---------- GROUP ---------- */
.group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.group-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card-solid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.group-card:hover {
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.group-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: #ffffff;
    flex-shrink: 0;
}

.pi-card {
    border-color: rgba(0, 102, 255, 0.2);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02), rgba(59, 130, 246, 0.02));
}

.pi-avatar {
    width: 64px;
    height: 64px;
    font-size: 1.1rem;
    border-radius: 18px;
}

.group-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.group-role {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.5px;
    font-weight: 500;
}

.group-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ---------- OPENINGS ---------- */
.openings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.opening-card {
    padding: 2rem;
    background: var(--bg-card-solid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.opening-card:hover {
    border-color: rgba(0, 102, 255, 0.2);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.opening-level {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #ffffff;
    background: var(--accent-gradient);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(0, 102, 255, 0.3);
}

.opening-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.opening-card ul {
    padding-left: 0;
}

.opening-card li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.opening-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.opening-card li a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}

.opening-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
}

.openings-disclaimer {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2rem;
}

/* ---------- WHY JOIN CTA ---------- */
.join-cta {
    margin-top: 3rem;
    padding: 3rem;
    background: var(--neural-gradient);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    text-align: center;
}

.join-cta h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.join-cta p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

.join-perks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
    text-align: center;
}

.perk {
    padding: 1.2rem;
    background: var(--bg-card-solid);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.perk:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.perk-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.perk h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.perk p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    background: var(--bg-card-solid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    border-color: rgba(0, 102, 255, 0.25);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.contact-card svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-card span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---------- FOOTER ---------- */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    background: var(--bg-secondary);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

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

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ring-2 {
    animation-name: orbitX;
}

@keyframes orbitX {
    from {
        transform: rotateX(60deg) rotate(0deg);
    }

    to {
        transform: rotateX(60deg) rotate(-360deg);
    }
}

.ring-3 {
    animation-name: orbitY;
}

@keyframes orbitY {
    from {
        transform: rotateY(60deg) rotate(0deg);
    }

    to {
        transform: rotateY(60deg) rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 50px rgba(0, 102, 255, 0.25), 0 0 100px rgba(59, 130, 246, 0.12);
    }

    50% {
        box-shadow: 0 0 80px rgba(0, 102, 255, 0.35), 0 0 160px rgba(59, 130, 246, 0.2);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    #hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
        padding-bottom: 3rem;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        flex: none;
    }

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

    .hero-cta {
        justify-content: center;
    }

    .hero-social {
        justify-content: center;
    }

    .hero-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    /* Hide scroll indicator on mobile to prevent overlap with social icons */
    .scroll-indicator {
        display: none;
    }

    .quantum-orb {
        width: 220px;
        height: 220px;
    }

    .orb-core {
        width: 55px;
        height: 55px;
    }

    .ring-1 {
        width: 120px;
        height: 120px;
        margin: -60px 0 0 -60px;
    }

    .ring-2 {
        width: 170px;
        height: 170px;
        margin: -85px 0 0 -85px;
    }

    .ring-3 {
        width: 220px;
        height: 220px;
        margin: -110px 0 0 -110px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

    #navToggle {
        display: flex;
    }

    .impact-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }

    .impact-banner .btn-primary {
        margin-left: 0;
    }

    .section {
        padding: 5rem 0;
    }

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

    .hero-bottom {
        flex-direction: column;
        gap: 2rem;
    }

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

    /* Research grid: 2 columns on tablet instead of 6 */
    .research-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .research-grid .research-card:nth-child(1),
    .research-grid .research-card:nth-child(2),
    .research-grid .research-card:nth-child(3),
    .research-grid .research-card:nth-child(4),
    .research-grid .research-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .hero-name {
        font-size: 2rem;
    }

    .hero-pillars {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    /* Single column for research cards on phone */
    .research-grid {
        grid-template-columns: 1fr;
    }

    .research-grid .research-card:nth-child(1),
    .research-grid .research-card:nth-child(2),
    .research-grid .research-card:nth-child(3),
    .research-grid .research-card:nth-child(4),
    .research-grid .research-card:nth-child(5) {
        grid-column: auto;
    }

    .container {
        padding: 0 1.2rem;
    }

    .ai-method-banner {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .join-perks {
        grid-template-columns: 1fr;
    }

    /* About highlights: single column on phone */
    .about-highlights {
        grid-template-columns: 1fr;
    }
}