:root {
  --bg: #07080b;
  --bg-soft: #0d0f15;
  --panel: rgba(18, 20, 29, 0.78);
  --panel-strong: #12141d;
  --line: rgba(255, 255, 255, 0.095);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f6ff;
  --muted: #b1b7ce;
  --faint: #747b94;
  --accent: #7c86ff;
  --accent-soft: rgba(124, 134, 255, 0.16);
  --green: #32d69b;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.52);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.landing-page {
  background:
    radial-gradient(circle at 16% 7%, rgba(124, 134, 255, 0.17), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(50, 214, 155, 0.075), transparent 25%),
    radial-gradient(circle at 72% 44%, rgba(255, 255, 255, 0.035), transparent 34%),
    linear-gradient(180deg, #07080b 0%, #0a0b10 42%, #07080b 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  min-height: 100vh;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

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

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

.site-shell {
  margin: 0 auto;
  max-width: 1440px;
  overflow: hidden;
  padding: 18px 22px;
}

.landing-nav {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(9, 10, 15, 0.86);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1196px;
  padding: 10px 12px;
  position: sticky;
  top: 14px;
  z-index: 80;
}

.brand-mark,
.nav-actions,
.landing-nav nav {
  align-items: center;
  display: flex;
}

.brand-mark {
  gap: 10px;
  min-width: 145px;
}

.brand-mark span {
  align-items: center;
  background: #fff;
  border-radius: 10px;
  display: inline-flex;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  overflow: hidden;
  padding: 4px;
  width: 34px;
}

.brand-mark span img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.brand-mark strong {
  font-size: 14px;
  letter-spacing: -0.02em;
}

.landing-nav nav {
  gap: 6px;
}

.nav-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: none;
  height: 38px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: #eef1ff;
  border-radius: 999px;
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 0.2s ease;
  width: 17px;
}

.nav-toggle span:first-child {
  transform: translateY(-4px);
}

.nav-toggle span:last-child {
  transform: translateY(4px);
}

.landing-nav.is-open .nav-toggle span:first-child {
  transform: rotate(42deg);
}

.landing-nav.is-open .nav-toggle span:last-child {
  transform: rotate(-42deg);
}

.landing-nav nav a,
.ghost-link {
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  transition: background 0.2s ease, color 0.2s ease;
}

.landing-nav nav a:hover,
.ghost-link:hover {
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.nav-actions {
  gap: 6px;
}

.nav-button,
.primary-button,
.secondary-button,
.price-card a {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-button,
.primary-button,
.price-card a {
  background: #f5f7ff;
  color: #08090d;
}

.nav-button {
  min-height: 38px;
  padding: 0 16px;
}

.primary-button,
.secondary-button {
  min-height: 48px;
  padding: 0 22px;
}

.primary-button:hover,
.nav-button:hover,
.price-card a:hover {
  box-shadow: 0 18px 44px rgba(124, 134, 255, 0.24);
  transform: translateY(-2px);
}

.secondary-button {
  background: rgba(124, 134, 255, 0.15);
  border: 1px solid rgba(174, 181, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}

.secondary-button:hover {
  background: rgba(124, 134, 255, 0.23);
  border-color: rgba(210, 214, 255, 0.5);
  transform: translateY(-2px);
}

.hero-section {
  align-items: center;
  display: grid;
  gap: 68px;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
  margin: 0 auto;
  max-width: 1308px;
  min-height: calc(100vh - 100px);
  padding: 96px 0 76px;
}

.eyebrow {
  color: #aeb5ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero-copy h1,
.pricing-hero h1 {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -0.058em;
  line-height: 0.98;
  margin: 0;
  max-width: 780px;
}

.hero-subtitle,
.pricing-hero p,
.section-heading p,
.showcase-copy p,
.mobile-copy p,
.cta-section p {
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.68;
}

.hero-subtitle {
  margin: 28px 0 0;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 800;
  gap: 10px;
  margin-top: 22px;
}

.hero-proof span {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
}

.hero-visual {
  min-width: 0;
  position: relative;
}

.dashboard-orbit {
  background:
    radial-gradient(circle at 42% 46%, rgba(124, 134, 255, 0.38), transparent 56%),
    radial-gradient(circle at 84% 22%, rgba(50, 214, 155, 0.18), transparent 42%),
    radial-gradient(circle at 18% 88%, rgba(255, 255, 255, 0.08), transparent 42%);
  filter: blur(18px);
  inset: -21% -18% -16% -24%;
  opacity: 0.92;
  position: absolute;
}

.dashboard-frame,
.wide-showcase,
.phone-frame {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.dashboard-frame {
  border-radius: 26px;
  box-shadow:
    0 46px 140px rgba(0, 0, 0, 0.72),
    0 22px 70px rgba(124, 134, 255, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.07);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3.5deg) translateY(4px);
}

.floating-card {
  animation: floatDashboard 8.5s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.frame-topbar {
  align-items: center;
  background: rgba(10, 11, 16, 0.86);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
}

.frame-topbar span {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  height: 9px;
  width: 9px;
}

.dashboard-frame img {
  background: #11131a;
  filter: contrast(1.05) saturate(1.04);
  min-height: 452px;
  object-fit: cover;
  width: 100%;
}

.logo-strip,
.stats-section,
.compare-section {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: 22px;
  margin: 0 auto 104px;
  max-width: 1180px;
}

.logo-strip {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 18px 22px;
}

.logo-strip strong {
  color: #fff;
  font-size: 14px;
}

.section-block,
.showcase-section,
.mobile-section,
.cta-section,
.pricing-hero {
  margin: 0 auto;
  max-width: 1180px;
  padding: 14px 0 108px;
}

.section-heading {
  margin-bottom: 30px;
  max-width: 720px;
}

.section-heading h2,
.showcase-copy h2,
.mobile-copy h2,
.cta-section h2,
.compare-section h2 {
  font-size: clamp(34px, 4.6vw, 66px);
  font-weight: 900;
  letter-spacing: -0.052em;
  line-height: 1.03;
  margin: 0;
}

.feature-grid,
.pricing-grid,
.compare-grid {
  display: grid;
  gap: 14px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.feature-card,
.price-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.feature-card:hover,
.price-card:hover {
  background: rgba(24, 27, 38, 0.88);
  border-color: var(--line-strong);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(-4px);
}

.feature-card:nth-child(2),
.feature-card:nth-child(5) {
  transform: translateY(18px);
}

.feature-card:nth-child(2):hover,
.feature-card:nth-child(5):hover {
  transform: translateY(12px);
}

.feature-card span {
  color: var(--faint);
  font-size: 12px;
  font-weight: 900;
}

.feature-card h3,
.price-card h3,
.price-card h2 {
  font-size: 22px;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 30px 0 12px;
}

.feature-card p,
.price-card p,
.price-card li,
.landing-footer span,
.compare-grid span {
  color: var(--muted);
  line-height: 1.65;
}

.feature-card p {
  font-size: 15px;
}

.showcase-section {
  display: grid;
  gap: 34px;
  padding-top: 4px;
}

.showcase-copy {
  margin-left: auto;
  max-width: 790px;
}

.wide-showcase {
  border-radius: 28px;
  padding: 9px;
}

.wide-showcase img {
  background: #11131a;
  border-radius: 18px;
  min-height: 420px;
  object-fit: cover;
  width: 100%;
}

.mobile-section {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(300px, 0.72fr) 1fr;
}

.phone-frame {
  border-radius: 38px;
  justify-self: center;
  max-width: 390px;
  padding: 10px;
}

.phone-frame img {
  background: #11131a;
  border-radius: 28px;
  min-height: 560px;
  object-fit: cover;
  width: 100%;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.mini-list span {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: #dfe3ff;
  font-weight: 750;
  padding: 13px 14px;
}

.stats-section {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.stats-section div {
  background: rgba(255, 255, 255, 0.025);
  padding: 28px 26px;
}

.stats-section strong {
  display: block;
  font-size: 36px;
  letter-spacing: -0.05em;
}

.stats-section span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 468px;
  position: relative;
}

.price-card.is-featured {
  background:
    radial-gradient(circle at 18% 0%, rgba(174, 181, 255, 0.2), transparent 35%),
    linear-gradient(180deg, rgba(124, 134, 255, 0.14), rgba(18, 20, 29, 0.92)),
    var(--panel-strong);
  border-color: rgba(174, 181, 255, 0.38);
  box-shadow: 0 28px 95px rgba(124, 134, 255, 0.16);
}

.plan-badge {
  background: rgba(124, 134, 255, 0.18);
  border: 1px solid rgba(174, 181, 255, 0.34);
  border-radius: 999px;
  color: #dfe3ff;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  position: absolute;
  right: 18px;
  top: 18px;
}

.price-card strong {
  display: block;
  font-size: 42px;
  letter-spacing: -0.052em;
  line-height: 1;
  margin: 28px 0 24px;
}

.price-card strong span {
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0;
  margin-left: 4px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.price-card li::before {
  color: var(--green);
  content: "✓";
  font-weight: 900;
  margin-right: 8px;
}

.price-card a {
  margin-top: auto;
  min-height: 46px;
}

.pricing-link {
  margin-top: 22px;
  text-align: center;
}

.pricing-link a {
  color: #dfe3ff;
  font-weight: 850;
}

.pricing-note {
  color: #dfe3ff !important;
  font-size: 14px !important;
  font-weight: 750;
  margin-top: 10px !important;
}

.price-card a.is-disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}

.billing-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  margin-top: 20px;
  padding: 5px;
}

.billing-toggle button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  min-height: 34px;
  padding: 0 14px;
}

.billing-toggle button.is-active {
  background: linear-gradient(180deg, #ffffff, #e8ebff);
  color: #08090d;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26), 0 0 18px rgba(124, 134, 255, 0.18);
}

.billing-toggle span {
  color: #8df0c3;
  font-size: 11px;
  margin-left: 4px;
}

.cta-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 134, 255, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(124, 134, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  margin-bottom: 42px;
  padding: 58px;
  text-align: center;
}

.cta-section p {
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.cta-section .hero-actions {
  justify-content: center;
}

.faq-section {
  margin: 0 auto 72px;
  max-width: 1180px;
}

.faq-section .section-heading {
  margin-bottom: 28px;
  max-width: 720px;
  text-align: left;
}

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

.faq-grid details {
  background: rgba(18, 20, 29, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.faq-grid details:hover {
  background: rgba(22, 24, 35, 0.9);
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.faq-grid summary {
  color: #f5f7ff;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.faq-grid summary::-webkit-details-marker {
  display: none;
}

.faq-grid p {
  color: var(--muted);
  line-height: 1.65;
  margin: 12px 0 0;
}

.landing-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 0 18px;
}

.landing-footer div {
  display: grid;
  gap: 6px;
}

.landing-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.landing-footer a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.pricing-hero {
  padding-top: 92px;
  text-align: center;
}

.pricing-hero p {
  margin: 28px auto 0;
  max-width: 760px;
}

.pricing-page-grid {
  margin: 0 auto 96px;
  max-width: 1180px;
}

.compare-section {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: 0.75fr 1fr;
  padding: 34px;
}

.compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-grid span {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatDashboard {
  0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateX(3.5deg) translateY(4px); }
  45% { transform: perspective(1200px) rotateY(-6.5deg) rotateX(3deg) translateY(-13px); }
  70% { transform: perspective(1200px) rotateY(-8.8deg) rotateX(4deg) translateY(-5px); }
}

@media (max-width: 1060px) {
  .hero-section,
  .mobile-section,
  .compare-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    gap: 40px;
    padding-top: 70px;
  }

  .hero-visual {
    margin-right: 0;
    order: -1;
  }

  .dashboard-frame {
    transform: none;
  }

  .floating-card {
    animation: none;
  }

  .feature-card:nth-child(2),
  .feature-card:nth-child(5),
  .feature-card:nth-child(2):hover,
  .feature-card:nth-child(5):hover {
    transform: none;
  }

  .feature-grid,
  .pricing-grid,
  .stats-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-shell {
    padding: 10px;
  }

  .landing-nav {
    align-items: stretch;
    border-radius: 16px;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    top: 8px;
  }

  .brand-mark {
    min-width: 0;
  }

  .brand-mark strong {
    font-size: 13px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
    position: relative;
  }

  .landing-nav nav.nav-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    order: 3;
    width: 100%;
  }

  .landing-nav.is-open nav.nav-menu {
    display: flex;
  }

  .landing-nav nav a {
    background: rgba(255, 255, 255, 0.035);
    width: 100%;
  }

  .nav-actions {
    order: 2;
  }

  .ghost-link {
    display: none;
  }

  .hero-section {
    gap: 24px;
    min-height: auto;
    padding: 42px 0 58px;
  }

  .hero-copy h1,
  .pricing-hero h1 {
    font-size: clamp(38px, 11.2vw, 52px);
    letter-spacing: -0.045em;
    line-height: 1.02;
  }

  .section-heading h2,
  .showcase-copy h2,
  .mobile-copy h2,
  .cta-section h2,
  .compare-section h2 {
    font-size: clamp(30px, 9.2vw, 42px);
    letter-spacing: -0.04em;
    line-height: 1.08;
  }

  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.105em;
    margin-bottom: 12px;
  }

  .hero-subtitle,
  .pricing-hero p,
  .section-heading p,
  .showcase-copy p,
  .mobile-copy p,
  .cta-section p {
    font-size: 15.5px;
    line-height: 1.62;
  }

  .hero-subtitle {
    margin-top: 20px;
  }

  .hero-actions,
  .hero-actions a {
    width: 100%;
  }

  .dashboard-frame img,
  .wide-showcase img {
    min-height: 222px;
  }

  .dashboard-frame {
    border-radius: 18px;
    max-width: 100%;
  }

  .section-block,
  .showcase-section,
  .mobile-section,
  .cta-section,
  .pricing-hero {
    padding-bottom: 58px;
  }

  .section-heading {
    margin-bottom: 20px;
  }

  .logo-strip,
  .stats-section,
  .compare-section {
    margin-bottom: 58px;
  }

  .logo-strip {
    gap: 12px;
    padding: 16px;
  }

  .feature-grid,
  .pricing-grid,
  .compare-grid {
    gap: 12px;
  }

  .feature-card,
  .price-card {
    border-radius: 18px;
    padding: 20px;
  }

  .feature-card h3,
  .price-card h3,
  .price-card h2 {
    margin: 24px 0 8px;
  }

  .price-card {
    min-height: auto;
  }

  .price-card strong {
    font-size: 36px;
    margin: 22px 0 18px;
  }

  .showcase-section {
    gap: 22px;
  }

  .showcase-copy {
    margin-left: 0;
  }

  .mobile-section {
    gap: 28px;
  }

  .feature-grid,
  .pricing-grid,
  .stats-section,
  .compare-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    max-width: 285px;
  }

  .phone-frame img {
    min-height: 420px;
  }

  .cta-section {
    border-radius: 22px;
    padding: 32px 18px;
  }

  .faq-section {
    margin-bottom: 54px;
  }

  .billing-toggle {
    width: 100%;
  }

  .billing-toggle button {
    flex: 1;
    padding: 0 10px;
  }

  .landing-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
