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

:root {
  /* Palette */
  --c-bg: #FAFAFA;
  --c-surface: #FFFFFF;
  --c-surface-alt: #F0F2F5;
  --c-text: #0F1115;
  --c-text-muted: #525866;
  --c-accent: #00C2CB;
  --c-accent-dark: #009CA3;
  --c-accent-glow: rgba(0, 194, 203, 0.15);
  --c-border: #E5E7EB;

  /* Typography */
  --f-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --f-mono: 'Space Mono', monospace;

  /* Spacing Scale */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 8rem;

  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-glow: 0 0 20px var(--c-accent-glow);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-sans);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-text);
  margin-bottom: var(--sp-sm);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  margin-bottom: var(--sp-md);
  color: var(--c-text-muted);
  max-width: 65ch;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-accent { color: var(--c-accent); }
.mono { font-family: var(--f-mono); font-size: 0.875rem; }

/* Container System */
.df-wrap {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-inline: clamp(1rem, 5vw, 3rem);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 1rem;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--c-text);
  color: var(--c-surface);
}

.btn-primary:hover {
  background-color: var(--c-accent);
  color: var(--c-text);
  box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
  border-color: var(--c-text);
  background-color: var(--c-surface);
}

/* Header / Nav */
.df-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.df-header .df-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo svg {
  width: 24px;
  height: 24px;
  fill: var(--c-text);
}

.nav-menu {
  display: flex;
  gap: var(--sp-md);
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-muted);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--c-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: var(--sp-xl);
  background: radial-gradient(circle at 50% 0%, #F0F2F5 0%, #FAFAFA 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: var(--c-accent-dark);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}

.hero-title {
  margin-bottom: var(--sp-md);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--c-text-muted);
  margin-bottom: var(--sp-md);
}

.hero-actions {
  display: flex;
  gap: var(--sp-sm);
  margin-top: var(--sp-sm);
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--c-text);
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

.card {
  background: var(--c-surface);
  padding: var(--sp-md);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: var(--c-accent-glow);
  color: var(--c-accent-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-sm);
  font-family: var(--f-mono);
  font-weight: bold;
}

/* Stats */
.stats-section {
  background-color: var(--c-text);
  color: var(--c-surface);
  padding: var(--sp-lg) 0;
}

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

.stat-item h3 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--c-accent);
  margin-bottom: 0;
  font-family: var(--f-mono);
}

.stat-item p {
  color: #9CA3AF;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* CTA Band */
.cta-section {
  padding: var(--sp-xl) 0;
}

.cta-box {
  background-color: var(--c-surface-alt);
  border-radius: var(--radius-lg);
  padding: var(--sp-lg) var(--sp-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--c-border);
}

/* FAQ */
.faq-section {
  padding: var(--sp-xl) 0;
}

.faq-list {
  max-width: 800px;
  margin: var(--sp-md) auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-md) 0;
}

.faq-question {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-family: var(--f-mono);
  font-weight: 400;
}

.faq-answer {
  margin-top: var(--sp-sm);
  display: none; /* JS would toggle this */
}

/* Footer */
.df-footer {
  background-color: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: var(--sp-xl) 0 var(--sp-lg);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-text);
  margin-bottom: var(--sp-sm);
}

.footer-col ul li {
  margin-bottom: var(--sp-xs);
}

.footer-col ul li a {
  color: var(--c-text-muted);
}

.footer-col ul li a:hover {
  color: var(--c-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-md);
  border-top: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  .nav-menu {
    display: none; /* Simplified for this exercise, would normally use a hamburger */
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .df-header .df-wrap {
    justify-content: center;
  }
  
  .brand-logo {
    position: absolute;
    left: 1rem;
  }
}
img,svg,video{max-width:100%;height:auto}
body{margin:0}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
