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

:root {
  --hue-primary: 220;
  --sat-primary: 90%;
  --light-primary: 12%;
  --hue-secondary: 200;
  --sat-secondary: 100%;
  --light-secondary: 55%;
  
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  
  --color-accent: hsl(var(--hue-primary), var(--sat-primary), var(--light-secondary));
  --color-accent-dim: hsl(var(--hue-primary), var(--sat-primary), var(--light-secondary), 0.1);
  --color-brand: hsl(var(--hue-primary), var(--sat-primary), var(--light-primary));
  
  --spacing-unit: clamp(0.5rem, 1vw, 1rem);
  --container-max: 1280px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* --- Layout Engine & Standard Pattern --- */

.section {
  width: 100%;
  padding: clamp(80px, 10vh, 120px) 0;
  border-bottom: 1px solid transparent;
}

.layout {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

.container {
  width: 100%;
  margin: 0 auto;
}

/* --- Typography --- */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: clamp(1rem, 2vw, 2rem);
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: clamp(1.5rem, 2vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: clamp(1rem, 1vw, 1.125rem);
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 65ch;
}

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

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

/* --- Components --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn--primary {
  background-color: var(--color-accent);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.23);
  background-color: #2563eb;
}

.btn--outline {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-text-main);
}

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

/* --- Navigation --- */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--color-brand);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.05em;
}

.header__nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.header__link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  position: relative;
}

.header__link:hover {
  color: var(--color-brand);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.header__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* --- Grid & Cards --- */

.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(1, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  align-items: center;
}

.card {
  background: var(--color-surface);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-dim);
}

.card__icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-accent-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text-main);
}

/* --- Hero --- */

.hero {
  padding-top: clamp(100px, 15vh, 160px);
  padding-bottom: clamp(80px, 15vh, 140px);
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.hero__content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- Stats --- */

.stats {
  background-color: var(--color-brand);
  color: white;
  padding: 4rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stats__number {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 800;
  display: block;
  margin-bottom: 0.5rem;
}

.stats__label {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 400;
}

/* --- FAQ --- */

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

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

.faq-item__answer {
  margin-top: 1rem;
  color: var(--color-text-muted);
}

/* --- CTA Band --- */

.cta-band {
  background-color: var(--color-surface);
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.cta-band__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* --- Footer --- */

.footer {
  background-color: var(--color-brand);
  color: white;
  padding: 5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  max-width: 300px;
}

.footer__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

.footer__link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer__link:hover {
  color: white;
  transform: translateX(5px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* --- Responsive --- */

@media (max-width: 900px) {
  .grid--2, .grid--3 {
    grid-template-columns: 1fr;
  }
  
  .hero__content {
    grid-template-columns: 1fr;
  }
  
  .header__nav {
    display: none; /* In real implementation, use a burger menu */
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  
  .header__actions {
    display: none;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
  }
}html{-webkit-text-size-adjust:100%}*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}