:root {
  --brand-primary: #2f6bff;
  --brand-secondary: #19c7b5;
  --ink-0: #08101b;
  --ink-1: #0b1424;
  --ink-2: #111c2f;
  --surface: rgba(15, 24, 41, 0.72);
  --surface-strong: rgba(19, 32, 54, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --text-1: #f6f8ff;
  --text-2: #c3d0ef;
  --text-3: #8ea0c6;
  --border: rgba(120, 150, 200, 0.24);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 30px 60px rgba(6, 12, 24, 0.55);
  --shadow-md: 0 18px 40px rgba(6, 12, 24, 0.35);
  --shadow-sm: 0 10px 24px rgba(6, 12, 24, 0.22);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text-1);
  background: radial-gradient(circle at 10% 20%, rgba(47, 107, 255, 0.22), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(25, 199, 181, 0.18), transparent 50%),
    linear-gradient(180deg, var(--ink-0), var(--ink-1));
  letter-spacing: 0.01em;
}

h1,
h2,
h3,
strong {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-2);
}

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

button {
  font-family: inherit;
}

.bg-orbit {
  position: fixed;
  inset: -120px auto auto -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.2), transparent 60%);
  opacity: 0.7;
  filter: blur(1px);
  z-index: 0;
  animation: drift 16s ease-in-out infinite;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(8, 16, 28, 0.7);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6vw;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(47, 107, 255, 0.35);
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-kicker {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-3);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-user {
  font-size: 12px;
  color: var(--text-3);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-user.visible {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-2);
}

.btn.is-logged {
  border-color: rgba(25, 199, 181, 0.4);
  color: #d4fff7;
}

.nav-link {
  font-size: 13px;
  color: var(--text-2);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid rgba(47, 107, 255, 0.7);
  outline-offset: 3px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  box-shadow: 0 14px 30px rgba(47, 107, 255, 0.35);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-1);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-2);
}

.btn.tiny {
  padding: 6px 12px;
  font-size: 12px;
}

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

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  padding: 96px 6vw 64px;
}

.hero-copy h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  margin: 18px 0 16px;
}

.hero-copy h1 span {
  color: var(--brand-secondary);
}

.hero-copy p {
  max-width: 52ch;
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(25, 199, 181, 0.4);
  background: rgba(25, 199, 181, 0.12);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4fff7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}

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

.hero-meta strong {
  font-size: 18px;
}

.hero-meta span {
  font-size: 12px;
  color: var(--text-3);
}

.hero-panel {
  display: grid;
  gap: 16px;
  align-content: start;
}

.hero-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  animation: float 8s ease-in-out infinite;
}

.hero-card-top {
  display: flex;
  gap: 8px;
}

.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
}

.hero-card-screen {
  margin: 16px 0;
  background: rgba(8, 12, 22, 0.8);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.screen-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-3);
}

.dot.ok {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-secondary);
  box-shadow: 0 0 10px rgba(25, 199, 181, 0.6);
}

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

.screen-block {
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.screen-block.tall {
  height: 120px;
}

.screen-block.wide {
  grid-column: span 2;
}

.hero-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-2);
}

.hero-badge {
  padding: 16px;
  border-radius: var(--radius-md);
  background: rgba(25, 199, 181, 0.12);
  border: 1px solid rgba(25, 199, 181, 0.4);
  box-shadow: var(--shadow-sm);
}

.stats {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 6vw 64px;
}

.stat {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.stat strong {
  display: block;
}

.stat span {
  color: var(--text-3);
  font-size: 12px;
}

.section-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6vw 24px;
}

.kicker {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-3);
}

.features,
.workflow,
.pricing,
.faq,
.download,
.contact {
  padding: 32px 0 64px;
}

.feature-grid,
.workflow-steps,
.pricing-grid,
.faq-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  padding: 0 6vw;
}

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

.feature-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

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

.step {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.step-index {
  font-size: 12px;
  color: var(--brand-secondary);
  font-family: "JetBrains Mono", monospace;
}

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

.price-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.price-card.pro {
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.2), rgba(25, 199, 181, 0.2));
  border-color: rgba(47, 107, 255, 0.45);
}

.price-head .price {
  font-size: 28px;
}

.price-head small {
  font-size: 12px;
  color: var(--text-3);
}

.price-card ul {
  padding-left: 18px;
  color: var(--text-2);
}

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

.faq-item {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.trust {
  padding: 32px 0 64px;
}

.trust-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 6vw;
}

.trust-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.logo-row {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 6vw;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-3);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.download-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 6vw;
}

.download-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 16px;
}

.download-card.primary {
  background: linear-gradient(145deg, rgba(47, 107, 255, 0.24), rgba(25, 199, 181, 0.2));
  border-color: rgba(47, 107, 255, 0.5);
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-3);
}

.requirements {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.requirements > div {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.contact-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 6vw;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.testimonial-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 6vw;
}

.testimonial-card {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 12px;
}

.page-hero {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  padding: 88px 6vw 64px;
}

.page-hero-card {
  display: grid;
  align-content: start;
}

.compare {
  padding: 32px 0 64px;
}

.compare-table {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 8px;
  padding: 0 6vw;
}

.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--text-2);
}

.compare-row span:first-child {
  color: var(--text-1);
}

.compare-head {
  background: var(--surface);
  font-weight: 600;
  color: var(--text-1);
}

.cta-band {
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 24px 6vw;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.2), rgba(25, 199, 181, 0.16));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.status-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 96px 6vw 64px;
  display: grid;
  gap: 24px;
}

.status-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

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

.status-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.checkout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 6vw 64px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.checkout-panel {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 16px;
}

.checkout-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 28px;
}

.checkout-benefits {
  margin: 0;
  padding-left: 18px;
  color: var(--text-2);
}

.checkout-secure {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-3);
}

.checkout-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.support-hero,
.support-form,
.security-hero,
.security-details {
  padding: 88px 0 64px;
}

.support-grid,
.security-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 6vw;
}

.support-card,
.security-card {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 12px;
}

.form-panel {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 6vw;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-panel label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.form-panel input,
.form-panel select,
.form-panel textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(8, 16, 28, 0.6);
  color: var(--text-1);
  padding: 10px 12px;
  font-family: inherit;
}

.form-panel textarea {
  resize: vertical;
}

.form-status {
  grid-column: span 2;
  font-size: 12px;
  color: var(--text-3);
}

.form-status:empty {
  display: none;
}

.form-panel .full {
  grid-column: span 2;
}

.security-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  gap: 16px;
}

.security-list > div {
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-soft);
}

.legal {
  padding: 88px 0 64px;
}

.legal-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  gap: 12px;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 6vw 48px;
  border-top: 1px solid var(--border);
}

.footer span {
  color: var(--text-3);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--text-2);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(40px, 20px);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .workflow-steps,
  .faq-grid,
  .download-grid,
  .requirements,
  .trust-grid,
  .page-hero,
  .status-details,
  .testimonial-grid,
  .checkout,
  .support-grid,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav-actions {
    display: none;
  }

  .stats,
  .pricing-grid,
  .download-grid,
  .requirements,
  .trust-grid,
  .page-hero,
  .status-details,
  .testimonial-grid,
  .checkout,
  .support-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .feature-grid,
  .workflow-steps,
  .faq-grid,
  .download-grid,
  .requirements,
  .trust-grid,
  .page-hero,
  .status-details,
  .testimonial-grid,
  .checkout,
  .support-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    flex-direction: column;
    gap: 16px;
  }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-panel {
    grid-template-columns: 1fr;
  }

  .form-panel .full {
    grid-column: span 1;
  }
}
