/* ============================================================
   RESET + BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
}

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

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

button {
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}


/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */

:root {
  --bg:            #000000;
  --bg-card:       #141414;
  --bg-elevated:   #1a1a1a;
  --border:        #222;
  --border-soft:   #1a1a1a;
  --text:          #e5e5e5;
  --text-dim:      #aaa;
  --text-mute:     #666;
  --accent:        #4D96FF;
  --accent-glow:   rgba(77, 150, 255, 0.18);

  --max-w:         1120px;
  --radius:        12px;
  --radius-lg:     20px;
}


/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 24px;
}

.divider {
  border: none;
  border-top: 1px solid var(--border-soft);
  margin: 0;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1 {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #fff;
}

h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

h3 {
  font-size: clamp(20px, 1.8vw, 22px);
  font-weight: 600;
  color: #fff;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.subhead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-dim);
  max-width: 640px;
}

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

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

.mt-4 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 32px;
}

.mb-4 {
  margin-bottom: 16px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent);
  color: #000000;
}

.btn-primary:hover {
  background-color: #6babff;
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  background-color: var(--bg-card);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}


/* ============================================================
   CARDS
   ============================================================ */

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

.card:hover {
  border-color: rgba(77, 150, 255, 0.45);
  transform: translateY(-2px);
}


/* ============================================================
   PILL TAG
   ============================================================ */

.pill-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(77, 150, 255, 0.1);
  border: 1px solid rgba(77, 150, 255, 0.3);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
}


/* ============================================================
   GRIDS
   ============================================================ */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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


/* ============================================================
   ICON BLOCK
   ============================================================ */

.icon-block {
  width: 40px;
  height: 40px;
  background: rgba(77, 150, 255, 0.1);
  border: 1px solid rgba(77, 150, 255, 0.28);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 18px;
  flex-shrink: 0;
}


/* ============================================================
   NAVIGATION
   ============================================================ */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 64px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.72);
  border-bottom: 1px solid var(--border-soft);
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: none;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 15px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta {
  /* Uses .btn .btn-primary .btn-sm */
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.97);
  border-bottom: 1px solid var(--border-soft);
  padding: 24px;
  z-index: 99;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu ul li a {
  display: block;
  padding: 14px 0;
  font-size: 17px;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border-soft);
  transition: color 0.2s ease;
}

.mobile-menu ul li a:hover {
  color: #fff;
}

.mobile-menu .btn {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}


/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  min-height: 90vh;
  padding: 120px 24px 80px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.hero-bracket {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1;
}

.hero-left h1 {
  text-align: left;
  font-size: clamp(36px, 4.5vw, 64px);
}

.hero-left .subhead {
  text-align: left;
  margin: 20px 0 36px;
  max-width: 480px;
}

/* Proof table (right column) */
.proof-table {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 13px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.proof-table-header {
  display: grid;
  grid-template-columns: 72px 1fr 100px 72px;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-mute);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-elevated);
}

.proof-table-row {
  display: grid;
  grid-template-columns: 72px 1fr 100px 72px;
  gap: 12px;
  padding: 11px 20px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-dim);
  align-items: center;
  transition: background 0.15s;
}

.proof-table-row:hover {
  background: rgba(255,255,255,0.02);
}

.proof-table-row:last-of-type {
  border-bottom: none;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-booked {
  background: rgba(77, 150, 255, 0.15);
  color: var(--accent);
}

.badge-resolved {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.badge-transfer {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

.proof-table-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
  display: flex;
  justify-content: space-between;
  color: var(--text-mute);
  font-size: 12px;
}

.proof-table-footer strong {
  color: var(--text-dim);
}


/* ============================================================
   STATS BAND
   ============================================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.stat-item:not(:first-child) {
  border-left: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
}


/* ============================================================
   FAQ ACCORDION
   ============================================================ */

details.faq-item {
  border-bottom: 1px solid var(--border-soft);
  padding: 24px 0;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

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

details.faq-item p {
  margin-top: 16px;
  color: var(--text-dim);
  line-height: 1.7;
  padding-right: 40px;
}


/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  padding: 56px 48px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #141414 0%, #0a1420 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(77, 150, 255, 0.18), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}


/* ============================================================
   FOOTER
   ============================================================ */

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-dim);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 24px;
  text-align: center;
  width: 100%;
}


/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */

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

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

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

  .stat-item:not(:first-child) {
    border-left: none;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }

  .stat-item {
    padding-bottom: 24px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ============================================================
   RESPONSIVE — 640px
   ============================================================ */

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

  .hero-right {
    display: none;
  }
}

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

  .hero {
    padding: 100px 24px 60px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .card {
    padding: 28px 24px;
  }
}
