/* Base variables */
:root {
  --color-bg: #0f172a;
  --color-surface: #111b36;
  --color-surface-light: #f3f5fb;
  --color-accent: #3b82f6;
  --color-accent-alt: #22d3ee;
  --color-text: #0b1120;
  --color-text-muted: #4f5b75;
  --color-white: #ffffff;
  --shadow-lg: 0 40px 80px rgba(15, 23, 42, 0.18);
  --shadow-md: 0 20px 40px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --max-width: 1200px;
  --transition: all 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, #050b1a 0%, #0b1530 60%, #0f172a 100%);
}

.page {
  background: linear-gradient(180deg, rgba(33, 48, 84, 0.2) 0%, rgba(15, 23, 42, 0.95) 100%);
  min-height: 100vh;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.button--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-alt) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(59, 130, 246, 0.35);
}

.button--ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.3);
  color: var(--color-white);
}

.button--ghost:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.4);
}

.button--block {
  width: 100%;
}

.site-header {
  color: var(--color-white);
  padding: 28px 5%;
  padding-bottom: 0;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.logo span {
  color: var(--color-accent);
}

.logo--footer span {
  color: var(--color-accent-alt);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.nav__links a:hover {
  color: var(--color-white);
}

.nav__links .nav__login {
  border-bottom: 1px solid transparent;
}

.nav__links .nav__login:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 10px 0;
}

.nav__bar {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 999px;
  transition: var(--transition);
}

.hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  align-items: center;
  max-width: var(--max-width);
  margin: 80px auto;
  padding-bottom: 120px;
}

.hero__content {
  grid-column: span 7;
}

.tagline {
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.7);
  margin-bottom: 16px;
  font-size: 0.85rem;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  margin: 0 0 18px;
  line-height: 1.1;
}

.hero__subtitle {
  color: rgba(226, 232, 240, 0.8);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  color: rgba(226, 232, 240, 0.9);
}

.hero__stats dt {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-white);
}

.hero__stats dd {
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.7);
  line-height: 1.5;
}

.hero__visual {
  grid-column: span 5;
  display: flex;
  justify-content: center;
}

.hero__card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  width: min(380px, 100%);
}

.hero__card-header {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dot--green {
  background: #4ade80;
}

.dot--amber {
  background: #fbbf24;
}

.dot--red {
  background: #f87171;
}

.hero__card h2 {
  font-size: 1.3rem;
  margin: 0 0 12px;
  color: var(--color-white);
}

.hero__card ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: rgba(226, 232, 240, 0.75);
}

.hero__card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero__card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-alt));
  margin-top: 6px;
  flex-shrink: 0;
}

.section {
  padding: 120px 5%;
  color: var(--color-white);
}

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

.section--alt {
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 55%),
    var(--color-surface);
}

.section--cta {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(34, 211, 238, 0.25));
  padding: 100px 5%;
}

.section__header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.section__header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 20px;
}

.section__header p {
  color: rgba(226, 232, 240, 0.75);
  font-size: 1.05rem;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
  margin-bottom: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.45);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.feature-card p {
  color: rgba(226, 232, 240, 0.7);
  margin: 0;
  line-height: 1.6;
}

.coverage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.coverage__column {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.coverage__column h3 {
  margin-top: 0;
  margin-bottom: 18px;
}

.coverage__column ul {
  padding-left: 18px;
  margin: 0;
  color: rgba(226, 232, 240, 0.75);
  display: grid;
  gap: 12px;
  line-height: 1.6;
}

.proof {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.proof__content p {
  color: rgba(226, 232, 240, 0.72);
}

.proof__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.proof__stat {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-white);
}

.proof__panel {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(34, 211, 238, 0.25));
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.proof__panel::after {
  content: "";
  position: absolute;
  inset: -40% 40% 40% -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 55%);
  transform: rotate(12deg);
}

.proof__panel blockquote {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(15, 23, 42, 0.9);
  position: relative;
  z-index: 1;
}

.proof__author {
  margin-top: 24px;
  position: relative;
  z-index: 1;
  color: rgba(15, 23, 42, 0.85);
}

.proof__author p {
  font-weight: 700;
  margin: 0 0 4px;
}

.proof__author span {
  font-size: 0.95rem;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.workflow__step {
  background: rgba(15, 23, 42, 0.7);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  position: relative;
}

.workflow__index {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.2);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 18px;
  font-size: 1.1rem;
}

.workflow__step h3 {
  margin: 0 0 12px;
}

.workflow__step p {
  color: rgba(226, 232, 240, 0.7);
  margin: 0;
}

.pricing {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-white);
}

.pricing p {
  color: rgba(226, 232, 240, 0.78);
}

.pricing__card {
  background: rgba(15, 23, 42, 0.88);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(59, 130, 246, 0.25);
  margin: 48px 0 32px;
}

.pricing__label {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(94, 234, 212, 0.7);
  margin: 0 0 12px;
}

.pricing__price {
  font-size: 3.4rem;
  font-weight: 800;
  margin: 0;
  color: var(--color-white);
}

.pricing__price span {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.6);
  margin-left: 8px;
}

.pricing__card ul {
  list-style: none;
  padding: 0;
  margin: 32px 0 40px;
  display: grid;
  gap: 16px;
  color: rgba(226, 232, 240, 0.75);
}

.pricing__card li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pricing__card li::before {
  content: "✓";
  color: rgba(34, 211, 238, 0.9);
  font-weight: 700;
}

.pricing__footnote {
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.6);
}

.cta {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-white);
}

.cta p {
  color: rgba(15, 23, 42, 0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta__actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer {
  padding: 72px 5% 40px;
  background: #050b1a;
  color: rgba(226, 232, 240, 0.7);
}

.footer__content {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 24px;
}

.footer__title {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(226, 232, 240, 0.5);
  margin: 0 0 18px;
}

.footer__links a {
  display: block;
  margin-bottom: 12px;
  color: rgba(226, 232, 240, 0.7);
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__note {
  text-align: center;
  margin: 0;
  font-size: 0.85rem;
  color: rgba(148, 163, 184, 0.65);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: repeat(12, 1fr);
    margin: 60px auto;
  }

  .hero__content {
    grid-column: span 12;
  }

  .hero__visual {
    grid-column: span 12;
    justify-content: flex-start;
  }

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

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

@media (max-width: 820px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    min-width: 220px;
  }

  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 24px 6%;
  }

  .hero {
    margin: 40px auto;
    padding-bottom: 60px;
  }

  .section {
    padding: 80px 6%;
  }

  .section__header {
    margin-bottom: 48px;
  }

  .section__header h2 {
    font-size: 2.2rem;
  }

  .hero__stats dt {
    font-size: 1.4rem;
  }

  .pricing__card {
    padding: 32px;
  }

  .footer {
    padding: 60px 6% 32px;
  }

  .footer__links {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}
