:root {
  --brand-primary: #1f3bff;
  --brand-secondary: #192038;
  --brand-accent: #10b981;
  --text-muted: #6b7280;
  --surface: #ffffff;
  --surface-alt: #f9fafb;
  --border: #e5e7eb;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 45%);
  color: #0f172a;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

header {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #312e81, #6366f1);
  display: grid;
  place-items: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  position: relative;
}

.brand-mark::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
  position: absolute;
  top: 8px;
  right: 8px;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}

.brand h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--brand-secondary);
}

.nav-cta {
  display: flex;
  gap: 12px;
}

.btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(79, 70, 229, 0.12);
}

.btn-primary {
  background: linear-gradient(135deg, #4338ca, #6366f1);
  color: white;
}

.btn-secondary {
  border: 1px solid #d1d5db;
  color: #1f2937;
  background: white;
}

main {
  padding: 72px 0 120px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
  margin-bottom: 96px;
}

.hero-copy h2 {
  font-size: clamp(2.75rem, 4vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-copy p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.hero-metrics {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.18);
}

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

.metric h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #312e81;
}

.metric span {
  display: block;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section {
  margin-bottom: 96px;
}

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

.section-header h3 {
  font-size: 2.25rem;
  margin-bottom: 18px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 16px 32px -24px rgba(15, 23, 42, 0.45);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  color: #4338ca;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.workflow {
  background: var(--surface);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.workflow-step h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.workflow-step p {
  color: var(--text-muted);
}

.integrations {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.integration-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.integration-logos span {
  padding: 10px 18px;
  border-radius: 999px;
  background: #eef2ff;
  color: #312e81;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.plan-card {
  background: white;
  border-radius: 24px;
  border: 2px solid transparent;
  padding: 28px;
  box-shadow: 0 16px 32px -26px rgba(67, 56, 202, 0.5);
}

.plan-card.highlight {
  border-color: rgba(99, 102, 241, 0.35);
  transform: translateY(-6px);
}

.plan-card h4 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.plan-price {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 16px 0;
  color: #312e81;
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 8px;
}

.plan-features {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 20px 0 28px;
}

.plan-features li::before {
  content: '✔';
  color: var(--brand-accent);
  margin-right: 10px;
}

.testimonials {
  background: var(--surface-alt);
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--border);
  display: grid;
  gap: 24px;
}

.testimonial {
  background: white;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px -20px rgba(15, 23, 42, 0.4);
}

.testimonial strong {
  display: block;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

footer {
  border-top: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.97);
  color: #d1d5db;
  padding: 48px 0;
}

footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

footer h5 {
  margin-bottom: 16px;
  font-size: 1rem;
  color: white;
}

footer ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

footer a {
  color: #9ca3af;
  font-size: 0.95rem;
}

footer a:hover {
  color: white;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero {
    text-align: center;
  }
  .hero-metrics {
    order: -1;
  }
  .metric-grid {
    grid-template-columns: 1fr;
  }
}
