/* Eburon Design System - Proposal 4: Quantum Ether (Calibri Theme) */

:root {
    --bg-dark: #1a2233;
    --bg-surface: #222b3d;
    --bg-card: rgba(28, 36, 52, 0.88);
    --bg-input: rgba(22, 30, 44, 0.95);
    --border-color: rgba(148, 163, 184, 0.16);
    --border-hover: rgba(13, 242, 201, 0.38);
    --primary: #0df2c9;
    --primary-glow: rgba(13, 242, 201, 0.28);
    --secondary: #8b5cf6;
    --secondary-glow: rgba(139, 92, 246, 0.28);
    --text-main: #f8fafc;
    --text-muted: #a8b4c4;
    --text-glow: none;
    --grid-line: rgba(148, 163, 184, 0.09);
    --grid-dot: rgba(13, 242, 201, 0.1);
    
    /* Font settings */
    --font-stack: 'Segoe UI', 'Calibri', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-height: 128px;
    --header-bg: rgba(26, 34, 51, 0.78);
    --footer-bg: var(--bg-surface);
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-stack);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Fixed site background — stays in place while content scrolls */
.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.site-bg__gradient,
.site-bg__grid,
.site-bg__spotlight {
    position: absolute;
    inset: 0;
}

.site-bg__gradient {
    background:
        radial-gradient(ellipse 90% 55% at 50% -8%, rgba(40, 110, 160, 0.28), transparent 58%),
        radial-gradient(ellipse 45% 35% at 92% 88%, rgba(13, 242, 201, 0.08), transparent 55%),
        radial-gradient(ellipse 35% 30% at 4% 72%, rgba(60, 160, 220, 0.07), transparent 50%),
        linear-gradient(165deg, #222b3d 0%, #1a2233 45%, #1e2838 100%);
}

.site-bg__grid {
    background-image:
        radial-gradient(circle at center, var(--grid-dot) 1px, transparent 1px),
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 28px 28px, 56px 56px, 56px 56px;
    mask-image: radial-gradient(ellipse 95% 80% at 50% 35%, black 18%, rgba(0, 0, 0, 0.5) 55%, transparent 92%);
}

.site-bg__spotlight {
    background:
        radial-gradient(ellipse min(900px, 90vw) 420px at 50% 18%, rgba(13, 242, 201, 0.06) 0%, transparent 68%);
}

.site-bg__spotlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13, 242, 201, 0.14) 50%, transparent);
    opacity: 0.5;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(13, 242, 201, 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(13, 242, 201, 0.45);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: var(--footer-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-mark,
.footer-logo-mark,
.splash-logo-mark {
    display: inline-flex;
    line-height: 0;
    background: transparent;
}

.logo-icon,
.footer-logo-icon,
.footer-logo-hero,
.splash-logo-icon {
    display: block;
}

.logo-icon {
    width: 68px;
    height: auto;
    aspect-ratio: 181 / 159;
    flex-shrink: 0;
    object-fit: contain;
}

.logo-text {
    font-size: 2.65rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--text-main);
}

.logo-trademark,
.brand-trademark {
    font-size: 0.42em;
    letter-spacing: 0;
    vertical-align: super;
    margin-left: 1px;
    font-weight: 600;
    opacity: 0.9;
}

.section-title .brand-trademark,
h3 .brand-trademark,
h4 .brand-trademark {
    font-size: 0.38em;
}

nav {
    display: flex;
    gap: 2.75rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.lang-flag {
    display: block;
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    pointer-events: none;
}

.lang-select-custom {
    position: relative;
}

.lang-select-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 10.5rem;
    padding: 0.5rem 2.25rem 0.5rem 0.85rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: rgba(2, 5, 14, 0.55);
    color: var(--text-main);
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a8b4c4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.lang-select-trigger:hover {
    border-color: rgba(13, 242, 201, 0.35);
}

.lang-select-trigger:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(13, 242, 201, 0.15);
}

.lang-select-label {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lang-select-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 100%;
    max-height: min(18rem, 50vh);
    overflow-y: auto;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(2, 5, 14, 0.97);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    z-index: 1200;
}

.lang-select-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.lang-select-option:hover,
.lang-select-option.is-selected {
    background: rgba(13, 242, 201, 0.1);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1.5px;
    font-size: 1.05rem;
    transition: color 0.3s, text-shadow 0.3s;
    text-transform: uppercase;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0ab89e 100%);
    color: #010610;
    border: none;
    box-shadow: 0 4px 20px rgba(13, 242, 201, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 242, 201, 0.5);
}

.btn-secondary {
    background: rgba(139, 92, 246, 0.1);
    color: var(--text-main);
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: rgba(13, 242, 201, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(13, 242, 201, 0.2);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Main layouts */
main:not(.splash-screen) {
    padding-top: var(--header-height);
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    height: calc(100vh - var(--header-height));
    display: flex;
    flex-direction: column;
    padding: 0.75rem 5% 1rem;
    box-sizing: border-box;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

.hero-container {
    flex: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr auto;
    column-gap: 2.5rem;
    row-gap: 0.75rem;
    align-items: stretch;
    width: 100%;
    min-height: 0;
    z-index: 10;
}

.hero-content {
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    height: 100%;
    gap: clamp(0.5rem, 1.5vh, 1rem);
    padding-top: 0;
}

.hero-visual {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: relative;
    width: 100%;
    min-height: 0;
    align-self: stretch;
    overflow: visible;
    z-index: 15;
    background: transparent;
    -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 0%, #000 54%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 48%, #000 0%, #000 54%, transparent 72%);
}

.hero-visual-glow {
    position: absolute;
    inset: -4%;
    background:
        radial-gradient(circle at 50% 48%, rgba(13, 242, 201, 0.08) 0%, rgba(22, 78, 120, 0.06) 35%, transparent 62%);
    pointer-events: none;
    border-radius: 50%;
}

.brain-stage,
#hero-brain-stage,
#splash-brain-stage {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brain-stage canvas,
#hero-brain-stage canvas,
#splash-brain-stage canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
}

@keyframes brainAuraPulse {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}


.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(13, 242, 201, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(13, 242, 201, 0.1);
}

.hero-title {
    font-size: clamp(3rem, 7.5vh, 5.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    margin-top: auto;
    flex-shrink: 0;
}

.highlight {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(13, 242, 201, 0.15);
}

.hero-tagline {
    font-size: clamp(1.35rem, 3vh, 2.2rem);
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0;
    letter-spacing: 0.3px;
    flex-shrink: 0;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2.35vh, 1.75rem);
    color: var(--text-muted);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0;
    max-width: 92%;
    flex-shrink: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: clamp(0.75rem, 2vh, 1.5rem);
}

.hero-buttons .btn {
    padding: clamp(0.85rem, 1.6vh, 1.05rem) clamp(1.35rem, 2.8vh, 2.15rem);
    font-size: clamp(0.82rem, 1.35vh, 1rem);
}

/* HUD stats row — sits directly below hero copy */
.hero-hud {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-top: 0;
    padding-top: 0;
    align-self: end;
    z-index: 10;
}

.hud-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hud-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hud-value {
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.glowing-green {
    color: var(--primary);
    text-shadow: var(--text-glow);
}

/* Feature Showcase */
.features-section {
    padding: 8rem 8%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 242, 201, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(13, 242, 201, 0.08);
}

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

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: rgba(13, 242, 201, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon-wrapper {
    background: rgba(13, 242, 201, 0.15);
    box-shadow: 0 0 15px var(--primary-glow);
    color: #fff;
    border-color: var(--primary);
}

.feature-icon {
    width: 28px;
    height: 28px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '▶';
    font-size: 0.65rem;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    text-shadow: var(--text-glow);
}

/* Product Demo Videos Section */
.demos-section {
    padding: 8rem 8%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.demos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.demo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}

.demo-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 12px 36px rgba(13, 242, 201, 0.08);
    transform: translateY(-4px);
}

.demo-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background: rgba(2, 5, 14, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.demo-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #010309;
}

.demo-video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background:
        radial-gradient(circle at 50% 35%, rgba(13, 242, 201, 0.12) 0%, transparent 55%),
        linear-gradient(180deg, rgba(10, 18, 36, 0.55) 0%, rgba(2, 5, 14, 0.95) 100%);
    pointer-events: none;
    transition: opacity 0.3s;
}

.demo-video-frame.is-ready .demo-video-placeholder {
    opacity: 0;
}

.demo-play-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 242, 201, 0.12);
    border: 1px solid rgba(13, 242, 201, 0.35);
    color: var(--primary);
    box-shadow: 0 0 24px rgba(13, 242, 201, 0.18);
}

.demo-play-icon svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
}

.demo-placeholder-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.demo-card-body {
    padding: 1.75rem 2rem 2rem;
}

.demo-tag {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.demo-card-body h3 {
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.65rem;
}

.demo-card-body p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Architecture Flow Section */
.architecture-section {
    padding: 8rem 8%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.architecture-diagram-container {
    max-width: 1100px;
    margin: 0 auto;
}

.architecture-visualizer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    backdrop-filter: blur(6px);
    position: relative;
    overflow-x: auto;
}

.arch-node {
    flex: 1;
    min-width: 170px;
    max-width: 200px;
    background: rgba(5, 12, 28, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    user-select: none;
}

.arch-node .node-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 0 15px transparent;
    transition: box-shadow 0.3s;
}

.arch-node:hover {
    border-color: var(--primary);
    transform: scale(1.03);
}

.arch-node.active {
    border-color: var(--primary);
    background: rgba(13, 242, 201, 0.05);
}

.arch-node.active .node-glow {
    box-shadow: 0 0 20px rgba(13, 242, 201, 0.2);
}

.arch-node.core-node.active {
    border-color: var(--secondary);
    background: rgba(139, 92, 246, 0.05);
}

.arch-node.core-node.active .node-glow {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.node-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    padding: 2px 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.arch-node.active .node-tag {
    background: rgba(13, 242, 201, 0.15);
    color: var(--primary);
}

.arch-node.core-node.active .node-tag {
    background: rgba(139, 92, 246, 0.15);
    color: var(--secondary);
}

.arch-node h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.arch-node .subtext {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.flow-arrow {
    flex: 0.5;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-line {
    animation: flowPulse 2s linear infinite;
}

@keyframes flowPulse {
    to {
        stroke-dashoffset: -24;
    }
}

.input-group {
    width: 100%;
    text-align: left;
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.input-group input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.85rem 1rem;
    color: var(--text-main);
    font-family: var(--font-stack);
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(13, 242, 201, 0.15);
}

.highlight-cyan {
    color: var(--primary);
    text-shadow: var(--text-glow);
}

/* Audience path cards (splash + index) */
.audience-section,
.products-section {
    padding: 8rem 8%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.path-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 720px;
    margin: 0 auto;
}

.path-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    overflow: hidden;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.path-card:hover,
.path-card:focus-visible,
.path-card.is-selected {
    border-color: var(--border-hover);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
    outline: none;
}

.path-card.is-selected {
    box-shadow: 0 0 0 1px var(--border-hover), 0 8px 28px rgba(0, 0, 0, 0.35);
}

.path-card--private:hover,
.path-card--private:focus-visible,
.path-card--private.is-selected {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.path-card--private.is-selected {
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.45), 0 8px 28px rgba(0, 0, 0, 0.35);
}

.path-card__visual {
    height: 100px;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
}

.path-card__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg-surface) 0%, rgba(12, 17, 28, 0.4) 60%, transparent 100%);
}

.path-card--business .path-card__visual {
    background-image: url('assets/splash/business-card-bg.svg');
    background-color: #0a1424;
}

.path-card--private .path-card__visual {
    background-image: url('assets/splash/private-card-bg.svg');
    background-color: #12102a;
}

.path-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem 1.15rem 1.15rem;
}

.path-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.path-card--business .path-card__title {
    color: var(--primary);
}

.path-card--private .path-card__title {
    color: #a78bfa;
}

.path-card__desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.path-card__cta {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.path-card:hover .path-card__cta,
.path-card.is-selected .path-card__cta {
    color: var(--primary);
}

.path-card--private:hover .path-card__cta,
.path-card--private.is-selected .path-card__cta {
    color: #a78bfa;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    padding: 0.35rem 0.85rem;
    border: 1px solid rgba(13, 242, 201, 0.2);
    border-radius: 999px;
    background: rgba(13, 242, 201, 0.05);
}

.section-eyebrow-free {
    color: #7dd3fc;
    border-color: rgba(125, 211, 252, 0.35);
    background: rgba(125, 211, 252, 0.08);
}

.products-section-business,
.products-section-private {
    background: transparent;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid-single {
    grid-template-columns: minmax(320px, 720px);
    justify-content: center;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2.75rem 2.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
}

.product-card-featured {
    border-color: rgba(13, 242, 201, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.product-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    border: 1px solid rgba(13, 242, 201, 0.35);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.product-lead {
    color: var(--text-main);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.product-card > p:not(.product-lead) {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.product-list {
    list-style: none;
    margin-bottom: 2rem;
}

.product-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 0.65rem;
    padding-left: 1.5rem;
    position: relative;
}

.product-list li::before {
    content: '▶';
    font-size: 0.65rem;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
}

.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.product-actions-stack {
    flex-direction: column;
    align-items: stretch;
}

.beta-banner {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    padding: 1.75rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(125, 211, 252, 0.25);
    background: rgba(125, 211, 252, 0.06);
    text-align: center;
}

.beta-banner-content {
    text-align: center;
}

.beta-date {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7dd3fc;
    margin-bottom: 0.5rem;
}

.beta-banner h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.beta-banner p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.beta-full-badge {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fca5a5;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.assistant-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.assistant-feature {
    padding: 1rem 1.1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.assistant-feature strong {
    display: block;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.waitlist-form {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.waitlist-form h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.waitlist-fields {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.waitlist-form,
.waitlist-dob,
.waitlist-dob-fields,
.product-card-assistant {
    overflow: visible;
}

.waitlist-fields input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(2, 5, 14, 0.6);
    color: var(--text-main);
    font: inherit;
}

.waitlist-fields input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(13, 242, 201, 0.15);
}

.waitlist-fields input.is-invalid,
.dob-select-trigger.is-invalid {
    border-color: rgba(248, 113, 113, 0.75);
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.18);
}

.required-mark {
    color: #fca5a5;
}

.waitlist-dob {
    display: grid;
    gap: 0.5rem;
}

.waitlist-dob-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.waitlist-dob-fields {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 0.75rem;
}

.dob-select {
    position: relative;
}

.dob-select-trigger {
    width: 100%;
    padding: 0.85rem 2.5rem 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(2, 5, 14, 0.6);
    color: var(--text-main);
    font: inherit;
    cursor: pointer;
    text-align: left;
    position: relative;
}

.dob-select-trigger::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 12px;
    height: 8px;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a8b4c4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.dob-select-trigger:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(13, 242, 201, 0.15);
}

.dob-select-value {
    color: var(--text-muted);
}

.dob-select-value.is-selected {
    color: var(--text-main);
}

.dob-select-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    max-height: 240px;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    z-index: 200;
}

.dob-select-option {
    padding: 0.55rem 1rem;
    cursor: pointer;
    color: var(--text-main);
    font-size: 0.95rem;
}

.dob-select-option:hover,
.dob-select-option.is-focused {
    background: rgba(13, 242, 201, 0.1);
    color: var(--primary);
}

.waitlist-status {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--primary);
}

.waitlist-status.is-error,
.trial-status.is-error {
    color: #f87171;
}

.trial-status {
    min-height: 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Trial Modal */
.trial-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.trial-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 3, 9, 0.82);
    backdrop-filter: blur(6px);
}

.trial-modal-panel {
    position: relative;
    width: min(100%, 440px);
    background: #0a1224;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem 2rem 2.25rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.trial-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.trial-modal-close:hover {
    color: var(--text-main);
}

.trial-modal-panel h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.trial-modal-subtitle {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.trial-modal-panel .input-group {
    margin-bottom: 1rem;
}

.trial-modal-panel .input-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.trial-modal-panel .input-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: rgba(2, 5, 14, 0.6);
    color: var(--text-main);
    font: inherit;
}

.trial-modal-panel .input-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.trial-step-success {
    text-align: center;
}

/* Utility states */
.hidden {
    display: none !important;
}

/* Footer styling */
footer {
    position: relative;
    z-index: 1;
    background: var(--footer-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 5rem 8% 3rem 8%;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
    align-items: center;
    gap: 2rem 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    max-width: 350px;
    justify-self: start;
}

.footer-brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo-icon {
    width: 54px;
    height: auto;
    aspect-ratio: 181 / 159;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

.footer-center-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    background: transparent;
    padding: 0;
    line-height: 0;
}

.footer-logo-hero {
    width: clamp(165px, 20vw, 240px);
    height: auto;
    aspect-ratio: 181 / 159;
    object-fit: contain;
    opacity: 1;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

.footer-links {
    display: flex;
    gap: 6rem;
    flex-wrap: wrap;
    justify-self: end;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-col h4 {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.link-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.link-col a:hover {
    color: var(--text-main);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.telemetry-stamp {
    font-family: monospace;
}

/* Responsiveness overrides */
@media (max-width: 968px) {
    :root {
        --header-height: 96px;
    }

    .logo-icon {
        width: 50px;
    }

    .logo-text {
        font-size: 1.9rem;
        letter-spacing: 4px;
    }

    .hero-section {
        height: auto;
        min-height: calc(100vh - var(--header-height));
        padding: 1.25rem 5% 1.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        row-gap: 1.25rem;
    }

    .hero-content {
        grid-column: 1;
        grid-row: 2;
        height: auto;
        padding-top: 0;
    }

    .hero-title {
        margin-top: 0;
    }

    .hero-buttons {
        margin-top: 0;
        padding-top: 0;
    }

    .hero-visual {
        grid-column: 1;
        grid-row: 1;
        min-height: min(46vh, 340px);
        align-self: auto;
    }

    .hero-hud {
        grid-column: 1;
        grid-row: 3;
        flex-wrap: wrap;
        gap: 1.5rem 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .architecture-visualizer {
        justify-content: flex-start;
        gap: 1.5rem;
    }
    
    header nav {
        display: none;
    }

    .header-right {
        gap: 0.75rem;
    }

    .lang-select-trigger {
        min-width: 9rem;
        font-size: 0.82rem;
    }

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

    .footer-logo {
        justify-self: center;
        max-width: 100%;
    }

    .footer-brand-row {
        justify-content: center;
    }

    .footer-center-logo {
        order: -1;
    }

    .footer-logo-hero {
        width: min(190px, 48vw);
    }

    .footer-links {
        justify-self: center;
        justify-content: center;
        gap: 3rem;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

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

    .path-cards-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .assistant-features {
        grid-template-columns: 1fr;
    }
}
