/* 4th Degree AI — v2 Styles */

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

:root {
    --indigo: #6366f1;
    --violet: #8b5cf6;
    --aqua: #52f0c0;
    --amber: #f59e0b;
    --slate-900: #0f172a;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --white: #ffffff;
    --red-hal: #ff3b30;

    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Fira Code', monospace;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,.1);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
    --shadow-glow: 0 0 40px rgba(99,102,241,.15);

    --radius: .75rem;
    --radius-lg: 1.25rem;
    --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    line-height: 1.65;
    color: var(--slate-800);
    background: #07101f;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--slate-900); }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.gradient-text {
    background: linear-gradient(135deg, var(--indigo), var(--violet), var(--amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--indigo);
    margin-bottom: .75rem;
}

.section-intro {
    max-width: 640px;
    color: var(--slate-500);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .875rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    color: var(--white);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99,102,241,.35);
}

.btn-secondary {
    background: transparent;
    color: var(--indigo);
    border-color: var(--indigo);
}
.btn-secondary:hover {
    background: var(--indigo);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255,255,255,.1);
    color: var(--white);
    border-color: rgba(255,255,255,.3);
}
.btn-ghost:hover {
    background: rgba(255,255,255,.2);
    transform: translateY(-2px);
}

/* ── Header / Nav ──────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(7,16,31,.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(82,240,192,.14);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: .4rem;
}

.logo-image {
    width: clamp(160px, 18vw, 230px);
    height: 42px;
    object-fit: contain;
    object-position: left center;
}

.home-page .header .logo {
    visibility: hidden;
    pointer-events: none;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-inc {
    font-size: .8rem;
    color: rgba(255,255,255,.55);
}

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

.nav-links a {
    font-weight: 500;
    font-size: .925rem;
    color: rgba(255,255,255,.72);
    position: relative;
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--aqua);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--aqua), var(--indigo));
    transition: width var(--transition);
}

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

.nav-cta {
    padding: .55rem 1.25rem;
    background: rgba(82,240,192,.1);
    border: 1px solid rgba(82,240,192,.48);
    color: var(--white) !important;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .875rem;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(82,240,192,.22);
}

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

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
    padding: 5.25rem 0 4.5rem;
    background: #07101f;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 28%, rgba(82,240,192,.12), transparent 24rem),
        linear-gradient(180deg, rgba(7,16,31,0) 0%, rgba(7,16,31,.92) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 36%;
    background: linear-gradient(180deg, transparent, rgba(7,16,31,.95));
    pointer-events: none;
    z-index: 1;
}

.hero-art {
    width: min(100%, 1440px);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.hero-art img {
    width: 100%;
    max-height: calc(100vh - 6.5rem);
    object-fit: contain;
    border: 1px solid rgba(82,240,192,.12);
    box-shadow: 0 28px 80px rgba(0,0,0,.32);
}

.hero .container {
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: none;
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--aqua);
    margin-bottom: 1rem;
    letter-spacing: .02em;
}

.hero h1 {
    color: var(--white);
    width: 100%;
    max-width: none;
    margin-bottom: 1.5rem;
    font-size: clamp(2.35rem, 4.4vw, 4.25rem);
    text-shadow: 0 14px 34px rgba(0,0,0,.42);
}

@media (min-width: 860px) {
    .hero h1 {
        white-space: nowrap;
    }
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,.78);
    max-width: 980px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero .btn-primary,
.cta-banner .btn-primary {
    background: rgba(99,102,241,.16);
    color: #d9daff;
    border-color: rgba(99,102,241,.52);
}

.hero .btn-primary:hover,
.cta-banner .btn-primary:hover {
    background: #b9bbff;
    color: #07101f;
    border-color: #b9bbff;
    box-shadow: 0 8px 24px rgba(99,102,241,.24);
}

.hero .btn-secondary {
    color: var(--aqua);
    border-color: rgba(82,240,192,.58);
    background: rgba(82,240,192,.06);
}

.hero .btn-secondary:hover {
    color: #06111f;
    background: var(--aqua);
    border-color: var(--aqua);
}

.hero-proof {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    flex-direction: column;
}

.proof-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--aqua);
}

.proof-label {
    font-size: .8rem;
    color: rgba(255,255,255,.62);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.home-degrees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.home-degree-card {
    min-height: 104px;
    padding: 1.1rem;
    border: 1px solid rgba(82,240,192,.2);
    background:
        linear-gradient(180deg, rgba(18,68,58,.62), rgba(7,34,34,.74)),
        rgba(7,16,31,.88);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 12px 32px rgba(0,0,0,.16);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-degree-number {
    font-family: var(--font-mono);
    color: var(--aqua);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.home-degree-card h3 {
    color: var(--aqua);
    font-size: clamp(1rem, 1.55vw, 1.25rem);
}

/* ── Pillars / Cards Grid ──────────────────────────────── */
.section-dark {
    background: var(--slate-900);
    color: var(--white);
}

.section-light {
    background: #07101f;
}

.section-white {
    background:
        radial-gradient(circle at 82% 4%, rgba(82,240,192,.08), transparent 26rem),
        #07101f;
}

section {
    padding: 5rem 0;
}

.capabilities-section,
.proof-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 10%, rgba(82,240,192,.09), transparent 26rem),
        linear-gradient(180deg, #07101f 0%, #0a1324 100%);
}

.capabilities-section {
    border-top: 1px solid rgba(82,240,192,.12);
}

.proof-section {
    border-top: 1px solid rgba(82,240,192,.1);
}

.section-heading {
    margin-bottom: 3rem;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(280px, .95fr) minmax(320px, .9fr);
    gap: 3rem;
    align-items: end;
}

.capabilities-section .section-label,
.proof-section .section-label {
    color: var(--aqua);
}

.capabilities-section h2,
.proof-section h2 {
    color: var(--white);
    max-width: 560px;
}

.capabilities-section .section-intro,
.proof-section .section-intro {
    color: rgba(255,255,255,.7);
    margin-bottom: 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.pillar-card {
    min-height: 330px;
    background:
        linear-gradient(180deg, rgba(18,68,58,.34), rgba(7,16,31,.7)),
        rgba(255,255,255,.025);
    border: 1px solid rgba(82,240,192,.16);
    border-radius: 0;
    padding: 1.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--aqua), transparent);
    opacity: .65;
    transition: opacity var(--transition);
}

.pillar-card:hover {
    background:
        linear-gradient(180deg, rgba(18,68,58,.46), rgba(7,16,31,.74)),
        rgba(255,255,255,.04);
    transform: translateY(-3px);
    box-shadow: 0 24px 70px rgba(0,0,0,.24);
}

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

.pillar-card.featured {
    border-color: rgba(82,240,192,.32);
    background:
        linear-gradient(180deg, rgba(18,68,58,.52), rgba(7,16,31,.72)),
        rgba(82,240,192,.04);
}

.pillar-card.featured::before { opacity: 1; }

.pillar-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: .9rem;
    font-weight: 700;
    color: var(--aqua);
    margin-bottom: 3.25rem;
    background: rgba(82,240,192,.08);
    border: 1px solid rgba(82,240,192,.24);
}

.pillar-card h3 {
    color: var(--white);
    margin-bottom: .75rem;
    font-size: 1.35rem;
}

.pillar-card p {
    color: rgba(255,255,255,.68);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.pillar-link {
    font-weight: 600;
    font-size: .9rem;
    color: var(--aqua);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: gap var(--transition);
}

.pillar-link:hover { gap: .6rem; }

/* ── Products Section ──────────────────────────────────── */
.product-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    gap: 2rem;
    align-items: stretch;
    padding: 0;
    background: rgba(255,255,255,.025);
    border-radius: 0;
    box-shadow: none;
    border: 1px solid rgba(82,240,192,.14);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color var(--transition), background var(--transition);
}

.product-card:hover {
    border-color: rgba(82,240,192,.28);
    background: rgba(255,255,255,.035);
}

.product-card.reversed { direction: rtl; }
.product-card.reversed > * { direction: ltr; }

.proof-section .btn-secondary {
    color: var(--aqua);
    border-color: rgba(82,240,192,.54);
    background: rgba(82,240,192,.04);
}

.proof-section .btn-secondary:hover {
    color: #06111f;
    background: var(--aqua);
    border-color: var(--aqua);
}

.product-badge {
    display: inline-block;
    padding: .35rem .7rem;
    border-radius: 0;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 1rem;
}

.badge-beta {
    background: rgba(99,102,241,.16);
    color: #b9bbff;
    border: 1px solid rgba(99,102,241,.25);
}

.badge-live {
    background: rgba(82,240,192,.1);
    color: var(--aqua);
    border: 1px solid rgba(82,240,192,.24);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    color: var(--white);
    font-size: 1.7rem;
    margin-bottom: .75rem;
}

.product-info p {
    color: rgba(255,255,255,.7);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 1.5rem;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .925rem;
    color: rgba(255,255,255,.68);
}

.feature-check {
    color: var(--aqua);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    padding: 2rem;
    background:
        radial-gradient(circle at 50% 42%, rgba(82,240,192,.13), transparent 14rem),
        linear-gradient(180deg, rgba(18,68,58,.28), rgba(7,16,31,.82));
    border-left: 1px solid rgba(82,240,192,.12);
}

.product-mockup {
    width: min(220px, 70%);
    aspect-ratio: 9 / 16;
    background: linear-gradient(180deg, #101827, #050b16);
    border-radius: 28px;
    padding: 10px;
    box-shadow: 0 22px 70px rgba(0,0,0,.35);
    border: 1px solid rgba(82,240,192,.2);
}

.product-mockup.screenshot-mockup {
    width: min(230px, 74%);
    aspect-ratio: 359 / 780;
    padding: 8px;
}

.product-screenshot {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 21px;
}

.product-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(82,240,192,.12), rgba(99,102,241,.09)), #07101f;
    border-radius: 21px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    gap: .5rem;
}

.product-screen-icon {
    color: var(--aqua);
    font-family: var(--font-mono);
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: .5rem;
}

.product-screen h4 {
    color: var(--white);
    font-size: 1.1rem;
}

.product-screen p {
    font-size: .8rem;
    color: rgba(255,255,255,.58);
}

.product-browser {
    width: 100%;
    max-width: 360px;
    background: #07101f;
    border-radius: 0;
    box-shadow: 0 22px 70px rgba(0,0,0,.34);
    overflow: hidden;
    border: 1px solid rgba(82,240,192,.22);
}

.product-browser.screenshot-browser {
    max-width: 460px;
}

.browser-screenshot {
    display: block;
    width: 100%;
    aspect-ratio: 1162 / 768;
    object-fit: cover;
    object-position: top center;
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .6rem .8rem;
    background: rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(82,240,192,.14);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--slate-300);
}

.browser-dot:first-child { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #28c840; }

.browser-url {
    flex: 1;
    text-align: center;
    font-size: .7rem;
    color: rgba(255,255,255,.5);
    font-family: var(--font-mono);
    margin-left: .5rem;
}

.browser-content {
    padding: 2rem;
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.browser-content-icon {
    color: var(--aqua);
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 800;
}

.browser-content h4 {
    color: var(--white);
    font-size: 1rem;
}

.browser-content p {
    font-size: .8rem;
    color: rgba(255,255,255,.58);
}

/* ── Services Page ─────────────────────────────────────── */
.service-block {
    margin-bottom: 4rem;
    padding: 2rem;
    border: 1px solid rgba(82,240,192,.14);
    background:
        linear-gradient(180deg, rgba(18,68,58,.3), rgba(7,16,31,.74)),
        rgba(255,255,255,.025);
}

.service-block:last-child {
    margin-bottom: 0;
}

.service-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-icon-lg {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(82,240,192,.08);
    border: 1px solid rgba(82,240,192,.24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: .9rem;
    font-weight: 700;
    color: var(--aqua);
    flex-shrink: 0;
}

.service-header h3 {
    color: var(--white);
    font-size: 1.5rem;
}

.service-header p {
    color: rgba(255,255,255,.6);
    margin-top: .25rem;
}

.service-block > p {
    color: rgba(255,255,255,.7) !important;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    color: rgba(255,255,255,.68);
    font-size: .95rem;
    line-height: 1.6;
}

.service-list li::before {
    content: '→';
    color: var(--aqua);
    font-weight: 700;
    flex-shrink: 0;
}

.service-aside {
    background: rgba(82,240,192,.05);
    border-radius: 0;
    padding: 1.5rem;
    border-left: 3px solid var(--aqua);
    border-top: 1px solid rgba(82,240,192,.12);
    border-right: 1px solid rgba(82,240,192,.12);
    border-bottom: 1px solid rgba(82,240,192,.12);
}

.service-aside h4 {
    margin-bottom: .5rem;
    color: var(--aqua);
}

.service-aside p {
    color: rgba(255,255,255,.66);
    font-size: .925rem;
}

/* ── Engagement Models ─────────────────────────────────── */
.engagement-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.engagement-card {
    background:
        linear-gradient(180deg, rgba(18,68,58,.28), rgba(7,16,31,.78)),
        rgba(255,255,255,.025);
    border-radius: 0;
    padding: 2rem;
    border: 1px solid rgba(82,240,192,.14);
    box-shadow: none;
    transition: all var(--transition);
}

.engagement-card:hover {
    box-shadow: 0 18px 55px rgba(0,0,0,.2);
    transform: translateY(-2px);
}

.engagement-timeline {
    font-family: var(--font-mono);
    font-size: .8rem;
    color: var(--aqua);
    font-weight: 600;
    margin-bottom: .5rem;
}

.engagement-card h3 {
    color: var(--white);
    margin-bottom: .5rem;
}

.engagement-card p {
    color: rgba(255,255,255,.66);
    font-size: .925rem;
    line-height: 1.6;
}

/* ── About Page ────────────────────────────────────────── */
.about-hero {
    padding: 8rem 0 4rem;
    background:
        radial-gradient(circle at 80% 20%, rgba(82,240,192,.1), transparent 24rem),
        #07101f;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-text p {
    color: rgba(255,255,255,.68);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-text p:first-of-type {
    font-size: 1.15rem;
    color: rgba(255,255,255,.78);
}

.about-text h1 {
    color: var(--white);
}

.about-story-content {
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
}

.about-story-content h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: .75rem;
}

.about-panel {
    max-width: 980px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid rgba(82,240,192,.14);
    background:
        linear-gradient(180deg, rgba(18,68,58,.3), rgba(7,16,31,.74)),
        rgba(255,255,255,.025);
}

.about-panel h2 {
    color: var(--white);
    margin-bottom: .75rem;
}

.about-panel .section-label {
    color: var(--aqua);
    font-size: .8rem;
}

.about-card-section h2 {
    margin-bottom: 2.5rem;
}

.about-panel .section-intro {
    max-width: none;
}

.philosophy-copy {
    margin-bottom: 0;
}

.team-card {
    background:
        linear-gradient(180deg, rgba(18,68,58,.28), rgba(7,16,31,.78)),
        rgba(255,255,255,.025);
    border-radius: 0;
    padding: 2.5rem;
    box-shadow: none;
    text-align: center;
    border: 1px solid rgba(82,240,192,.14);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.avatar-dave {
    background: rgba(99,102,241,.16);
    color: #d9daff;
    border: 1px solid rgba(99,102,241,.36);
}

.avatar-hal {
    background: rgba(82,240,192,.08);
    color: var(--aqua);
    border: 1px solid rgba(82,240,192,.24);
}

.team-card h3 {
    color: var(--white);
    margin-bottom: .25rem;
}

.team-role {
    color: var(--aqua);
    font-size: .9rem;
    margin-bottom: 1rem;
}

.team-card p {
    color: rgba(255,255,255,.66);
    font-size: .925rem;
    line-height: 1.6;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 720px;
    margin: 0 auto;
}

/* Philosophy / Degrees */
.degrees-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.degree-card {
    text-align: center;
    padding: 2rem 1.25rem;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(18,68,58,.28), rgba(7,16,31,.78)),
        rgba(255,255,255,.025);
    box-shadow: none;
    border: 1px solid rgba(82,240,192,.14);
    transition: all var(--transition);
}

.degree-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 55px rgba(0,0,0,.2);
}

.degree-card.highlight {
    background:
        linear-gradient(180deg, rgba(99,102,241,.2), rgba(7,16,31,.78)),
        rgba(255,255,255,.025);
    color: var(--white);
    border-color: rgba(99,102,241,.36);
    box-shadow: none;
}

.degree-number {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: .5rem;
    font-family: var(--font-mono);
}

.degree-card.highlight .degree-number { color: var(--white); }
.degree-card:not(.highlight) .degree-number { color: var(--aqua); }

.degree-card h4 {
    color: var(--white);
    margin-bottom: .5rem;
}
.degree-card.highlight h4 { color: var(--white); }

.degree-card p {
    font-size: .85rem;
    color: rgba(255,255,255,.64);
    line-height: 1.5;
}

.degree-card.highlight p {
    color: rgba(255,255,255,.8);
}

/* ── Values ────────────────────────────────────────────── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgba(18,68,58,.28), rgba(7,16,31,.78)),
        rgba(255,255,255,.025);
    border: 1px solid rgba(82,240,192,.14);
}

.value-card h3 {
    color: var(--white);
    margin-bottom: .5rem;
}

.value-icon {
    color: var(--aqua);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--slate-300);
    font-size: .925rem;
    line-height: 1.6;
}

/* ── Contact Page ──────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: rgba(255,255,255,.7);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(82,240,192,.08);
    border: 1px solid rgba(82,240,192,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: .82rem;
    font-weight: 700;
    color: var(--aqua);
    flex-shrink: 0;
}

.contact-method h4 {
    color: var(--white);
    margin-bottom: .15rem;
}

.contact-method p {
    color: rgba(255,255,255,.62);
    font-size: .925rem;
}

.contact-form {
    background:
        linear-gradient(180deg, rgba(18,68,58,.28), rgba(7,16,31,.78)),
        rgba(255,255,255,.025);
    border-radius: 0;
    padding: 2.5rem;
    box-shadow: none;
    border: 1px solid rgba(82,240,192,.14);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .4rem;
    color: rgba(255,255,255,.74);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1.5px solid rgba(82,240,192,.18);
    border-radius: 0;
    font-family: var(--font);
    font-size: .95rem;
    color: var(--white);
    transition: border-color var(--transition);
    background: rgba(7,16,31,.72);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,.38);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--aqua);
    box-shadow: 0 0 0 3px rgba(82,240,192,.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
}

/* ── CTA Banner ────────────────────────────────────────── */
.cta-banner {
    background:
        radial-gradient(circle at 50% 0%, rgba(82,240,192,.13), transparent 28rem),
        #07101f;
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(82,240,192,.1), transparent);
    height: 1px;
    top: 0;
    bottom: auto;
    pointer-events: none;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--slate-300);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-banner .btn-ghost {
    color: var(--aqua);
    border-color: rgba(82,240,192,.54);
    background: rgba(82,240,192,.04);
}

.cta-banner .btn-ghost:hover {
    color: #06111f;
    background: var(--aqua);
    border-color: var(--aqua);
}

/* ── Page Hero (interior pages) ────────────────────────── */
.page-hero {
    padding: 8rem 0 3rem;
    background:
        radial-gradient(circle at 78% 20%, rgba(82,240,192,.1), transparent 24rem),
        #07101f;
    text-align: center;
    border-bottom: 1px solid rgba(82,240,192,.12);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: .75rem;
}

.page-hero p {
    color: rgba(255,255,255,.68);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto;
}

.page-hero .section-label {
    color: var(--aqua);
    font-size: .8rem;
}

.section-light h2,
.section-white h2 {
    color: var(--white);
}

.section-light .section-intro,
.section-white .section-intro {
    color: rgba(255,255,255,.68);
}

.section-light .section-label,
.section-white .section-label {
    color: var(--aqua);
}

.about-text .section-label {
    color: var(--aqua);
    font-size: .8rem;
}

.about-text p.section-label {
    color: var(--aqua);
    font-size: .8rem;
    line-height: 1.65;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
    background: #050b16;
    color: var(--white);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(82,240,192,.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-text {
    font-size: 1.25rem;
    margin-bottom: .5rem;
    display: inline-block;
}

.footer-logo-image {
    width: 210px;
    height: 44px;
    object-fit: contain;
    object-position: left center;
}

.footer-brand p {
    color: var(--slate-300);
    font-size: .9rem;
    margin-top: .75rem;
    max-width: 320px;
    line-height: 1.6;
}

.footer h4 {
    color: var(--white);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.footer-links a {
    color: var(--slate-300);
    font-size: .9rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--slate-500);
    font-size: .825rem;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .pillars-grid { grid-template-columns: repeat(3, 1fr); }
    .home-degrees-grid { grid-template-columns: repeat(4, 1fr); }
    .degrees-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    section { padding: 3.5rem 0; }

    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .logo-image {
        width: 175px;
        height: 36px;
    }

    .hero .container {
        text-align: center;
    }
    .hero {
        min-height: auto;
        padding-top: 5.25rem;
    }
    .hero::before {
        background:
            radial-gradient(circle at 74% 22%, rgba(82,240,192,.12), transparent 16rem),
            linear-gradient(180deg, rgba(7,16,31,0) 0%, rgba(7,16,31,.94) 100%);
    }
    .hero-art { padding: 0 .75rem; }
    .hero .container { margin-top: 2.25rem; }
    .hero-text { margin-left: auto; margin-right: auto; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-proof { justify-content: center; }
    .home-degrees-grid { grid-template-columns: repeat(2, 1fr); }
    .home-degree-card { min-height: auto; gap: 1.5rem; text-align: left; }

    .product-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    .pillars-grid { grid-template-columns: 1fr; }
    .pillar-card {
        min-height: auto;
    }
    .pillar-icon {
        margin-bottom: 3rem;
    }
    .product-card.reversed { direction: ltr; }

    .service-details { grid-template-columns: 1fr; }
    .engagement-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .degrees-grid { grid-template-columns: 1fr; }

    .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}

@media (max-width: 460px) {
    .home-degrees-grid { grid-template-columns: 1fr; }
}
