:root {
  --bg: #060916;
  --bg-soft: #0c1230;
  --surface: rgba(13, 18, 43, 0.72);
  --surface-strong: #10183a;
  --surface-soft: rgba(24, 33, 76, 0.4);
  --line: rgba(132, 149, 255, 0.24);
  --line-strong: rgba(132, 149, 255, 0.4);
  --text: #f4f7ff;
  --muted: #a9b2d6;
  --primary: #6f81ff;
  --primary-strong: #4c66ff;
  --accent: #34d7c8;
  --danger: #ff6f92;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-xl: 0 28px 90px rgba(4, 8, 24, 0.65);
  --shadow-md: 0 18px 40px rgba(3, 7, 20, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 88% -10%, rgba(103, 123, 255, 0.34), transparent 42%),
    radial-gradient(circle at -6% 105%, rgba(52, 214, 199, 0.18), transparent 36%),
    linear-gradient(160deg, #070b1d 0%, #060916 48%, #040611 100%);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  margin-bottom: 0;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 38px 38px;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  z-index: -2;
  pointer-events: none;
  filter: blur(8px);
}

.orb-one {
  width: 560px;
  height: 560px;
  top: -210px;
  right: -150px;
  background: radial-gradient(circle, rgba(111, 129, 255, 0.38), transparent 72%);
}

.orb-two {
  width: 460px;
  height: 460px;
  left: -80px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(52, 215, 200, 0.28), transparent 72%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(132, 149, 255, 0.15);
  background: rgba(7, 11, 28, 0.72);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.site-header.scrolled {
  border-color: rgba(132, 149, 255, 0.35);
  box-shadow: 0 14px 38px rgba(3, 7, 20, 0.46);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, #91a1ff 0%, #5e73ff 52%, #34d7c8 100%);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(95, 114, 255, 0.55);
}

.menu {
  display: flex;
  gap: 26px;
}

.menu a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--text);
}

.hero {
  padding: 88px 0 32px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 30px;
  align-items: stretch;
}

.tag {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #dde3ff;
  background: rgba(111, 129, 255, 0.12);
  font-size: 0.83rem;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2rem, 3.9vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  max-width: 18ch;
}

.text-gradient {
  background: linear-gradient(120deg, #dae1ff 10%, #86a1ff 48%, #65e4d8 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p {
  color: var(--muted);
  line-height: 1.72;
  max-width: 63ch;
}

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

.btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(136deg, var(--primary) 0%, var(--primary-strong) 55%, #556cff 100%);
  box-shadow: 0 14px 30px rgba(79, 98, 255, 0.35);
}

.btn-outline {
  color: #e8ecff;
  background: rgba(14, 20, 46, 0.6);
  border-color: rgba(132, 149, 255, 0.46);
}

.btn-ghost {
  color: #dce3ff;
  background: transparent;
  border-color: rgba(132, 149, 255, 0.3);
}

.hero-metrics {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.hero-metrics li {
  border: 1px solid rgba(132, 149, 255, 0.22);
  border-radius: 14px;
  background: rgba(13, 19, 45, 0.55);
  padding: 12px 14px;
}

.hero-metrics strong {
  display: block;
  font-size: 0.99rem;
  margin-bottom: 2px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(16, 23, 51, 0.95) 0%, rgba(10, 14, 34, 0.95) 100%);
  box-shadow: var(--shadow-xl);
  padding: 24px;
}

.panel-kicker {
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-panel h2 {
  font-size: 1.4rem;
  line-height: 1.35;
  margin-bottom: 18px;
}

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

.status-grid article {
  border: 1px solid rgba(132, 149, 255, 0.22);
  border-radius: 12px;
  background: rgba(20, 29, 66, 0.45);
  padding: 13px;
}

.status-grid h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.status-grid p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.proof-strip {
  padding: 16px 0 8px;
}

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

.proof-grid article {
  border: 1px solid rgba(132, 149, 255, 0.22);
  border-radius: 14px;
  background: rgba(13, 19, 45, 0.52);
  padding: 14px;
}

.proof-grid strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.proof-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.section {
  padding: 72px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.eyebrow {
  display: inline-block;
  color: #dce2ff;
  font-size: 0.81rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  line-height: 1.68;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  border: 1px solid rgba(132, 149, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 18px;
  background: linear-gradient(175deg, rgba(19, 27, 61, 0.8), rgba(11, 16, 36, 0.9));
  box-shadow: var(--shadow-md);
}

.feature-card h3 {
  font-size: 1.04rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.63;
}

.pricing-section {
  background: linear-gradient(180deg, rgba(10, 15, 34, 0.3), rgba(10, 15, 34, 0.08));
}

#yearly-note {
  color: #dbe3ff;
  margin-left: 4px;
}

.billing-toggle {
  display: inline-flex;
  gap: 7px;
  margin-bottom: 20px;
  border: 1px solid rgba(132, 149, 255, 0.25);
  border-radius: 999px;
  padding: 6px;
  background: rgba(12, 18, 42, 0.64);
}

.toggle-btn {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-family: inherit;
  padding: 9px 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.toggle-btn.active {
  color: #fff;
  background: linear-gradient(130deg, var(--primary), var(--primary-strong));
  box-shadow: 0 8px 18px rgba(86, 106, 255, 0.35);
}

.toggle-btn:hover {
  transform: translateY(-1px);
}

.pricing-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  border: 1px solid rgba(132, 149, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 23, 52, 0.88), rgba(10, 14, 31, 0.92));
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(90, 112, 255, 0.52);
  box-shadow: 0 22px 58px rgba(67, 88, 255, 0.26);
  transform: translateY(-3px);
}

.badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #f6f8ff;
  background: linear-gradient(120deg, #ff6f92 0%, #8d86ff 100%);
}

.plan-name {
  margin-bottom: 8px;
  color: #d8e0ff;
  font-size: 0.95rem;
}

.price {
  margin-bottom: 14px;
}

.price span {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}

.price small {
  color: var(--muted);
  margin-left: 6px;
  font-size: 0.94rem;
}

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

.price-card li {
  color: #d3dcff;
  line-height: 1.58;
  padding-left: 20px;
  position: relative;
}

.price-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.price-card .btn {
  margin-top: auto;
}

.table-wrap {
  border: 1px solid rgba(132, 149, 255, 0.24);
  border-radius: 16px;
  overflow-x: auto;
  background: rgba(12, 18, 42, 0.82);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(132, 149, 255, 0.17);
}

th {
  color: #e2e8ff;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(16, 24, 54, 0.85);
}

td {
  color: #d2dbff;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.role-section {
  background: linear-gradient(180deg, rgba(11, 16, 36, 0.05), rgba(11, 16, 36, 0.3));
}

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

.roles-grid article {
  border: 1px solid rgba(132, 149, 255, 0.22);
  border-radius: 14px;
  padding: 16px;
  background: rgba(14, 20, 46, 0.78);
}

.roles-grid h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.roles-grid p {
  color: var(--muted);
  line-height: 1.58;
  font-size: 0.92rem;
}

.admin-strip {
  margin-top: 14px;
  border: 1px solid rgba(132, 149, 255, 0.26);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(11, 17, 40, 0.8);
  display: grid;
  gap: 4px;
}

.admin-strip p {
  color: #d2dcff;
  line-height: 1.58;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid rgba(132, 149, 255, 0.22);
  border-radius: 14px;
  background: rgba(13, 19, 45, 0.66);
  padding: 12px 14px;
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  padding-right: 26px;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: #d6deff;
  font-size: 1.08rem;
  transition: transform 0.18s ease;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.68;
}

.cta {
  padding-top: 56px;
}

.cta-card {
  border: 1px solid rgba(132, 149, 255, 0.32);
  border-radius: 24px;
  padding: 28px;
  background:
    radial-gradient(circle at 95% 10%, rgba(114, 133, 255, 0.18), transparent 45%),
    linear-gradient(170deg, rgba(17, 25, 55, 0.92), rgba(10, 15, 32, 0.95));
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 20px;
  align-items: center;
}

.cta-copy {
  display: grid;
  gap: 14px;
}

.cta-card h2 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  margin-bottom: 10px;
}

.cta-card p {
  color: var(--muted);
  line-height: 1.68;
  max-width: 62ch;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 230px;
}

.cta-segments {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.cta-segments li {
  border: 1px solid rgba(132, 149, 255, 0.22);
  border-radius: 12px;
  background: rgba(16, 24, 52, 0.62);
  padding: 11px 12px;
  line-height: 1.55;
  color: #d2dbff;
}

.cta-segments strong {
  color: #f2f5ff;
}

.site-footer {
  padding: 28px 0 34px;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: #9ba8d5;
  font-size: 0.9rem;
  border-top: 1px solid rgba(132, 149, 255, 0.2);
  padding-top: 16px;
}

@media (max-width: 1120px) {
  .roles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .hero {
    padding-top: 66px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

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

  .feature-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

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

  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .nav {
    min-height: 72px;
  }

  .hero {
    padding-top: 54px;
  }

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

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

  .btn {
    width: 100%;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
