:root {
  color-scheme: dark;
  --bg: #0f0a16;
  --surface: rgba(28, 18, 41, 0.85);
  --surface-strong: linear-gradient(160deg, rgba(48, 11, 118, 0.96), rgba(21, 14, 33, 0.96));
  --line: rgba(108, 79, 154, 0.58);
  --line-strong: rgba(145, 111, 226, 0.92);
  --ink: #f5f2ff;
  --muted: #c8bddf;
  --muted-strong: #e6dff8;
  --shadow: 0 28px 78px rgba(5, 2, 14, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(42rem 42rem at 8% -12%, rgba(124, 73, 210, 0.22) 0%, transparent 58%),
    radial-gradient(34rem 34rem at 96% 10%, rgba(74, 216, 255, 0.12) 0%, transparent 58%),
    linear-gradient(180deg, #15101f 0%, #0f0a16 100%);
  color: var(--ink);
  font-family: "Onest", "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: -0.014em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 110px 110px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.72), transparent 86%);
  opacity: 0.24;
}

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

.shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0 0;
}

.topbar-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

.surface {
  border: 1px solid var(--line);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(29, 18, 42, 0.88), rgba(20, 14, 30, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.surface-strong {
  background: var(--surface-strong);
  border-color: rgba(136, 102, 214, 0.62);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(112, 84, 164, 0.68);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.28em;
  white-space: nowrap;
}

.topnav,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.topnav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
  overflow: hidden;
  text-align: center;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 28%, rgba(255, 255, 255, 0.16) 50%, transparent 72%);
  transform: translateX(-150%);
  transition: transform 0.72s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translateX(140%);
}

.button-primary {
  border-color: rgba(139, 104, 214, 0.92);
  background: linear-gradient(180deg, #330a79 0%, #5a21bf 100%);
  box-shadow: 0 18px 36px rgba(25, 8, 57, 0.34);
}

.button-secondary {
  border-color: rgba(112, 84, 164, 0.78);
  background: rgba(18, 12, 27, 0.74);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.button-large {
  min-height: 58px;
  padding-inline: 24px;
}

.hero,
.section-space {
  padding-top: 22px;
}

.hero {
  display: block;
}

.hero-copy,
.feature-card,
.faq-card,
.final-panel {
  padding: 28px;
}

.pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pill-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.24);
  color: #bdf5dc;
}

.eyebrow {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.hero h1,
.section-head h2,
.final-panel h2 {
  margin: 18px 0 0;
  font-weight: 800;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(42px, 6.4vw, 72px);
}

.section-head h2,
.final-panel h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.hero-text,
.section-head p,
.feature-card p,
.plan-card p,
.faq-card p,
.final-panel p {
  color: var(--muted);
}

.hero-text {
  margin: 18px 0 0;
  font-size: clamp(17px, 2.2vw, 20px);
  max-width: 700px;
}

.hero-points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted-strong);
  font-size: 15px;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #57e7b1;
  box-shadow: 0 0 0 6px rgba(87, 231, 177, 0.14);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-help {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-help a,
.faq-card a {
  color: #d4c4ff;
}

.hero-copy {
  position: relative;
  overflow: hidden;
}

.hero-copy::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 53, 184, 0.24) 0%, transparent 70%);
  filter: blur(18px);
  animation: coreGlow 4.6s ease-in-out infinite;
  pointer-events: none;
}

.section-head {
  margin-bottom: 16px;
}

.section-head p {
  margin: 12px 0 0;
  max-width: 720px;
}

.feature-grid,
.faq-grid,
.plans-grid {
  display: grid;
  gap: 16px;
}

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

.feature-card,
.faq-card,
.plan-card {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.feature-card:hover,
.faq-card:hover,
.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #d6c8ff;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3,
.faq-card h3 {
  margin: 16px 0 0;
  font-size: 24px;
  line-height: 1.08;
}

.feature-card p,
.faq-card p {
  margin: 12px 0 0;
  font-size: 15px;
}

.service-strip {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(112, 84, 164, 0.54);
  background: rgba(18, 12, 27, 0.5);
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 600;
}

.service-strip-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(112, 84, 164, 0.54);
  background: rgba(18, 12, 27, 0.5);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 700;
}

.plans-wrap {
  padding-bottom: 6px;
}

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

.plan-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(112, 84, 164, 0.66);
  background: rgba(21, 14, 30, 0.82);
  box-shadow: var(--shadow);
}

.plan-card strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.02;
}

.plan-card p {
  margin: 12px 0 0;
  font-size: 15px;
}

.plan-card-highlight {
  border-color: rgba(152, 116, 228, 0.88);
  background: linear-gradient(180deg, rgba(51, 10, 121, 0.92), rgba(25, 16, 38, 0.94));
}

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

.final-block {
  padding-bottom: 28px;
}

.latest-news-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  padding: 24px;
}

.latest-news-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(112, 84, 164, 0.52);
  background: rgba(18, 12, 27, 0.62);
}

.latest-news-copy h3 {
  margin: 12px 0 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.04;
}

.latest-news-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.latest-news-meta {
  font-size: 14px !important;
  color: var(--muted-strong) !important;
}

.latest-news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.latest-news-actions {
  margin-top: 20px;
}

.final-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.final-panel p {
  margin: 14px 0 0;
  max-width: 690px;
  font-size: 16px;
}

.ambient {
  position: fixed;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(24px);
  opacity: 0.8;
  animation: drift 16s ease-in-out infinite;
}

.ambient-left {
  top: 92px;
  left: -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(133, 86, 219, 0.28), transparent 70%);
}

.ambient-right {
  top: 150px;
  right: -90px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(74, 216, 255, 0.16), transparent 70%);
  animation-delay: -5s;
}

.ambient-bottom {
  bottom: -120px;
  left: 48%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(95, 44, 176, 0.2), transparent 72%);
  animation-delay: -9s;
}

.mobile-dock {
  display: none;
}

.site-footer {
  padding: 0 0 32px;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.8fr);
  gap: 18px;
  padding: 24px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand-block p,
.footer-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--muted-strong);
  font-size: 15px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-meta {
  display: grid;
  align-content: start;
  gap: 10px;
}

.fade-in {
  animation: fadeIn 0.72s ease both;
}

.fade-up {
  animation: fadeUp 0.84s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.delayed {
  animation-delay: 0.12s;
}

.reveal-card {
  animation: fadeUp 0.88s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.feature-grid .reveal-card:nth-child(2),
.plans-grid .reveal-card:nth-child(2),
.faq-grid .reveal-card:nth-child(2) {
  animation-delay: 0.08s;
}

.feature-grid .reveal-card:nth-child(3),
.plans-grid .reveal-card:nth-child(3),
.faq-grid .reveal-card:nth-child(3) {
  animation-delay: 0.16s;
}

.feature-grid .reveal-card:nth-child(4),
.plans-grid .reveal-card:nth-child(4) {
  animation-delay: 0.24s;
}

.feature-grid .reveal-card:nth-child(5) {
  animation-delay: 0.32s;
}

.feature-grid .reveal-card:nth-child(6) {
  animation-delay: 0.4s;
}

.pulse-cta {
  animation: ctaPulse 4.4s ease-in-out infinite;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -20px, 0) scale(1.04);
  }
}

@keyframes coreGlow {
  0%, 100% {
    opacity: 0.55;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.04);
  }
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 18px 36px rgba(25, 8, 57, 0.34);
  }
  50% {
    box-shadow: 0 22px 48px rgba(82, 35, 171, 0.5);
  }
}

@media (max-width: 1080px) {
  .feature-grid,
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .latest-news-card,
  .footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  body::before {
    background-size: 82px 82px;
    opacity: 0.16;
  }

  .shell {
    width: min(100% - 20px, 1120px);
  }

  .topbar {
    display: none;
  }

  .topnav,
  .topbar-actions {
    display: none;
  }

  .feature-grid,
  .plans-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-copy,
  .feature-card,
  .faq-card,
  .plan-card,
  .final-panel,
  .latest-news-card,
  .footer-shell {
    padding: 22px;
  }

  .hero {
    padding-top: 16px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-text,
  .section-head p,
  .final-panel p {
    font-size: 16px;
  }

  .cta-row,
  .final-cta-row {
    width: 100%;
  }

  .cta-row .button,
  .final-cta-row .button {
    width: 100%;
  }

  .feature-card h3,
  .faq-card h3 {
    font-size: 22px;
  }

  body {
    padding-bottom: 92px;
  }

  .mobile-dock {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.15fr;
    gap: 8px;
    padding: 8px;
    border-radius: 24px;
    border: 1px solid rgba(112, 84, 164, 0.62);
    background: rgba(16, 10, 24, 0.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 20px 44px rgba(7, 2, 18, 0.4);
  }

  .mobile-dock-link {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--muted-strong);
    font-size: 14px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-dock-link-accent {
    background: linear-gradient(180deg, #330a79 0%, #5a21bf 100%);
    border-color: rgba(139, 104, 214, 0.92);
    color: var(--ink);
  }

  .site-footer {
    padding-bottom: 118px;
  }

  .latest-news-media img {
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
