@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
    /* ── Backgrounds: deep space, slight blue-black depth ── */
    --bg-primary: #02040F;
    --bg-secondary: #060917;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.055);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(212, 168, 67, 0.40);

    /* ── Gold accent — decorative, matches logo ── */
    --cyan: #D4A843;
    --cyan-dim: rgba(212, 168, 67, 0.10);

    /* Card variant — lighter gold shimmer */
    --purple: #F5CE6A;
    --purple-dim: rgba(245, 206, 106, 0.08);

    /* Card variant — deeper antique gold */
    --emerald: #B8882A;
    --emerald-dim: rgba(184, 136, 42, 0.09);

    /* Semantic amber for terminal warnings */
    --amber: #F5CE6A;

    /* ── Blue CTA accent (buttons & interactive only) ── */
    --blue-cta: #2563EB;
    --blue-cta-dim: rgba(37, 99, 235, 0.12);

    /* ── Text ── */
    --text-primary: #F5F0E8;
    --text-secondary: #7A7568;
    --text-muted: #3D3A33;

    /* ── Gradients: gold for decoration, blue for action ── */
    --gradient-brand: linear-gradient(135deg, #B8882A 0%, #F5CE6A 100%);
    --gradient-brand-alt: linear-gradient(135deg, #F5CE6A 0%, #B8882A 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(212, 168, 67, 0.07) 0%, rgba(245, 206, 106, 0.04) 100%);
    --gradient-cta: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);

    /* ── Fonts ── */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* ── Spacing & shape ── */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --shadow-glow-cyan: 0 0 40px rgba(212, 168, 67, 0.12);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -2px rgba(0, 0, 0, 0.5);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

h4 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mono {
    font-family: var(--font-mono);
    font-size: 0.9em;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 96px 0;
}

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

/* ===== LABEL & HEADER ===== */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 16px;
}

.eyebrow::before {
    content: '//';
    opacity: 0.5;
}

.section-header {
    margin-bottom: 56px;
}

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

.section-header.center .section-desc {
    margin: 12px auto 0;
}

.section-title {
    margin-bottom: 0;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 560px;
    margin-top: 12px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    padding: 12px 24px;
    min-height: 44px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 50%);
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-outline:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.06);
    color: var(--cyan);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
    min-height: 36px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: background 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom-color: var(--border-glass);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

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

.logo img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo-mark {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-mark img {
    height: 36px;
    width: auto;
    display: block;
}

/* The wordmark wrapper */
.logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-wordmark {
    display: flex;
    align-items: baseline;
    gap: 0;
    font-size: 17px;
    font-weight: 700;
}

/* IQ part highlighted */
.logo-wordmark .iq {
    color: var(--cyan);
}

.logo-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: var(--font-mono);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    padding: 4px 0;
    position: relative;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1.5px;
    background: var(--gradient-brand);
    border-radius: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding-top: 68px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
    top: -100px;
    left: -200px;
    animation: drift 12s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.08) 0%, transparent 70%);
    bottom: -100px;
    right: -100px;
    animation: drift 15s ease-in-out infinite reverse;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 70% 70% at 30% 50%, black 20%, transparent 100%);
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -40px);
    }
}

.hero-left {
    position: relative;
    z-index: 1;
    padding: 80px 0 80px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    background: rgba(56, 189, 248, 0.06);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
    animation: blink 2.5s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero h1 {
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero stats */
.hero-meta {
    display: flex;
    gap: 40px;
    margin-top: 52px;
    padding-top: 32px;
    border-top: 1px solid var(--border-glass);
}

.hero-meta-item {
    /* intentional container */
}

.hero-meta-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hero-meta-val em {
    font-style: normal;
    color: var(--cyan);
}

.hero-meta-lbl {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
    letter-spacing: 0.03em;
}

/* Hero right — visual panel */
.hero-right {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.hero-terminal {
    width: 100%;
    max-width: 520px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-glass);
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.t-dot.red {
    background: #ff5f57;
}

.t-dot.yellow {
    background: #febc2e;
}

.t-dot.green {
    background: #28c840;
}

.t-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 2;
}

.t-line {
    display: flex;
    gap: 12px;
}

.t-prompt {
    color: var(--emerald);
    user-select: none;
}

.t-cmd {
    color: var(--text-primary);
}

.t-comment {
    color: var(--text-muted);
}

.t-output {
    color: var(--text-secondary);
    padding-left: 20px;
}

.t-success {
    color: var(--emerald);
    padding-left: 20px;
}

.t-warn {
    color: var(--amber);
    padding-left: 20px;
}

.t-cyan {
    color: var(--cyan);
}

.t-purple {
    color: var(--purple);
}

.t-cursor {
    display: inline-block;
    width: 8px;
    height: 14px;
    background: var(--cyan);
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

/* Terminal glow ring */
.hero-terminal::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.1), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hero-right {
    position: relative;
}

/* ===== MARQUEE / TICKER ===== */
.marquee-section {
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 20px 0;
    overflow: hidden;
    background: var(--bg-secondary);
}

.marquee-track {
    display: flex;
    gap: 0;
    animation: marquee 30s linear infinite;
    width: max-content;
}

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

.marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 36px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    border-right: 1px solid var(--border-glass);
    transition: color var(--transition);
}

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

.marquee-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cyan);
    opacity: 0.6;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Premium top accent line */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity var(--transition);
}

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

.card:hover {
    border-color: rgba(56, 189, 248, 0.2);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-cyan);
}

.card.accent-purple::before {
    background: linear-gradient(90deg, var(--purple), var(--cyan));
}

.card.accent-emerald::before {
    background: linear-gradient(90deg, var(--emerald), var(--cyan));
}

.card.accent-purple:hover {
    border-color: rgba(129, 140, 248, 0.25);
    box-shadow: 0 0 40px rgba(129, 140, 248, 0.1);
}

.card.accent-emerald:hover {
    border-color: rgba(52, 211, 153, 0.25);
    box-shadow: 0 0 40px rgba(52, 211, 153, 0.1);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 20px;
    border: 1px solid rgba(56, 189, 248, 0.15);
    background: var(--cyan-dim);
    color: var(--cyan);
    transition: var(--transition);
}

.card-icon.purple {
    background: var(--purple-dim);
    border-color: rgba(129, 140, 248, 0.15);
    color: var(--purple);
}

.card-icon.emerald {
    background: var(--emerald-dim);
    border-color: rgba(52, 211, 153, 0.15);
    color: var(--emerald);
}

.card:hover .card-icon {
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
}

.card:hover .card-icon.purple {
    box-shadow: 0 0 16px rgba(129, 140, 248, 0.25);
}

.card:hover .card-icon.emerald {
    box-shadow: 0 0 16px rgba(52, 211, 153, 0.25);
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--cyan);
    transition: var(--transition);
    font-family: var(--font-body);
}

.card-link:hover {
    gap: 10px;
}

/* ===== GRIDS ===== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ===== PROCESS ===== */
.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: linear-gradient(to bottom, var(--cyan), var(--purple), transparent);
    opacity: 0.25;
}

.tl-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-glass);
    cursor: default;
    transition: var(--transition);
}

.tl-item:last-child {
    border-bottom: none;
}

.tl-num {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    z-index: 1;
    transition: var(--transition);
}

.tl-item:hover .tl-num {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-dim);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.18);
}

.tl-body h3 {
    font-size: 1rem;
    margin-bottom: 4px;
    padding-top: 8px;
}

.tl-body p {
    font-size: 14px;
}

/* ===== STATS ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.stat-box {
    padding: 44px 32px;
    text-align: center;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-glass);
    transition: var(--transition);
    position: relative;
}

.stat-box:last-child {
    border-right: none;
}

.stat-box:hover {
    background: rgba(56, 189, 248, 0.03);
}

.stat-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: var(--transition);
}

.stat-box:hover::after {
    opacity: 1;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-lbl {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ===== CTA BOX ===== */
.cta-section {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    background: var(--bg-secondary);
    padding: 80px 64px;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(56, 189, 248, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .section-desc {
    margin: 12px auto 36px;
    font-size: 1.05rem;
}

.cta-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    max-width: 260px;
    margin-top: 12px;
}

.footer-col-title {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.social-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: pointer;
}

.social-btn:hover {
    border-color: rgba(56, 189, 248, 0.3);
    color: var(--cyan);
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 152px 0 80px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-glass);
}

.page-hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 60% at 20% 50%, rgba(56, 189, 248, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 30%, rgba(129, 140, 248, 0.05) 0%, transparent 60%);
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 80% at 20% 50%, black 20%, transparent 100%);
}

.page-hero .eyebrow {
    margin-bottom: 16px;
}

.page-hero h1 {
    max-width: 700px;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.1rem;
    max-width: 560px;
}

/* ===== TECH TAGS ===== */
.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    font-size: 13px;
    font-family: var(--font-mono);
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tech-pill:hover {
    border-color: rgba(56, 189, 248, 0.3);
    color: var(--cyan);
    background: var(--cyan-dim);
}

.tech-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.form-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-family: var(--font-mono);
    letter-spacing: 0.03em;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 11px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.03);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.07);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-info-panel {
    padding: 8px 0;
}

.ci-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.ci-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 9px;
    background: var(--cyan-dim);
    border: 1px solid rgba(56, 189, 248, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
}

.ci-label {
    font-size: 12px;
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ci-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.status-badge {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    background: rgba(52, 211, 153, 0.05);
    border: 1px solid rgba(52, 211, 153, 0.15);
    border-radius: 12px;
    margin-top: 32px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    margin-top: 5px;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.8);
    animation: blink 2.5s ease-in-out infinite;
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: none;
}

.reveal-d1 {
    transition-delay: 0.08s;
}

.reveal-d2 {
    transition-delay: 0.16s;
}

.reveal-d3 {
    transition-delay: 0.24s;
}

.reveal-d4 {
    transition-delay: 0.32s;
}

.reveal-d5 {
    transition-delay: 0.40s;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 7, 18, 0.97);
    backdrop-filter: blur(24px);
    z-index: 999;
    padding: 32px 24px;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border-glass);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav .nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-primary);
}

/* ===== SERVICE PAGE ===== */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 56px 0;
    border-bottom: 1px solid var(--border-glass);
}

.service-row:last-child {
    border-bottom: none;
}

.service-row.flip .service-panel {
    order: -1;
}

.service-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 28px;
}

.sp-section {
    margin-bottom: 20px;
}

.sp-section:last-child {
    margin-bottom: 0;
}

.sp-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.meta-chip {
    display: inline-block;
    padding: 3px 10px;
    background: var(--cyan-dim);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
    margin: 3px 3px 3px 0;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.check-item::before {
    content: '✓';
    color: var(--emerald);
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

/* ===== TECH PAGE ===== */
.tech-cat {
    margin-bottom: 56px;
}

.tech-cat-hdr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 20px;
}

.tech-cat-icon {
    font-size: 1.3rem;
}

.tech-cat-hdr h3 {
    font-size: 1rem;
    font-weight: 600;
}

.tech-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 20px;
    transition: var(--transition);
}

.tech-item:hover {
    border-color: rgba(56, 189, 248, 0.2);
    background: var(--cyan-dim);
    transform: translateY(-3px);
}

.tech-item-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.tech-item p {
    font-size: 13px;
    line-height: 1.65;
}

/* ===== FOOTER SYSTEM STATUS ===== */
.footer-status-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    margin-top: -8px;
}

.fs-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-glass);
}

.fs-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
    animation: pulse-green 2s infinite ease-in-out;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
    100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.fs-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.fs-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
    color: var(--text-secondary);
}

.fs-row {
    display: flex;
    justify-content: space-between;
}

.fs-val {
    color: var(--cyan);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-right {
        display: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 1.9rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-row.flip .service-panel {
        order: 0;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

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

    .cta-section {
        padding: 48px 24px;
    }
}

@media (max-width: 480px) {
    .hero-meta {
        flex-direction: column;
        gap: 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .stats-row {
        grid-template-columns: 1fr;
    }

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