/* ============================================
   GilliganTech.com — Cyberpunk Tech Aesthetic
   Multi-Page Joint Venture Site
   ============================================ */

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

:root {
    --bg: #06060e;
    --bg-card: #0c0c1a;
    --bg-card-hover: #10102a;
    --surface: #111128;
    --border: rgba(0, 212, 255, 0.12);
    --border-hover: rgba(0, 212, 255, 0.3);
    --text: #e8e8f0;
    --text-muted: #8888aa;
    --text-dim: #555577;
    --cyan: #00d4ff;
    --cyan-dark: #0099cc;
    --green: #00ff88;
    --purple: #8b5cf6;
    --pink: #f472b6;
    --gold: #d4af37;
    --red: #ef4444;
    --font-display: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --max-width: 1200px;
    --nav-height: 70px;
}

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

body {
    font-family: var(--font-display);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

::selection {
    background: var(--cyan);
    color: var(--bg);
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--green); }

/* --- Background Effects --- */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    transition: transform 0.3s ease-out;
}

.bg-glow--1 { width: 600px; height: 600px; background: var(--cyan); top: -200px; left: -200px; }
.bg-glow--2 { width: 500px; height: 500px; background: var(--purple); bottom: -150px; right: -150px; }
.bg-glow--3 { width: 400px; height: 400px; background: var(--green); top: 50%; left: 50%; opacity: 0.08; }

.scanlines {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px);
    pointer-events: none;
    z-index: 1;
}

/* --- Text Gradient --- */
.text-gradient {
    background: linear-gradient(135deg, var(--cyan), var(--green), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
}

.nav--scrolled {
    background: rgba(6, 6, 14, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav--hidden { transform: translateY(-100%); }

.nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text);
    letter-spacing: 0.05em;
}

.nav__logo:hover { color: var(--text); }
.nav__logo-icon { font-size: 1.5rem; }
.nav__logo-accent { color: var(--cyan); }

.nav__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav__link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
    position: relative;
    padding: 0.3rem 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cyan);
    transition: width 0.3s;
}

.nav__link:hover { color: var(--cyan); }
.nav__link:hover::after { width: 100%; }

.nav__link--active { color: var(--cyan); }
.nav__link--active::after { width: 100%; }

.nav__link--cta {
    color: var(--bg);
    background: var(--cyan);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 500;
}

.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--green); color: var(--bg); }

.nav__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav__mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

.nav__mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nav__mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero (Homepage) --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.hero__content { max-width: 800px; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--green);
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.hero__badge.in-view { opacity: 1; transform: translateY(0); }

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(0, 255, 136, 0); }
}

.hero__terminal {
    display: inline-block;
    text-align: left;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 560px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.hero__terminal.in-view { opacity: 1; transform: translateY(0); }

.terminal__bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #1a1a2e;
    border-radius: 8px 8px 0 0;
    border: 1px solid var(--border);
    border-bottom: none;
}

.terminal__dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal__dot--red { background: #ff5f57; }
.terminal__dot--yellow { background: #febc2e; }
.terminal__dot--green { background: #28c840; }

.terminal__title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-left: auto;
}

.terminal__body {
    background: #0d0d1a;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 16px 18px;
    min-height: 50px;
}

.terminal__body--tall {
    min-height: 280px;
    overflow: hidden;
}

.terminal__line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.terminal__prompt { color: var(--green); font-weight: 700; }
.terminal__text { color: var(--text); white-space: nowrap; }

.terminal__cursor {
    color: var(--cyan);
    animation: blink 0.8s step-end infinite;
}

.terminal__code {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.6;
    white-space: pre;
    color: var(--text-muted);
}

.code-comment { color: var(--text-dim); }
.code-output { color: var(--text-muted); }
.code-prompt { color: var(--cyan); font-weight: 700; }
.code-ai { color: var(--purple); font-weight: 700; }
.code-success { color: var(--green); }

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

.hero__title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero__title-line { display: block; }

.hero__title-line--1 {
    font-size: 0.45em;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2em;
}

.hero__subtitle {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
    line-height: 1.8;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    color: var(--bg);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
}

.btn--primary:hover {
    color: var(--bg);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

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

.btn--ghost:hover {
    background: rgba(0, 212, 255, 0.08);
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn__arrow { transition: transform 0.3s; }
.btn--primary:hover .btn__arrow { transform: translateX(4px); }

.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Page Hero (Sub-pages) --- */
.page-hero {
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 4rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.page-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.page-hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.breadcrumb:hover { color: var(--cyan); }

/* --- Stats Bar --- */
.stats {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(12, 12, 26, 0.6);
    backdrop-filter: blur(10px);
}

.stats__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.stats__item.in-view { opacity: 1; transform: translateY(0); }

.stats__number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
}

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

.stats__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stats__divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* --- Section Commons --- */
.section__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
}

.section__inner--narrow {
    max-width: 900px;
}

.section__header {
    text-align: center;
    margin-bottom: 4rem;
}

.section__tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
}

.section__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section__desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --- Generic data-animate --- */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

/* --- Venture Cards (Homepage) --- */
.venture__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.venture__card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    transition: all 0.4s ease;
    overflow: hidden;
    color: var(--text);
    display: block;
}

.venture__card:hover {
    border-color: var(--card-color);
    background: var(--bg-card-hover);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.08);
    transform: translateY(-4px);
    color: var(--text);
}

.venture__card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.venture__card-role {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.venture__card-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.venture__card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.venture__card-url {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--card-color, var(--cyan));
    transition: gap 0.3s;
}

/* --- AI Showcase Cards (Homepage) --- */
.ai-showcase__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.ai-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ai-card:hover {
    border-color: var(--ai-color, var(--cyan));
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.08);
}

.ai-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.ai-card__logo {
    font-size: 1.8rem;
    color: var(--ai-color, var(--cyan));
}

.ai-card__badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--ai-color, var(--cyan));
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ai-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.ai-card__tagline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.ai-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.ai-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.ai-card__feature {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.ai-showcase__cta {
    text-align: center;
    margin-top: 3rem;
}

/* --- Rhino Feature (Homepage) --- */
.rhino-feature__layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.rhino-feature__desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.rhino-feature__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.rhino-feature__spec {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
}

.rhino-feature__spec-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.rhino-feature__spec-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.rhino-feature__spec-value--live {
    color: var(--green);
}

.rhino-ascii {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
}

.rhino-ascii pre {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--cyan);
    line-height: 1.4;
    text-align: center;
}

/* --- Powered By / Tech Logos --- */
.tech__logos {
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.tech__logos::before,
.tech__logos::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.tech__logos::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.tech__logos::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }

.tech__logo-scroll {
    display: flex;
    gap: 3rem;
    animation: scrollLogos 30s linear infinite;
    width: max-content;
}

.tech__logo-item {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    white-space: nowrap;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Contact --- */
.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    color: var(--text);
}

.contact__card:hover {
    border-color: var(--cyan);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
    color: var(--text);
}

.contact__card-icon { font-size: 2rem; }
.contact__card-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.contact__card-value { font-size: 0.95rem; color: var(--cyan); }

/* --- Entity Bar (Footer prelude) --- */
.entity-bar {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
    background: rgba(12, 12, 26, 0.5);
}

.entity-bar__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.entity-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--text);
    transition: all 0.3s;
    text-align: center;
}

.entity-bar__item:hover { color: var(--cyan); transform: translateY(-2px); }
.entity-bar__icon { font-size: 1.5rem; }
.entity-bar__name { font-size: 0.9rem; font-weight: 600; }
.entity-bar__role { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-dim); }
.entity-bar__divider { width: 1px; height: 40px; background: var(--border); }

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
    background: rgba(6, 6, 14, 0.9);
}

.footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer__top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--border);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.footer__brand-tagline {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer__heading {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer__links-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__link {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer__link:hover { color: var(--cyan); }
.footer__link--static { cursor: default; }
.footer__link--static:hover { color: var(--text-muted); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__left {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer__right {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.footer__server-info strong { color: var(--cyan); }

/* --- Project Card Glow (shared) --- */
.project-card__glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--card-color, var(--cyan)), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.venture__card:hover .project-card__glow { opacity: 0.04; }

/* ============================================
   ABOUT PAGE
   ============================================ */

/* --- Story Section --- */
.story__layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story__paragraph {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

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

/* --- Timeline --- */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--cyan), var(--purple), var(--green));
}

.timeline__item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__dot {
    position: absolute;
    left: -2rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    background: var(--cyan);
    border-radius: 50%;
    transform: translateX(-5px);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

.timeline__content {
    padding-left: 1rem;
}

.timeline__date {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timeline__content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0.3rem 0 0.5rem;
}

.timeline__content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Entity Cards (About) --- */
.entity {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    transition: border-color 0.3s;
}

.entity:hover {
    border-color: var(--entity-color, var(--cyan));
}

.entity__header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.entity__icon { font-size: 2.5rem; }

.entity__meta { flex: 1; }
.entity__name { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.2rem; }
.entity__role { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 0.3rem; }
.entity__url { font-family: var(--font-mono); font-size: 0.8rem; color: var(--entity-color, var(--cyan)); }

.entity__body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
}

.entity__description p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.entity__highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.entity__highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.entity__highlight-icon { font-size: 1.2rem; }

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

.philosophy__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.philosophy__card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
}

.philosophy__number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.philosophy__heading {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.philosophy__card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   AI PLATFORM PAGE
   ============================================ */

/* --- AI Philosophy Banner --- */
.ai-philosophy__card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.ai-philosophy__quote {
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.ai-philosophy__text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* --- AI Deep Dive Sections --- */
.ai-deep {
    border-top: 1px solid var(--border);
}

.ai-deep--alt {
    background: rgba(12, 12, 26, 0.3);
}

.ai-deep__layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.ai-deep__layout--reverse {
    grid-template-columns: 1fr 1.2fr;
    direction: rtl;
}

.ai-deep__layout--reverse > * {
    direction: ltr;
}

.ai-deep__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--ai-color, var(--cyan));
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.ai-deep__tagline {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.ai-deep__description p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.ai-deep__description strong { color: var(--text); }

.ai-deep__use-cases {
    margin-top: 2rem;
}

.ai-deep__use-cases h4 {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.ai-deep__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ai-deep__list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.ai-deep__list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 700;
}

/* AI Deep Visual elements */
.ai-deep__stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.ai-deep__stat {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.ai-deep__stat-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cyan);
}

.ai-deep__stat-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Flow diagram (Gemini) */
.ai-deep__feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
}

.ai-deep__feature-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-align: center;
}

.ai-deep__flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.flow__step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 100%;
    max-width: 250px;
}

.flow__step--highlight {
    border-color: var(--green);
    background: rgba(0, 255, 136, 0.06);
}

.flow__icon { font-size: 1.2rem; }
.flow__label { font-size: 0.85rem; color: var(--text-muted); }
.flow__arrow { color: var(--cyan); font-size: 1.2rem; font-weight: 700; }

/* Showcase grid (OpenAI) */
.ai-deep__showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.showcase__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.showcase__item:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.showcase__icon { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.showcase__item h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.showcase__item p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* --- Orchestration --- */
.orchestration {
    border-top: 1px solid var(--border);
}

.orchestration__visual {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
    overflow-x: auto;
}

.orch__ascii pre {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cyan);
    line-height: 1.35;
    text-align: center;
    white-space: pre;
}

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

.orch__step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.orch__step:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.orch__step-num {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
    opacity: 0.3;
    margin-bottom: 0.75rem;
}

.orch__step h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.orch__step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   PROJECTS PAGE
   ============================================ */

/* --- Project Feature (Flagship) --- */
.project-feature__card {
    background: var(--bg-card);
    border: 1px solid var(--cyan);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.08);
}

.project-feature__badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--bg);
    background: linear-gradient(135deg, var(--cyan), var(--green));
    padding: 0.75rem 2rem;
    letter-spacing: 0.1em;
    text-align: center;
    font-weight: 700;
}

.project-feature__layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.project-feature__desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.project-feature__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.project-feature__detail h4 {
    font-size: 0.9rem;
    color: var(--cyan);
    margin-bottom: 0.5rem;
}

.project-feature__detail p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.project-feature__tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.25rem 0.7rem;
    border-radius: 4px;
}

/* --- Spec Card --- */
.spec-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.spec-card__header {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 212, 255, 0.04);
}

.spec-card__rows {
    padding: 0.5rem 0;
}

.spec-card__row {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
}

.spec-card__row:last-child { border-bottom: none; }

.spec-card__key {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spec-card__val {
    color: var(--text-muted);
    font-weight: 500;
}

.spec-card__val--live {
    color: var(--green);
    font-weight: 700;
}

/* --- Project Full Cards --- */
.projects__cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-full {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s;
}

.project-full:hover {
    border-color: var(--proj-color, var(--cyan));
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.06);
}

.project-full__header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.project-full__icon { font-size: 2.5rem; }

.project-full__meta h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.project-full__status {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-top: 0.3rem;
}

.project-full__status--live {
    color: var(--green);
    background: rgba(0, 255, 136, 0.08);
    border-color: rgba(0, 255, 136, 0.2);
}

.project-full__desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-full__highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.project-full__highlight {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}

.project-full__highlight::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--cyan);
}

.project-full__highlight strong {
    color: var(--text);
}

.project-full__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.project-full__link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--cyan);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.project-full__link:hover { color: var(--green); }

/* ============================================
   INFRASTRUCTURE PAGE
   ============================================ */

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

.hw-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.hw-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.08);
}

.hw-card--featured {
    grid-column: 1 / -1;
    border-color: var(--cyan);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), rgba(139, 92, 246, 0.04));
}

.hw-card__icon { font-size: 2rem; margin-bottom: 0.75rem; }

.hw-card__name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.hw-card__subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}

.hw-card__specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hw-card__spec {
    text-align: center;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.hw-card__spec-val {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cyan);
}

.hw-card__spec-key {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hw-card__note {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Software Stack Layers --- */
.sw-stack__layers {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sw-layer {
    padding: 1.5rem 2rem;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sw-layer:first-child { border-radius: 12px 12px 0 0; }
.sw-layer:last-child { border-radius: 0 0 12px 12px; }
.sw-layer + .sw-layer { border-top: none; }

.sw-layer--app { background: rgba(139, 92, 246, 0.06); }
.sw-layer--ai { background: rgba(0, 212, 255, 0.06); }
.sw-layer--services { background: rgba(0, 255, 136, 0.04); }
.sw-layer--os { background: rgba(212, 175, 55, 0.04); }
.sw-layer--hw { background: rgba(244, 114, 182, 0.04); }

.sw-layer__label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    min-width: 180px;
    flex-shrink: 0;
}

.sw-layer__items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sw-layer__items span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
}

/* --- Service Cards --- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--cyan);
    transform: translateY(-3px);
}

.service-card__icon { font-size: 1.8rem; margin-bottom: 0.75rem; }

.service-card__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-card__domains {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.service-card__domains code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.06);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.service-card__tags span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

/* --- Why Self-Host --- */
.why-selfhost__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.why-card:hover {
    border-color: var(--cyan);
    transform: translateY(-3px);
}

.why-card__icon { font-size: 1.8rem; margin-bottom: 0.75rem; }

.why-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

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

/* --- System Status --- */
.sys-status__grid {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.status-row:first-child {
    border-top: 1px solid var(--border);
    border-radius: 8px 8px 0 0;
}

.status-row:last-child {
    border-radius: 0 0 8px 8px;
}

.status-row__name {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.status-row__indicator {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
}

.status-row__indicator--up { color: var(--green); }
.status-row__indicator--down { color: var(--red); }

.sys-status__uptime {
    text-align: center;
    margin-top: 2rem;
}

.sys-status__uptime-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.5rem;
}

.sys-status__uptime-value {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--green);
    display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .rhino-feature__layout,
    .ai-deep__layout,
    .ai-deep__layout--reverse,
    .story__layout,
    .project-feature__layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ai-deep__layout--reverse { direction: ltr; }

    .entity__body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .sw-layer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .sw-layer__label { min-width: auto; }
}

@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(6, 6, 14, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
    }

    .nav__links--open { transform: translateY(0); }
    .nav__mobile-toggle { display: flex; }

    .hero__title { font-size: clamp(2.5rem, 10vw, 4rem); }

    .stats__inner { gap: 1.5rem; }
    .stats__divider { display: none; }
    .stats__number { font-size: 1.5rem; }

    .venture__grid,
    .ai-showcase__grid,
    .philosophy__grid,
    .hw-overview__grid,
    .services__grid,
    .why-selfhost__grid,
    .orchestration__steps,
    .ai-deep__showcase-grid { grid-template-columns: 1fr; }

    .hw-card--featured { grid-column: auto; }

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

    .entity__header { flex-direction: column; text-align: center; }

    .rhino-feature__specs { grid-template-columns: 1fr; }

    .entity-bar__inner { gap: 1.5rem; }
    .entity-bar__divider { display: none; }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section__inner { padding: 4rem 1.25rem; }
    .hero__terminal { max-width: 100%; }
    .terminal__line { font-size: 0.75rem; }
    .page-hero { padding-top: calc(var(--nav-height) + 2rem); padding-bottom: 2rem; }
    .orch__ascii pre { font-size: 0.5rem; }
    .rhino-ascii pre { font-size: 0.5rem; }
    .project-feature__layout { padding: 1.5rem; }
    .project-full { padding: 1.5rem; }
    .entity__header { padding: 1.5rem; }
    .entity__body { padding: 1.5rem; }
    .ai-deep__stats-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURE TICKER  —  real-time live feed strip
   ═══════════════════════════════════════════════════════════════════ */

.feature-ticker {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(0,212,255,0.03) 0%, transparent 20%, transparent 80%, rgba(0,212,255,0.03) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    z-index: 5;
}

.feature-ticker__label {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 1.25rem;
    background: var(--bg);
    border-right: 1px solid rgba(0,212,255,0.15);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--cyan);
    white-space: nowrap;
    z-index: 2;
    position: relative;
}

.feature-ticker__scroll {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.feature-ticker__scroll::before,
.feature-ticker__scroll::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.feature-ticker__scroll::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.feature-ticker__scroll::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.feature-ticker__track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker-march 55s linear infinite;
    will-change: transform;
}

.feature-ticker:hover .feature-ticker__track { animation-play-state: paused; }

@keyframes ticker-march {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    transition: color 0.2s;
}

.ticker__item--live   { color: var(--green); }
.ticker__item--hot    { color: var(--cyan); }
.ticker__item--coming { color: var(--purple); }

.ticker__live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
    animation: ticker-dot-blink 1.8s ease-in-out infinite;
}

@keyframes ticker-dot-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

.ticker__sep {
    color: var(--text-dim);
    font-size: 0.45rem;
    opacity: 0.35;
}

/* ═══════════════════════════════════════════════════════════════════
   LIVE AI SERVICES  —  operational services grid
   ═══════════════════════════════════════════════════════════════════ */

.live-services {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.live-services__headline-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(0,255,136,0.06);
    border: 1px solid rgba(0,255,136,0.25);
    border-radius: 100px;
    padding: 0.45rem 1.1rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--green);
}

.live-status-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: svc-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes svc-dot-pulse {
    0%, 100% { box-shadow: 0 0 6px var(--green); opacity: 1; }
    50%       { box-shadow: 0 0 18px var(--green); opacity: 0.55; }
}

.live-services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}

@media (max-width: 800px) { .live-services__grid { grid-template-columns: 1fr; } }

.svc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation-delay: var(--card-delay, 0s);
}

.svc-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--svc-rgb, 0,212,255), 0.35);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 30px rgba(var(--svc-rgb, 0,212,255), 0.08);
}

.svc-card--hourly { --svc-rgb: 0,255,136; }
.svc-card--qwen   { --svc-rgb: 139,92,246; }
.svc-card--claude { --svc-rgb: 0,212,255; }
.svc-card--gemini { --svc-rgb: 66,133,244; }

/* Animated top-edge accent bar */
.svc-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--svc-rgb, 0,212,255), 0.7), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease;
}

.svc-card:hover::after { transform: scaleX(1); }

.svc-card__status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.svc-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
    animation: svc-dot-pulse 1.8s ease-in-out infinite;
}

.svc-status-label {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--green);
}

.svc-card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    line-height: 1;
}

.svc-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.svc-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.svc-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.svc-stat {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.25rem 0.55rem;
    transition: color 0.2s, border-color 0.2s;
}

.svc-card:hover .svc-stat {
    color: var(--text-muted);
    border-color: rgba(var(--svc-rgb, 0,212,255), 0.2);
}

.svc-stat strong { color: rgba(var(--svc-rgb, 0,212,255), 1); }

/* ═══════════════════════════════════════════════════════════════════
   CLAUDBOT  —  coming soon reveal section
   ═══════════════════════════════════════════════════════════════════ */

.claudbot-reveal {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.claudbot-reveal__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 50% at 65% 50%, rgba(139,92,246,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 5% 30%,  rgba(0,212,255,0.04) 0%, transparent 60%);
}

.claudbot-reveal__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 960px) {
    .claudbot-reveal__layout { grid-template-columns: 1fr; gap: 3rem; }
}

/* — Coming Soon badge — */
.cb-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.1rem;
    border-radius: 100px;
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.35);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--purple);
    margin-bottom: 1.75rem;
}

.cb-badge__pulse {
    position: relative;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.cb-badge__pulse::before,
.cb-badge__pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
}

.cb-badge__pulse::before { background: var(--purple); }
.cb-badge__pulse::after  {
    border: 1.5px solid var(--purple);
    animation: cb-ring 2.2s ease-out infinite;
}

@keyframes cb-ring {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3.5); opacity: 0; }
}

/* — CLAUDBOT title — */
.claudbot-title-wrap { margin-bottom: 1.5rem; }

.claudbot-title-eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.claudbot-name {
    display: block;
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    position: relative;
    background: linear-gradient(120deg, #c084fc 0%, #a78bfa 25%, #00d4ff 65%, #8b5cf6 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: cb-gradient-shift 5s linear infinite alternate;
}

@keyframes cb-gradient-shift {
    0%   { background-position: 0% center; }
    100% { background-position: 100% center; }
}

/* Glitch layers */
.claudbot-name::before,
.claudbot-name::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    background: linear-gradient(120deg, #c084fc, #00d4ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    pointer-events: none;
}

.claudbot-name::before {
    clip-path: polygon(0 15%, 100% 15%, 100% 35%, 0 35%);
    animation: cb-glitch-a 9s infinite steps(1, end);
}

.claudbot-name::after {
    clip-path: polygon(0 65%, 100% 65%, 100% 82%, 0 82%);
    animation: cb-glitch-b 13s infinite steps(1, end);
}

@keyframes cb-glitch-a {
    0%, 88%, 100% { transform: none; opacity: 0; }
    90%  { transform: translateX(-5px) skewX(-2deg); opacity: 0.75; }
    93%  { transform: translateX(5px); opacity: 0.5; }
    96%  { transform: translateX(-2px); opacity: 0; }
}

@keyframes cb-glitch-b {
    0%, 84%, 100% { transform: none; opacity: 0; }
    86%  { transform: translateX(6px) skewX(3deg); opacity: 0.6; }
    90%  { transform: translateX(-3px); opacity: 0.4; }
    92%  { transform: none; opacity: 0; }
}

.claudbot-desc {
    font-size: 0.975rem;
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 460px;
    margin-bottom: 2rem;
}

/* Feature checklist */
.cb-features {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 2.25rem;
}

.cb-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text);
}

.cb-feature__check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(139,92,246,0.12);
    border: 1px solid rgba(139,92,246,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.58rem;
    color: var(--purple);
    font-weight: 700;
}

/* ETA strip */
.cb-eta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(139,92,246,0.05);
    border: 1px solid rgba(139,92,246,0.18);
    border-radius: 10px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.cb-eta__label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--purple);
    text-transform: uppercase;
}

.cb-eta__value { color: var(--text); }

/* — CLAUDBOT chat window — */
.cb-window {
    background: #06060f;
    border: 1px solid rgba(139,92,246,0.25);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    animation: cb-float 7s ease-in-out infinite, cb-glow-pulse 5s ease-in-out infinite;
}

@keyframes cb-float {
    0%, 100% { transform: translateY(0) rotate(-0.3deg); }
    50%       { transform: translateY(-10px) rotate(0.3deg); }
}

@keyframes cb-glow-pulse {
    0%, 100% {
        box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(139,92,246,0.1), 0 0 60px rgba(139,92,246,0.07);
    }
    50% {
        box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(139,92,246,0.25), 0 0 90px rgba(139,92,246,0.15), 0 0 140px rgba(0,212,255,0.04);
    }
}

.cb-window__titlebar {
    background: rgba(139,92,246,0.07);
    border-bottom: 1px solid rgba(139,92,246,0.12);
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cb-window__dots { display: flex; gap: 0.35rem; }
.cb-window__dots span { width: 10px; height: 10px; border-radius: 50%; }
.cb-window__dots span:nth-child(1) { background: #ff5f56; }
.cb-window__dots span:nth-child(2) { background: #ffbd2e; }
.cb-window__dots span:nth-child(3) { background: #27c93f; }

.cb-window__title-text {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.63rem;
    color: var(--text-muted);
}

.cb-window__badge {
    font-family: var(--font-mono);
    font-size: 0.53rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--purple);
    background: rgba(139,92,246,0.15);
    border: 1px solid rgba(139,92,246,0.35);
    border-radius: 4px;
    padding: 0.2rem 0.45rem;
}

.cb-window__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 320px;
}

.cb-chat { display: flex; flex-direction: column; gap: 1rem; flex: 1; }

.cb-msg {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.cb-msg--user { flex-direction: row-reverse; }

.cb-avatar {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.52rem;
    font-weight: 700;
    flex-shrink: 0;
}

.cb-avatar--bot  {
    background: rgba(139,92,246,0.15);
    border: 1px solid rgba(139,92,246,0.35);
    color: var(--purple);
}

.cb-avatar--user {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.cb-bubble {
    padding: 0.7rem 0.9rem;
    border-radius: 10px;
    font-size: 0.78rem;
    line-height: 1.65;
    max-width: 85%;
}

.cb-msg--bot  .cb-bubble {
    background: rgba(139,92,246,0.07);
    border: 1px solid rgba(139,92,246,0.18);
    border-radius: 3px 10px 10px 10px;
    color: var(--text);
}

.cb-msg--user .cb-bubble {
    background: rgba(0,212,255,0.06);
    border: 1px solid rgba(0,212,255,0.18);
    border-radius: 10px 3px 10px 10px;
    color: var(--text);
    text-align: right;
}

.cb-code-line {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--cyan);
    margin: 0.1rem 0;
}

.cb-status-live { color: var(--green); font-weight: 600; }

/* Typing animation */
.cb-typing-dot {
    display: inline-flex;
    gap: 3px;
    align-items: flex-end;
    padding: 0.2rem 0;
}

.cb-typing-dot span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--purple);
    opacity: 0.5;
    animation: cb-type-bounce 1.4s ease-in-out infinite;
}

.cb-typing-dot span:nth-child(2) { animation-delay: 0.2s; }
.cb-typing-dot span:nth-child(3) { animation-delay: 0.4s; }

@keyframes cb-type-bounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
    30%            { transform: translateY(-5px); opacity: 1; }
}

.cb-window__input-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.55rem 0.8rem;
    margin-top: auto;
}

.cb-input__prompt      { color: var(--purple); font-family: var(--font-mono); font-size: 0.85rem; font-weight: 700; }
.cb-input__placeholder { font-size: 0.78rem; color: var(--text-dim); flex: 1; font-style: italic; }
.cb-input__cursor      { color: var(--purple); font-weight: 200; animation: cb-cursor 1.1s step-end infinite; }

@keyframes cb-cursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   PARTNERSHIP POWER  —  joint venture showcase
   ═══════════════════════════════════════════════════════════════════ */

.partnership-power {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(0,212,255,0.015) 0%, transparent 50%, rgba(0,255,136,0.015) 100%);
}

.partnership-power__layout {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3.5rem;
}

@media (max-width: 800px) {
    .partnership-power__layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.partner-card {
    display: block;
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
}

.partner-card--blue:hover  { box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 40px rgba(0,212,255,0.08); }
.partner-card--green:hover { box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 40px rgba(0,255,136,0.08); }

.partner-card__corner-glow {
    position: absolute;
    top: -70px;
    right: -70px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.partner-card--blue  .partner-card__corner-glow { background: var(--cyan); }
.partner-card--green .partner-card__corner-glow { background: var(--green); }
.partner-card:hover  .partner-card__corner-glow { opacity: 0.12; }

.partner-card__icon { font-size: 2.25rem; display: block; margin-bottom: 1rem; line-height: 1; }

.partner-card__name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.partner-card__role {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 0.85rem;
}

.partner-card--blue  .partner-card__role { color: var(--cyan); }
.partner-card--green .partner-card__role { color: var(--green); }

.partner-card__desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.partner-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.partner-chip {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.2rem 0.55rem;
}

.partner-card__link {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.partner-card--blue:hover  .partner-card__link { color: var(--cyan); }
.partner-card--green:hover .partner-card__link { color: var(--green); }

/* × connector */
.partner-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
}

.partner-connector__rings {
    position: absolute;
    inset: -30px;
    pointer-events: none;
}

.partner-connector__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(0,212,255,0.15);
    animation: pc-ring 3s ease-out infinite;
}

.partner-connector__ring:nth-child(1) { width: 55px;  height: 55px;  margin: -27.5px; }
.partner-connector__ring:nth-child(2) { width: 80px;  height: 80px;  margin: -40px; animation-delay: 0.9s; }
.partner-connector__ring:nth-child(3) { width: 110px; height: 110px; margin: -55px; animation-delay: 1.8s; }

@keyframes pc-ring {
    0%   { opacity: 0.5; transform: scale(0.7); }
    100% { opacity: 0;   transform: scale(1.3); }
}

.partner-connector__x {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 30px var(--cyan);
    position: relative;
    z-index: 1;
    line-height: 1;
}

.partner-connector__label {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-dim);
    text-align: center;
    position: relative;
    z-index: 1;
}

.partnership-power__tagline {
    text-align: center;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.partnership-power__tagline strong {
    background: linear-gradient(90deg, var(--cyan), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════
   Featured Research Banner
   ═══════════════════════════════════════ */

.featured-research {
    padding: 0 2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.featured-research__inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(139,92,246,0.06) 0%, rgba(0,212,255,0.04) 50%, rgba(0,255,136,0.03) 100%);
    border: 1px solid rgba(139,92,246,0.2);
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.2s;
    cursor: pointer;
}

.featured-research__inner:hover {
    border-color: rgba(139,92,246,0.4);
    transform: translateY(-1px);
}

.featured-research__glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.featured-research__content {
    flex: 1;
    min-width: 0;
}

.featured-research__badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.featured-research__badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-family: var(--font-mono);
}

.featured-research__badge--thesis {
    background: rgba(139,92,246,0.15);
    color: var(--purple);
}

.featured-research__badge--new {
    background: rgba(0,255,136,0.15);
    color: var(--green);
    animation: pulse 2s infinite;
}

.featured-research__title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 0.4rem;
}

.featured-research__title-pre {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    font-family: var(--font-mono);
    margin-bottom: 0.2rem;
}

.featured-research__desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.featured-research__specs {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.8rem;
}

.featured-research__spec {
    text-align: center;
}

.featured-research__spec-val {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--cyan);
    font-family: var(--font-mono);
}

.featured-research__spec-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: var(--font-mono);
}

.featured-research__arrow {
    font-size: 1.8rem;
    color: var(--purple);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.featured-research__inner:hover .featured-research__arrow {
    transform: translateX(5px);
    color: var(--cyan);
}

@media (max-width: 768px) {
    .featured-research__inner { flex-direction: column; gap: 1rem; }
    .featured-research__specs { gap: 1rem; }
    .featured-research__arrow { display: none; }
}

/* ═══════════════════════════════════════
   CMS Page Styles
   ═══════════════════════════════════════ */

.cms-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    line-height: 1.8;
    color: var(--text);
}

.cms-page--wide { max-width: 1100px; }
.cms-page--landing { max-width: none; }

.cms-page__title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cms-page h2 { font-size: 1.8rem; margin: 2.5rem 0 1rem; color: #fff; }
.cms-page h3 { font-size: 1.4rem; margin: 2rem 0 0.8rem; color: var(--cyan); }
.cms-page h4 { font-size: 1.1rem; margin: 1.5rem 0 0.6rem; color: var(--green); }
.cms-page p { margin-bottom: 1.2rem; color: var(--text-dim); }
.cms-page a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.cms-page a:hover { color: var(--green); }
.cms-page strong { color: #fff; }

.cms-page ul, .cms-page ol { margin: 1rem 0 1.5rem 1.5rem; color: var(--text-dim); }
.cms-page li { margin-bottom: 0.5rem; }
.cms-page li::marker { color: var(--cyan); }

.cms-page blockquote {
    border-left: 3px solid var(--cyan);
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(0, 212, 255, 0.04);
    border-radius: 0 8px 8px 0;
    color: var(--text-dim);
    font-style: italic;
}

.cms-page pre {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.2rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.6;
}

.cms-page code {
    font-family: var(--font-mono);
    background: rgba(0, 212, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: var(--cyan);
}

.cms-page pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    color: var(--text);
}

.cms-page img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin: 1.5rem 0;
}

.cms-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.cms-page th, .cms-page td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    text-align: left;
}

.cms-page th {
    background: rgba(0, 212, 255, 0.06);
    color: var(--cyan);
    font-weight: 600;
}

.cms-page td { color: var(--text-dim); }

.cms-page hr {
    border: none;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
    margin: 2.5rem 0;
}

/* ── Contact form template ── */

.contact-form__group {
    margin-bottom: 1.2rem;
}

.contact-form__group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--text);
    font-size: 0.9rem;
}

.contact-form__input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(0, 212, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form__input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .contact-form__row {
        grid-template-columns: 1fr;
    }
}
