:root {
  --primary: #2e5bff;
  --primary-dark: #1d3ab3;
  --accent: #00c2ff;
  --bg-light: #f5f8ff;
  --text: #0f1a3c;
  --muted: #6b7a99;
  --border: #d6def3;
  --shadow: 0 16px 40px rgba(15, 26, 60, 0.12);
  --radius: 16px;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: #fff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(214, 222, 243, 0.6);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: inherit;
}

nav .logo img {
  height: 32px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav li {
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

nav li:hover {
  color: var(--primary);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(46, 91, 255, 0.35);
}

.hero {
  padding: 120px 0 80px;
  background: var(--bg-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.badge {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(46, 91, 255, 0.1);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.section {
  padding: 96px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 48px;
}

.section-heading h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 24px 40px rgba(15, 26, 60, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px rgba(15, 26, 60, 0.08);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.stat {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(46, 91, 255, 0.08);
  text-align: center;
}

.stat h4 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.list-item {
  display: flex;
  gap: 16px;
}

.list-item span {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: linear-gradient(120deg, var(--primary), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.testimonial {
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 40px rgba(15, 26, 60, 0.06);
}

.testimonial p {
  color: var(--muted);
  margin-bottom: 24px;
}

.testimonial .author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.price-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 24px 40px rgba(15, 26, 60, 0.05);
  padding: 40px 32px;
  text-align: center;
}

.price-card.featured {
  border: 2px solid var(--primary);
  transform: translateY(-8px);
}

.price-card h3 {
  margin-bottom: 12px;
}

.price-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.price-card ul {
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

footer {
  background: #050b1d;
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.footer-nav {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.66);
}

.footer-nav a:hover {
  color: #fff;
}

footer .legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.tag span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: start;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.table th,
.table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.muted-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.highlight {
  background: rgba(0, 194, 255, 0.08);
  padding: 18px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 194, 255, 0.3);
  margin-top: 24px;
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero dashboard mockup */
.dashboard-mock {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 0.85rem;
}

.dashboard-mock .dash-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
  background: #fafbff;
}

.dashboard-mock .dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.dashboard-mock .dash-title {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.dashboard-mock .dash-body {
  padding: 20px;
}

.dashboard-mock .dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.dashboard-mock .dash-stat {
  padding: 12px;
  border-radius: 10px;
  background: var(--bg-light);
}

.dashboard-mock .dash-stat .label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-mock .dash-stat .value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.dashboard-mock .dash-stat .delta {
  display: inline-block;
  font-size: 0.7rem;
  color: #10b981;
  font-weight: 600;
  margin-left: 6px;
}

.dashboard-mock .dash-chart {
  height: 130px;
  border-radius: 10px;
  background: #fafbff;
  padding: 8px;
}

.dashboard-mock .dash-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dashboard-mock .dash-footer {
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.75rem;
}

.dashboard-mock .pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 6px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Integration logos row */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 56px;
  margin-top: 24px;
}

.partner-logo {
  height: 32px;
  width: 32px;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* Legacy text chip (kept in case it's referenced elsewhere) */
.logo-chip {
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}

/* "Why this matters" stat cards */
.stat-card .stat-value {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.stat-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.stat-card .stat-source {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

/* Customer logos strip */
.customer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 56px;
  margin-bottom: 48px;
  opacity: 0.72;
}

.customer-logo {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-transform: uppercase;
}

.testimonial .author strong {
  color: var(--text);
  font-weight: 700;
}

.testimonial .author span {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  nav {
    flex-wrap: wrap;
    position: relative;
  }

  nav ul {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 12px 0 4px;
    margin-top: 12px;
    border-top: 1px solid var(--border);
  }

  nav ul.open {
    display: flex;
  }

  nav ul li {
    padding: 10px 0;
  }

  .hero {
    padding: 96px 0 64px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section {
    padding: 72px 0;
  }

  .dashboard-mock .dash-stats {
    grid-template-columns: 1fr 1fr;
  }
}
