:root {
    --bg: #F6F8FC;
    --surface: #FFFFFF;

    --text: #152238;
    --muted: #667085;

    --primary: #0B1F3A;
    --blue: #2563EB;
    --teal: #14B8A6;
    --violet: #7C3AED;
    --gold: #D4A84F;

    --accent: #2563EB;

    --border: #E2E8F0;

    --gradient-main: linear-gradient(
        135deg,
        #2563EB,
        #14B8A6
    );

    --gradient-ai: linear-gradient(
        135deg,
        #2563EB,
        #7C3AED
    );
}

/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

.container {
    width: 90%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    min-height: 74px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);
    color: white;

    border-radius: 10px;

    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.brand-text strong {
    font-size: 1.05rem;
    color: var(--text);
}

.brand-text small {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--muted);
    transition: 0.25s ease;
}

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


/* =========================
   HERO
========================= */

.hero {
    min-height: calc(100vh - 74px);

    display: flex;
    align-items: center;

    background:
    radial-gradient(
        circle at 82% 20%,
        rgba(37, 99, 235, 0.17),
        transparent 27%
    ),
    radial-gradient(
        circle at 72% 75%,
        rgba(20, 184, 166, 0.10),
        transparent 30%
    ),
    radial-gradient(
        circle at 15% 80%,
        rgba(124, 58, 237, 0.07),
        transparent 25%
    ),
    linear-gradient(
        135deg,
        #FFFFFF 0%,
        #F5F8FF 50%,
        #F3FAFA 100%
    );
}

.hero-content {
    padding-top: 90px;
    padding-bottom: 100px;
}

.hero-label {
    color: var(--accent);

    font-size: 0.85rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 2.5px;

    margin-bottom: 22px;
}
.hero-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 14px;
}

.hero h1 span {
    display: block;

    background: linear-gradient(
        90deg,
        var(--blue),
        var(--teal),
        var(--violet)
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero-intro {
    max-width: 760px;

    font-size: 1.15rem;
    line-height: 1.8;

    color: var(--muted);

    margin-bottom: 22px;
}

.hero-role {
    font-size: 1rem;
    font-weight: 600;

    margin-bottom: 34px;
}


/* =========================
   BUTTONS
========================= */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-block;

    padding: 12px 22px;

    border-radius: 8px;

    font-size: 0.95rem;
    font-weight: 600;

    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 59, 103, 0.18);
}

.btn-secondary {
    background: white;
    color: var(--primary);

    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
/* =========================
   ABOUT PREVIEW
========================= */

.about-section {
    padding: 85px 0;
    background: #ffffff;
}

.about-preview {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 75px;
    align-items: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.15;
    letter-spacing: -1px;
}

.about-preview-content > p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
}

.about-highlights span {
    padding: 7px 12px;
    border-radius: 20px;

    background: linear-gradient(
        135deg,
        rgba(37, 99, 235, 0.08),
        rgba(20, 184, 166, 0.07)
    );

    color: var(--blue);
    border: 1px solid rgba(37, 99, 235, 0.10);

    font-size: 0.76rem;
    font-weight: 600;
}
/* =========================
   CURRENT FOCUS
========================= */

.focus-section {
    padding: 110px 0;
    background: var(--bg);
}

.focus-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.focus-heading h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.focus-intro {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

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

.focus-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 30px;
    transition: 0.3s ease;
}

.focus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(23, 59, 103, 0.08);
    border-color: rgba(23, 59, 103, 0.25);
}

.focus-number {
    display: block;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.focus-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.focus-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.96rem;
}
/* =========================
   RESEARCH
========================= */

.research-section {
    padding: 110px 0;
    background: #ffffff;
}

.research-heading {
    max-width: 800px;
    margin-bottom: 55px;
}

.research-heading h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.research-intro {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 760px;
}


/* Research Cards */

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.research-card {
    position: relative;
    padding: 38px;
    border-radius: 18px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: 0.3s ease;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(23, 59, 103, 0.08);
}

.research-established {
    background:
        linear-gradient(
            135deg,
            rgba(23, 59, 103, 0.06),
            #ffffff
        );
}

.research-developing {
    background:
        linear-gradient(
            135deg,
            rgba(47, 111, 143, 0.08),
            #ffffff
        );
}

.research-status {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 22px;
}

.research-card h3 {
    font-size: 1.45rem;
    margin-bottom: 16px;
}

.research-card p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 24px;
}


/* Research Tags */

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.research-tags span {
    background: rgba(37, 99, 235, 0.07);
    border: 1px solid rgba(37, 99, 235, 0.12);
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--blue);
    font-weight: 600;
}

.research-number {
    color: var(--teal);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Research Bridge */

.research-bridge {
    margin-top: 55px;
    display: grid;
    grid-template-columns: 4px 1fr;
    gap: 28px;
    max-width: 900px;
}

.bridge-line {
    background: linear-gradient(
        to bottom,
        var(--primary),
        var(--accent)
    );

    border-radius: 10px;
}

.bridge-content {
    padding: 10px 0;
}

.bridge-label {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.bridge-content h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.35;
    margin-bottom: 15px;
}

.bridge-content > p:last-child {
    color: var(--muted);
    line-height: 1.8;
}
/* =========================
   PROJECTS PREVIEW
========================= */

.projects-section {
    padding: 95px 0;
    background: linear-gradient(
        180deg,
        #F6F8FC,
        #EEF5FF
    );
}

.projects-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.projects-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

.projects-intro {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

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

.preview-card {
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    transition: 0.3s ease;
}

.preview-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(11,31,58,0.10);
}

.featured-preview {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(20,184,166,0.14),
            transparent 35%
        ),
        white;
}

.preview-type {
    display: inline-block;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 18px;
}

.preview-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.preview-card p {
    color: var(--muted);
    line-height: 1.75;
}

.preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.preview-tags span {
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(37,99,235,0.07);
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 600;
}

.projects-section .section-link {
    margin-top: 30px;
}
/* =========================
   ACHIEVEMENTS & ENGAGEMENT
========================= */

.engagement-section {
    padding: 100px 0;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(124, 58, 237, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(20, 184, 166, 0.07),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #ffffff,
            #f5f7ff
        );
}

.engagement-heading {
    max-width: 780px;
    margin-bottom: 45px;
}

.engagement-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

.engagement-heading > p:last-child {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

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

.engagement-card {
    position: relative;

    padding: 30px;

    background: rgba(255, 255, 255, 0.88);

    border: 1px solid var(--border);
    border-radius: 20px;

    overflow: hidden;

    box-shadow: 0 12px 35px rgba(11, 31, 58, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.engagement-card:nth-child(1) {
    border-top: 3px solid var(--blue);
}

.engagement-card:nth-child(2) {
    border-top: 3px solid var(--violet);
}

.engagement-card:nth-child(3) {
    border-top: 3px solid var(--teal);
}

.engagement-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 48px rgba(11, 31, 58, 0.11);
}

.engagement-number {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.engagement-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 18px 0;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(37, 99, 235, 0.12),
            rgba(20, 184, 166, 0.10)
        );

    color: var(--blue);

    font-size: 1.15rem;
    font-weight: 700;
}

.engagement-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.engagement-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.95rem;
}

.engagement-note {
    max-width: 760px;
    margin-top: 30px;

    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
}
/* =========================
   CONNECT
========================= */

.connect-section {
    padding: 105px 0;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(37, 99, 235, 0.35),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(20, 184, 166, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 60% 90%,
            rgba(124, 58, 237, 0.15),
            transparent 25%
        ),
        #0B1F3A;

    color: white;
}

.connect-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.light-label {
    color: #6EE7D8;
}

.connect-main h2 {
    font-size: clamp(2.7rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 22px;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #7DD3FC,
            #6EE7D8
        );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.connect-main > p:not(.section-label) {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 620px;
}


/* Connect cards */

.connect-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.connect-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 22px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(12px);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}

.connect-card:hover {
    transform: translateX(8px);

    background: rgba(255, 255, 255, 0.11);

    border-color: rgba(110, 231, 216, 0.50);
}

.connect-card span {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.3px;
}

.connect-card strong {
    color: white;
    font-size: 0.9rem;
}
/* =========================
   FOOTER
========================= */

.site-footer {
    padding: 30px 0;
    background: #071528;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-brand strong {
    font-size: 1rem;
}

.footer-brand p,
.footer-right p {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.76rem;
    margin-top: 4px;
}

.footer-right {
    text-align: right;
}
/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
    .teaching-layout {
    grid-template-columns: 1fr;
    gap: 45px;
}
.focus-grid {
    grid-template-columns: repeat(2, 1fr);
}
    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 0.82rem;
    }

}


@media (max-width: 760px) {
    .about-preview {
    grid-template-columns: 1fr;
    gap: 30px;
}

.about-section {
    padding: 65px 0;
}
    .teaching-section {
    padding: 70px 0;
}
    .preview-grid {
    grid-template-columns: 1fr;
}

.projects-section {
    padding: 70px 0;
}
    .research-grid {
    grid-template-columns: 1fr;
}

.research-section {
    padding: 75px 0;
}

.research-card {
    padding: 28px;
}

.research-bridge {
    gap: 18px;
}
    .focus-grid {
    grid-template-columns: 1fr;
}

.focus-section {
    padding: 75px 0;
}
    .about-grid {
    grid-template-columns: 1fr;
    gap: 35px;
}

.about-section {
    padding: 75px 0;
}

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: 2.7rem;
    }

    .hero-intro {
        font-size: 1.05rem;
    }

}
/* ===== PROJECTS FIX ===== */

.projects-section {
    padding: 95px 0;
    background: linear-gradient(180deg, #F6F8FC 0%, #EEF5FF 100%);
}

.projects-heading {
    max-width: 760px;
    margin-bottom: 45px;
}

.projects-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 18px;
}

.projects-intro {
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

.preview-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px;
    margin-top: 35px;
}

.preview-card {
    display: block;
    background: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 30px;
    min-height: 270px;
    box-shadow: 0 10px 30px rgba(11, 31, 58, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(11, 31, 58, 0.12);
}

.featured-preview {
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(20, 184, 166, 0.15),
            transparent 38%
        ),
        #ffffff;
    border-top: 3px solid var(--teal);
}

.preview-card:nth-child(2) {
    border-top: 3px solid var(--blue);
}

.preview-card:nth-child(3) {
    border-top: 3px solid var(--violet);
}

.preview-type {
    display: inline-block;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.preview-card h3 {
    font-size: 1.35rem;
    margin-bottom: 14px;
    color: var(--text);
}

.preview-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.96rem;
}

.preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.preview-tags span {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 20px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--blue);
    font-size: 0.73rem;
    font-weight: 600;
}

.projects-section .section-link {
    display: inline-block;
    margin-top: 32px;
}

@media (max-width: 900px) {
    .preview-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 760px) {
    .preview-grid {
        grid-template-columns: 1fr !important;
    }
}
/* ===== TEACHING PREVIEW FIX ===== */

.teaching-section {
    padding: 100px 0;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(20, 184, 166, 0.07),
            transparent 30%
        ),
        #ffffff;
}

.teaching-layout {
    display: grid !important;
    grid-template-columns: 0.9fr 1.1fr !important;
    gap: 75px !important;
    align-items: start;
}

.teaching-intro {
    max-width: 520px;
}

.teaching-intro h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--text);
}

.teaching-intro > p:not(.section-label) {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}


/* Course Panel */

.course-list {
    border-top: 1px solid var(--border);
    background: rgba(246, 248, 252, 0.65);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(11, 31, 58, 0.05);
}

.course-item {
    display: grid !important;
    grid-template-columns: 50px 1fr !important;
    gap: 15px;
    align-items: center;

    padding: 22px 26px !important;

    border-bottom: 1px solid var(--border);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        padding 0.3s ease;
}

.course-item:last-child {
    border-bottom: none;
}

.course-item:hover {
    background:
        linear-gradient(
            90deg,
            rgba(37, 99, 235, 0.07),
            rgba(20, 184, 166, 0.04)
        );

    transform: translateX(6px);
}

.course-item > span {
    display: flex;
    width: 34px;
    height: 34px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        var(--blue),
        var(--teal)
    );

    color: white;

    font-size: 0.72rem;
    font-weight: 700;
}

.course-item h3 {
    margin: 0 0 4px 0;
    font-size: 1.08rem;
    color: var(--text);
}

.course-item small {
    color: var(--muted);
    font-size: 0.74rem;
}

@media (max-width: 900px) {

    .teaching-layout {
        grid-template-columns: 1fr !important;
        gap: 45px !important;
    }

}

@media (max-width: 760px) {

    .teaching-section {
        padding: 70px 0;
    }

    .course-item {
        padding: 19px 20px !important;
    }

}
/* =========================
   FINAL RESPONSIVE RULES
========================= */

@media (max-width: 900px) {

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

    .connect-layout {
        grid-template-columns: 1fr;
        gap: 45px;
    }

}


@media (max-width: 760px) {

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

    .engagement-section,
    .connect-section {
        padding: 70px 0;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .footer-right {
        text-align: left;
    }

}
/* =========================================
   MODERN INTERACTIONS
========================================= */


/* Animated Network */

.hero {
    position: relative;
    overflow: hidden;
}

#network-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    pointer-events: none;

    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;

    transition: transform 0.15s ease-out;
}


/* Header Glass Effect */

.site-header {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transition:
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.site-header.header-scrolled {
    background: rgba(255, 255, 255, 0.86);

    box-shadow:
        0 8px 30px rgba(11, 31, 58, 0.08);
}


/* Scroll Reveal */

/* ===== SCROLL REVEAL FIX ===== */

.reveal {
    opacity: 0;
    translate: 0 45px;

    transition:
        opacity 0.8s ease,
        translate 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-visible {
    opacity: 1;
    translate: 0 0;
}


/* 3D Cards */

.tilt-card {
    transform-style: preserve-3d;

    transition:
        transform 0.18s ease-out,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.tilt-card h3,
.tilt-card p,
.tilt-card span,
.tilt-card .preview-tags,
.tilt-card .research-tags {
    transform: translateZ(15px);
}


/* Button glow */

.btn-primary {
    position: relative;
    overflow: hidden;

    box-shadow:
        0 10px 25px rgba(37, 99, 235, 0.18);
}

.btn-primary:hover {
    box-shadow:
        0 15px 35px rgba(37, 99, 235, 0.28);
}


/* Section links */

.section-link {
    position: relative;
}

.section-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -4px;

    width: 0;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--teal)
        );

    transition: width 0.3s ease;
}

.section-link:hover::after {
    width: 100%;
}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }

    #network-canvas {
        display: none;
    }

}
/* ===== HEADER SCROLL EFFECT FIX ===== */

.site-header {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid transparent;

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.site-header.header-scrolled {
    background: rgba(255, 255, 255, 0.94);

    border-bottom-color: rgba(37, 99, 235, 0.12);

    box-shadow:
        0 10px 35px rgba(11, 31, 58, 0.12);
}

.site-header .logo {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.site-header.header-scrolled .logo {
    transform: scale(0.92);

    box-shadow:
        0 6px 18px rgba(37, 99, 235, 0.20);
}
/* ===== HEADING SCROLL REVEAL ===== */

.heading-reveal {
    opacity: 0;
    transform: translateY(45px);

    transition:
        opacity 0.8s ease,
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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