@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #1a1a1a;
  background-color: #fafaf9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #0d0d0d;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw + 0.5rem, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3vw + 0.5rem, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw + 0.3rem, 1.7rem); }
h4 { font-size: clamp(1.1rem, 1.5vw + 0.2rem, 1.35rem); }

p {
  max-width: 65ch;
  margin-bottom: 1rem;
}

a {
  color: #e85d3a;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}

a:hover {
  color: #c94425;
}

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

/* ── Top Bar ── */
.top-bar {
  background: #0d0d0d;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: clamp(0.5rem, 1vw, 0.75rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.top-bar-text span {
  color: #00e5ff;
  font-weight: 600;
}

.top-bar-cta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  color: #fff;
  background: #e85d3a;
  border: none;
  padding: 0.4rem 1.2rem;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.15s ease;
  text-decoration: none;
  display: inline-block;
}

.top-bar-cta:hover {
  background: #ff6b45;
  color: #fff;
  transform: translateY(-1px);
}

/* ── Header / Nav ── */
.site-header {
  background: #fafaf9;
  border-bottom: 1px solid #e5e5e3;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(250,250,249,0.92);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(56px, 8vw, 72px);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-logo:hover {
  color: #0d0d0d;
}

.nav-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #0d0d0d;
  border-radius: 6px;
  flex-shrink: 0;
}

.nav-logo-mark svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
}

.nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  color: #555;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0d0d0d;
  border-bottom-color: #e85d3a;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  color: #0d0d0d;
  font-size: 1.2rem;
  line-height: 1;
}

/* ── Hero ── */
.page-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  min-height: clamp(400px, 60vh, 650px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e85d3a;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #e85d3a;
  border-radius: 1px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5.5vw + 0.5rem, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #0d0d0d;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #e85d3a 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw + 0.2rem, 1.2rem);
  color: #666;
  line-height: 1.65;
  max-width: 52ch;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.primary-button {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  font-weight: 600;
  color: #fff;
  background: #0d0d0d;
  border: 2px solid #0d0d0d;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.primary-button:hover {
  background: #e85d3a;
  border-color: #e85d3a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(232,93,58,0.3);
}

.secondary-button {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  font-weight: 600;
  color: #0d0d0d;
  background: transparent;
  border: 2px solid #d5d5d3;
  padding: 0.75rem 2rem;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.secondary-button:hover {
  border-color: #0d0d0d;
  color: #0d0d0d;
  transform: translateY(-2px);
}

/* ── Hero Image Area ── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, #0d0d0d 0%, #1a1a2e 50%, #0d0d0d 100%);
  aspect-ratio: 4/3;
  position: relative;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(0,229,255,0.03) 40px, rgba(0,229,255,0.03) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(139,92,246,0.03) 40px, rgba(139,92,246,0.03) 41px);
}

/* ── Section ── */
.section-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 4vw, 3rem);
}

.section-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0d0d0d;
  margin-bottom: clamp(0.5rem, 1vw, 1rem);
}

.lead-paragraph {
  font-size: clamp(1rem, 1.5vw + 0.1rem, 1.15rem);
  color: #666;
  max-width: 58ch;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.body-text {
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  color: #555;
  line-height: 1.75;
  max-width: 65ch;
}

/* ── Stats Bar ── */
.stats-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #e5e5e3;
  border-bottom: 1px solid #e5e5e3;
}

.stat-item {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  border-right: 1px solid #e5e5e3;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat-number .accent {
  color: #e85d3a;
}

.stat-label {
  font-size: clamp(0.75rem, 1vw, 0.85rem);
  color: #888;
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* ── Card Grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(260px, 25vw, 340px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.card {
  background: #fff;
  border: 1px solid #e5e5e3;
  border-radius: 6px;
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card:hover {
  border-color: #0d0d0d;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  flex-shrink: 0;
}

.card-icon.cyan { background: rgba(0,229,255,0.1); color: #00e5ff; }
.card-icon.purple { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.card-icon.red { background: rgba(232,93,58,0.1); color: #e85d3a; }

.card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: #0d0d0d;
  letter-spacing: -0.01em;
}

.card .body-text {
  font-size: clamp(0.88rem, 1.1vw, 0.95rem);
  color: #777;
  line-height: 1.65;
  margin-bottom: 0;
}

.card-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e85d3a;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f0f0ee;
}

.card-link:hover {
  gap: 0.7rem;
}

/* ── Divider ── */
.divider {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.divider hr {
  border: none;
  height: 1px;
  background: #e5e5e3;
}

/* ── Footer ── */
.site-footer {
  background: #0d0d0d;
  color: rgba(255,255,255,0.5);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 32ch;
  color: rgba(255,255,255,0.4);
}

.footer-col-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: clamp(1.5rem, 3vw, 2rem);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.6);
}

/* ── Live Indicator ── */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #00e5ff;
  border-radius: 50%;
  margin-right: 0.5rem;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,229,255,0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0,229,255,0); }
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: clamp(2rem, 6vw, 4rem);
    padding-bottom: clamp(2rem, 6vw, 4rem);
  }
  
  .hero-visual {
    order: -1;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item:nth-child(2) {
    border-right: none;
  }
  
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid #e5e5e3;
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fafaf9;
    border-bottom: 1px solid #e5e5e3;
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-links a {
    padding: 0.6rem 0;
    font-size: 0.95rem;
    border-bottom: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .primary-button,
  .secondary-button {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    border-right: none;
    border-bottom: 1px solid #e5e5e3;
  }
  
  .stat-item:last-child {
    border-bottom: none;
  }
}

/* ── Utility ── */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── Animated Grid BG for Hero Visual ── */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0,229,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(32px, 32px); }
}

/* ── Glow Orbs ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  pointer-events: none;
}

.orb-cyan {
  width: 180px;
  height: 180px;
  background: #00e5ff;
  top: -20%;
  right: -10%;
}

.orb-purple {
  width: 150px;
  height: 150px;
  background: #8b5cf6;
  bottom: -15%;
  left: -5%;
}
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
