/* LaunchMatrix — Campaign Launch Matrix & Orchestration */
:root {
    --bg-dark: #111827;
    --bg-card: #1a2332;
    --bg-elevated: #1f2937;
    --lime: #84CC16;
    --cyan: #06B6D4;
    --text: #f3f4f6;
    --text-muted: #9ca3af;
    --border: rgba(132, 204, 22, 0.15);
    --border-cyan: rgba(6, 182, 212, 0.2);
    --font-display: 'Space Grotesk', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --radius: 12px;
    --shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    --max-width: 1200px;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg-dark);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.matrix-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(132, 204, 22, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(132, 204, 22, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(6, 182, 212, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.02) 1px, transparent 1px);
    background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
    background-position: center center;
}

.matrix-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(132, 204, 22, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--lime); }

.container {
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
    position: relative;
    z-index: 1;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--lime);
    color: var(--bg-dark);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(17, 24, 39, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
}
.logo:hover { color: var(--lime); }

.logo-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--lime), var(--cyan));
    color: var(--bg-dark);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.site-nav a {
    display: block;
    padding: 0.5rem 0.85rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
}
.site-nav a:hover,
.site-nav a.active {
    color: var(--text);
    background: rgba(132, 204, 22, 0.08);
}
.site-nav a.active { color: var(--lime); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.btn-primary {
    background: var(--lime);
    color: var(--bg-dark);
    border-color: var(--lime);
}
.btn-primary:hover {
    background: #a3e635;
    border-color: #a3e635;
    color: var(--bg-dark);
}
.btn-outline {
    background: transparent;
    color: var(--lime);
    border-color: var(--lime);
}
.btn-outline:hover {
    background: rgba(132, 204, 22, 0.1);
    color: var(--lime);
}
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* Hero */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.75) 50%, rgba(17, 24, 39, 0.88) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    padding: 6rem 0 4rem;
    max-width: 720px;
}
.hero-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid var(--border-cyan);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--lime); }
.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 560px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Sections */
section { padding: 5rem 0; position: relative; z-index: 1; }
.section-header { margin-bottom: 3rem; max-width: 640px; }
.section-header.center { text-align: center; margin-inline: auto; }
.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cyan);
    margin-bottom: 0.75rem;
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-header p { color: var(--text-muted); }

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(132, 204, 22, 0.35);
}
.card-img { aspect-ratio: 16/10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.card-body p { color: var(--text-muted); font-size: 0.95rem; }

/* Feature blocks */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.feature-item {
    padding: 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
}
.feature-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lime), var(--cyan));
    border-radius: var(--radius) var(--radius) 0 0;
}
.feature-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(132, 204, 22, 0.25);
    margin-bottom: 0.5rem;
}
.feature-item h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
}

/* Stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.stat-item { text-align: center; }
.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--lime);
}
.stat-label { font-size: 0.85rem; color: var(--text-muted); }

/* CTA band */
.cta-band {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(132, 204, 22, 0.08), rgba(6, 182, 212, 0.08));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Page hero (inner pages) */
.page-hero {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid var(--border);
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}
.page-hero p { color: var(--text-muted); max-width: 640px; font-size: 1.05rem; }

/* Content prose */
.prose { max-width: 780px; }
.prose h2, .prose h3 {
    font-family: var(--font-display);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.prose h2 { font-size: 1.5rem; color: var(--lime); }
.prose h3 { font-size: 1.2rem; color: var(--cyan); }
.prose p { margin-bottom: 1.25rem; color: var(--text-muted); }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; color: var(--text-muted); }
.prose li { margin-bottom: 0.5rem; }
.prose-wide { max-width: 900px; }

/* Disclaimer */
.disclaimer {
    padding: 1.25rem 1.5rem;
    background: rgba(6, 182, 212, 0.06);
    border: 1px solid var(--border-cyan);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 2rem 0;
}

/* FAQ accordion style */
.faq-list { max-width: 780px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--bg-card);
}
.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--lime); font-size: 1.25rem; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 1.5rem 1.25rem; color: var(--text-muted); }

/* Forms */
.form-grid { display: grid; gap: 1.25rem; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lime);
    box-shadow: 0 0 0 3px rgba(132, 204, 22, 0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-check {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.form-check input { margin-top: 0.25rem; accent-color: var(--lime); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.alert-success { background: rgba(132, 204, 22, 0.12); border: 1px solid var(--lime); color: var(--lime); }
.alert-error { background: rgba(239, 68, 68, 0.12); border: 1px solid #ef4444; color: #fca5a5; }

/* Case study */
.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border);
}
.case-study:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.case-study.reverse { direction: rtl; }
.case-study.reverse > * { direction: ltr; }
.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid var(--border-cyan);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--cyan);
    font-weight: 500;
}

/* Legal pages */
.legal-toc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}
.legal-toc h2 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 0.75rem; }
.legal-toc ol { padding-left: 1.25rem; color: var(--text-muted); }
.legal-toc li { margin-bottom: 0.35rem; }

/* 404 */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 0;
}
.error-code {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--lime), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-brand .footer-tagline { color: var(--text-muted); margin: 1rem 0 0.5rem; font-size: 0.95rem; }
.footer-location { font-size: 0.85rem; color: var(--text-muted); }
.footer-links h3, .footer-contact h3 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lime);
    margin-bottom: 1rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links a:hover { color: var(--text); }
.footer-contact address { font-style: normal; font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }
.footer-reg { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; }
.footer-disclaimer {
    padding: 1.25rem;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid var(--border-cyan);
    border-radius: var(--radius);
    margin-bottom: 2rem;
}
.footer-disclaimer p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.footer-bottom p { font-size: 0.85rem; color: var(--text-muted); }

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-elevated);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 1.25rem;
}
.cookie-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-banner h2 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.cookie-banner p { font-size: 0.85rem; color: var(--text-muted); max-width: 640px; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-custom-panel {
    max-width: var(--max-width);
    margin: 1rem auto 0;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.cookie-custom-panel fieldset { border: none; }
.cookie-custom-panel legend {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.cookie-option {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.cookie-custom-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }

/* Split image section */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.split-section img {
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 960px) {
    .grid-3, .grid-4, .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .case-study, .split-section { grid-template-columns: 1fr; }
    .case-study.reverse { direction: ltr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border);
        padding: 1rem;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
    }
    .site-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .site-nav ul { flex-direction: column; align-items: stretch; }
    .site-nav a { padding: 0.75rem 1rem; }
    .nav-cta { margin-top: 0.5rem; width: 100%; }
    .grid-2, .grid-3, .grid-4, .stats-bar, .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .hero { min-height: 70vh; }
}
