:root {
  --primary: #6d28d9;
  --secondary: #ec4899;
  --accent: #f97316;
  --navy: #050b2c;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --gradient: linear-gradient(135deg, #6d28d9 0%, #ec4899 55%, #f97316 100%);
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 232, 240, 0.75);
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
}

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

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 25px rgba(109, 40, 217, 0.24);
}

.brand-text span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: #334155;
  font-weight: 650;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a.active {
  background: #ede9fe;
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(109, 40, 217, 0.16), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(249, 115, 22, 0.13), transparent 28%),
    var(--bg);
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 42px;
  padding: 58px 0 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  background: #fff;
  color: var(--primary);
  font-weight: 750;
  font-size: 0.9rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  color: var(--text);
}

h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 8vw, 4.7rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 6vw, 3.1rem);
}

h3 {
  font-size: 1.16rem;
}

.lead {
  margin: 20px 0 0;
  max-width: 640px;
  color: #475569;
  font-size: clamp(1.05rem, 2.8vw, 1.24rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 16px 28px rgba(109, 40, 217, 0.26);
}

.button-secondary {
  border-color: #cbd5e1;
  background: #fff;
  color: var(--navy);
}

.trial-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.hero-panel {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  padding: 18px;
  background: var(--navy);
  color: #fff;
}

.automation-card {
  margin: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.automation-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.automation-row:last-child {
  border-bottom: 0;
}

.status {
  color: #16a34a;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 18px 18px;
}

.metric {
  padding: 14px 12px;
  border-radius: 8px;
  background: #f1f5f9;
}

.metric strong {
  display: block;
  color: var(--navy);
  font-size: 1.25rem;
}

.section {
  padding: 78px 0;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 32px;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #f5f3ff;
  color: var(--primary);
  font-weight: 900;
}

.card p,
.policy-content p,
.policy-content li,
.faq-item p {
  color: var(--muted);
}

.steps {
  counter-reset: steps;
  grid-template-columns: repeat(3, 1fr);
}

.step {
  position: relative;
  padding-top: 54px;
}

.step::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  top: 18px;
  left: 22px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 850;
}

.pricing-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.price-card {
  padding: 28px;
  border: 1px solid #ddd6fe;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price {
  margin: 14px 0 10px;
  font-size: clamp(2.3rem, 8vw, 4rem);
  line-height: 1;
  font-weight: 900;
  color: var(--navy);
}

.price span {
  font-size: 1rem;
  color: var(--muted);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.check-list li {
  position: relative;
  padding: 9px 0 9px 30px;
  color: #334155;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient);
}

.note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.page-hero {
  padding: 66px 0 38px;
  background: radial-gradient(circle at top left, rgba(109, 40, 217, 0.13), transparent 34%), #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero p {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.policy-content {
  max-width: 900px;
}

.policy-content h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.policy-content ul {
  padding-left: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #475569;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  margin: 14px 0 0;
  color: var(--muted);
}

@media (max-width: 880px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero-grid,
  .pricing-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 42px;
  }

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

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

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

  .brand-text span {
    font-size: 0.72rem;
  }

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

  .button {
    width: 100%;
  }

  .features-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding-top: 44px;
  }
}
