:root {
    --bg-primary: #f4f7ff;
    --bg-secondary: #edf3ff;
    --surface: #ffffff;
    --surface-alt: #f7f9ff;
    --surface-overlay: rgba(255, 255, 255, 0.72);
    --text-primary: #0a1c3d;
    --text-secondary: #475a7d;
    --text-muted: #6e7fa5;
    --accent: #2f6dff;
    --accent-strong: #1fa3f4;
    --accent-gradient: linear-gradient(135deg, #2f6dff 0%, #5f8bff 45%, #45d0ff 100%);
    --border-color: rgba(47, 109, 255, 0.18);
    --card-shadow: 0 18px 46px rgba(21, 40, 92, 0.12);
    --soft-shadow: 0 40px 80px rgba(45, 75, 140, 0.16);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --max-width: 1160px;
    --transition: all 220ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(1200px 800px at 20% 0%, rgba(95, 139, 255, 0.18), transparent 68%),
        radial-gradient(900px 600px at 90% 15%, rgba(69, 208, 255, 0.25), transparent 72%),
        linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease;
}

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

.page-shell {
    position: relative;
    min-height: 100vh;
    overflow: visible;
}

.page-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.32) 0%, rgba(244, 247, 255, 0.65) 48%, transparent 76%);
    pointer-events: none;
    z-index: -1;
}

.top-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    margin: 0 auto;
    padding: 18px 28px;
    width: 100%;
    max-width: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(47, 109, 255, 0.12);
    backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: 0 8px 24px rgba(26, 54, 118, 0.08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 26px;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a {
    position: relative;
    font-size: 0.98rem;
    letter-spacing: 0.03em;
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 200ms ease;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.link.subtle {
    font-weight: 500;
    color: var(--text-secondary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn[disabled],
.btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn.primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(47, 109, 255, 0.25);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(39, 102, 250, 0.32);
}

.btn.ghost {
    border: 1px solid rgba(47, 109, 255, 0.3);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.7);
}

.btn.ghost:hover {
    border-color: rgba(47, 109, 255, 0.55);
    color: var(--accent);
}

main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 36px 130px;
}

.legal-main {
    max-width: 1100px;
}

.legal-hero {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--card-shadow);
    margin-bottom: 32px;
}

.eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(47, 109, 255, 0.12);
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.legal-hero h1 {
    margin: 14px 0 10px;
    font-size: 2.4rem;
}

.legal-intro {
    margin: 0 0 14px;
    color: var(--text-secondary);
    max-width: 820px;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.legal-meta .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--surface-alt);
    border-radius: 999px;
    border: 1px solid rgba(47, 109, 255, 0.2);
    font-weight: 600;
    color: var(--text-primary);
}

.legal-content {
    background: var(--surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 42px 48px;
    box-shadow: var(--card-shadow);
    color: var(--text-primary);
}

.legal-content h1 {
    margin-top: 0;
}

.legal-content h2 {
    margin-top: 28px;
}

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

.legal-content ul,
.legal-content ol {
    padding-left: 22px;
    color: var(--text-secondary);
}

.legal-content li {
    margin-bottom: 10px;
}

.hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 70px;
    padding: 90px 72px;
    border-radius: clamp(26px, 4vw, 40px);
    background: #ffffff;
    border: 1px solid rgba(47, 109, 255, 0.12);
    box-shadow: var(--soft-shadow);
    position: relative;
    overflow: hidden;
}

/* Hero SVG Background */
.hero-svg-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-svg-bg svg {
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

/* Core Pulse Animation */
.core-pulse {
    animation: corePulse 4s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.08);
    }
}

/* Core Rings Animation */
.core-ring-1 {
    animation: ringRotate 20s linear infinite;
    transform-origin: 850px 350px;
}

.core-ring-2 {
    animation: ringRotate 25s linear infinite reverse;
    transform-origin: 850px 350px;
}

.core-ring-3 {
    animation: ringPulse 3s ease-in-out infinite;
    transform-origin: 850px 350px;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Hexagon Animations */
.hex-rotate {
    animation: hexRotate 15s linear infinite;
    transform-origin: center;
}

@keyframes hexRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hex-inner {
    animation: hexPulse 2s ease-in-out infinite;
}

@keyframes hexPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.hex-center {
    animation: centerGlow 2s ease-in-out infinite;
}

@keyframes centerGlow {
    0%, 100% {
        opacity: 0.8;
        filter: url(#glow) brightness(1);
    }
    50% {
        opacity: 1;
        filter: url(#glow) brightness(1.3);
    }
}

/* Node Animations */
.node {
    animation: nodeFloat 6s ease-in-out infinite;
}

.cloud-node-1 { animation-delay: 0s; }
.cloud-node-2 { animation-delay: 0.5s; }
.db-node-1 { animation-delay: 1s; }
.stream-node-1 { animation-delay: 1.5s; }
.ai-node { animation-delay: 0.3s; }
.edge-node-1 { animation-delay: 0.8s; }
.edge-node-2 { animation-delay: 1.2s; }
.edge-node-3 { animation-delay: 0.6s; }
.warehouse-node { animation-delay: 1.8s; }

@keyframes nodeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Data Line Animations */
.data-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dataFlow 3s ease-in-out infinite;
}

.line-1 { animation-delay: 0s; }
.line-2 { animation-delay: 0.4s; }
.line-3 { animation-delay: 0.8s; }
.line-4 { animation-delay: 1.2s; }
.line-5 { animation-delay: 1.6s; }
.line-6 { animation-delay: 0.2s; }
.line-7 { animation-delay: 0.6s; }
.line-8 { animation-delay: 1s; }
.line-9 { animation-delay: 1.4s; }

@keyframes dataFlow {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0.3;
    }
    50% {
        stroke-dashoffset: 0;
        opacity: 0.8;
    }
    100% {
        stroke-dashoffset: -1000;
        opacity: 0.3;
    }
}

/* Secondary Lines Animation */
.secondary-line {
    animation: linePulse 4s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.4; }
}

/* Particle Glow */
.particle {
    animation: particleGlow 1.5s ease-in-out infinite;
}

@keyframes particleGlow {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Floating Micro Particles */
.float-particle {
    animation: floatUp 8s ease-in-out infinite;
}

.fp-1 { animation-delay: 0s; animation-duration: 7s; }
.fp-2 { animation-delay: 1s; animation-duration: 9s; }
.fp-3 { animation-delay: 0.5s; animation-duration: 8s; }
.fp-4 { animation-delay: 1.5s; animation-duration: 7.5s; }
.fp-5 { animation-delay: 0.3s; animation-duration: 8.5s; }
.fp-6 { animation-delay: 2s; animation-duration: 7s; }
.fp-7 { animation-delay: 0.8s; animation-duration: 9.5s; }
.fp-8 { animation-delay: 1.2s; animation-duration: 8s; }
.fp-9 { animation-delay: 0.6s; animation-duration: 7.5s; }
.fp-10 { animation-delay: 1.8s; animation-duration: 8.5s; }

@keyframes floatUp {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-15px) translateX(5px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-5px) translateX(-3px);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-20px) translateX(8px);
        opacity: 0.9;
    }
}

/* Pulse Rings from Core */
.pulse-ring {
    animation: pulseExpand 3s ease-out infinite;
    transform-origin: center;
}

.pr-1 { animation-delay: 0s; }
.pr-2 { animation-delay: 1s; }
.pr-3 { animation-delay: 2s; }

@keyframes pulseExpand {
    0% {
        r: 40;
        opacity: 0.8;
        stroke-width: 3;
    }
    100% {
        r: 200;
        opacity: 0;
        stroke-width: 0.5;
    }
}

/* Orbital Dots Animation */
.orbit-dot {
    animation: orbitRotate 12s linear infinite;
    transform-origin: 0 0;
}

.od-1 {
    animation: orbitPath1 10s linear infinite;
}

.od-2 {
    animation: orbitPath2 15s linear infinite;
}

.od-3 {
    animation: orbitPath3 12s linear infinite;
}

@keyframes orbitPath1 {
    from {
        transform: rotate(0deg) translateX(140px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(140px) rotate(-360deg);
    }
}

@keyframes orbitPath2 {
    from {
        transform: rotate(90deg) translateX(180px) rotate(-90deg);
    }
    to {
        transform: rotate(450deg) translateX(180px) rotate(-450deg);
    }
}

@keyframes orbitPath3 {
    from {
        transform: rotate(200deg) translateX(220px) rotate(-200deg);
    }
    to {
        transform: rotate(560deg) translateX(220px) rotate(-560deg);
    }
}

.hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(520px at 20% 15%, rgba(95, 139, 255, 0.12), transparent 68%),
        radial-gradient(640px at 80% 20%, rgba(69, 208, 255, 0.15), transparent 70%);
    opacity: 0.5;
    z-index: 0;
}

.hero-content,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(47, 109, 255, 0.12);
    border: 1px solid rgba(47, 109, 255, 0.26);
    color: var(--accent);
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-badge .divider {
    width: 1px;
    height: 16px;
    background: rgba(47, 109, 255, 0.35);
}

.hero h1 {
    margin: 30px 0 18px;
    font-size: clamp(2.6rem, 4vw, 3.6rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.06rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 34px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    color: var(--text-muted);
}

.hero-stats strong {
    display: block;
    font-size: 1.6rem;
    color: var(--text-primary);
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 28px;
    padding: 40px 0;
}

.hero-visual .glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
}

.hero-visual .orb {
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(95, 139, 255, 0.38) 0%, transparent 72%);
    animation: float 9s ease-in-out infinite;
}

.hero-visual .ring {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(69, 208, 255, 0.32) 0%, transparent 70%);
    animation: float 12s ease-in-out infinite alternate;
}

@keyframes float {
    0%, 100% {
        transform: scale(0.94);
        opacity: 0.65;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.85;
    }
}

.panel {
    position: relative;
    width: 320px;
    padding: 26px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(47, 109, 255, 0.16);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(8px);
}

.panel.primary,
.panel.secondary {
    transform: none;
}

.panel .panel-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(47, 109, 255, 0.16);
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.panel h3 {
    margin: 0 0 10px;
    font-size: 1.24rem;
}

.panel p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.metric-card {
    align-self: flex-end;
    position: relative;
    padding: 18px 22px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(47, 109, 255, 0.2);
    box-shadow: var(--card-shadow);
    display: grid;
    gap: 4px;
    text-align: right;
}

.metric-value {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--accent);
}

.metric-label {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.trust-bar {
    margin: 88px 0 56px;
    padding: 28px 32px 32px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(47, 109, 255, 0.14);
    box-shadow: 0 16px 38px rgba(41, 72, 132, 0.1);
    display: grid;
    gap: 26px;
}

.trust-title {
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.logo-carousel {
    position: relative;
    overflow: hidden;
}

.logo-carousel::before,
.logo-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0));
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0));
}

.logo-carousel::before {
    left: 0;
}

.logo-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: partner-scroll 42s linear infinite;
    will-change: transform;
}

.logo-carousel:hover .logo-track {
    animation-play-state: paused;
}

.logo-card {
    min-width: 150px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(47, 109, 255, 0.16);
    box-shadow: 0 16px 32px rgba(45, 75, 140, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.logo-card svg {
    width: 56px;
    height: 56px;
}

.logo-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.logo-card span {
    font-weight: 600;
    color: rgba(26, 46, 88, 0.7);
    letter-spacing: 0.02em;
}

.logo-card.duplicate {
    pointer-events: none;
}

.logo-card.duplicate span {
    display: block;
}

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

.section-header {
    max-width: 720px;
    margin-bottom: 52px;
}

.section-header h2 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    margin: 0 0 16px;
    line-height: 1.16;
}

.section-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.04rem;
}

.section-header.compact {
    max-width: 620px;
}

.platform-overview {
    margin: 100px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid rgba(47, 109, 255, 0.14);
    box-shadow: var(--card-shadow);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(21, 40, 92, 0.14);
}

.icon-bubble {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: var(--accent);
    background: rgba(47, 109, 255, 0.12);
    margin-bottom: 18px;
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 1.32rem;
}

.feature-card p {
    margin: 0 0 18px;
    color: var(--text-secondary);
}

.feature-card ul {
    padding-left: 18px;
    margin: 0;
    color: var(--text-muted);
    display: grid;
    gap: 10px;
    font-size: 0.95rem;
}

.feature-card .text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-weight: 600;
    color: var(--accent);
}

.feature-card .text-link:hover {
    color: var(--accent-strong);
}

.streaming-section {
    margin: 120px 0;
    padding: 78px 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(229, 240, 255, 0.9));
    border: 1px solid rgba(47, 109, 255, 0.14);
    box-shadow: var(--soft-shadow);
}

.streaming-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.stream-diagram {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.diagram-node {
    padding: 26px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(47, 109, 255, 0.16);
    box-shadow: var(--card-shadow);
}

.diagram-node h4 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.diagram-node span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.diagram-node.ingest {
    background: linear-gradient(160deg, rgba(95, 139, 255, 0.18), rgba(255, 255, 255, 0.96));
}

.diagram-node.process {
    background: linear-gradient(160deg, rgba(69, 208, 255, 0.22), rgba(255, 255, 255, 0.96));
}

.diagram-node.activate {
    background: linear-gradient(160deg, rgba(88, 213, 204, 0.2), rgba(255, 255, 255, 0.96));
}

.diagram-link {
    display: none;
}

.diagram-link.first {
    left: 17%;
    right: 50%;
}

.diagram-link.second {
    left: 50%;
    right: 17%;
}

.stream-stats {
    display: grid;
    gap: 24px;
}

.stat-block {
    padding: 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(47, 109, 255, 0.18);
    box-shadow: var(--card-shadow);
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-subtext {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.solutions-section {
    margin: 110px 0;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.solution-grid.stacked {
    grid-template-columns: 1fr;
}

.solution-grid article {
    padding: 30px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid rgba(47, 109, 255, 0.14);
    box-shadow: var(--card-shadow);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.solution-grid article:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 52px rgba(21, 40, 92, 0.16);
}

.solution-grid h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
}

.solution-grid p {
    margin: 0 0 16px;
    color: var(--text-secondary);
    font-size: 0.96rem;
}

.solution-grid a {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.92rem;
}

.architecture-section {
    margin: 120px 0;
}

.architecture-inner {
    padding: 64px 64px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(229, 240, 255, 0.92));
    border: 1px solid rgba(47, 109, 255, 0.14);
    box-shadow: var(--soft-shadow);
}

.architecture-steps {
    list-style: none;
    margin: 48px 0 0;
    padding: 0;
    display: grid;
    gap: 28px;
}

.architecture-steps li {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 28px;
    padding: 26px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(47, 109, 255, 0.12);
    box-shadow: var(--card-shadow);
}

.step-index {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(47, 109, 255, 0.14);
    color: var(--accent);
}

.step-content h3 {
    margin: 0 0 10px;
}

.step-content p {
    margin: 0;
    color: var(--text-secondary);
}

.customer-story {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 32px;
    align-items: stretch;
    margin: 130px 0 110px;
}

.culture-section {
    margin: 120px 0;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.culture-grid article {
    padding: 32px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(47, 109, 255, 0.14);
    box-shadow: var(--card-shadow);
}

.culture-grid h3 {
    margin: 0 0 12px;
    font-size: 1.24rem;
}

.culture-grid p {
    margin: 0;
    color: var(--text-secondary);
}

.benefits-section {
    margin: 120px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.benefits-grid article {
    padding: 30px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(47, 109, 255, 0.12);
    box-shadow: var(--card-shadow);
    transition: transform 200ms ease;
}

.benefits-grid article:hover {
    transform: translateY(-6px);
}

.benefits-grid h3 {
    margin: 0 0 12px;
    font-size: 1.18rem;
}

.benefits-grid p {
    margin: 0;
    color: var(--text-secondary);
}

.jobs-board {
    margin: 130px 0 140px;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jobs-grid article {
    padding: 28px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(47, 109, 255, 0.16);
    box-shadow: var(--card-shadow);
    display: grid;
    gap: 16px;
}

.job-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(47, 109, 255, 0.12);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.job-tag.full-time {
    background: rgba(95, 139, 255, 0.16);
}

.jobs-grid h3 {
    margin: 0;
    font-size: 1.2rem;
}

.jobs-grid p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.96rem;
}

.job-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.job-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(47, 109, 255, 0.3);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--accent);
    transition: var(--transition);
}

.job-apply:hover {
    border-color: rgba(47, 109, 255, 0.6);
    color: var(--text-primary);
    background: rgba(47, 109, 255, 0.12);
}

.jobs-cta {
    margin-top: 36px;
    padding: 24px 28px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(47, 109, 255, 0.1);
    text-align: center;
    color: var(--text-secondary);
}

.story-card {
    padding: 50px;
    border-radius: var(--radius-lg);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(95, 139, 255, 0.16));
    border: 1px solid rgba(47, 109, 255, 0.18);
    position: relative;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
}

.story-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 18%, rgba(47, 109, 255, 0.18), transparent 70%);
    opacity: 0.85;
}

.story-card > * {
    position: relative;
    z-index: 1;
}

.story-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(47, 109, 255, 0.14);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.story-card blockquote {
    margin: 0 0 26px;
    font-size: 1.38rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
}

.story-card cite {
    display: block;
    font-style: normal;
    color: var(--text-muted);
    font-size: 0.92rem;
    letter-spacing: 0.05em;
}

.story-metric {
    padding: 42px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(47, 109, 255, 0.16);
    text-align: center;
    box-shadow: var(--card-shadow);
    display: grid;
    align-content: center;
    gap: 14px;
}

.story-metric .highlight {
    display: block;
    font-size: 3.1rem;
    font-weight: 800;
    color: var(--accent);
}

.story-metric p {
    margin: 0;
    color: var(--text-secondary);
}

.cta-section {
    margin: 150px 0 130px;
}

.contact-cta {
    max-width: var(--max-width);
    margin: 0 auto 32px;
    display: flex;
    justify-content: center;
}

.cta-inner {
    padding: 68px;
    border-radius: var(--radius-lg);
    background: linear-gradient(130deg, rgba(47, 109, 255, 0.12), rgba(69, 208, 255, 0.12), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(47, 109, 255, 0.16);
    box-shadow: var(--soft-shadow);
}

.cta-inner h2 {
    margin: 0 0 18px;
    font-size: clamp(2.1rem, 3vw, 2.7rem);
}

.cta-inner p {
    margin: 0 0 32px;
    color: var(--text-secondary);
    max-width: 620px;
}

.cta-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.form-status {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(15, 122, 75, 0.18);
    background: rgba(15, 122, 75, 0.08);
    color: #0f7a4b;
    font-weight: 600;
    line-height: 1.4;
    display: none;
}

.form-status.visible {
    display: block;
}

.checkbox-field {
    display: flex;
}

.checkbox-field input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    accent-color: var(--accent);
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    margin-bottom: 14px;
    border-radius: 999px;
    border: 1px solid rgba(47, 109, 255, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(39, 102, 250, 0.12);
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border 160ms ease, background 160ms ease;
}

.back-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(39, 102, 250, 0.18);
    border-color: rgba(47, 109, 255, 0.32);
    background: #ffffff;
}

.back-button:active {
    transform: translateY(0);
    box-shadow: 0 8px 20px rgba(39, 102, 250, 0.15);
}

.form-field {
    display: grid;
    gap: 10px;
}

.form-field label {
    font-size: 0.88rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.form-field input,
.form-field select {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(47, 109, 255, 0.2);
    background: rgba(255, 255, 255, 0.94);
    color: var(--text-primary);
    font-size: 0.96rem;
    transition: border 180ms ease, box-shadow 180ms ease;
}

.form-field input::placeholder,
.form-field select::placeholder {
    color: rgba(110, 127, 165, 0.6);
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: rgba(47, 109, 255, 0.6);
    box-shadow: 0 0 0 4px rgba(47, 109, 255, 0.15);
}

.cta-form .submit {
    grid-column: span 2;
    justify-self: start;
    padding: 14px 30px;
}

.legal-content form .form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-content form input,
.legal-content form select,
.legal-content form textarea {
    width: 100%;
}

.site-footer {
    padding: 68px 32px 52px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(237, 243, 255, 0.9));
    border-top: 1px solid rgba(47, 109, 255, 0.14);
    color: var(--text-secondary);
}

.footer-top {
    max-width: var(--max-width);
    margin: 0 auto 46px;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 48px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.footer-links h4 {
    margin: 0 0 12px;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.contact-address {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-links a {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.86rem;
    border-top: 1px solid rgba(47, 109, 255, 0.12);
}

.footer-meta {
    display: flex;
    gap: 20px;
}

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

@media (max-width: 1080px) {
    .top-nav {
        gap: 18px;
        padding: 16px 22px;
        flex-wrap: wrap;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        row-gap: 10px;
        column-gap: 18px;
        justify-content: flex-start;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 68px 48px;
    }

    .hero-svg-bg svg {
        opacity: 0.6;
    }

    .hero-visual {
        min-height: 420px;
    }

    .panel.primary {
        transform: translate(12px, -84px);
    }

    .panel.secondary {
        transform: translate(-32px, 80px);
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .streaming-content {
        grid-template-columns: 1fr;
    }

    .culture-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jobs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-story {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    main {
        padding: 60px 22px 110px;
    }

    .top-nav {
        margin: 16px 16px 0;
        border-radius: 26px;
    }

    .hero {
        padding: 48px 28px;
    }

    .hero-svg-bg svg {
        opacity: 0.45;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 7vw, 2.8rem);
    }

    .trust-bar {
        padding: 22px;
        gap: 22px;
    }

    .logo-track {
        gap: 22px;
        animation-duration: 36s;
    }

    .logo-card {
        min-width: 130px;
        padding: 16px 18px;
    }

    .logo-carousel::before,
    .logo-carousel::after {
        width: 56px;
    }

    .feature-grid,
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .streaming-section {
        padding: 56px 32px;
    }

    .stream-diagram {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .culture-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

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

    .diagram-link {
        display: none;
    }

    .architecture-inner {
        padding: 48px 32px;
    }

    .architecture-steps li {
        grid-template-columns: 1fr;
    }

    .customer-story {
        margin: 110px 0 90px;
    }

    .story-card {
        padding: 42px 30px;
    }

    .legal-hero,
    .legal-content {
        padding: 32px;
    }

    .cta-inner {
        padding: 52px 32px;
    }

    .cta-form {
        grid-template-columns: 1fr;
    }

    .cta-form .submit {
        grid-column: span 1;
        justify-self: stretch;
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .footer-links {
        grid-template-columns: 1fr;
    }

    .hero-stats div {
        flex: 1 0 100%;
    }

    .hero-svg-bg svg {
        opacity: 0.35;
    }

    .trust-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-card {
        min-width: 120px;
    }

    .logo-carousel::before,
    .logo-carousel::after {
        width: 40px;
    }

    .legal-hero,
    .legal-content {
        padding: 28px;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .hero-svg-bg * {
        animation: none !important;
    }
    
    .core-pulse,
    .core-ring-1,
    .core-ring-2,
    .core-ring-3,
    .hex-rotate,
    .hex-inner,
    .hex-center,
    .node,
    .data-line,
    .secondary-line,
    .particle,
    .float-particle,
    .pulse-ring,
    .orbit-dot {
        animation: none !important;
    }
}
