:root {
    --bg: #0a0e17;
    --bg-soft: #0f1419;
    --bg-card: #161b22;
    --text: #e6edf3;
    --text-muted: #7d8590;
    --accent: #00d9ff;
    --accent-strong: #00ff88;
    --accent-purple: #b392f0;
    --accent-pink: #ff69b4;
    --outline: rgba(125, 133, 144, 0.2);
    --gradient: linear-gradient(135deg, #00d9ff, #b392f0, #ff69b4);
    --code-keyword: #ff79c6;
    --code-string: #00ff88;
    --code-comment: #6272a4;
    --code-property: #00d9ff;
    --code-operator: #ff9800;
    font-family: 'JetBrains Mono', 'Space Grotesk', monospace, system-ui;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.7;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 217, 255, 0.15), transparent 30%),
        radial-gradient(circle at 90% 80%, rgba(179, 146, 240, 0.12), transparent 35%),
        radial-gradient(circle at 50% 50%, rgba(255, 105, 180, 0.08), transparent 50%);
    position: relative;
    overflow-x: hidden;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.15), transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: opacity 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1200px, 90vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    backdrop-filter: blur(12px);
    background: rgba(5, 7, 13, 0.85);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
}

.brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-symbol {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logo-symbol:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.code-bracket {
    color: var(--code-operator);
}

.logo-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.brand-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.05em;
    color: var(--text);
}

.brand-tagline {
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
}

.code-comment {
    color: var(--code-comment);
    font-style: italic;
}

.code-keyword {
    color: var(--code-keyword);
    font-weight: 600;
}

.code-string {
    color: var(--code-string);
}

.code-property {
    color: var(--code-property);
}

.code-operator {
    color: var(--code-operator);
}

.code-class {
    color: var(--accent-purple);
}

.nav-num {
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    margin-right: 0.4rem;
}

.terminal-symbol {
    color: var(--accent-strong);
    font-family: 'JetBrains Mono', monospace;
    margin-right: 0.3rem;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.nav a {
    color: var(--text);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
}

.nav a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.65rem 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: #05070d;
}

.btn-outline {
    border-color: var(--outline);
    color: var(--text);
}

.btn-ghost {
    color: var(--text);
    border: 1px solid transparent;
}

.hero {
    padding: 6rem 0 4rem;
    position: relative;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-top: 0.75rem;
    position: relative;
}

.glitch-text {
    position: relative;
    animation: glitch-subtle 8s infinite;
}

.glitch-text.glitch-active::before,
.glitch-text.glitch-active::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text.glitch-active::before {
    animation: glitch-1 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: var(--accent);
    z-index: -1;
}

.glitch-text.glitch-active::after {
    animation: glitch-2 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
    color: var(--accent-pink);
    z-index: -1;
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-subtle {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(0.5px, -0.5px); }
    66% { transform: translate(-0.5px, 0.5px); }
}

.lead {
    color: var(--text);
    max-width: 640px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.8;
    background: var(--bg-soft);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.1);
}

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

.terminal-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 0 40px rgba(0, 217, 255, 0.2),
        0 20px 60px rgba(2, 6, 23, 0.8);
    font-family: 'JetBrains Mono', monospace;
}

.terminal-header {
    background: var(--bg-soft);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.terminal-body {
    padding: 1.5rem;
    background: var(--bg-card);
    font-size: 0.9rem;
    line-height: 1.8;
}

.terminal-line {
    margin: 0.3rem 0;
}

.terminal-cursor::after {
    content: "█";
    animation: blink 1s infinite;
    color: var(--accent);
    margin-left: 0.2rem;
}

.terminal-card-large {
    margin: 2rem 0;
}

.terminal-card-large .terminal-body {
    padding: 2rem;
    font-size: 0.95rem;
    line-height: 2;
}

.terminal-card-footer {
    border: none;
    box-shadow: none;
    background: transparent;
}

.terminal-card-footer .terminal-body {
    padding: 1rem 0;
    background: transparent;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.hero-actions .cta-primary,
.hero-actions .cta-secondary {
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    position: relative;
    overflow: hidden;
}

.hero-actions .cta-primary::before,
.hero-actions .cta-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-actions .cta-primary:hover::before,
.hero-actions .cta-secondary:hover::before {
    left: 100%;
}

.hero-actions .cta-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--bg-dark);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.hero-actions .cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 0 30px rgba(0, 217, 255, 0.5),
        0 8px 24px rgba(0, 217, 255, 0.4);
}

.hero-actions .cta-secondary {
    background: var(--bg-card);
    color: var(--accent);
    border-color: var(--accent);
}

.hero-actions .cta-secondary:hover {
    background: rgba(0, 217, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.tickers {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.tickers span {
    border: 1px solid var(--outline);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.metrics {
    padding: 2rem 0 1rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.metric {
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 18px;
    padding: 1.5rem;
    background: var(--bg-soft);
    transition: all 0.3s ease;
}

.metric:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.2);
    background: var(--bg-card);
}

.metric-value {
    font-size: 2rem;
    margin: 0 0 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    margin: 0;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

section {
    padding: 4rem 0;
}

.process,
.testimonials,
.cta {
    padding: 3rem 0;
}

.section-head {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-family: 'Space Grotesk', sans-serif;
    margin: 0;
}

.section-head p {
    color: var(--text-muted);
    max-width: 640px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.expertise-grid article {
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    background: var(--bg-soft);
    transition: all 0.3s ease;
    position: relative;
}

.expertise-grid article::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    -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;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expertise-grid article:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
    background: var(--bg-card);
}

.expertise-grid article:hover::before {
    opacity: 1;
}

.expertise-grid h3 {
    margin-top: 0;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}

.launch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.launch-card {
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    padding: 1.75rem;
    background: radial-gradient(circle at top left, rgba(0, 217, 255, 0.08), transparent 60%), var(--bg-soft);
    min-height: 260px;
    transition: all 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.launch-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.25);
    background: radial-gradient(circle at top left, rgba(0, 217, 255, 0.12), transparent 60%), var(--bg-card);
}

.launch-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-strong);
    letter-spacing: 0.12em;
    font-weight: 700;
}

.launch-card h3 {
    color: var(--accent);
}

.launch-card ul {
    padding-left: 1.2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.link {
    color: var(--accent-strong);
    text-decoration: none;
    font-weight: 600;
}

.process-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(2, 6, 23, 0.35);
    background: var(--bg-soft);
}

.process-steps li {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 217, 255, 0.2);
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
}

.process-steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.process-steps li:hover {
    background: var(--bg-card);
    padding-left: 2.5rem;
}

.process-steps li:hover::before {
    transform: scaleY(1);
}

.process-steps li:last-child {
    border-bottom: none;
}

.process-steps h3 {
    margin: 0 0 0.4rem;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}

.process-steps p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.testimonials {
    padding: 3rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.testimonial-grid article {
    border: 1px solid var(--outline);
    border-radius: 16px;
    padding: 1.5rem;
    background: var(--bg-soft);
}

.quote {
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
}

.cite {
    color: var(--text-muted);
    margin: 0;
}



.site-footer {
    padding: 3rem 0 2rem;
    background: var(--bg-soft);
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-tagline {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
    text-align: right;
}

.footer-copyright {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
}

.footer-desc {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-focus {
    margin: 0;
    font-size: 0.8rem;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .hero {
        padding-top: 4rem;
    }
    .process-steps li {
        padding: 1.2rem 1.3rem;
    }
    .brand-logo {
        gap: 0.75rem;
    }
    .logo-symbol {
        font-size: 1.2rem;
        padding: 0.4rem 0.6rem;
    }
    .brand-name {
        font-size: 1rem;
    }
    .brand-tagline {
        font-size: 0.7rem;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .footer-meta {
        align-items: flex-start;
        text-align: left;
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}
