:root {
  --bg: #0a0f1a;
  --surface: rgba(15, 23, 42, 0.72);
  --surface-strong: rgba(15, 23, 42, 0.92);
  --surface-soft: rgba(30, 41, 59, 0.52);
  --line: rgba(100, 116, 139, 0.26);
  --line-strong: rgba(59, 130, 246, 0.86);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --muted-dark: #64748b;
  --accent: #3b82f6;
  --accent-bright: #6795ff;
  --success: #22c55e;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 46% 0%, rgba(148, 163, 184, 0.28), transparent 34rem),
    radial-gradient(circle at 82% 8%, rgba(59, 130, 246, 0.14), transparent 26rem),
    linear-gradient(180deg, #0d1320 0%, var(--bg) 48%, #070b13 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: 0.045;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 76%);
}

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

.inline-link {
  color: #bfdbfe;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(96, 165, 250, 0.45);
  text-underline-offset: 3px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1136px, calc(100% - 32px));
  height: 64px;
  margin: 16px auto 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 15, 26, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.brand,
.top-cta,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: Outfit, Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 52%, #22c55e 100%);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.28);
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.top-cta,
.primary-button,
.secondary-button,
.buy-button {
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.primary-button,
.buy-button,
.mini-buy {
  position: relative;
  overflow: hidden;
}

.primary-button::after,
.buy-button::after,
.mini-buy::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.24) 42%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.primary-button:hover::after,
.buy-button:hover::after,
.mini-buy:hover::after {
  transform: translateX(120%);
}

.top-cta {
  padding: 0 18px;
  background: rgba(59, 130, 246, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.38);
  color: #dbeafe;
}

.top-cta:hover,
.primary-button:hover,
.buy-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.24);
}

main {
  width: min(1136px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.68fr);
  gap: 32px;
  align-items: center;
  min-height: calc(100svh - 80px);
  padding: 42px 0 34px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #bfdbfe;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.eyebrow span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.85);
  animation: dotPulse 2.2s ease-in-out infinite;
}

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

h1 {
  max-width: 740px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 610px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
}

.primary-button,
.buy-button {
  color: white;
  background: linear-gradient(180deg, #3f6df6 0%, #315cf0 100%);
}

.secondary-button {
  border: 1px solid var(--line);
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.68);
}

.secondary-button:hover {
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(30, 41, 59, 0.78);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.5);
}

.hero-stats dt {
  color: var(--accent-bright);
  font-family: Outfit, Manrope, sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-panel,
.tariff-card,
.features article,
.docs-shell,
.faq-list details {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.66));
  box-shadow: var(--shadow), 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

.tariff-card:hover,
.features article:hover,
.docs-shell:hover,
.faq-list details:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38), 0 0 34px rgba(59, 130, 246, 0.08), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.hero-panel::before,
.tariff-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 44% 0%, rgba(203, 213, 225, 0.18), transparent 19rem),
    linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.06) 100%);
}

.hero-copy {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-panel {
  min-width: 0;
  padding: 24px;
  border-radius: 22px;
}

.hero-panel > * {
  position: relative;
}

.panel-header,
.tariff-top,
.checkout > div,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-kicker {
  margin-bottom: 6px;
  color: var(--muted-dark);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  text-transform: uppercase;
}

.panel-header h2,
.section-heading h2,
.faq h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.22);
  font-size: 12px;
  font-weight: 700;
}

.mini-tariffs {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.mini-card {
  padding: 18px;
  border: 1px solid rgba(59, 130, 246, 0.16);
  border-radius: 14px;
  background: rgba(8, 13, 25, 0.55);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.mini-card-accent {
  border-color: rgba(59, 130, 246, 0.58);
  background: rgba(59, 130, 246, 0.09);
}

.mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.5);
  background: rgba(15, 23, 42, 0.72);
}

.mini-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.mini-title h3 {
  font-size: 18px;
}

.mini-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.mini-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 15px;
}

.mini-prices span {
  min-width: 0;
  padding: 8px 7px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: 9px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.58);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.mini-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 12px;
  border-radius: 9px;
  color: white;
  background: linear-gradient(180deg, #3f6df6 0%, #315cf0 100%);
  font-size: 14px;
  font-weight: 800;
}

.tariffs-section {
  padding: 38px 0 30px;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 24px;
}

.section-heading p:last-child {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

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

.tariff-card {
  border-radius: 22px;
  padding: 26px 28px 28px;
}

.tariff-card > * {
  position: relative;
}

.tariff-top h3 {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.28;
}

.tariff-top > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
}

.tariff-icon {
  font-size: 22px;
}

.info-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  padding: 16px;
  border-radius: 13px;
  color: var(--muted-dark);
  background: rgba(9, 14, 27, 0.55);
}

.info-strip span {
  font-size: 14px;
}

.info-strip b {
  color: #dbeafe;
  font-weight: 700;
}

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

.period-card {
  min-width: 0;
  min-height: 106px;
  padding: 16px;
  border: 1px solid rgba(51, 65, 85, 0.78);
  border-radius: 12px;
  color: var(--text);
  text-align: left;
  background: rgba(10, 15, 30, 0.72);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.period-card:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.58);
}

.period-card.is-active {
  border-color: var(--line-strong);
  background: rgba(59, 130, 246, 0.12);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.1), 0 16px 34px rgba(37, 99, 235, 0.12);
}

.period-card span,
.period-card strong,
.period-card small {
  display: block;
}

.period-card span {
  font-size: 16px;
  font-weight: 800;
}

.period-card strong {
  margin-top: 7px;
  color: var(--accent-bright);
  font-size: 16px;
}

.period-card small {
  margin-top: 5px;
  color: var(--muted-dark);
  font-size: 12px;
}

.checkout {
  margin-top: 22px;
  padding: 20px;
  border-radius: 14px;
  background: rgba(9, 14, 27, 0.54);
}

.checkout > div {
  color: #cbd5e1;
  font-size: 14px;
}

.checkout > div + div {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(100, 116, 139, 0.22);
}

.checkout strong {
  color: var(--accent-bright);
  font-family: Outfit, Manrope, sans-serif;
  font-size: 28px;
  letter-spacing: 0;
}

.buy-button {
  display: flex;
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  border-radius: 9px;
  font-size: 14px;
}

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

.features article {
  min-height: 176px;
  padding: 22px;
  border-radius: 18px;
}

.features span {
  color: var(--accent-bright);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
}

.features h3 {
  margin-top: 22px;
  font-size: 20px;
}

.features p,
.docs-panel p,
.faq-list p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.docs {
  padding: 36px 0 30px;
}

.platform-detect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -4px 0 16px;
  padding: 18px;
  border: 1px solid rgba(59, 130, 246, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 10% 0%, rgba(96, 165, 250, 0.22), transparent 18rem),
    linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(15, 23, 42, 0.68));
  box-shadow: 0 20px 54px rgba(37, 99, 235, 0.13), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
  animation: fadeUp 0.56s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.platform-detect[hidden] {
  display: none;
}

.detect-label {
  margin: 0 0 6px;
  color: #bfdbfe;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.platform-detect h3 {
  font-size: 22px;
}

.platform-detect p:last-child {
  max-width: 650px;
  margin-top: 7px;
  color: var(--muted);
  line-height: 1.6;
}

.platform-detect a {
  display: inline-flex;
  min-height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 10px;
  color: white;
  background: linear-gradient(180deg, #3f6df6 0%, #315cf0 100%);
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.platform-detect a:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.24);
}

.docs-shell {
  border-radius: 22px;
  padding: 18px;
}

.docs-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(8, 13, 25, 0.56);
}

.docs-tab {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.docs-tab:hover {
  color: var(--text);
  background: rgba(30, 41, 59, 0.55);
}

.docs-tab.is-active {
  color: white;
  border-color: rgba(59, 130, 246, 0.56);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0.12));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.14);
}

.docs-panel {
  padding: 28px 10px 10px;
  animation: fadeUp 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.docs-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.docs-title-row h3 {
  font-size: clamp(22px, 3vw, 30px);
}

.docs-title-row a {
  display: inline-flex;
  min-height: 40px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(59, 130, 246, 0.38);
  border-radius: 10px;
  color: #dbeafe;
  background: rgba(59, 130, 246, 0.12);
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.docs-title-row a:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.68);
  background: rgba(59, 130, 246, 0.18);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 164px;
  padding: 18px;
  border: 1px solid rgba(100, 116, 139, 0.22);
  border-radius: 14px;
  background: rgba(8, 13, 25, 0.46);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.steps li:hover {
  transform: translateY(-2px);
  border-color: rgba(96, 165, 250, 0.34);
  background: rgba(15, 23, 42, 0.62);
}

.steps span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: linear-gradient(180deg, #3f6df6 0%, #315cf0 100%);
  font-family: Outfit, Manrope, sans-serif;
  font-weight: 800;
}

.steps p {
  margin-top: 14px;
  font-size: 14px;
}

.faq {
  padding: 28px 0 46px;
}

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

.faq-list details {
  border-radius: 14px;
  padding: 18px 20px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.12);
  font-family: Outfit, Manrope, sans-serif;
}

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

.footer {
  width: min(1136px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer span {
  color: var(--text);
  font-weight: 800;
}

.footer a {
  color: #bfdbfe;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dotPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 18px rgba(34, 197, 94, 0.85);
  }

  50% {
    transform: scale(1.18);
    box-shadow: 0 0 28px rgba(34, 197, 94, 0.95);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .hero,
  .tariff-grid,
  .features {
    grid-template-columns: 1fr;
  }

  .docs-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-panel {
    order: -1;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 680px) {
  .topbar,
  main,
  .footer {
    width: min(100% - 20px, 1136px);
  }

  .topbar {
    height: 58px;
    margin-top: 10px;
    border-radius: 14px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 31px;
    height: 31px;
  }

  .top-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero {
    gap: 22px;
    padding: 24px 0 22px;
  }

  h1 {
    font-size: 40px;
  }

  .lead {
    font-size: 16px;
  }

  .hero-stats,
  .period-grid,
  .docs-tabs,
  .steps {
    grid-template-columns: 1fr;
  }

  .mini-prices {
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    padding: 14px;
  }

  .hero-panel,
  .tariff-card {
    padding: 20px;
    border-radius: 18px;
  }

  .panel-header,
  .tariff-top,
  .checkout > div,
  .footer {
    align-items: flex-start;
  }

  .panel-header,
  .docs-title-row,
  .footer {
    flex-direction: column;
  }

  .docs-title-row {
    align-items: flex-start;
  }

  .platform-detect {
    flex-direction: column;
    align-items: flex-start;
  }

  .steps li {
    min-height: auto;
  }

  .tariff-top {
    gap: 10px;
  }

  .period-card {
    min-height: 92px;
  }

  .checkout {
    padding: 16px;
  }

  .checkout strong {
    font-size: 24px;
  }
}
