/* ══════════════════════════════════════════════
   QomplyTI Landing Page — Command Center
   ══════════════════════════════════════════════ */

@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

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

:root {
    --void: #060612;
    --dark-surface: #0c0c1d;
    --dark-card: rgba(12, 12, 29, 0.65);
    --cyan: #00f0ff;
    --violet: #7b61ff;
    --indigo: #1C8FF7;
    --cyan-dim: rgba(0, 240, 255, 0.07);
    --violet-dim: rgba(123, 97, 255, 0.07);
    --text-primary: #eeeef8;
    --text-secondary: rgba(238, 238, 248, 0.55);
    --text-muted: rgba(238, 238, 248, 0.28);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--void);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Background Layers ── */
#network-canvas {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none;
}

.gradient-mesh {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none; overflow: hidden;
}
.mesh-blob {
    position: absolute; border-radius: 50%;
    filter: blur(140px); opacity: 0.14;
    will-change: transform;
}
.mesh-blob--1 {
    width: 900px; height: 900px; top: -25%; right: -15%;
    background: radial-gradient(circle, var(--cyan), transparent 70%);
    animation: mesh-drift-1 22s ease-in-out infinite;
}
.mesh-blob--2 {
    width: 800px; height: 800px; bottom: -15%; left: -10%;
    background: radial-gradient(circle, var(--violet), transparent 70%);
    animation: mesh-drift-2 28s ease-in-out infinite;
}
.mesh-blob--3 {
    width: 500px; height: 500px; top: 35%; left: 40%;
    background: radial-gradient(circle, var(--indigo), transparent 70%);
    animation: mesh-drift-3 20s ease-in-out infinite;
    opacity: 0.07;
}
.mesh-blob--4 {
    width: 400px; height: 400px; top: 60%; right: 20%;
    background: radial-gradient(circle, var(--violet), transparent 70%);
    animation: mesh-drift-4 25s ease-in-out infinite;
    opacity: 0.05;
}

.bg-grid {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.012) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 20%, transparent 70%);
}

.noise-overlay {
    position: fixed; inset: 0; z-index: 1;
    pointer-events: none; opacity: 0.022;
    mix-blend-mode: soft-light;
}

/* ── Utility ── */
.container {
    max-width: 1200px; margin: 0 auto; padding: 0 32px;
    position: relative; z-index: 2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: shimmer-text 5s ease-in-out infinite;
}

@keyframes shimmer-text {
    0%, 100% { background-position: 100% 50%; }
    50% { background-position: 0% 50%; }
}

/* ── Navigation ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 0;
    background: rgba(6, 6, 18, 0.25);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.5s var(--ease-out-expo);
}
nav.scrolled {
    padding: 12px 0;
    background: rgba(6, 6, 18, 0.92);
    border-bottom-color: rgba(0, 240, 255, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
}

.logo {
    display: flex; align-items: center; gap: 1px;
    text-decoration: none;
    font-family: 'Syncopate', sans-serif;
    font-size: 1.1rem; font-weight: 700;
    letter-spacing: 0.12em;
}
.logo-mark {
    color: var(--cyan);
    text-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
}
.logo-text { color: var(--text-primary); }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none;
    font-size: 0.84rem; font-weight: 500;
    transition: color 0.3s; position: relative;
    letter-spacing: 0.01em;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 1.5px; background: var(--cyan);
    transition: width 0.3s var(--ease-out-expo);
    border-radius: 1px;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    padding: 9px 24px !important;
    border-radius: var(--radius-sm) !important;
    background: linear-gradient(135deg, var(--cyan), var(--violet)) !important;
    color: var(--void) !important;
    font-weight: 600 !important;
    transition: all 0.3s var(--ease-out-expo) !important;
    box-shadow: 0 2px 16px rgba(0, 240, 255, 0.15);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 28px rgba(0, 240, 255, 0.3) !important;
}

.menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 32px; height: 32px; position: relative;
}
.menu-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text-primary); position: absolute; left: 5px;
    transition: all 0.3s var(--ease-out-expo);
    border-radius: 1px;
}
.menu-toggle span:nth-child(1) { top: 9px; }
.menu-toggle span:nth-child(2) { top: 15px; }
.menu-toggle span:nth-child(3) { top: 21px; }
.menu-toggle.active span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* ── Hero ── */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    padding: 140px 0 60px; position: relative;
}
.hero .container { width: 100%; }
.hero-glow {
    position: absolute; top: 35%; left: 30%;
    width: 1000px; height: 1000px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 240, 255, 0.045) 0%, rgba(123, 97, 255, 0.025) 40%, transparent 70%);
    pointer-events: none; z-index: 0;
}

.hero-content {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px;
    align-items: center;
}
.hero-text { z-index: 1; }

.badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 22px; border-radius: 100px;
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.1);
    font-size: 0.74rem; font-weight: 600; color: var(--cyan);
    letter-spacing: 0.1em; margin-bottom: 32px;
    animation: fadeInUp 0.6s var(--ease-out-expo);
    backdrop-filter: blur(8px);
}
.badge-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan), 0 0 20px rgba(0, 240, 255, 0.3);
    animation: pulse-dot 2s ease-in-out infinite;
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    font-weight: 800; line-height: 1.1;
    letter-spacing: -0.025em; margin-bottom: 28px;
}
.hero-line {
    display: block;
    animation: fadeInUp 0.7s var(--ease-out-expo) both;
}
.hero-line:nth-child(1) { animation-delay: 0.1s; }
.hero-line:nth-child(2) { animation-delay: 0.2s; }
.hero-line:nth-child(3) { animation-delay: 0.3s; }

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 500px; line-height: 1.85;
    margin-bottom: 40px;
    animation: fadeInUp 0.7s var(--ease-out-expo) 0.4s both;
}

.hero-actions {
    display: flex; gap: 14px; flex-wrap: wrap;
    animation: fadeInUp 0.7s var(--ease-out-expo) 0.5s both;
}

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 32px; border-radius: var(--radius-md);
    font-size: 0.9rem; font-weight: 600;
    text-decoration: none; cursor: pointer; border: none;
    transition: all 0.4s var(--ease-out-expo);
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative; overflow: hidden;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    color: var(--void);
    box-shadow:
        0 4px 20px rgba(0, 240, 255, 0.15),
        0 0 60px rgba(0, 240, 255, 0.04);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 8px 40px rgba(0, 240, 255, 0.25),
        0 0 80px rgba(0, 240, 255, 0.08);
}
.btn-glow {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}
.btn-primary:hover .btn-glow { opacity: 1; }

.btn-ghost {
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: rgba(0, 240, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.18);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.06);
}

/* ── Hero Visual / MCP Diagram ── */
.hero-visual {
    position: relative;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.7s both;
}
.mcp-diagram {
    display: flex; align-items: center;
    position: relative;
    min-height: 340px;
}
.mcp-nodes-col {
    display: flex; flex-direction: column; gap: 16px;
    position: relative; z-index: 2;
    flex-shrink: 0;
}
.mcp-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 1; pointer-events: none;
}
.mcp-hub-col {
    margin-left: auto;
    position: relative; z-index: 2;
    flex-shrink: 0;
    padding: 40px 0;
}

.mcp-hub { position: relative; }
.mcp-hub-core {
    width: 76px; height: 76px; border-radius: 20px;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syncopate', sans-serif; font-size: 0.72rem; font-weight: 700;
    color: var(--void); letter-spacing: 0.05em;
    box-shadow:
        0 0 50px rgba(0, 240, 255, 0.25),
        0 0 100px rgba(123, 97, 255, 0.12);
    position: relative; z-index: 2;
}
.hub-q { font-size: 0.9rem; }
.mcp-hub-pulse {
    position: absolute; inset: -14px; border-radius: 28px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    animation: hub-pulse 3s ease-in-out infinite;
}
.mcp-hub-pulse--2 {
    inset: -30px; border-radius: 36px;
    border-color: rgba(123, 97, 255, 0.08);
    animation-delay: 1s;
}

.mcp-node {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px 10px 10px; border-radius: var(--radius-md);
    background: rgba(12, 12, 29, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    font-size: 0.78rem; font-weight: 500; color: var(--text-secondary);
    transition: all 0.35s var(--ease-out-expo);
    white-space: nowrap;
}
.mcp-node:hover {
    border-color: rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.04);
    transform: scale(1.06);
    box-shadow: 0 4px 24px rgba(0, 240, 255, 0.08);
}
.mcp-node-icon {
    width: 34px; height: 34px; border-radius: var(--radius-sm);
    background: rgba(0, 240, 255, 0.05);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.mcp-node-icon svg { width: 18px; height: 18px; stroke: var(--cyan); }

/* ── Trust Bar ── */
.trust-bar {
    padding: 44px 0; position: relative; z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: rgba(6, 6, 18, 0.4);
}
.trust-label {
    text-align: center; color: var(--text-muted);
    font-size: 0.72rem; font-weight: 500;
    letter-spacing: 0.18em; text-transform: uppercase;
    margin-bottom: 20px;
}
.trust-items {
    display: flex; justify-content: center; gap: 12px;
    flex-wrap: wrap;
}
.trust-badge {
    padding: 8px 22px;
    border-radius: 100px;
    background: rgba(0, 240, 255, 0.025);
    border: 1px solid rgba(0, 240, 255, 0.07);
    font-size: 0.76rem; font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s var(--ease-out-expo);
}
.trust-badge:hover {
    border-color: rgba(0, 240, 255, 0.18);
    background: rgba(0, 240, 255, 0.05);
    color: var(--cyan);
}

/* ── Sections ── */
section { padding: 120px 0; }
.section-label {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.62rem; letter-spacing: 0.3em;
    color: var(--cyan); text-transform: uppercase;
    margin-bottom: 16px; font-weight: 400;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}
.section-header { text-align: center; margin-bottom: 64px; }

h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.7rem);
    font-weight: 700; letter-spacing: -0.015em;
    margin-bottom: 20px; line-height: 1.2;
}
.section-desc {
    color: var(--text-secondary); font-size: 1.05rem;
    max-width: 520px; line-height: 1.85;
}
.section-desc + .section-desc { margin-top: 16px; }
.powered-by { margin-top: 28px !important; }
.link-accent {
    color: var(--cyan); text-decoration: none;
    border-bottom: 1px solid rgba(0, 240, 255, 0.25);
    transition: border-color 0.3s;
}
.link-accent:hover { border-bottom-color: var(--cyan); }

/* ── About Section ── */
.section-about { padding-top: 140px; }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center;
}

/* ── Terminal ── */
.terminal {
    background: rgba(10, 10, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 240, 255, 0.02),
        inset 0 1px 0 rgba(255,255,255,0.03);
    position: relative;
}
.terminal-scanline {
    position: absolute; left: 0; right: 0; height: 2px; z-index: 5;
    background: linear-gradient(90deg, transparent 10%, rgba(0, 240, 255, 0.1) 50%, transparent 90%);
    pointer-events: none;
    animation: scanline-move 4s ease-in-out infinite;
}
.terminal-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.012);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.terminal-dots { display: flex; gap: 8px; }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; display: block; }
.terminal-dot--red { background: #ff5f57; }
.terminal-dot--yellow { background: #febc2e; }
.terminal-dot--green { background: #28c840; }
.terminal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem; color: var(--text-muted);
    margin-left: auto;
}
.terminal-body {
    padding: 24px 24px 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem; line-height: 2; position: relative;
}
.t-comment { color: var(--text-muted); }
.t-true { color: #34d058; font-weight: 500; }
.t-string { color: #c4a0ff; }
.t-key { color: rgba(255, 255, 255, 0.85); }
.t-brace { color: var(--text-muted); }
.t-prompt { color: var(--cyan); font-weight: 500; }

.terminal-line.typing-target {
    opacity: 0; transition: opacity 0.15s ease;
}
.terminal-line.typing-target.typed {
    opacity: 1; animation: type-flash 0.3s ease;
}
.terminal-glow {
    position: absolute; bottom: 0; left: 10%; right: 10%; height: 80px;
    background: radial-gradient(ellipse at 50% 100%, rgba(0, 240, 255, 0.025), transparent);
    pointer-events: none;
}

/* ── Stats Ribbon ── */
.stats-ribbon {
    padding: 72px 0;
    position: relative;
}
.stats-ribbon::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.01) 0%, transparent 50%, rgba(123, 97, 255, 0.01) 100%);
    pointer-events: none;
}
.stats-grid {
    display: flex; justify-content: center; align-items: center;
}
.stat-item {
    flex: 1; text-align: center; padding: 20px 28px;
    display: flex; flex-direction: column; gap: 6px;
}
.stat-value {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
    font-weight: 800; color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.stat-unit {
    font-size: 0.55em; font-weight: 600;
    color: var(--cyan);
}
.stat-label {
    font-size: 0.82rem; font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}
.stat-detail {
    font-size: 0.7rem; color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
}
.stat-divider {
    width: 1px; height: 56px;
    background: linear-gradient(180deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    flex-shrink: 0;
}

/* ── Features ── */
.features-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.feature-card {
    position: relative;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    transition: all 0.45s var(--ease-out-expo);
    overflow: hidden;
    --mouse-x: 50%;
    --mouse-y: 50%;
}
.feature-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(0, 240, 255, 0.035), transparent 40%);
    pointer-events: none; opacity: 0; transition: opacity 0.5s;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 240, 255, 0.1);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        0 0 40px rgba(0, 240, 255, 0.025);
}
.feature-card:hover::before { opacity: 1; }

.feature-card-glow {
    position: absolute; top: -50px; right: -50px;
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.06), transparent 70%);
    pointer-events: none; opacity: 0;
    transition: opacity 0.5s;
}
.feature-card:hover .feature-card-glow { opacity: 1; }

.feature-icon-wrap {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--cyan-dim), var(--violet-dim));
    border: 1px solid rgba(0, 240, 255, 0.06);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    transition: all 0.35s var(--ease-out-expo);
}
.feature-card:hover .feature-icon-wrap {
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.12), 0 0 48px rgba(123, 97, 255, 0.06);
    border-color: rgba(0, 240, 255, 0.15);
}
.feature-icon-wrap svg {
    width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 1.5;
}
.feature-card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem; font-weight: 700; margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.feature-card p {
    color: var(--text-secondary); font-size: 0.88rem; line-height: 1.7;
}

/* ── Steps (How It Works) ── */
.section-steps { padding-bottom: 100px; }
.steps-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.step-card {
    position: relative; text-align: center;
    padding: 44px 28px 40px;
    border-radius: var(--radius-lg);
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    transition: all 0.45s var(--ease-out-expo);
}
.step-card:hover {
    border-color: rgba(0, 240, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}
.step-number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    margin-bottom: 28px;
    box-shadow: 0 0 32px rgba(0, 240, 255, 0.15), 0 0 64px rgba(123, 97, 255, 0.08);
    transition: box-shadow 0.3s;
}
.step-card:hover .step-number {
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.25), 0 0 80px rgba(123, 97, 255, 0.12);
}
.step-number span {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: 1.1rem; color: var(--void);
    letter-spacing: -0.02em;
}
.step-content h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem; font-weight: 700; margin-bottom: 10px;
}
.step-content p {
    color: var(--text-secondary); font-size: 0.88rem;
    line-height: 1.7; max-width: 280px; margin: 0 auto;
}
.step-connector { display: none; }

.endpoint-hint {
    display: inline-block; margin-top: 16px;
    padding: 8px 18px; border-radius: var(--radius-sm);
    background: rgba(0, 240, 255, 0.035);
    border: 1px solid rgba(0, 240, 255, 0.1);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem; color: var(--cyan);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}
.endpoint-hint:hover {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.08);
}

/* ── Demo Section ── */
.section-demo { padding: 100px 0 120px; }
.demo-layout {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px;
    align-items: start;
}
.demo-text { padding-top: 24px; }
.demo-desc {
    color: var(--text-secondary); font-size: 1.05rem;
    line-height: 1.85; margin-bottom: 36px;
    max-width: 420px;
}
.demo-highlights {
    display: flex; flex-direction: column; gap: 16px;
}
.demo-highlight {
    display: flex; align-items: center; gap: 14px;
    color: var(--text-secondary); font-size: 0.9rem;
    font-weight: 500;
}
.demo-highlight svg {
    stroke: var(--cyan); flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(0, 240, 255, 0.2));
}

.demo-form-card {
    padding: 48px 40px; border-radius: var(--radius-xl);
    background: var(--dark-card);
    backdrop-filter: blur(20px);
    position: relative; overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    --gradient-angle: 0deg;
}
.demo-form-border {
    position: absolute; inset: 0; border-radius: var(--radius-xl);
    padding: 1px; z-index: 0;
    background: conic-gradient(from var(--gradient-angle), transparent 40%, rgba(0, 240, 255, 0.1) 50%, transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rotate-gradient 6s linear infinite;
}
.demo-form-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 240, 255, 0.025), transparent 60%);
    pointer-events: none;
}

/* HubSpot form styling */
#hubspot-form { position: relative; z-index: 1; min-height: 120px; }
#hubspot-form form { text-align: left; }
#hubspot-form label {
    color: var(--text-secondary) !important;
    font-size: 0.85rem !important; font-weight: 500 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
#hubspot-form input,
#hubspot-form textarea,
#hubspot-form select {
    background: rgba(255,255,255,0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: var(--radius-sm) !important;
    color: #fff !important; padding: 13px 16px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.9rem !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
}
#hubspot-form input:focus,
#hubspot-form textarea:focus,
#hubspot-form select:focus {
    border-color: rgba(0, 240, 255, 0.35) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.06), 0 0 20px rgba(0, 240, 255, 0.03) !important;
}
#hubspot-form input::placeholder,
#hubspot-form textarea::placeholder {
    color: var(--text-muted) !important;
}
#hubspot-form input[type="submit"],
#hubspot-form .hs-button {
    background: linear-gradient(135deg, var(--cyan), var(--violet)) !important;
    color: var(--void) !important; font-weight: 600 !important;
    border: none !important; border-radius: var(--radius-md) !important;
    padding: 14px 32px !important; cursor: pointer !important;
    font-size: 0.9rem !important;
    transition: all 0.3s var(--ease-out-expo) !important;
    box-shadow: 0 4px 24px rgba(0, 240, 255, 0.15) !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    width: 100% !important;
}
#hubspot-form input[type="submit"]:hover,
#hubspot-form .hs-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 32px rgba(0, 240, 255, 0.3) !important;
}
#hubspot-form .hs-error-msg {
    color: #ff6b6b !important; font-size: 0.8rem !important;
}
#hubspot-form .hs-form-field { margin-bottom: 20px !important; }
#hubspot-form .legal-consent-container .hs-form-booleancheckbox-display > span {
    color: var(--text-muted) !important; font-size: 0.8rem !important;
}

/* ── CTA ── */
.section-cta { padding: 60px 0 140px; }
.cta-card {
    padding: 88px 56px; border-radius: var(--radius-xl);
    position: relative; overflow: hidden;
    background: rgba(10, 10, 24, 0.9);
    text-align: center;
    --gradient-angle: 0deg;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.cta-card::before {
    content: ''; position: absolute; inset: -1px;
    border-radius: var(--radius-xl); z-index: 0;
    padding: 1px;
    background: conic-gradient(from var(--gradient-angle), transparent 20%, rgba(0, 240, 255, 0.12) 35%, rgba(123, 97, 255, 0.12) 50%, transparent 65%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: rotate-gradient 6s linear infinite;
}
.cta-glow {
    position: absolute; z-index: 0; pointer-events: none;
    width: 400px; height: 400px; border-radius: 50%;
    filter: blur(130px); opacity: 0.08;
}
.cta-glow--1 { top: -160px; right: -100px; background: var(--cyan); }
.cta-glow--2 { bottom: -160px; left: -100px; background: var(--violet); }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { margin-bottom: 16px; }
.cta-desc {
    color: var(--text-secondary); margin-bottom: 44px;
    font-size: 1.05rem; max-width: 480px;
    margin-left: auto; margin-right: auto;
    line-height: 1.8;
}
.cta-actions {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ── Footer ── */
footer {
    padding: 48px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative; z-index: 2;
}
.footer-inner {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 24px;
}
.footer-brand {
    display: flex; align-items: center; gap: 20px;
}
.footer-tagline {
    color: var(--text-muted); font-size: 0.82rem;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    font-style: italic;
}
.footer-links { display: flex; gap: 28px; }
.footer-links a {
    color: var(--text-secondary); text-decoration: none;
    transition: color 0.3s; font-size: 0.82rem; font-weight: 500;
}
.footer-links a:hover { color: var(--cyan); }
.footer-copy {
    width: 100%; text-align: center;
    color: var(--text-muted); font-size: 0.76rem;
    padding-top: 24px; margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    letter-spacing: 0.02em;
}

/* ── Keyframes ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--cyan), 0 0 20px rgba(0,240,255,0.3); }
    50% { opacity: 0.5; box-shadow: 0 0 16px var(--cyan), 0 0 40px rgba(0,240,255,0.4); }
}
@keyframes mesh-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, 80px) scale(1.08); }
    66% { transform: translate(40px, -40px) scale(0.92); }
}
@keyframes mesh-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(70px, -60px) scale(1.1); }
    66% { transform: translate(-40px, 40px) scale(0.9); }
}
@keyframes mesh-drift-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, -50px) scale(1.12); }
}
@keyframes mesh-drift-4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    40% { transform: translate(50px, 60px) scale(1.06); }
    80% { transform: translate(-30px, -40px) scale(0.94); }
}
@keyframes scanline-move {
    0% { top: -2px; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { top: calc(100% - 2px); opacity: 0; }
}
@keyframes type-flash {
    0% { opacity: 0; transform: translateX(-4px); }
    100% { opacity: 1; transform: translateX(0); }
}
@keyframes rotate-gradient {
    to { --gradient-angle: 360deg; }
}
@keyframes hub-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.15; transform: scale(1.15); }
}
@keyframes dash-scroll {
    to { stroke-dashoffset: -28; }
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .hero { padding: 130px 0 60px; }
    .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }

    h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
    h2 { font-size: clamp(1.4rem, 5vw, 2rem); }

    .trust-bar { padding: 32px 0; }
    .trust-items { gap: 8px; }
    .trust-badge { font-size: 0.68rem; padding: 6px 14px; }

    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-text { text-align: center; }
    .section-desc { margin-left: auto; margin-right: auto; }

    .stats-grid { flex-direction: column; gap: 8px; }
    .stat-divider { width: 64px; height: 1px; }
    .stat-item { padding: 16px 20px; }

    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 16px; }

    .demo-layout { grid-template-columns: 1fr; gap: 40px; }
    .demo-text { text-align: center; }
    .demo-desc { margin-left: auto; margin-right: auto; }
    .demo-highlights { align-items: center; }
    .demo-form-card { padding: 32px 20px; }

    .cta-card { padding: 48px 24px; }
    section { padding: 80px 0; }
    .section-about { padding-top: 100px; }

    .nav-links {
        display: none; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(6, 6, 18, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        padding: 24px; gap: 20px;
        border-bottom: 1px solid rgba(0, 240, 255, 0.06);
    }
    .nav-links.open { display: flex; }
    .menu-toggle { display: block; }

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-brand { flex-direction: column; gap: 8px; }
    .footer-tagline { border-left: none; padding-left: 0; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content { gap: 40px; grid-template-columns: 1fr 1fr; }
    .demo-layout { gap: 40px; }
    .about-grid { gap: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    #network-canvas { display: none; }
    .gradient-text { animation: none; }
}
