:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --light: #f8fafc;
  --dark: #020617;
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --primary-soft: #e0f2fe;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .95; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section-light { background: var(--light); }
.section-dark { background: var(--dark); color: var(--white); }

.hero {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(56,189,248,0.22), transparent 30%),
    radial-gradient(circle at left, rgba(14,165,233,0.18), transparent 25%),
    #020617;
  padding: 72px 0 84px;
}

.hero-grid,
.two-col,
.contact-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.logo {
  height: 78px;
  width: auto;
  margin-bottom: 20px;
  background: #ffffff;
  border-radius: 18px;
  padding: 8px 12px;
}

.badge,
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(14,165,233,0.14);
  border: 1px solid rgba(125,211,252,0.25);
  color: #bae6fd;
}

.eyebrow { color: #0369a1; }
.eyebrow.light { color: #bae6fd; }

.hero h1,
.section h2 {
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  max-width: 760px;
}

.section h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.lead,
.section-head p,
.card p,
.workflow p,
.contact-copy p,
.plan li,
.mini-list div {
  color: var(--muted);
}

.hero .lead,
.section-dark .section-head p,
.workflow p,
.dark-card p,
.contact-section .contact-copy p,
.contact-section .contact-info span {
  color: rgba(255,255,255,0.82);
}

.hero-actions,
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions { margin-top: 28px; }
.hero-tags { margin-top: 26px; }

.hero-tags span {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255,255,255,0.84);
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 16px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.05);
  color: var(--white);
}

.btn-full {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.hero-card,
.workflow,
.contact-copy {
  border-radius: 28px;
}

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 22px;
  backdrop-filter: blur(8px);
}

.stats-grid,
.grid {
  display: grid;
  gap: 18px;
}

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

.stat-box,
.card,
.feature-item,
.module-box,
.plan,
.contact-form,
.mini-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.stat-box {
  padding: 22px;
  background: #f8fafc;
}

.stat-box strong {
  display: block;
  font-size: 28px;
  color: var(--text);
}

.stat-box span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.mini-panel {
  margin-top: 18px;
  padding: 22px;
}

.mini-title {
  margin: 0 0 12px;
  font-size: 14px;
  color: #64748b;
}

.mini-list { display: grid; gap: 10px; }

.mini-list div {
  border-radius: 16px;
  padding: 12px 14px;
}

.mini-list div:nth-child(1) { background: #ecfdf5; }
.mini-list div:nth-child(2) { background: #eff6ff; }
.mini-list div:nth-child(3) { background: #fffbeb; }

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-head.dark { max-width: 900px; }

.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 28px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.04);
}

.card h3,
.plan h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 24px;
}

.feature-item,
.module-box {
  padding: 18px 20px;
  box-shadow: 0 8px 20px rgba(2,6,23,0.04);
}

.workflow {
  background: var(--dark);
  color: var(--white);
  padding: 34px;
  box-shadow: 0 16px 34px rgba(2,6,23,0.16);
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.step:last-child { border-bottom: 0; }

.step span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
}

.step p { margin: 4px 0 0; }

.modules-grid { grid-template-columns: repeat(4, 1fr); }
.module-box { font-weight: 700; }

.dark-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
  color: var(--white);
}

.plans-grid { grid-template-columns: repeat(4, 1fr); }

.plan {
  padding: 28px;
  position: relative;
  box-shadow: 0 10px 30px rgba(2,6,23,0.04);
}

.plan.featured {
  border-color: #7dd3fc;
  background: #f0f9ff;
  box-shadow: 0 0 0 2px #bae6fd inset;
}

.plan-badge {
  display: inline-block;
  margin-bottom: 14px;
  background: #0284c7;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
}

.price {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 18px;
}

.price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.plan li:last-child { border-bottom: 0; }

.contact-section {
  background: linear-gradient(135deg, #0369a1, #0ea5e9);
  color: var(--white);
}

.contact-copy h2 { margin-top: 14px; }

.contact-info {
  display: grid;
  gap: 6px;
  margin-top: 24px;
}

.contact-form {
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  box-shadow: 0 18px 38px rgba(2,6,23,0.14);
  position: relative;
}

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

.field.full { grid-column: 1 / -1; }

.field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  color: var(--text);
  outline: none;
  appearance: none;
}

.field input:focus,
.field textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56,189,248,0.18);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkbox-field {
  margin-top: 6px;
}

.privacy-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 16px;
  position: relative;
  z-index: 20;
}

.privacy-box input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  accent-color: #0284c7;
  position: relative;
  z-index: 30;
}

.privacy-label {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #0f172a;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 30;
}

.privacy-label a {
  color: #0369a1;
  text-decoration: underline;
}

.privacy-label strong {
  color: #b91c1c;
}

.contact-form,
.field,
.checkbox-field {
  position: relative;
  z-index: 10;
}

.form-note small {
  color: #475569;
  display: block;
  margin-top: -8px;
}

.site-footer {
  background: #020617;
  color: rgba(255,255,255,0.86);
  padding: 56px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-logo {
  height: 56px;
  width: auto;
  background: #fff;
  border-radius: 14px;
  padding: 6px 10px;
  margin-bottom: 16px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.footer-text,
.footer-link,
.footer-bottom p {
  color: rgba(255,255,255,0.72);
  margin: 0 0 10px;
}

.site-footer a.footer-link:hover { color: #7dd3fc; }

.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.privacy-page { padding: 72px 0; }

.privacy-card {
  max-width: 920px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 12px 30px rgba(2,6,23,0.06);
}

.privacy-card h1,
.privacy-card h2 { color: #0f172a; }

.privacy-card p,
.privacy-card li { color: #475569; }

.privacy-card ul { padding-left: 20px; }

.back-link {
  display: inline-block;
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .cards-4,
  .plans-grid,
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid,
  .two-col,
  .contact-wrap,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding: 64px 0;
  }

  .cards-4,
  .feature-grid,
  .plans-grid,
  .modules-grid,
  .contact-form,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero-grid,
  .two-col,
  .contact-wrap {
    gap: 26px;
  }

  .logo {
    height: 64px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .section h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 16px;
  }

  .btn,
  .btn-full {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-tags {
    gap: 10px;
  }

  .hero-tags span {
    width: 100%;
    text-align: center;
  }

  .hero-card,
  .workflow,
  .card,
  .plan,
  .contact-form,
  .privacy-card {
    border-radius: 20px;
  }

  .hero-card,
  .workflow,
  .contact-form,
  .privacy-card,
  .card,
  .plan {
    padding: 22px;
  }

  .stat-box,
  .feature-item,
  .module-box {
    padding: 16px;
  }

  .price {
    font-size: 32px;
  }

  .checkbox-wrap {
    font-size: 13px;
  }

  .footer-logo {
    height: 50px;
  }
}
