@charset "UTF-8";
:root {
  --bg: #050915;
  --card: #0f1528;
  --accent: #5cf4d3;
  --accent-2: #7c5cfc;
  --text: #f5f7ff;
  --muted: #98a2c3;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(92, 244, 211, 0.08), transparent 40%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(5, 9, 21, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.primary-nav a {
  color: var(--muted);
  font-weight: 500;
}

.cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #051118;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}

.hero {
  padding: 6rem 0 4rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 620px;
}

.hero-cta {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta a.secondary {
  border: 1px solid var(--border);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  color: var(--text);
}

.stat-grid,
.card-grid,
.dual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

section {
  padding: 8rem 0; /* Consistent folds */
}

/* Card Styles & Grid */
.card, .panel, .stat, .team-card {
  background: rgba(255, 255, 255, 0.03); /* Glassmorphism base */
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover, .panel:hover, .stat:hover, .team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px -10px rgba(0, 240, 255, 0.15); /* Brand glow */
  border-color: rgba(0, 240, 255, 0.3);
}

.stat h3 {
  font-size: 2rem;
  margin: 0 0 0.3rem;
}

.label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

/* Layout & Type Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 700px;
  margin-bottom: 3rem;
}

.cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), #00c3ff);
  color: #000;
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
  text-shadow: none;
}

.secondary {
  display: inline-block;
  color: #fff;
  border: 1px solid var(--border);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  margin-left: 1rem;
  background: rgba(255, 255, 255, 0.05);
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  text-shadow: none;
}

ul.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.checklist li::before {
  content: "▹";
  color: var(--accent);
  margin-right: 0.4rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.timeline .phase {
  border: 1px dashed var(--border);
  border-radius: 1rem;
  padding: 1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card h4 {
  margin: 0.5rem 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: start;
}

.site-footer a {
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.mini {
  text-align: center;
  color: var(--muted);
  margin-top: 1.5rem;
}

@media (max-width: 840px) {
  .primary-nav {
    display: none;
  }
  .site-header {
    position: static;
  }
  .split-section {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .split-section.reverse .content-col {
    order: 2;
  }
}
/* Navigation Tweaks */
.site-header {
  padding: 1.5rem 0;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.primary-nav {
  gap: 2rem;
}

.primary-nav .cta {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* Hero Alignment */
.hero {
  padding-top: 160px; /* Reduced slightly */
  padding-bottom: 80px;
  background-image: url("../img/hero-bg.png");
  background-size: cover;
  background-position: center;
  position: relative;
}

.pill-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  background: rgba(0, 240, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.hero .lead {
  margin: 0 auto 2rem auto;
  max-width: 700px; /* Constrain width for better readability */
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr; /* Mobile default */
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr); /* Tablet: 2x2 */
  }
}
@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* Force 4 cols, no overflow */
    align-items: stretch;
  }
}
.bento-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px -10px rgba(0, 240, 255, 0.15);
  border-color: rgba(0, 240, 255, 0.3);
}

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

.bento-card h3 {
  font-size: 2.5rem;
  margin: 0 0 0.5rem 0;
  color: var(--accent);
}

.bento-card .label {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.bento-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Hide old split section styles strictly for Problem section if needed, 
   but keep class for Solution section 
*/
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start; /* Align to top */
  min-height: 60vh;
}

.split-section .image-col {
  position: sticky;
  top: 120px; /* Stick near top of viewport */
  height: fit-content;
}

.split-section img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.split-section .content-col {
  text-align: left; /* Keep body content readable */
}

.hero {
  background-image: url("../img/hero-bg.png");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg) 90%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-img {
  margin-top: 3rem;
  width: 100%;
  max-width: 1000px;
  border-radius: 12px;
  box-shadow: 0 0 60px rgba(92, 244, 211, 0.15);
  border: 1px solid var(--border);
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#cta .card {
  text-align: center;
}

#cta .hero-cta {
  justify-content: center;
}