:root {
    /* Dark high-tech + WMS emerald / sky / gradient accents */
    --bg-light: #0a0a0c;
    --bg-panel: #12141a;
    --bg-accent: #1a1f2a;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --accent-green: #34d399;
    --accent-wms: #10b981;
    --accent-sky: #38bdf8;
    --accent-amber: #fbbf24;
    --accent-violet: #a78bfa;
    --border-color: rgba(255, 255, 255, 0.08);
    --header-h: 72px;

    /* Typography */
    --font-heading: 'JetBrains Mono', ui-monospace, monospace;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Misc */
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ============================
   BASE RESET
   ============================ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-wms);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ============================
   UTILITIES
   ============================ */
.text-green {
    color: var(--accent-green);
}

.text-amber {
    color: var(--accent-amber);
}

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

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

.mono {
    font-family: var(--font-heading);
}

.uppercase {
    text-transform: uppercase;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--text-primary);
    border: 1px solid var(--text-primary);
    color: var(--bg-light);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn:hover {
    background: #e4e4e7;
    border-color: #e4e4e7;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(167, 139, 250, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #f4f4f5 0%, #e4e4e7 100%);
    color: #0a0a0c;
    border-color: transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fff 0%, #f4f4f5 100%);
    border-color: transparent;
}

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

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

/* Dark “blueprint / HUD” primary — fits grid + ecosystem */
.btn-hud {
    background: linear-gradient(
        155deg,
        rgba(22, 24, 34, 0.78) 0%,
        rgba(12, 14, 20, 0.88) 100%
    );
    color: rgba(244, 244, 245, 0.96);
    border: 1px solid rgba(167, 139, 250, 0.38);
    border-radius: 2px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 0 0 1px rgba(0, 0, 0, 0.45),
        0 4px 28px rgba(0, 0, 0, 0.4),
        0 0 32px rgba(167, 139, 250, 0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-hud:hover {
    background: linear-gradient(
        155deg,
        rgba(28, 32, 44, 0.9) 0%,
        rgba(16, 18, 26, 0.94) 100%
    );
    border-color: rgba(16, 185, 129, 0.5);
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(167, 139, 250, 0.22),
        0 10px 36px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(16, 185, 129, 0.14);
}

.btn-hud:focus-visible {
    outline: 2px solid var(--accent-sky);
    outline-offset: 3px;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    background: linear-gradient(45deg, transparent 30%, rgba(167, 139, 250, 0.12) 50%, transparent 70%);
    animation: btnShine 3s infinite;
}

.btn-hud.btn-glow::after {
    background: linear-gradient(45deg, transparent 28%, rgba(56, 189, 248, 0.08) 48%, rgba(167, 139, 250, 0.12) 52%, transparent 72%);
}

@keyframes btnShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* ============================
   GRID BACKGROUND
   ============================ */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: -2;
    pointer-events: none;
}

/* ============================
   HEADER
   ============================ */
header,
.site-header {
    background: rgba(10, 10, 12, 0.88);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-md) 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
}

.lang-switch a {
    color: var(--text-secondary);
    padding: 4px 6px;
    border-radius: 4px;
}

.lang-switch a:hover {
    color: var(--text-primary);
}

.lang-switch a.is-active {
    color: var(--accent-wms);
    background: rgba(16, 185, 129, 0.12);
}

.lang-switch-sep {
    color: var(--text-secondary);
    opacity: 0.5;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 900;
    letter-spacing: 2px;
    max-width: 58vw;
    line-height: 1.2;
}

nav.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

nav.main-nav a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================
   HERO — FULL SCREEN
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    padding-top: 80px;
}

.hero-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 0;
}

#living-core {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.55;
}

.hero-ambient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(167, 139, 250, 0.14), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 70%, rgba(56, 189, 248, 0.1), transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(16, 185, 129, 0.08), transparent 45%);
}

.text-gradient {
    background: linear-gradient(110deg, var(--accent-violet) 0%, #f472b6 45%, var(--accent-sky) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero-ecosystem {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    max-width: 720px;
    line-height: 1.6;
}

.hero-ecosystem a {
    color: var(--accent-sky);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-ecosystem a:hover {
    color: var(--accent-wms);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero h1 {
    font-size: clamp(2rem, 8vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-sub {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    line-height: 1.7;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--accent-wms);
    margin-bottom: var(--spacing-md);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.status-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-wms);
    border-radius: 50%;
    animation: blink 2s infinite;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ============================
   HERO BRIDGE — engagement console
   ============================ */
.hero-bridge {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    width: 100%;
    padding: clamp(2rem, 5vw, 3.5rem) var(--spacing-lg) clamp(1.5rem, 4vw, 2.5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    isolation: isolate;
}

.hero-bridge::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 80% at 50% 60%, rgba(167, 139, 250, 0.16), transparent 60%),
        radial-gradient(ellipse 80% 60% at 50% 100%, rgba(16, 185, 129, 0.08), transparent 65%),
        linear-gradient(180deg, rgba(10, 10, 12, 0) 0%, rgba(10, 10, 12, 0.55) 70%, rgba(10, 10, 12, 0.85) 100%);
}

.hero-bridge__rail {
    position: absolute;
    top: 50%;
    height: 1px;
    width: calc(50% - 280px);
    pointer-events: none;
    transform: translateY(-50%);
}

.hero-bridge__rail--l {
    left: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(167, 139, 250, 0.08) 25%, rgba(167, 139, 250, 0.55) 100%);
}

.hero-bridge__rail--r {
    right: 0;
    background: linear-gradient(270deg, transparent 0%, rgba(16, 185, 129, 0.08) 25%, rgba(16, 185, 129, 0.5) 100%);
}

.hero-bridge__rail::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 12px currentColor;
}

.hero-bridge__rail--l::after {
    right: -2px;
    color: var(--accent-violet);
    background: var(--accent-violet);
}

.hero-bridge__rail--r::after {
    left: -2px;
    color: var(--accent-wms);
    background: var(--accent-wms);
}

.hero-bridge__cluster {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.65rem, 1.6vw, 1rem);
    text-align: center;
    width: min(560px, 100%);
}

.hero-bridge__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(244, 244, 245, 0.6);
    padding: 5px 14px 5px 12px;
    border: 1px solid rgba(167, 139, 250, 0.28);
    border-radius: 999px;
    background: rgba(11, 13, 18, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-bridge__pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-wms);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
    animation: heroPulse 2.4s ease-out infinite;
}

@keyframes heroPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero-bridge__cta {
    position: relative;
    min-width: clamp(260px, 40vw, 360px);
    padding: 1.05rem 2.1rem;
    font-size: 0.92rem;
    letter-spacing: 0.18em;
    border-radius: 3px;
}

.hero-bridge__cta-label {
    position: relative;
    z-index: 1;
}

.hero-bridge__cta-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(167, 139, 250, 0.85);
    pointer-events: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.hero-bridge__cta-corner--tl {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
}

.hero-bridge__cta-corner--tr {
    top: -5px;
    right: -5px;
    border-left: none;
    border-bottom: none;
}

.hero-bridge__cta-corner--bl {
    bottom: -5px;
    left: -5px;
    border-right: none;
    border-top: none;
}

.hero-bridge__cta-corner--br {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
}

.hero-bridge__cta:hover .hero-bridge__cta-corner {
    border-color: var(--accent-wms);
}

.hero-bridge__cta:hover .hero-bridge__cta-corner--tl {
    transform: translate(-2px, -2px);
}

.hero-bridge__cta:hover .hero-bridge__cta-corner--tr {
    transform: translate(2px, -2px);
}

.hero-bridge__cta:hover .hero-bridge__cta-corner--bl {
    transform: translate(-2px, 2px);
}

.hero-bridge__cta:hover .hero-bridge__cta-corner--br {
    transform: translate(2px, 2px);
}

.hero-bridge__caption {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(161, 161, 170, 0.75);
    letter-spacing: 0.04em;
}

/* Scroll Indicator */
.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: none;
    border: none;
    padding: 4px 8px;
    color: var(--text-secondary);
}

.scroll-indicator:hover,
.scroll-indicator:focus-visible {
    opacity: 1;
    transform: translateY(2px);
    outline: none;
}

.scroll-indicator--hero {
    margin-top: 2px;
}

.scroll-indicator--hero .scroll-text {
    font-size: 0.66rem;
    letter-spacing: 0.32em;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
}

.scroll-chevron {
    animation: scrollBounce 2s infinite;
    color: var(--text-secondary);
    line-height: 0;
}

.scroll-chevron svg {
    display: block;
}

@keyframes scrollBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(8px);
    }

    60% {
        transform: translateY(4px);
    }
}

/* ============================
   SECTION HEADERS
   ============================ */
.section-header {
    margin-bottom: var(--spacing-lg);
    font-size: 1.25rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: var(--spacing-sm);
    display: inline-block;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: -0.5rem;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

/* ============================
   BLOCK LAYOUT SYSTEM
   ============================ */
.block-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.block-section {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--border-radius);
    transition: box-shadow 0.4s ease;
}

.block-section:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* ============================
   SERVICES GRID
   ============================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.services-grid--quad {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card {
    background: var(--bg-accent);
    border: 1px solid var(--border-color);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px);
    border-color: rgba(167, 139, 250, 0.25);
}

.service-icon-wrap {
    margin-bottom: var(--spacing-md);
}

.service-icon {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: bold;
    font-size: 0.9rem;
    display: block;
    text-transform: uppercase;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================
   SPLIT GRID (Row 2)
   ============================ */
.split-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-lg);
}

/* Case Study / Deployment Log */
.case-study-content {
    display: flex;
    flex-direction: row;
    background: var(--bg-accent);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.case-visual {
    flex: 1;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.case-details {
    flex: 1;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-details h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.case-sector {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--accent-wms);
    margin-bottom: var(--spacing-md);
}

.case-details .description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.text-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-primary);
    font-weight: bold;
    margin-top: auto;
    padding-top: var(--spacing-sm);
}

.text-link:hover {
    color: var(--accent-wms);
}

/* Terminal Mockup */
.terminal-mockup {
    width: 100%;
    background: #1a1a1a;
    display: flex;
    flex-direction: column;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #2a2a2a;
    border-bottom: 1px solid #333;
}

.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-heading);
    font-size: 0.7rem;
    color: #888;
    margin-left: 8px;
}

.terminal-body {
    padding: 16px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: #ccc;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.terminal-line {
    display: flex;
    gap: 8px;
}

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

.t-dim {
    color: #666;
}

/* Protocol Section */
#protocol {
    display: flex;
    flex-direction: column;
}

.protocol-content {
    background: var(--bg-accent);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    flex-grow: 1;
}

.protocol-lead {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

.protocol-content>p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.protocol-list {
    list-style: none;
    margin: var(--spacing-md) 0;
    padding: 0;
}

.protocol-list li {
    font-size: 0.85rem;
    padding: 0.4rem 0 0.4rem 1.2rem;
    position: relative;
    color: var(--text-secondary);
}

.protocol-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--accent-wms);
    font-weight: bold;
}

.protocol-guarantee {
    font-family: var(--font-heading);
    font-weight: bold;
    color: var(--text-primary) !important;
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
}

/* ============================
   SCROLL REVEAL ANIMATIONS
   ============================ */
.reveal-block {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children */
.split-grid .reveal-block:nth-child(2) {
    transition-delay: 0.15s;
}

/* ============================
   MODAL OVERLAY SYSTEM
   ============================ */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 5000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* ============================
   PRICING MODAL
   ============================ */
.pricing-modal-panel {
    position: relative;
    z-index: 5001;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl);
    max-width: 1100px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

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

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    line-height: 1;
    transition: color 0.2s;
    z-index: 10;
}

.modal-close-btn:hover {
    color: var(--text-primary);
}

.pricing-modal-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.pricing-modal-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xl);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-accent);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
    border-color: rgba(167, 139, 250, 0.35);
}

.pricing-card.featured {
    border: 2px solid rgba(167, 139, 250, 0.5);
    transform: scale(1.02);
    box-shadow: 0 18px 48px rgba(167, 139, 250, 0.12);
}

.pricing-card.featured:hover {
    transform: scale(1.03);
}

.card-ribbon {
    position: absolute;
    top: 12px;
    right: -30px;
    background: var(--accent-wms);
    color: #0a0a0c;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: bold;
    padding: 4px 36px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.card-header {
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-md);
}

.card-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}

.badge {
    font-size: 0.7rem;
    font-family: var(--font-heading);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card-tier-cta {
    margin-top: var(--spacing-sm);
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.45;
}

.card-tier-cta strong {
    color: var(--accent-wms);
    font-weight: 600;
    font-size: inherit;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.pricing-card.featured .card-tier-cta strong {
    color: var(--accent-violet);
}

.card-body .description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    min-height: 3rem;
    line-height: 1.55;
}

.card-outcome {
    font-size: 0.8rem;
    color: var(--accent-wms);
    margin: var(--spacing-sm) 0 var(--spacing-md);
    padding: 8px 12px;
    border-left: 2px solid var(--accent-wms);
    background: rgba(16, 185, 129, 0.06);
    line-height: 1.4;
}

.pricing-card.featured .card-outcome {
    color: var(--accent-violet);
    border-left-color: var(--accent-violet);
    background: rgba(167, 139, 250, 0.07);
}

.features {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.features li {
    font-size: 0.85rem;
    margin-bottom: 0.55rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.45;
}

.features li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--accent-wms);
    font-weight: bold;
}

.features li.highlight {
    font-weight: bold;
    color: var(--text-primary);
}

.pricing-modal-eyebrow {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--accent-violet);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.pricing-modal-trust {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0 auto var(--spacing-lg);
    max-width: 720px;
    line-height: 1.6;
    padding: 10px var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
}

.pricing-modal-trust .trust-pip {
    color: var(--accent-wms);
    margin: 0 4px;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.pricing-modal-foot {
    margin-top: var(--spacing-lg);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-style: italic;
}

/* ============================
   CAPTURE MODAL
   ============================ */
.capture-modal-panel {
    position: relative;
    z-index: 5001;
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
    background: var(--bg-accent);
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1rem;
}

.modal-header .modal-close-btn {
    position: static;
    font-size: 1.5rem;
}

.modal-body {
    padding: var(--spacing-lg);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--bg-light);
    color: var(--text-primary);
    transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-violet);
    background: var(--bg-accent);
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 0.5rem;
}

.radio-box {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.radio-box input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-box span {
    display: block;
    text-align: center;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-secondary);
    transition: var(--transition);
}

.radio-box input:checked+span {
    background: var(--accent-wms);
    color: #0a0a0c;
    border-color: var(--accent-wms);
}

/* Status Message */
.status-message {
    margin-top: var(--spacing-md);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-align: center;
    min-height: 1rem;
}

.status-message.success {
    color: var(--accent-green);
}

.status-message.error {
    color: #D00;
}

/* ============================
   FOOTER
   ============================ */
footer {
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--bg-panel);
}

.footer-ecosystem {
    font-size: 0.8rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.footer-ecosystem a {
    color: var(--accent-sky);
}

.footer-ecosystem a:hover {
    color: var(--accent-wms);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.copyright {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ============================
   PROJECT SHOWCASE (screen captures)
   ============================ */
.projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.project-card {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.project-card:hover {
    border-color: rgba(5, 150, 105, 0.45);
    box-shadow: 0 12px 36px rgba(5, 150, 105, 0.12);
}

.project-card-visual {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0c0e12;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.project-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.project-card-visual--abstract .abstract-fallback {
    position: absolute;
    inset: 0;
    background-size: 24px 24px, 24px 24px, 100% 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        radial-gradient(ellipse 90% 80% at 50% 120%, rgba(0, 0, 0, 0.85), transparent 55%);
    opacity: 1;
}

.project-card-visual--wms .abstract-fallback {
    background-color: rgba(16, 185, 129, 0.06);
    background-image:
        linear-gradient(rgba(16, 185, 129, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.08) 1px, transparent 1px),
        radial-gradient(ellipse 70% 60% at 30% 20%, rgba(16, 185, 129, 0.2), transparent 50%),
        radial-gradient(ellipse 50% 50% at 80% 80%, rgba(56, 189, 248, 0.12), transparent 45%);
}

.project-card-visual--web .abstract-fallback {
    background-color: rgba(56, 189, 248, 0.06);
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.06) 1px, transparent 1px),
        radial-gradient(ellipse 65% 55% at 70% 25%, rgba(56, 189, 248, 0.18), transparent 50%),
        radial-gradient(ellipse 45% 45% at 20% 75%, rgba(167, 139, 250, 0.12), transparent 40%);
}

.project-card-visual--widget .abstract-fallback {
    background-color: rgba(167, 139, 250, 0.07);
    background-image:
        linear-gradient(rgba(244, 114, 182, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167, 139, 250, 0.1) 1px, transparent 1px),
        radial-gradient(ellipse 60% 70% at 50% 30%, rgba(167, 139, 250, 0.22), transparent 55%),
        radial-gradient(ellipse 40% 40% at 85% 85%, rgba(244, 114, 182, 0.15), transparent 40%);
}

.project-pill--widget {
    background: rgba(167, 139, 250, 0.12);
    color: var(--accent-violet);
    border-color: rgba(167, 139, 250, 0.35);
}

.project-card-body {
    padding: var(--spacing-md) var(--spacing-lg);
    flex: 1;
}

.project-card-body h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: var(--text-primary);
}

.project-card-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-transform: none;
    font-family: var(--font-body);
    line-height: 1.55;
}

.project-pill {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 0.5rem;
    background: rgba(30, 111, 203, 0.12);
    color: var(--accent-sky);
    border: 1px solid rgba(30, 111, 203, 0.25);
}

.project-pill.wms {
    background: rgba(5, 150, 105, 0.12);
    color: var(--accent-wms);
    border-color: rgba(5, 150, 105, 0.3);
}

/* ============================
   COOKIE CONSENT
   ============================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: var(--spacing-md);
    padding-bottom: calc(var(--spacing-md) + env(safe-area-inset-bottom));
    background: rgba(26, 26, 26, 0.94);
    color: #eee;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.cookie-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.cookie-banner-text {
    flex: 1 1 240px;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #7dd3c0;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.cookie-banner .btn-primary {
    background: var(--accent-wms);
    border-color: var(--accent-wms);
    color: #fff;
}

.cookie-banner .btn-primary:hover {
    background: #047857;
    border-color: #047857;
}

.cookie-banner .btn-ghost {
    color: #eee;
    border-color: rgba(255, 255, 255, 0.35);
}

.cookie-banner .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* ============================
   TRUST STRIP
   ============================ */
.trust-strip {
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: var(--border-radius);
    background:
        linear-gradient(180deg, rgba(167, 139, 250, 0.06) 0%, rgba(16, 185, 129, 0.04) 100%);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.trust-strip::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(120deg, rgba(167, 139, 250, 0.4), transparent 35%, transparent 65%, rgba(16, 185, 129, 0.4));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.65;
}

.trust-strip__row {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    position: relative;
}

.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1 1 140px;
    min-width: 120px;
}

.trust-stat__value {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
    letter-spacing: 0.02em;
}

.trust-stat__unit {
    font-size: 0.65em;
    color: var(--accent-violet);
    margin-left: 2px;
}

.trust-stat__label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

/* ============================
   CTA BAND
   ============================ */
.cta-band {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(167, 139, 250, 0.2);
    background:
        radial-gradient(ellipse 70% 80% at 0% 50%, rgba(167, 139, 250, 0.16), transparent 60%),
        radial-gradient(ellipse 70% 80% at 100% 50%, rgba(16, 185, 129, 0.12), transparent 60%),
        linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-accent) 100%);
}

.cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.cta-band__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) var(--spacing-lg);
    flex-wrap: wrap;
}

.cta-band__copy {
    flex: 1 1 380px;
}

.cta-band__kicker {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: var(--accent-violet);
    margin-bottom: var(--spacing-sm);
}

.cta-band__title {
    font-size: clamp(1.4rem, 3.5vw, 2.1rem);
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
}

.cta-band__sub {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    align-items: center;
}

/* ============================
   GLOBAL MOTION POLISH
   ============================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

.btn {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.project-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.project-card-visual--abstract .abstract-fallback {
    transition: transform 6s ease-out;
}

.project-card:hover .abstract-fallback {
    transform: scale(1.06) rotate(0.4deg);
}

.service-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.section-header {
    position: relative;
}

.section-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-violet), var(--accent-wms));
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1180px) {

    nav.main-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    nav.main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 12, 0.96);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        padding: var(--spacing-md) var(--spacing-lg);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
        z-index: 999;
        animation: navDrop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes navDrop {
        from {
            opacity: 0;
            transform: translateY(-12px);
        }

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

    nav.main-nav ul {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .header-content {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .lang-switch {
        margin-left: auto;
    }

    .mobile-toggle {
        order: 3;
    }
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: clamp(1.6rem, 6.5vw, 2.5rem);
        line-height: 1.1;
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .hero-bridge__rail {
        width: calc(50% - 220px);
    }

    .hero-bridge__cta {
        min-width: 240px;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .block-section {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .services-grid,
    .pricing-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .services-grid--quad {
        grid-template-columns: 1fr;
    }

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

    .case-study-content {
        flex-direction: column;
    }

    .case-visual {
        border-right: none;
    }

    .pricing-modal-panel {
        width: 98%;
        padding: var(--spacing-lg) var(--spacing-md);
        max-height: 92vh;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

    .projects-showcase {
        grid-template-columns: 1fr;
    }

    .ecosystem-map__grid {
        flex-direction: column;
    }

    .eco-connector--h {
        width: 2px;
        height: 28px;
        min-height: 28px;
        flex-direction: column;
        max-width: none;
    }

    .eco-connector__arrow {
        transform: rotate(90deg);
    }

    .ecosystem-map__spine .eco-connector--v {
        min-height: 24px;
    }

    .ecosystem-ribbon {
        padding: var(--spacing-lg) 0 var(--spacing-xl);
    }

    .cta-band__inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .cta-band__actions {
        width: 100%;
    }

    .cta-band__actions .btn {
        width: 100%;
    }

    .trust-strip__row {
        gap: var(--spacing-md);
    }

    .trust-stat__value {
        font-size: 1.5rem;
    }

    .founder-block {
        padding: var(--spacing-lg) var(--spacing-md);
    }
}

@media (max-width: 520px) {
    .logo {
        font-size: 0.95rem;
    }

    .hero h1 {
        font-size: clamp(1.45rem, 8vw, 2rem);
    }

    .hero-bridge__cta {
        min-width: 0;
        width: 100%;
        padding: 0.95rem 1.4rem;
        letter-spacing: 0.14em;
        font-size: 0.85rem;
    }

    .hero-bridge__rail {
        display: none;
    }

    .hero-bridge__caption {
        font-size: 0.72rem;
    }

    .pricing-modal-title {
        font-size: 1.2rem;
    }

    .pricing-modal-subtitle {
        font-size: 0.85rem;
    }

    .card-tier-cta {
        font-size: 0.82rem;
    }

    .trust-strip__row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .trust-stat {
        flex-direction: row;
        gap: var(--spacing-sm);
        align-items: baseline;
    }

    .trust-stat__value {
        font-size: 1.25rem;
        min-width: 90px;
    }
}

/* ============================
   ECOSYSTEM MAP (neon / motion)
   ============================ */
.ecosystem-ribbon {
    position: relative;
    padding: var(--spacing-xl) 0 calc(var(--spacing-xl) + var(--spacing-md));
    background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(167, 139, 250, 0.08), transparent 55%),
        linear-gradient(180deg, rgba(10, 10, 12, 0.4) 0%, var(--bg-light) 100%);
    border-bottom: 1px solid var(--border-color);
}

.ecosystem-ribbon__title {
    margin-bottom: var(--spacing-lg);
}

.hero-ecosystem--teaser {
    opacity: 0.9;
    font-size: 0.9rem;
}

.ecosystem-map {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.ecosystem-map__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
    gap: var(--spacing-sm);
}

.eco-node {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 140px;
    max-width: 200px;
    padding: var(--spacing-md) var(--spacing-sm);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(160deg, rgba(26, 31, 42, 0.95) 0%, rgba(18, 20, 26, 0.98) 100%);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.eco-node:hover {
    transform: translateY(-3px);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 0 32px rgba(167, 139, 250, 0.15), 0 12px 40px rgba(0, 0, 0, 0.35);
}

.eco-node--hub {
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.12), inset 0 0 40px rgba(16, 185, 129, 0.04);
}

.eco-node--hub:hover {
    border-color: rgba(52, 211, 153, 0.65);
    box-shadow: 0 0 40px rgba(52, 211, 153, 0.2), 0 14px 44px rgba(0, 0, 0, 0.4);
}

.eco-node__domain {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}

.eco-node__role {
    font-size: 0.7rem;
    line-height: 1.35;
    color: var(--text-secondary);
    text-align: center;
}

.eco-node__pulse {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-sky);
    box-shadow: 0 0 10px var(--accent-sky);
    animation: ecoBlink 1.8s ease-in-out infinite;
}

.eco-node__ring {
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    pointer-events: none;
    border: 1px solid transparent;
}

.eco-node__ring--blink {
    animation: ecoRingPulse 2.4s ease-in-out infinite;
}

@keyframes ecoBlink {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.85);
    }
}

@keyframes ecoRingPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        border-color: rgba(16, 185, 129, 0.15);
    }

    50% {
        box-shadow: 0 0 20px 2px rgba(16, 185, 129, 0.25);
        border-color: rgba(52, 211, 153, 0.45);
    }
}

.eco-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    flex: 1 1 24px;
    max-width: 72px;
    position: relative;
}

.eco-connector--h {
    height: 48px;
}

.eco-connector__line {
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg,
            transparent,
            rgba(167, 139, 250, 0.2) 15%,
            rgba(52, 211, 153, 0.75) 50%,
            rgba(167, 139, 250, 0.2) 85%,
            transparent);
    background-size: 200% 100%;
    animation: ecoFlowH 2.2s linear infinite;
}

.eco-connector__line--v {
    width: 2px;
    height: 100%;
    min-height: 36px;
    flex: none;
    background: linear-gradient(180deg,
            rgba(52, 211, 153, 0.85),
            rgba(167, 139, 250, 0.5),
            rgba(56, 189, 248, 0.35));
    background-size: 100% 200%;
    animation: ecoFlowV 2.5s linear infinite;
}

@keyframes ecoFlowH {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes ecoFlowV {
    0% {
        background-position: 0 200%;
    }

    100% {
        background-position: 0 -200%;
    }
}

.eco-connector__arrow {
    position: absolute;
    font-size: 9px;
    color: rgba(52, 211, 153, 0.85);
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
    animation: ecoArrowFlicker 1.5s ease-in-out infinite;
}

.eco-connector__arrow--down {
    bottom: -2px;
}

@keyframes ecoArrowFlicker {

    0%,
    100% {
        opacity: 0.65;
    }

    50% {
        opacity: 1;
    }
}

.ecosystem-map__spine {
    display: flex;
    justify-content: center;
    margin: 4px 0;
}

.eco-connector--v {
    flex-direction: column;
    min-height: 44px;
    max-width: none;
}

.ecosystem-map__bottom {
    display: flex;
    justify-content: center;
    margin-top: var(--spacing-sm);
}

.ecosystem-map__caption {
    margin-top: var(--spacing-lg);
    font-size: 0.8rem;
    color: var(--text-secondary);
    max-width: 54ch;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.ecosystem-section__title {
    margin-bottom: var(--spacing-md);
}

/* Founder manifest page */
.founder-page {
    padding-bottom: var(--spacing-xl);
}

.founder-hero {
    padding-top: calc(var(--header-h) + var(--spacing-xl));
    padding-bottom: var(--spacing-lg);
    text-align: center;
    max-width: 880px;
}

.founder-hero__kicker {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--accent-violet);
    margin-bottom: var(--spacing-md);
}

.founder-hero__headline {
    font-size: clamp(1.5rem, 5vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: var(--spacing-md);
}

.founder-hero__lede {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 62ch;
    margin: 0 auto;
    line-height: 1.65;
}

.founder-page .ecosystem-section {
    margin-bottom: var(--spacing-xl);
}

.founder-block {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-xl) var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-left: 3px solid rgba(167, 139, 250, 0.45);
}

.founder-block--accent {
    border-left-color: rgba(16, 185, 129, 0.55);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.04);
}

.founder-block__title {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.founder-block p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: var(--spacing-md);
}

.founder-block p:last-of-type {
    margin-bottom: 0;
}

.founder-why-list {
    list-style: none;
    margin: var(--spacing-md) 0;
    padding: 0;
}

.founder-why-list li {
    position: relative;
    padding: 0.55rem 0 0.55rem 1.4rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.founder-why-list li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent-violet);
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.4);
}

.founder-closing {
    font-size: 1.05rem !important;
    color: var(--text-primary) !important;
    margin-top: var(--spacing-lg) !important;
    font-weight: 500;
}

.founder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    align-items: center;
}