:root {
  --bg: #0F1113;
  --bg-soft: #141719;
  --bg-elevated: #1C2022;
  --border: #2A2E30;
  --text: #EDEAE4;
  --muted: #A6AAAD;
  --primary: #FF6B5E;
  --primary-dark: #E85A4D;
  --secondary: #2EE6A8;
  --gold: #F5C451;
  --radius: 14px;
  --radius-lg: 22px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Scroll reveal (safe without JS) ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Navigation ---------- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
}

.main-nav.scrolled {
  background-color: var(--bg-soft);
  box-shadow: 0 8px 24px #050607;
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-right {
  justify-content: flex-end;
}

.nav-link {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo-mark {
  color: var(--primary);
}

.logo-text {
  color: var(--text);
}

.nav-cta {
  background-color: var(--primary);
  color: #1A0D0B;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.mobile-menu a {
  padding: 12px 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-menu a.mobile-cta {
  margin-top: 12px;
  text-align: center;
  background-color: var(--primary);
  color: #1A0D0B;
  border-radius: 999px;
  border-bottom: none;
  font-weight: 700;
}

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

/* ---------- Hero ---------- */
.hero-section {
  padding: 150px 0 80px;
  position: relative;
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow,
.section-eyebrow {
  display: inline-block;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-copy h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: #1A0D0B;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-light {
  background-color: var(--text);
  color: #141719;
}

.btn-light:hover {
  background-color: #FFFFFF;
  transform: translateY(-1px);
}

.hero-trust {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-item strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}

.trust-item span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
}

.panel {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px #050607;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background-color: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

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

.dot-red { background-color: #FF5F57; }
.dot-amber { background-color: var(--gold); }
.dot-green { background-color: #28C840; }

.panel-title {
  margin-left: 10px;
  color: var(--muted);
  font-size: 13px;
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", monospace;
}

.panel-body {
  padding: 22px;
}

.health-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.health-label {
  color: var(--muted);
  font-size: 14px;
}

.health-value {
  font-weight: 700;
  color: var(--secondary);
}

.badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.badge-online {
  background-color: #14372B;
  color: var(--secondary);
}

.meter {
  height: 8px;
  background-color: var(--bg);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 18px;
}

.meter-fill {
  display: block;
  height: 100%;
  background-color: var(--primary);
  border-radius: 999px;
}

.meter-fill.meter-mint {
  background-color: var(--secondary);
}

.terminal {
  margin-top: 18px;
  background-color: #0B0D0E;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: ui-monospace, "SF Mono", "Cascadia Mono", monospace;
  font-size: 13px;
  color: var(--muted);
}

.terminal p {
  margin-bottom: 6px;
}

.term-prompt {
  color: var(--secondary);
  margin-right: 8px;
}

.term-ok {
  color: #6BD99A;
}

.term-cursor {
  color: var(--secondary);
}

.float-chip {
  position: absolute;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 14px 30px #050607;
}

.float-chip-a {
  top: -22px;
  right: -14px;
}

.float-chip-b {
  bottom: -20px;
  left: -16px;
}

/* ---------- Marquee ---------- */
.marquee-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--bg-soft);
  padding: 18px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.marquee-track .sep {
  color: var(--primary);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- About ---------- */
.about-section {
  padding: 96px 0;
  background-color: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-heading h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.about-body p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 18px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.about-stat .stat-num {
  display: block;
  font-size: 44px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.about-stat .stat-label {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Services (bento) ---------- */
.services-section {
  padding: 96px 0;
  background-color: var(--bg-soft);
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 17px;
}

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

.bento-card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bento-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.bento-card.bento-wide {
  grid-column: span 2;
}

.bento-index {
  display: block;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: ui-monospace, "SF Mono", monospace;
}

.bento-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-card p {
  color: var(--muted);
  font-size: 15px;
}

.bento-list {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bento-list li {
  font-size: 13px;
  color: var(--text);
  background-color: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Process ---------- */
.process-section {
  padding: 96px 0;
}

.process-list {
  list-style: none;
  counter-reset: none;
}

.process-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.process-step:first-child {
  padding-top: 0;
}

.process-num {
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 40px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.process-step h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--muted);
  font-size: 16px;
  max-width: 620px;
}

/* ---------- Comparison table ---------- */
.approach-section {
  padding: 96px 0;
  background-color: var(--bg-soft);
}

.compare-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.compare-table thead th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  border-bottom: 2px solid var(--border);
}

.compare-table td {
  color: var(--muted);
}

.compare-table td:first-child {
  color: var(--text);
  font-weight: 600;
}

.compare-table .col-bsd {
  color: var(--text);
  font-weight: 600;
  background-color: var(--bg-elevated);
}

.compare-table thead .col-bsd {
  color: var(--secondary);
}

/* ---------- Metrics ---------- */
.metrics-section {
  padding: 72px 0;
  background-color: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.metric-num {
  display: block;
  font-size: 52px;
  font-weight: 800;
  color: var(--secondary);
  letter-spacing: -0.02em;
}

.metric-label {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Testimonials ---------- */
.testimonial-section {
  padding: 96px 0;
}

.slider {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  min-height: 180px;
}

.slide {
  display: none;
  text-align: center;
}

.slide.is-active {
  display: block;
}

.slide blockquote p {
  font-size: 22px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 22px;
}

.slide footer {
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.slider-btn {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.slider-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background-color: var(--border);
  cursor: pointer;
}

.slider-dots button.is-active {
  background-color: var(--primary);
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: 96px 0;
  background-color: var(--bg-soft);
}

.faq-list {
  max-width: 760px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--bg-elevated);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  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(--primary);
  font-size: 22px;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Contact ---------- */
.contact-section {
  padding: 96px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-bottom: 18px;
}

.contact-info > p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 32px;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.contact-list a {
  color: var(--text);
  font-weight: 600;
}

.contact-list a:hover {
  color: var(--primary);
}

.contact-form {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.field textarea {
  resize: vertical;
}

.form-note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--secondary);
  min-height: 20px;
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 40px 0 96px;
}

.cta-inner {
  background: linear-gradient(135deg, #FF6B5E 0%, #F5C451 100%);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  color: #1A0D0B;
}

.cta-inner h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.cta-inner p {
  font-size: 17px;
  margin-bottom: 28px;
  color: #3A1C15;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.newsletter-band {
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

.newsletter-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.newsletter-inner h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.newsletter-inner p {
  color: var(--muted);
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  padding: 12px 20px;
  font-size: 15px;
  min-width: 260px;
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 18px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer-col a,
.footer-col span {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 12px;
}

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

.footer-bottom {
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--border);
}

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

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  .nav-logo {
    justify-self: center;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
  }

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

  .hero-section {
    padding-top: 120px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .bento-card.bento-wide {
    grid-column: span 1;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
    max-width: 420px;
  }

  .newsletter-form input {
    min-width: 0;
  }

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

  .float-chip-a {
    right: 8px;
  }

  .float-chip-b {
    left: 8px;
  }
}

@media (max-width: 560px) {
  .process-step {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

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

  .cta-inner {
    padding: 40px 24px;
  }

  .contact-form {
    padding: 24px;
  }
}
