:root {
  --color-primary: #0d0895;
  --color-primary-dark: #070461;
  --color-accent: #4d6bff;
  --color-background: #f5f6ff;
  --color-surface: #ffffff;
  --color-text: #111321;
  --color-muted: #667085;
  --shadow-soft: 0 20px 60px rgba(13, 8, 149, 0.12);
  --shadow-card: 0 12px 40px rgba(17, 19, 33, 0.08);
  --max-width: 1140px;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 8, 149, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-sizing: border-box;
  border: 5px solid #fff;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(13, 8, 149, 0.2);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(13, 8, 149, 0.2);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.menu-toggle .menu-icon {
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle .menu-icon::before,
.menu-toggle .menu-icon::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: currentColor;
  left: 0;
}

.menu-toggle .menu-icon::before {
  top: -6px;
}

.menu-toggle .menu-icon::after {
  top: 6px;
}

.site-nav ul {
  display: flex;
  gap: 1rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  background: rgba(13, 8, 149, 0.08);
}

.nav-link-highlight {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.nav-link-highlight:hover,
.nav-link-highlight:focus {
  background: var(--color-primary-dark);
}

.section {
  padding: clamp(4rem, 10vw, 6.5rem) 0;
}

.section-muted {
  background: var(--color-background);
}

.hero {
  padding-top: clamp(5rem, 12vw, 8rem);
  background: linear-gradient(135deg, rgba(13, 8, 149, 0.08), rgba(77, 107, 255, 0.12));
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 6vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
}

.hero-copy .lead {
  font-size: 1.2rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-primary-dark);
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  border-color: rgba(13, 8, 149, 0.25);
  color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--color-primary);
  text-decoration: none;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: var(--color-muted);
}

.hero-highlights li::before {
  content: '•';
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.hero-visual {
  justify-self: center;
}

.hero-visual img {
  width: min(320px, 80vw);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  background: #fff;
  box-sizing: border-box;
  border: 5px solid #fff;
  padding: 1.5rem;
}

.badge-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.badge-item {
  background: var(--color-surface);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}

.badge-label {
  display: inline-block;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--color-muted);
  max-width: 640px;
  margin: 0 auto;
}

.feature-grid,
.integration-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card,
.integration-card,
.roadmap-card,
.pricing-card,
.pricing-outlook,
.not-found-card,
.cta-card {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.feature-card h3,
.integration-card h3,
.roadmap-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.pricing {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.pricing-card .price {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0.5rem 0 1rem;
  color: var(--color-primary);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--color-muted);
  display: grid;
  gap: 0.5rem;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.changelog-placeholder {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  color: var(--color-muted);
}

.changelog-list {
  display: grid;
  gap: 1.5rem;
}

.changelog-entry {
  background: var(--color-surface);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
}

.changelog-entry header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.changelog-entry h3 {
  margin: 0;
}

.changelog-meta {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.changelog-entry ul {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.75rem;
  color: var(--color-muted);
}

.roadmap-card .status {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 8, 149, 0.1);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.roadmap-feedback {
  text-align: center;
  margin-top: 2rem;
  color: var(--color-muted);
}

.cta {
  background: linear-gradient(135deg, rgba(13, 8, 149, 0.12), rgba(77, 107, 255, 0.16));
}

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.cta-card h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.site-footer {
  background: #050246;
  color: #fff;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  box-sizing: border-box;
  border: 5px solid #fff;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.footer-links a {
  color: #d9dcff;
  margin-right: 1rem;
}

.footer-links a:last-child {
  margin-right: 0;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.legal {
  background: var(--color-background);
  min-height: 60vh;
}

.legal-header {
  text-align: left;
  margin-bottom: 2.5rem;
}

.legal-header h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
}

.legal-meta {
  color: var(--color-muted);
  margin: 0.25rem 0 1rem;
}

.legal-section {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
}

.legal-section h2 {
  margin-top: 0;
}

.legal-section p {
  margin: 0.5rem 0;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.not-found {
  background: var(--color-background);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.not-found-card {
  text-align: center;
  padding: 3rem 2rem;
}

.not-found-card h1 {
  font-size: clamp(2.4rem, 6vw, 3rem);
}

.not-found-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    padding: 1rem 1.25rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-link {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }
}

.site-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(17, 19, 33, 0.06);
}
