:root {
  --bg-black: #0a0a0a;
  --forest-deep: #081914;
  --forest-surface: #102b24;
  --surface-dark: #121815;
  --emerald: #00aa66;
  --lime: #00ff88;
  --paper: #0e1412;
  --paper-card: #151e1a;
  --ink: #e0e0e0;
  --muted: #889990;
  --line: rgba(0, 255, 136, 0.15);
  --display: "Space Grotesk", sans-serif;
  --mono: 'JetBrains Mono', Courier, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg-black); color: var(--ink); font-family: var(--mono); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

/* HEADER & NAVBAR */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 76px;
  display: flex; align-items: center; background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(18px);
}
.nav-wrap { width: min(1440px, 100%); margin: auto; padding: 0 48px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--lime); border-radius: 50%; color: var(--lime); font: 700 13px var(--display); }
.brand-name { display: flex; flex-direction: column; line-height: 1; font: 700 12px var(--display); letter-spacing: .13em; color: #fff; }
.brand-sub { margin-top: 5px; color: var(--lime); font: 500 8px var(--mono); letter-spacing: .18em; }
.desktop-nav { display: flex; gap: 32px; align-items: center; }
.nav-link { position: relative; color: var(--muted); font-size: 13px; font-weight: 500; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--lime); transition: right .25s ease; }
.nav-link:hover, .nav-link.active { color: var(--lime); text-shadow: 0 0 8px var(--lime); }
.nav-link.active::after, .nav-link:hover::after { right: 0; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--lime); border-radius: 4px; padding: 12px 20px; font-weight: 600; font-size: 13px; font-family: var(--mono); transition: all .25s ease; }
.button-lime { background: var(--lime); color: var(--bg-black); }
.button-lime:hover { background: transparent; color: var(--lime); box-shadow: 0 0 12px rgba(0,255,136,0.4); }
.button-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.button-ghost:hover { border-color: var(--lime); color: var(--lime); }

.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; background: transparent; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-button .bar { width: 20px; height: 2px; background-color: var(--lime); transition: 0.3s; }

.mobile-nav { display: none; position: fixed; top: 76px; left: 0; right: 0; padding: 24px; background: var(--surface-dark); border-bottom: 1px solid var(--line); flex-direction: column; gap: 16px; }
.mobile-nav.active { display: flex; }

main { padding-top: 76px; }
.grid-paper { background-image: linear-gradient(rgba(0, 255, 136, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 136, 0.04) 1px, transparent 1px); background-size: 44px 44px; }
.container { width: min(1440px, 100%); margin: auto; padding-left: 48px; padding-right: 48px; }
.eyebrow { color: var(--lime); font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 20px; height: 1px; margin: 0 10px 3px 0; background: currentColor; }

h1, h2, h3 { font-family: var(--display); color: #fff; margin-top: 0; }
h1 { font-size: clamp(3rem, 6vw, 6rem); line-height: 1.05; letter-spacing: -.04em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.2rem); line-height: 1.1; letter-spacing: -.03em; }
.lime { color: var(--lime); }
.muted { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

/* HERO SECTION */
.hero { position: relative; min-height: calc(110vh - 76px); display: flex; align-items: center; overflow: hidden; background: var(--forest-deep); }
.hero-container { width: min(1440px, 100%); margin: auto; padding: 60px 48px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; z-index: 2; }
.hero-copy { max-width: 580px; color: var(--muted); font-size: 16px; line-height: 1.7; margin: 24px 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* TERMINAL WINDOW */
.terminal-window { background: #000; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 0 30px rgba(0, 255, 136, 0.1); overflow: hidden; }
.terminal-header { background: #151515; padding: 10px 15px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #222; }
.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.term-dot.red { background: #ff5555; }
.term-dot.yellow { background: #ffb86c; }
.term-dot.green { background: var(--lime); }
.term-title { margin-left: 10px; font-size: 11px; color: var(--muted); }
.terminal-body { padding: 20px; font-size: 13px; line-height: 1.8; }
.term-prompt { color: var(--lime); margin-right: 8px; }
.blinking-cursor { animation: blink 1s infinite; color: var(--lime); }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-note { position: absolute; right: 48px; bottom: 40px; width: 260px; padding-left: 20px; border-left: 1px solid var(--line); }
.hero-note p { margin: 10px 0 0; font: 600 16px var(--mono); color: var(--lime); }
.hero-meta { position: absolute; left: 48px; bottom: 18px; display: flex; gap: 20px; color: var(--muted); font: 10px var(--mono); letter-spacing: .18em; }

/* STATS STRIP */
.stats-strip { background: var(--surface-dark); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0; }
.stats-strip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item { display: flex; flex-direction: column; gap: 6px; padding: 0 24px; border-left: 1px solid var(--line); }
.stat-item:first-child { border-left: 0; }
.stat-number { font: 700 36px var(--display); color: var(--lime); }
.stat-label { font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* SECTIONS */
.section { padding: 100px 0; }
.dark-section { background: var(--surface-dark); }
.section-head { max-width: 750px; margin-bottom: 50px; }
.section-head p { color: var(--muted); line-height: 1.7; margin-top: 12px; }

/* CARDS GRID */
.cards, .trusted-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.info-card, .trusted-card { padding: 28px; background: var(--paper-card); border: 1px solid var(--line); border-radius: 6px; transition: transform .3s ease, border-color .3s ease; }
.info-card:hover, .trusted-card:hover { transform: translateY(-5px); border-color: var(--lime); }
.card-number { font: 12px var(--mono); color: var(--lime); }
.info-card h3, .trusted-card h3 { margin: 20px 0 10px; font-size: 18px; color: #fff; }
.info-card p, .trusted-card p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0; }

/* SERVICES GRID */
.services-section { padding: 100px 0; background: var(--bg-black); }
.services-container { width: min(1440px, 100%); margin: auto; padding: 0 48px; }
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.service-card { border: 1px solid var(--line); border-radius: 6px; background: var(--paper-card); transition: transform .3s ease; }
.service-card:hover { transform: translateY(-6px); border-color: var(--lime); }
.card-content { padding: 28px; }
.card-content h3 { margin: 12px 0; font-size: 20px; }
.card-content p { color: var(--muted); font-size: 13px; line-height: 1.65; margin-bottom: 20px; }
.card-link { color: var(--lime); font: 700 11px var(--mono); text-transform: uppercase; }

/* CAROUSEL TESTIMONIALS */
.carousel-container { position: relative; max-width: 900px; margin-top: 40px; }
.carousel-slider { position: relative; min-height: 200px; }
.testimonial-card { display: none; padding: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-card); }
.testimonial-card.active { display: block; }
.testimonial-quote { font-size: 16px; line-height: 1.7; color: #fff; margin-bottom: 20px; }
.testimonial-attribution { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.testimonial-attribution strong { color: var(--lime); }
.testimonial-attribution span { color: var(--muted); }
.carousel-controls { display: flex; gap: 12px; margin-top: 20px; }
.carousel-controls button { background: transparent; border: 1px solid var(--line); color: var(--lime); padding: 8px 16px; font-family: var(--mono); transition: all 0.2s; }
.carousel-controls button:hover { background: var(--lime); color: var(--bg-black); }

/* FAQ ACCORDION */
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border: 0; background: transparent; text-align: left; font: 700 16px var(--mono); color: #fff; }
.faq-answer { display: none; padding-bottom: 20px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
.faq-icon { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--lime); }

/* CONTACT & FORM */
.form-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.contact-card { padding: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-card); }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--lime); font: 500 10px var(--mono); letter-spacing: .15em; }
.field input, .field textarea { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-black); color: #fff; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--lime); }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.form-error { color: #ff5555; font-size: 11px; margin-top: 4px; }
.newsletter-success { color: var(--lime); font-size: 12px; }

/* FOOTER */
footer { padding: 60px 0 24px; background: #050b09; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 40px; }
.footer-copy { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-title { color: var(--lime); font: 500 10px var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; color: var(--muted); font-size: 12px; }
.footer-links a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); color: var(--muted); font-size: 10px; }

.back-top { position: fixed; right: 24px; bottom: 24px; z-index: 10; padding: 10px 14px; border: 1px solid var(--lime); background: var(--bg-black); color: var(--lime); opacity: 0; pointer-events: none; transition: opacity .25s; }
.back-top.show { opacity: 1; pointer-events: auto; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .menu-button { display: flex; }
  .hero-container, .services-header, .faq-grid, .form-layout { grid-template-columns: 1fr; }
  .cards, .trusted-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-note { display: none; }
}

@media (max-width: 600px) {
  .nav-wrap, .container, .services-container { padding-left: 20px; padding-right: 20px; }
  .cards, .trusted-grid, .services-grid, .field-grid, .stats-strip-row, .footer-grid { grid-template-columns: 1fr; }
}