:root {
  --color-primary: #2196f3;
  --color-primary-dark: #1976d2;
  --color-primary-soft: rgba(33, 150, 243, 0.12);
  --color-text: #1a1d21;
  --color-text-muted: #5c6370;
  --color-border: #e8ecf1;
  --color-bg: #fafbfc;
  --color-surface: #ffffff;
  --font-sans: "Noto Sans SC", "DM Sans", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(26, 29, 33, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 29, 33, 0.08);
  --header-h: 64px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(56px, 12vw, 120px) 0 clamp(72px, 14vw, 140px);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, var(--color-primary-soft), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(33, 150, 243, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(20px, 4vw, 44px);
}

.hero-copy {
  max-width: 680px;
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.hero-lead {
  margin: 0 0 32px;
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(33, 150, 243, 0.18);
  box-shadow: 0 16px 36px rgba(33, 150, 243, 0.16);
  background: rgba(255, 255, 255, 0.85);
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sections */
.section {
  padding: clamp(64px, 10vw, 96px) 0;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-head--compact {
  text-align: left;
  margin-left: 0;
  margin-bottom: 28px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* Products */
.products {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.product-card:hover {
  border-color: rgba(33, 150, 243, 0.35);
  box-shadow: var(--shadow-md);
}

.product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.product-title {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 600;
}

.product-text {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.product-link {
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.product-link:hover {
  text-decoration: underline;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

.about-copy p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.about-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-stats strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.about-stats span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.about-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--color-primary) 0%, #1565c0 100%);
  min-height: 280px;
  box-shadow: var(--shadow-md);
}

.about-panel-inner {
  padding: 36px;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.about-panel-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 12px;
}

.about-panel-quote {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}

/* Resources */
.resources {
  background: var(--color-bg);
}

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

.resource-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s var(--ease), box-shadow 0.25s var(--ease);
}

.resource-card:hover {
  border-color: rgba(33, 150, 243, 0.35);
  box-shadow: var(--shadow-md);
}

.resource-card-title {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 600;
}

.resource-card-text {
  margin: 0 0 18px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.resource-card-link {
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}

.resource-card-link:hover {
  text-decoration: underline;
}

/* Pricing */
.pricing {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.pricing-inner {
  max-width: 960px;
  margin: 0 auto;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card--featured {
  border-color: rgba(33, 150, 243, 0.45);
  box-shadow: var(--shadow-md);
  background: var(--color-surface);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.pricing-name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.pricing-desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  flex: 1;
}

.pricing-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.pricing-card .btn {
  margin-top: 8px;
  align-self: flex-start;
}

/* Contact */
.contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row--full {
  grid-column: 1 / -1;
}

.form-row label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-row input,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #9aa3ad;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.form-row textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.form-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.form-note.is-success {
  color: #2e7d32;
}

.form-note.is-error {
  color: #c62828;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-brand {
  margin: 0;
  font-weight: 700;
  font-size: 0.9375rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-media {
    max-width: 720px;
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .resource-grid {
    grid-template-columns: 1fr;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-panel {
    order: -1;
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .hero-title {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
    line-height: 1.2;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-row--full {
    grid-column: 1;
  }

  .form-actions {
    grid-column: 1;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .nav-toggle-bar,
  .nav,
  .product-card,
  .btn {
    transition: none;
  }
}
