:root {
  --bg-color: #05060f;
  --bg-muted: #0e101d;
  --bg-highlight: rgba(34, 62, 255, 0.1);
  --text-color: #f7f9fc;
  --text-muted: #b6bed8;
  --accent: #7c5cff;
  --accent-secondary: #3ddad7;
  --accent-gradient: linear-gradient(135deg, #7c5cff 0%, #3ddad7 100%);
  --card-bg: rgba(11, 16, 37, 0.85);
  --card-border: rgba(124, 92, 255, 0.35);
  --border-radius: 18px;
  --transition: 200ms ease;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  background: radial-gradient(circle at top left, rgba(60, 74, 255, 0.25), transparent 45%),
    radial-gradient(circle at bottom right, rgba(61, 218, 215, 0.2), transparent 40%),
    var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent-secondary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 6, 15, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.brand-logo {
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-gradient);
}

.brand-name {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.brand-tagline {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 2rem;
}

.nav-links a {
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent-secondary);
}

.nav-links a.active {
  color: var(--accent-secondary);
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-color);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-size: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #04050f;
  box-shadow: 0 10px 30px rgba(124, 92, 255, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(124, 92, 255, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(255, 255, 255, 0.2);
}

.btn-ghost {
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: rgba(255, 255, 255, 0.05);
}

main {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.section,
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  padding-top: 6rem;
}

.hero-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-copy p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-stats dt {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-secondary);
}

.hero-stats dd {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.card-stack {
  display: grid;
  gap: 1.5rem;
}

.doc-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(3, 6, 18, 0.45);
  backdrop-filter: blur(14px);
}

.doc-card header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 600;
}

.doc-card ul {
  list-style: none;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge.success {
  background: rgba(79, 255, 171, 0.18);
  color: #5cffc2;
}

.badge.warning {
  background: rgba(255, 181, 70, 0.2);
  color: #ffdd82;
}

.badge.info {
  background: rgba(124, 92, 255, 0.2);
  color: #c7b9ff;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  display: grid;
  gap: 1rem;
  transition: transform var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.4);
}

.feature-card .icon {
  font-size: 1.75rem;
}

.feature-card p {
  color: var(--text-muted);
}

.highlighted {
  background: var(--bg-highlight);
  border-radius: 40px;
  padding: 4rem 1.5rem;
}

.solution-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.tab {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(124, 92, 255, 0.35);
  background: transparent;
  color: var(--text-color);
  cursor: pointer;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}

.tab.active {
  background: var(--accent-gradient);
  color: #05060f;
}

.tab-panel {
  background: rgba(9, 12, 28, 0.75);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid rgba(124, 92, 255, 0.3);
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel ul {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.checklist {
  list-style: none;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.checklist li::before {
  content: '✔';
  color: var(--accent-secondary);
  margin-right: 0.75rem;
}

.stat-callout {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(124, 92, 255, 0.15);
  border-radius: var(--border-radius);
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.automation-board {
  display: grid;
  gap: 1.5rem;
}

.automation-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.automation-card h4 {
  margin-bottom: 1rem;
}

.automation-card ul {
  list-style: none;
  display: grid;
  gap: 1rem;
  color: var(--text-muted);
}

.automation-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.pill {
  background: rgba(124, 92, 255, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #d9d1ff;
}

.automation-card dl {
  display: grid;
  gap: 1rem;
}

.automation-card dt {
  font-weight: 600;
}

.automation-card dd {
  color: var(--accent-secondary);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.trust-grid article {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-grid p {
  color: var(--text-muted);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  list-style: none;
  counter-reset: workflow;
}

.workflow li {
  position: relative;
  padding-top: 2.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius);
  padding: 2.5rem 1.75rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.workflow li::before {
  counter-increment: workflow;
  content: counter(workflow, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 1.75rem;
  transform: translateY(-50%);
  background: var(--accent-gradient);
  color: #04050f;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
}

.workflow p {
  color: var(--text-muted);
}

.video-promo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.video-frame {
  display: grid;
  gap: 1rem;
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius);
  border: 2px dashed rgba(124, 92, 255, 0.5);
  display: grid;
  place-items: center;
  font-size: 3rem;
  color: rgba(124, 92, 255, 0.8);
}

.video-caption {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.testimonial-grid blockquote {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1rem;
  color: var(--text-muted);
}

.testimonial-grid cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  color: var(--accent-secondary);
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 1.25rem;
}

.pricing-card ul {
  list-style: none;
  color: var(--text-muted);
  display: grid;
  gap: 0.75rem;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 700;
}

.pricing-card .price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.pricing-card .subtitle {
  color: var(--accent-secondary);
  font-weight: 500;
}

.pricing-card.featured {
  border: 1px solid rgba(124, 92, 255, 0.55);
  box-shadow: 0 18px 60px rgba(124, 92, 255, 0.35);
  transform: translateY(-10px);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

.cta {
  background: linear-gradient(120deg, rgba(124, 92, 255, 0.25), rgba(61, 218, 215, 0.2));
  border-radius: 36px;
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.cta-form {
  display: grid;
  grid-template-columns: 2fr auto;
  background: rgba(5, 6, 15, 0.9);
  border-radius: 999px;
  overflow: hidden;
}

.cta-form input {
  border: none;
  padding: 0 1.5rem;
  background: transparent;
  color: var(--text-color);
  font-size: 1rem;
}

.cta-form input:focus {
  outline: none;
}

.cta-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 1.5rem 2rem;
  background: rgba(5, 6, 15, 0.9);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.footer-grid p,
.footer-grid ul {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-grid h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.footer-meta {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-meta a {
  color: var(--accent-secondary);
}

.accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  color: transparent;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .nav-links {
    margin-right: 0;
  }
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-links {
    width: 100%;
    order: 3;
    flex-direction: column;
    background: rgba(5, 6, 15, 0.95);
    border-radius: var(--border-radius);
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    order: 2;
    width: 100%;
    justify-content: flex-end;
  }

  .nav-toggle {
    display: block;
    order: 2;
    margin-left: auto;
  }

  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .cta-form {
    grid-template-columns: 1fr;
    border-radius: var(--border-radius);
  }

  .cta-form input {
    padding: 1rem 1.25rem;
  }

  .cta-form button {
    border-radius: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-card,
  .automation-card,
  .pricing-card,
  .testimonial-grid blockquote {
    padding: 1.5rem;
  }

  .highlighted {
    border-radius: 24px;
    padding: 3rem 1.25rem;
  }
}
