:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-cta: #F97316;
  --color-bg: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #64748B;
  --color-border: #E2E8F0;
}

* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Work Sans", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: white;
  color: var(--color-text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
}

.brand-mark {
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.nav {
  display: none;
  gap: 20px;
  align-items: center;
}

.nav--open {
  display: grid;
}

.nav a {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  transition: color 200ms ease;
}

.nav a:hover, .nav a:focus {
  color: var(--color-primary);
}

.nav-cta {
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    padding: 12px 24px 24px;
    background: rgba(255,255,255,0.96);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .nav a {
    padding: 12px 8px;
    border-radius: 10px;
    background: white;
    border: 1px solid var(--color-border);
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
  .nav {
    display: inline-flex;
  }
}

.hero {
  padding: 96px 0 64px;
}

.hero-inner {
  text-align: center;
}

.hero-title {
  font-family: "Outfit", ui-sans-serif, system-ui;
  font-weight: 900;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  margin: 20px auto 32px;
  max-width: 800px;
  font-size: 18px;
  color: var(--color-muted);
}

.hero-actions {
  display: inline-flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover, .btn-primary:focus {
  background: #0284C7;
}

.btn-ghost {
  background: white;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.chapters {
  padding: 40px 0 16px;
}

.section-title {
  font-family: "Outfit", ui-sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
}

.section-desc {
  margin-top: 12px;
  color: var(--color-muted);
}

.features-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 700px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .features-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 18px;
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}

.card:hover, .card:focus-within {
  border-color: var(--color-secondary);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.25);
  transform: translateY(-2px);
}

.card-title {
  font-weight: 800;
  font-size: 18px;
}

.card-desc {
  margin-top: 8px;
  color: var(--color-muted);
}

.split {
  padding: 64px 0;
}

.split-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .split-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.split-col img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

.highlights {
  padding: 64px 0;
}

.highlights-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 800px) {
  .highlights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.highlight {
  background: linear-gradient(135deg, white 0%, #F8FAFC 100%);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 16px;
}

.highlight-badge {
  display: inline-block;
  background: var(--color-secondary);
  color: white;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
}

.highlight-text {
  margin-top: 10px;
  color: var(--color-muted);
}

.solutions {
  padding: 64px 0;
}

.solutions-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 800px) {
  .solutions-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 18px;
}

.solution-title {
  font-weight: 800;
}

.solution-desc {
  margin-top: 8px;
  color: var(--color-muted);
}

.pricing {
  padding: 64px 0;
}

.pricing-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 800px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.price-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.price-title {
  font-weight: 800;
}

.price {
  margin-top: 8px;
  font-family: "Outfit", ui-sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--color-primary);
}

.cta {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(14,165,233,0.08) 0%, rgba(56,189,248,0.08) 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.cta-inner {
  text-align: center;
}

.cta-title {
  font-family: "Outfit", ui-sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 4vw, 52px);
}

.cta-subtitle {
  margin-top: 8px;
  color: var(--color-muted);
}

.cta-form {
  margin: 24px auto 0;
  max-width: 900px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

@media (min-width: 800px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-form input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: white;
  font-size: 16px;
}

.cta-form input:focus {
  outline: 4px solid rgba(14, 165, 233, 0.15);
  border-color: var(--color-secondary);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  border: none;
  background: var(--color-cta);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  padding: 40px 0;
  background: white;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-brand .brand-mark {
  font-family: "Outfit", ui-sans-serif;
  font-weight: 900;
  font-size: 20px;
}

.footer-brand .brand-sub {
  margin-top: 4px;
  color: var(--color-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.footer-links h4 {
  margin: 0 0 10px;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: var(--color-text);
  margin-bottom: 8px;
}

.footer-links a:hover, .footer-links a:focus {
  color: var(--color-primary);
}

.footer-copy {
  margin-top: 12px;
  color: var(--color-muted);
  grid-column: 1 / -1;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
