/* ===== DESIGN TOKENS ===== */
:root {
    --color-bg: #ffffff;
    --color-bg-dark: #0c0c1d;
    --color-bg-light: #f6f6fb;
    --color-text: #1a1a2e;
    --color-text-secondary: #64648c;
    --color-text-light: #f0f0ff;
    --color-text-light-secondary: #9e9eb8;
    --color-primary: #5046e5;
    --color-primary-light: #7c73ff;
    --color-border: #e5e5f0;
    --color-border-dark: rgba(255, 255, 255, 0.08);
    --color-surface: #f8f8fc;
    --color-surface-dark: rgba(255, 255, 255, 0.04);
    --color-node: #10b981;
    --color-node-light: #34d399;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 100px;
    --font: 'Inter', -apple-system, system-ui, sans-serif;
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.08), 0 12px 32px rgba(0,0,0,0.06);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== Ambient Background Orbs ===== */
.ambient-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    z-index: -999;
    pointer-events: none;
    overflow: hidden;
    background: transparent;
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: floatOrb 20s infinite ease-in-out alternate;
    will-change: transform;
}

.orb-1 {
    width: 800px; height: 800px;
    background: var(--color-primary); 
    top: -20%; left: -10%;
    animation-duration: 25s;
}

.orb-2 {
    width: 600px; height: 600px;
    background: var(--color-node); 
    bottom: -20%; right: -10%;
    animation-delay: -5s;
    animation-duration: 32s;
}

.orb-3 {
    width: 900px; height: 900px;
    background: rgba(80, 70, 229, 0.4); 
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    animation-duration: 38s;
    animation-delay: -12s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(120px, 80px) scale(1.15); }
}

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

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

/* ===== NAV ===== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.5px;
}

.logo-mark { color: var(--color-primary); font-size: 1.4rem; }

.nav-links {
    display: flex;
    gap: 36px;
}

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

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

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

.nav-link-cta {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

.nav-link-cta:hover { color: var(--color-text); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 600;
    border: none;
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(80, 70, 229, 0.35);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn-ghost:hover {
    background: var(--color-surface);
    border-color: #ccc;
}

.section-dark .btn-ghost {
    border-color: var(--color-border-dark);
    color: var(--color-text-light);
}

.section-dark .btn-ghost:hover {
    background: var(--color-surface-dark);
    border-color: rgba(255,255,255,0.2);
}

/* ===== HERO ===== */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-light);
}

/* Background Perspective Tech Grid Mask */
.hero::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background-image: 
        linear-gradient(to right, rgba(80, 70, 229, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(80, 70, 229, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 10%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 10%, transparent 80%);
    z-index: 0;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(60px) translateZ(-200px); }
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 1px;
    margin-bottom: 28px;
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
}

.hero-headline {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.18;
    letter-spacing: -2px;
    margin-bottom: 32px;
    /* Animated Gradient Text */
    background: linear-gradient(110deg, var(--color-text) 20%, var(--color-primary) 45%, var(--color-node-light) 55%, var(--color-text) 80%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shineText 6s linear infinite;
}

@keyframes shineText {
    to { background-position: 200% center; }
}

/* Floating Tech Badges */
.hero-decor {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.decor-tag {
    position: absolute;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(80, 70, 229, 0.15);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    box-shadow: 0 8px 32px rgba(80, 70, 229, 0.08);
    animation: floatTag 6s infinite ease-in-out alternate;
    white-space: nowrap;
}

.decor-tag.tag-1 { top: 20%; left: 8%; animation-delay: -1s; }
.decor-tag.tag-2 { top: 60%; right: 5%; animation-delay: -3s; animation-duration: 8s;}
.decor-tag.tag-3 { bottom: 15%; left: 15%; animation-duration: 7s; }

@keyframes floatTag {
    0% { transform: translateY(0px) rotate(-3deg); }
    100% { transform: translateY(-24px) rotate(2deg); }
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto 44px;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px 0;
}

.section-light {
    background: var(--color-bg-light);
}

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-eyebrow.light { color: var(--color-primary-light); }

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title.light { color: var(--color-text-light); }

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-desc.light { color: var(--color-text-light-secondary); }

/* ===== ABOUT SECTION ===== */
.about-block {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    border: 1px solid rgba(80, 70, 229, 0.2);
    background: rgba(80, 70, 229, 0.04);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.about-declaration {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: -0.3px;
    color: var(--color-text);
}

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

.about-prose {
    max-width: 760px;
    margin: 0 auto;
    columns: 1;
}

.about-prose p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-prose strong {
    color: var(--color-text);
    font-weight: 600;
}

/* ===== RESEARCH CARDS ===== */
.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.research-grid.research-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.research-grid-3 .research-card {
    padding: 40px 32px;
}

.research-grid-3 .research-title {
    font-size: 1.2rem;
}

.research-grid-3 .research-desc {
    font-size: 0.92rem;
}

.research-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.research-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        700px circle at var(--mouse-x, -1000px) var(--mouse-y, -1000px), 
        rgba(80, 70, 229, 0.06),
        transparent 40%
    );
    z-index: -1;
    pointer-events: none;
}

.research-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
    border-color: rgba(80, 70, 229, 0.25);
}

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

.research-number {
    position: absolute;
    top: -30px;
    right: -20px;
    font-size: 14rem;
    font-weight: 900;
    line-height: 1;
    color: var(--color-primary);
    opacity: 0.03;
    letter-spacing: -8px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
    pointer-events: none;
    z-index: -1;
    user-select: none;
}

.research-card:hover .research-number {
    transform: scale(1.05) translate(-10px, 10px);
    opacity: 0.05;
}

.research-title, .research-desc, .research-tags {
    position: relative;
    z-index: 2;
}

.research-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--color-text);
}

.research-desc {
    font-size: 0.98rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    flex: 1;
    margin-bottom: 32px;
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.research-tags span {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(80, 70, 229, 0.06);
    color: var(--color-primary);
    border: 1px solid rgba(80, 70, 229, 0.1);
}

/* ===== ARCHITECTURE ===== */
.arch-diagram {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 960px;
    margin: 0 auto;
}

.arch-layer {
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-xl);
    padding: 32px;
    background: var(--color-surface-dark);
}

.arch-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary-light);
    margin-bottom: 24px;
}

.arch-nodes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.arch-node {
    padding: 20px;
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.arch-node:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

.arch-node-icon { font-size: 1.5rem; margin-bottom: 12px; }

.arch-node-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--color-text-light);
}

.arch-node-tech {
    font-size: 0.78rem;
    color: var(--color-text-light-secondary);
    line-height: 1.5;
}

.arch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
}

.arch-connector-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-primary-light));
    border-radius: 2px;
}

.arch-connector-label {
    font-size: 0.72rem;
    color: var(--color-text-light-secondary);
    text-align: center;
    padding: 8px 20px;
    border: 1px dashed var(--color-border-dark);
    border-radius: var(--radius-full);
    margin-top: 8px;
}

/* ===== NODE 200 ===== */
.section-node {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-bg) 0%, #f0fdf4 30%, #ecfdf5 70%, var(--color-bg) 100%);
}

.node-network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.65;
    pointer-events: none;
}

.relative-z {
    position: relative;
    z-index: 1;
}

.node-eyebrow {
    color: var(--color-node) !important;
}

.node-desc {
    font-size: 1.2rem !important;
    font-weight: 600;
    color: var(--color-text) !important;
    letter-spacing: -0.3px;
}

.node-intro {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.node-intro p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.85;
}

.node-intro strong {
    color: var(--color-text);
    font-weight: 700;
}

.node-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 32px;
    max-width: 960px;
    margin: 0 auto 48px;
}

.node-column-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-secondary);
    margin-bottom: 28px;
}

.node-benefit {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    transition: all var(--transition);
}

.node-benefit:hover {
    box-shadow: var(--shadow-card);
    border-color: rgba(16, 185, 129, 0.2);
}

.node-benefit-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.08);
    border-radius: var(--radius-sm);
}

.node-benefit h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.node-benefit p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
}

.node-need {
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px dashed var(--color-border);
    background: var(--color-bg);
    margin-bottom: 32px;
}

.node-need p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.node-need strong {
    color: var(--color-text);
}

.node-counter {
    text-align: center;
    padding: 32px;
}

.node-counter-number {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -4px;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-node), #059669);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.node-counter-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
}

.node-cta {
    text-align: center;
}

/* ===== NODE CONTACT REVEAL ===== */
.node-cta-btn {
    background: linear-gradient(135deg, var(--color-node), #059669);
    font-size: 1.05rem;
    padding: 16px 40px;
}

.node-cta-btn:hover {
    background: linear-gradient(135deg, #059669, var(--color-node));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.node-contact-reveal {
    max-width: 560px;
    margin: 0 auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease,
                transform 0.4s ease,
                margin-top 0.4s ease;
    margin-top: 0;
}

.node-contact-reveal.open {
    max-height: 280px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 32px;
}

.node-contact-reveal .node-contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 20px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(16, 185, 129, 0.08);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.contact-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-secondary);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: 0.5px;
    font-family: 'SF Mono', 'Fira Code', monospace;
}

.contact-divider {
    width: 1px;
    height: 44px;
    background: rgba(16, 185, 129, 0.15);
    flex-shrink: 0;
}

.node-contact-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-node);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.15);
    letter-spacing: 0.5px;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 72px 0 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-border-dark);
}

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

.footer-brand .logo-mark { color: var(--color-primary-light); }
.footer-brand .logo-wordmark { font-weight: 800; font-size: 1.2rem; }

.footer-tagline {
    font-size: 0.85rem;
    color: var(--color-text-light-secondary);
    margin-top: 4px;
}

.footer-note {
    font-size: 0.75rem;
    color: var(--color-text-light-secondary);
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h5 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text-light-secondary);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--color-text-light-secondary);
    transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    padding: 24px 0;
    font-size: 0.8rem;
    color: var(--color-text-light-secondary);
}

/* ===== RESPONSIVE (iPad & Mobile) ===== */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .hero-headline { font-size: clamp(2.8rem, 5.5vw, 4rem); }
}

@media (max-width: 768px) {
    /* === Layout stacking === */
    .research-grid,
    .research-grid.research-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    .arch-nodes { grid-template-columns: 1fr; }
    .node-grid { grid-template-columns: 1fr; gap: 32px; }

    /* === Research cards restore sizing === */
    .research-grid-3 .research-card { padding: 32px 24px; }
    .research-grid-3 .research-title { font-size: 1.3rem; }
    .research-grid-3 .research-desc { font-size: 0.95rem; }
    .research-card { padding: 32px 24px; }

    /* === Hero === */
    .hero { padding: 120px 0 56px; }
    .hero-headline {
        font-size: 2rem;
        letter-spacing: -1px;
        line-height: 1.25;
        margin-bottom: 20px;
    }
    .hero-eyebrow { font-size: 0.7rem; padding: 6px 12px; margin-bottom: 16px; }
    .hero-sub { font-size: 0.95rem; padding: 0 8px; line-height: 1.75; margin-bottom: 28px; }
    .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero-ctas .btn { width: 100%; text-align: center; }

    /* === Floating tags: hide on mobile to reduce clutter === */
    .hero-decor { display: none; }

    /* === Sections === */
    .section { padding: 72px 0; }
    .section-node { padding: 72px 0; }
    .section-header { margin-bottom: 40px; }
    .section-title { font-size: 1.75rem; margin-bottom: 14px; letter-spacing: -0.5px; }
    .section-desc { font-size: 0.95rem; margin-bottom: 32px; }
    .container { padding: 0 20px; }

    /* === About === */
    .about-prose p { font-size: 0.95rem; }

    /* === Architecture === */
    .arch-layer { padding: 24px 16px; }
    .arch-node { padding: 16px; }
    .arch-node-name { font-size: 0.88rem; }
    .arch-node-tech { font-size: 0.75rem; }

    /* === Node 200 === */
    .node-intro { margin-bottom: 36px; }
    .node-intro p { font-size: 0.95rem; }
    .node-benefit { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }
    .node-counter { padding: 24px; }
    .node-counter-number { font-size: 4rem; }
    .node-cta-btn { font-size: 0.95rem; padding: 14px 32px; }

    /* === Contact reveal === */
    .node-contact-reveal .node-contact-info { flex-direction: column; gap: 20px; padding: 20px; }
    .contact-divider { width: 80%; height: 1px; }

    /* === Agent / MCP === */
    .section#agent pre {
        font-size: 0.7rem;
        padding: 14px;
        border-radius: 10px;
    }

    /* === Footer === */
    .footer { padding: 56px 0 0; }
    .footer-inner { flex-direction: column; gap: 36px; }
    .footer-links { flex-direction: column; gap: 24px; }
    .footer-col { flex: none; }
    .footer-bottom { padding: 20px 0; }
}

@media (max-width: 480px) {
    /* === iPhone-specific tight constraints === */
    .hero { padding: 100px 0 44px; }
    .hero-headline {
        font-size: 1.75rem;
        letter-spacing: -0.8px;
        line-height: 1.3;
        margin-bottom: 18px;
    }
    .hero-eyebrow { font-size: 0.65rem; padding: 5px 10px; margin-bottom: 14px; }
    .hero-sub { font-size: 0.9rem; margin-bottom: 24px; }

    /* === Sections === */
    .section { padding: 52px 0; }
    .section-node { padding: 56px 0; }
    .section-title { font-size: 1.55rem; margin-bottom: 12px; }
    .section-desc { font-size: 0.88rem; margin-bottom: 28px; }
    .container { padding: 0 16px; }

    /* === Research number watermark === */
    .research-number {
        font-size: 8rem;
        right: -10px;
        top: -15px;
    }
    .research-card:hover .research-number { transform: scale(1.05) translate(-5px, 5px); }

    /* === Architecture === */
    .arch-layer { padding: 20px 14px; }

    /* === Node 200 === */
    .node-counter-number { font-size: 3.5rem; }
    .node-cta-btn { font-size: 0.9rem; padding: 13px 28px; width: 100%; }

    /* === Contact reveal === */
    .contact-icon { width: 38px; height: 38px; font-size: 1.2rem; }
    .contact-value { font-size: 0.95rem; }
    .contact-label { font-size: 0.65rem; }

    /* === Agent code blocks === */
    .section#agent pre {
        font-size: 0.65rem;
        padding: 12px;
        line-height: 1.6;
    }
}
