/* ===================================================================
   Multimodal Minds Labs — styles.css
   Inherits the main site's design language with Labs-specific additions
   =================================================================== */

@font-face {
    font-family: 'Apple Garamond Light';
    src: url('https://multimodalminds.in/assests/fonts/AppleGaramond-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('https://multimodalminds.in/assests/fonts/AppleGaramond-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('https://multimodalminds.in/assests/fonts/AppleGaramond-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('https://multimodalminds.in/assests/fonts/AppleGaramond.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('https://multimodalminds.in/assests/fonts/AppleGaramond.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('https://multimodalminds.in/assests/fonts/AppleGaramond-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('https://multimodalminds.in/assests/fonts/AppleGaramond-Bold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Apple Garamond';
    src: url('https://multimodalminds.in/assests/fonts/AppleGaramond-Bold.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ===== DESIGN TOKENS ===== */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.07);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.55);

    --accent-start: #7c3aed;
    --accent-mid: #a855f7;
    --accent-end: #c084fc;
    --accent-glow: rgba(124, 58, 237, 0.35);

    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);

    --font: 'Apple Garamond Light', 'Apple Garamond', serif;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px var(--accent-glow);
    --nav-height: 80px;
    --container: 1440px;
    --nav-bg-scrolled: rgba(10, 10, 10, 0.60);

    /* Status colors */
    --status-active: #22c55e;
    --status-wip: #f59e0b;
    --status-done: #7c3aed;
}

/* Light Theme */
html[data-theme="light"] {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e9ecef;
    --bg-card: rgba(0, 5, 20, 0.02);
    --bg-card-hover: rgba(0, 5, 20, 0.04);

    --text-primary: #000514;
    --text-secondary: rgba(0, 5, 20, 0.7);
    --text-muted: rgba(0, 5, 20, 0.65);

    --accent-start: #6d28d9;
    --accent-mid: #9333ea;
    --accent-end: #a855f7;
    --accent-glow: rgba(109, 40, 217, 0.15);

    --border: rgba(0, 5, 20, 0.08);
    --border-hover: rgba(0, 5, 20, 0.15);

    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 5, 20, 0.08);

    --shadow: 0 8px 32px rgba(0, 5, 20, 0.08);
    --nav-bg-scrolled: rgba(255, 255, 255, 0.60);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    font-synthesis: none;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid), var(--accent-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(19px, 1.8vw, 24px);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin-top: 16px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .35s cubic-bezier(.4, 0, .2, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left .6s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    padding: 14px 36px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent-start);
    color: var(--accent-mid);
    transform: translateY(-2px);
}

/* ===== PARTICLE CANVAS ===== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all .4s;
}

.navbar.scrolled {
    background: var(--nav-bg-scrolled);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.04em;
}

/* Labs badge next to logo */
.labs-badge {
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
    color: #fff;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.nav-links a {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color .25s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Theme toggle */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--accent-start);
    color: var(--text-primary);
}

.theme-toggle svg {
    position: absolute;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
}

.theme-toggle .moon-icon {
    opacity: 0;
    transform: translateY(20px) rotate(45deg);
}

html[data-theme="light"] .theme-toggle .sun-icon {
    opacity: 0;
    transform: translateY(-20px) rotate(-45deg);
}

html[data-theme="light"] .theme-toggle .moon-icon {
    opacity: 1;
    transform: translateY(0) rotate(0);
}

.nav-cta {
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: all .3s;
}

.nav-cta:hover {
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all .3s;
    border-radius: 2px;
}

.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(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: calc(var(--nav-height) + 40px) clamp(20px, 4vw, 48px) 60px;
    width: 100%;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-mid);
    margin-bottom: 28px;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(19px, 1.9vw, 25px);
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 580px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Hero meta bar */
.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    flex-wrap: wrap;
    justify-content: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.meta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.meta-dot.active {
    background: var(--status-active);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
    animation: pulse-dot 2s ease-in-out infinite;
}

.meta-dot.wip {
    background: var(--status-wip);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.7);
}

.meta-dot.done {
    background: var(--status-done);
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.7);
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.meta-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
}

/* Fade-up animation */
.anim-fade-up {
    animation: fadeUp .8s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* ===== CATEGORIES / FILTER ===== */
.categories-section {
    position: relative;
    z-index: 1;
    padding: 0 0 20px;
}

.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all .3s;
    letter-spacing: 0.03em;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-start), var(--accent-mid));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* ===== EXPERIMENTS GRID ===== */
.experiments-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

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

/* Experiment Card */
.experiment-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.experiment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-start), var(--accent-mid), var(--accent-end));
    opacity: 0;
    transition: opacity .4s;
}

.experiment-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow), 0 0 32px var(--accent-glow);
}

.experiment-card:hover::before {
    opacity: 1;
}

.experiment-card.hidden {
    display: none;
}

/* Card Header */
.exp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.exp-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-mid);
    padding: 5px 12px;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 100px;
}

/* Status badges */
.exp-status {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.exp-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-active {
    color: var(--status-active);
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-active::before {
    background: var(--status-active);
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.8);
    animation: pulse-dot 2s ease-in-out infinite;
}

.status-wip {
    color: var(--status-wip);
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-wip::before {
    background: var(--status-wip);
}

.status-done {
    color: var(--accent-mid);
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.status-done::before {
    background: var(--accent-mid);
}

/* Experiment icon */
.exp-icon-wrap {
    width: 52px;
    height: 52px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: transform .3s;
}

.experiment-card:hover .exp-icon-wrap {
    transform: scale(1.08);
}

.exp-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.exp-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
    flex: 1;
}

/* Tech stack chips */
.exp-stack {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.stack-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    transition: all .2s;
}

.experiment-card:hover .stack-tag {
    border-color: rgba(124, 58, 237, 0.25);
    color: var(--text-secondary);
}

/* Card footer */
.exp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.exp-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.exp-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-mid);
    transition: all .25s;
}

.exp-link:hover {
    color: var(--accent-end);
    gap: 10px;
}

/* ===== ABOUT LABS ===== */
.about-labs-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

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

.about-labs-visual {
    background: #1e1e1e;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 8px;
}

html[data-theme="light"] .about-labs-visual {
    background: #e5e7eb;
    border-color: rgba(0, 5, 20, 0.1);
}

.about-labs-content .section-title {
    margin-bottom: 24px;
}

.about-labs-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 520px;
}

/* Principles */
.labs-principles {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.principle-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all .3s;
}

.principle-item:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.principle-icon {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.principle-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.principle-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Terminal Window */
.terminal-window {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 58, 237, 0.1);
    font-family: 'JetBrains Mono', 'Fira Code', 'Menlo', monospace;
}

html[data-theme="light"] .terminal-window {
    background: #1a1a2e;
    border-color: rgba(124, 58, 237, 0.2);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.terminal-dot.red {
    background: #ff5f57;
}

.terminal-dot.yellow {
    background: #febc2e;
}

.terminal-dot.green {
    background: #28c840;
}

.terminal-title {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin-left: 8px;
    flex: 1;
}

.terminal-body {
    padding: 24px;
    position: relative;
}

.terminal-code {
    font-size: 13px;
    line-height: 1.85;
    white-space: pre;
    overflow-x: auto;
}

/* Syntax colors */
.tc-comment {
    color: #6a7f7b;
}

.tc-keyword {
    color: #c084fc;
}

.tc-module {
    color: #7dd3fc;
}

.tc-var {
    color: #a5f3fc;
}

.tc-string {
    color: #86efac;
}

.tc-number {
    color: #fb923c;
}

/* Cursor blink */
.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--accent-mid);
    border-radius: 2px;
    margin-top: 4px;
    animation: blink-cursor .8s step-end infinite;
}

@keyframes blink-cursor {
    50% {
        opacity: 0;
    }
}

/* ===== NOTIFY SECTION ===== */
.notify-section {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.notify-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 64px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    overflow: hidden;
}

.notify-card::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.07), transparent 70%);
    pointer-events: none;
}

.notify-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notify-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.notify-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-logo .logo-img {
    height: 52px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-links-group h4 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    font-size: 16px;
    color: var(--text-muted);
    transition: color .2s;
}

.footer-links-group a:hover {
    color: var(--text-primary);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all .3s;
}

.social-link:hover {
    border-color: var(--accent-start);
    color: var(--accent-mid);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== SCROLL REVEAL ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.4, 0, .2, 1), transform .7s cubic-bezier(.4, 0, .2, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .experiments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-labs-grid {
        gap: 48px;
    }
}

@media (max-width: 1024px) {
    .about-labs-grid {
        grid-template-columns: 1fr;
    }

    .about-labs-visual {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .notify-card {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .notify-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        z-index: 999;
        clip-path: circle(0px at calc(100% - 40px) 40px);
        transition: clip-path .5s cubic-bezier(.4, 0, .2, 1);
        pointer-events: none;
    }

    .nav-links.open {
        clip-path: circle(200vh at calc(100% - 40px) 40px);
        pointer-events: auto;
    }

    .nav-links a {
        font-size: 22px;
        font-weight: 700;
        color: var(--text-primary);
    }

    .nav-controls {
        gap: 12px;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 1000;
    }

    .logo-text {
        display: none;
    }

    .labs-badge {
        display: none;
    }

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

    .hero-meta {
        gap: 12px;
        padding: 12px 20px;
    }

    .meta-divider {
        display: none;
    }

    .about-labs-section,
    .experiments-section,
    .notify-section {
        padding: 80px 0;
    }

    .notify-card {
        padding: 40px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .terminal-code {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .filter-bar {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .experiment-card {
        padding: 24px 20px;
    }

    .btn {
        font-size: 13px;
        padding: 12px 28px;
    }
}