/* Base */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    "Noto Sans",
    "Liberation Sans",
    sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
}
a:hover {
  color: var(--text);
}

.muted {
  color: var(--muted);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus {
  left: 12px;
}

/* Navbar */
.navbar-glass {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 15, 34, 0.55);
  border-bottom: 1px solid var(--line2);
}
.navbar .nav-link {
  color: rgba(238, 242, 255, 0.86);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
}
.navbar .nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}
.navbar .nav-link.active {
  background: rgba(124, 92, 255, 0.18);
  border: 1px solid rgba(124, 92, 255, 0.3);
}
.navbar-toggler {
  background-color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--grad-card);
  box-shadow: 0 10px 24px rgba(124, 92, 255, 0.22);
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -10px;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 255, 255, 0.35),
    transparent 50%
  );
  transform: rotate(12deg);
}
.brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(238, 242, 255, 0.92);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 0;
  box-shadow: 0 14px 36px rgba(124, 92, 255, 0.18);
}
.btn-primary:hover {
  filter: brightness(1.05);
}
.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
}
.section-surface {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0)
  );
}
.section-deep {
  background:
    radial-gradient(
      900px 450px at 10% 10%,
      rgba(124, 92, 255, 0.12),
      transparent 55%
    ),
    radial-gradient(
      900px 500px at 90% 20%,
      rgba(255, 111, 174, 0.1),
      transparent 55%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
}

.section-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 120px;
  pointer-events: none;
}
.section-divider svg {
  width: 100%;
  height: 100%;
}
.section-divider path {
  fill: rgba(255, 255, 255, 0.02);
}

/* Hero */
.hero {
  position: relative;
  padding: 92px 0 24px;
  background: var(--grad-hero);
  overflow: hidden;
}
.hero-blobs .blob {
  position: absolute;
  filter: blur(32px);
  opacity: 0.85;
  border-radius: 999px;
}
.hero-blobs .b1 {
  width: 360px;
  height: 360px;
  left: -120px;
  top: -90px;
  background: rgba(124, 92, 255, 0.22);
}
.hero-blobs .b2 {
  width: 420px;
  height: 420px;
  right: -160px;
  top: -120px;
  background: rgba(255, 111, 174, 0.18);
}
.hero-blobs .b3 {
  width: 420px;
  height: 420px;
  left: 35%;
  bottom: -220px;
  background: rgba(47, 231, 193, 0.14);
}

.hero-mini {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(238, 242, 255, 0.92);
}
.mini-ic {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 92, 255, 0.16);
  border: 1px solid rgba(124, 92, 255, 0.22);
  color: var(--text);
}

.hero-card {
  border-radius: var(--radius2);
  background: rgba(16, 29, 63, 0.68);
  border: 1px solid var(--line2);
  box-shadow: var(--shadow);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(
      circle at 25% 20%,
      rgba(255, 255, 255, 0.12),
      transparent 45%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(47, 231, 193, 0.12),
      transparent 50%
    );
  pointer-events: none;
}
.hero-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  position: relative;
}
.hc-badge {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  color: var(--muted);
}
.hc-orbit {
  position: relative;
  width: 84px;
  height: 84px;
}
.hc-orbit span {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.hc-orbit .o1 {
  inset: 8px;
}
.hc-orbit .o2 {
  inset: 18px;
  transform: rotate(25deg);
}
.hc-orbit .o3 {
  inset: 28px;
  transform: rotate(-18deg);
}
.hc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}
.hc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
}
.hc-ic {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 111, 174, 0.12);
  border: 1px solid rgba(255, 111, 174, 0.2);
  font-weight: 700;
  color: rgba(238, 242, 255, 0.92);
}
.hc-bottom {
  position: relative;
}

/* Cards grids */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 991px) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .grid-cards {
    grid-template-columns: 1fr;
  }
}

.shape-card {
  border-radius: var(--radius2);
  background: rgba(16, 29, 63, 0.55);
  border: 1px solid var(--line2);
  box-shadow: var(--shadow2);
  overflow: hidden;
  position: relative;
  min-height: 210px;
}
.shape-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(
      circle at 20% 15%,
      rgba(124, 92, 255, 0.18),
      transparent 55%
    ),
    radial-gradient(
      circle at 90% 40%,
      rgba(255, 111, 174, 0.12),
      transparent 55%
    );
  pointer-events: none;
}
.shape-top {
  padding: 18px 18px 12px;
  position: relative;
}
.shape-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(47, 231, 193, 0.1);
  border: 1px solid rgba(47, 231, 193, 0.18);
  margin-bottom: 12px;
}
.shape-foot {
  height: 54px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0)),
    radial-gradient(
      50px 50px at 15% 60%,
      rgba(246, 213, 142, 0.18),
      transparent 70%
    );
  clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 80%);
}

/* Banner */
.thin-banner {
  border-radius: var(--radius2);
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.tb-title {
  font-weight: 700;
}
@media (max-width: 767px) {
  .thin-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .tb-right {
    width: 100%;
  }
  .tb-right .btn {
    width: 100%;
  }
}

/* Plans */
.plan-card {
  border-radius: var(--radius2);
  border: 1px solid var(--line2);
  background: rgba(16, 29, 63, 0.55);
  box-shadow: var(--shadow2);
  padding: 18px;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.plan-head {
  padding: 8px 6px 10px;
}
.plan-tag {
  display: inline-flex;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.78rem;
}
.plan-price {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 0.55rem;
}
.plan-list {
  margin: 10px 0 16px;
  padding-left: 18px;
  color: var(--muted);
}
.plan-list li {
  margin: 0.35rem 0;
}
.plan-card.featured {
  border-color: rgba(124, 92, 255, 0.35);
  background: rgba(16, 29, 63, 0.7);
}
.plan-glow {
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(124, 92, 255, 0.28),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 40%,
      rgba(255, 111, 174, 0.18),
      transparent 55%
    );
  filter: blur(12px);
  opacity: 0.8;
  pointer-events: none;
}

/* Note card */
.note-card {
  border-radius: var(--radius2);
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.note-ic {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(246, 213, 142, 0.1);
  border: 1px solid rgba(246, 213, 142, 0.16);
}

/* Quotes / cases */
.quote-card {
  border-radius: var(--radius2);
  border: 1px solid var(--line2);
  background: rgba(16, 29, 63, 0.52);
  box-shadow: var(--shadow2);
  padding: 18px;
  height: 100%;
}
.quote-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.quote-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.22);
  font-size: 1.3rem;
  font-weight: 900;
}
.case-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.case-item {
  flex: 1;
  min-width: 180px;
  border-radius: var(--radius2);
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}
.case-kpi {
  font-size: 1.7rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--text), rgba(246, 213, 142, 0.9));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Accordion */
.accordion-clean .accordion-item {
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
}
.accordion-clean .accordion-button {
  background: transparent;
  color: var(--text);
  box-shadow: none;
  font-weight: 700;
}
.accordion-clean .accordion-button:not(.collapsed) {
  background: rgba(124, 92, 255, 0.12);
}
.accordion-clean .accordion-body {
  background: rgba(16, 29, 63, 0.22);
}

/* Panels & forms */
.panel {
  border-radius: var(--radius2);
  border: 1px solid var(--line2);
  background: rgba(16, 29, 63, 0.45);
  box-shadow: var(--shadow2);
  padding: 18px;
}
.mini-panel {
  border-radius: 18px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}
.form-card {
  border-radius: var(--radius2);
  border: 1px solid rgba(124, 92, 255, 0.25);
  background: rgba(16, 29, 63, 0.62);
  box-shadow: var(--shadow);
  padding: 18px;
}
.form-control,
.form-select {
  background: rgba(7, 10, 20, 0.55);
  border: 1px solid var(--line2);
  color: var(--text);
  border-radius: 14px;
}
.form-control:focus {
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(124, 92, 255, 0.18);
  background: rgba(7, 10, 20, 0.65);
  color: var(--text);
}
.form-label {
  color: rgba(238, 242, 255, 0.92);
}
.form-check-input {
  background-color: rgba(7, 10, 20, 0.7);
  border: 1px solid var(--line2);
}
.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.form-status {
  min-height: 22px;
  color: var(--muted);
}
.soft-hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line2), transparent);
}

/* CTA wrap */
.cta-wrap {
  border-radius: var(--radius2);
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.cta-left {
  padding: 20px;
  background:
    radial-gradient(
      500px 260px at 10% 20%,
      rgba(255, 111, 174, 0.14),
      transparent 60%
    ),
    radial-gradient(
      520px 260px at 90% 20%,
      rgba(47, 231, 193, 0.12),
      transparent 60%
    );
}
.cta-right {
  padding: 20px;
  background: rgba(16, 29, 63, 0.38);
}
@media (max-width: 991px) {
  .cta-wrap {
    grid-template-columns: 1fr;
  }
}

/* Track cards */
.track-card {
  border-radius: 18px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}
.track-title {
  font-weight: 800;
}
.track-tags .tag {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.75rem;
  margin-right: 6px;
}

/* Page hero */
.page-hero {
  position: relative;
  padding: 76px 0 24px;
  background: var(--grad-hero);
  overflow: hidden;
  border-bottom: 1px solid var(--line2);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line2);
  background: rgba(10, 15, 34, 0.65);
  padding: 44px 0 20px;
}
.brand-footer .brand-mark {
  width: 32px;
  height: 32px;
}
.footer-title {
  font-weight: 800;
  margin-bottom: 10px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin: 8px 0;
}
.footer-links a {
  text-decoration: none;
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--text);
}
.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-btn {
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}
.social-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.footer-bottom {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line2);
}
.footer-note {
  font-weight: 600;
}

/* Thank you card */
.thanks-card {
  border-radius: var(--radius2);
  border: 1px solid rgba(47, 231, 193, 0.22);
  background: rgba(16, 29, 63, 0.65);
  box-shadow: var(--shadow);
  padding: 22px;
}
.thanks-badge {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(47, 231, 193, 0.22);
  background: rgba(47, 231, 193, 0.1);
  color: rgba(238, 242, 255, 0.92);
  font-size: 0.78rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
