:root {
  --bg: #050816;
  --deep: #0b1026;
  --card: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.16);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted2: #94a3b8;
  --cyan: #22d3ee;
  --purple: #7c3aed;
  --gold: #facc15;
  --green: #34d399;
  --red: #fb7185;
  --max: 1180px;
  --radius: 28px;
  --header: 78px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.space-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  background:
    radial-gradient(circle at 80% 15%, rgba(124, 58, 237, 0.28), transparent 32%),
    radial-gradient(circle at 15% 60%, rgba(34, 211, 238, 0.16), transparent 34%),
    linear-gradient(180deg, #050816, #070b1f 55%, #050816);
  overflow: hidden;
}

.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.85) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(34,211,238,.7) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(250,204,21,.45) 1px, transparent 1.5px);
  background-size: 82px 82px, 137px 137px, 220px 220px;
  background-position: 0 0, 33px 61px, 110px 40px;
  opacity: .65;
  animation: starsMove 100s linear infinite;
}

.nebula {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .45;
}

.nebula-a { top: -160px; right: -120px; background: rgba(124, 58, 237, .7); }
.nebula-b { bottom: 10%; left: -180px; background: rgba(34, 211, 238, .35); }

@keyframes starsMove { to { transform: translate(-220px, 180px); } }

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

header {
  height: var(--header);
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: .25s ease;
}

header.scrolled {
  background: rgba(5, 8, 22, .78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

nav {
  width: min(var(--max), calc(100% - 36px));
  margin: auto;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -.04em;
}

.logo span {
  width: 28px;
  height: 28px;
  display: inline-block;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  box-shadow: 0 0 24px rgba(34,211,238,.5);
  position: relative;
}

.logo span::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(34,211,238,.35);
  border-radius: 14px;
  transform: rotate(20deg);
}

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 700; font-size: .94rem; }
.nav-links a:hover { color: white; }

.nav-cta {
  color: white !important;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.08);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.08);
}

.menu-btn i {
  display: block;
  width: 18px;
  height: 2px;
  background: white;
  margin: 4px auto;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: auto;
  padding: 112px 0;
}

.hero {
  min-height: 100vh;
  padding-top: 140px;
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  color: #9ae6ff;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  font-size: .78rem;
}

h1, h2 { letter-spacing: -.075em; line-height: .95; }
h1 { font-size: clamp(3.7rem, 8vw, 7.2rem); margin-top: 18px; }
h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); margin-top: 18px; }

.hero-sub, .section-head p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 730px;
  margin-top: 22px;
}

.hero-buttons {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 0;
  font-weight: 900;
  cursor: pointer;
  transition: .22s ease;
  text-align: center;
}

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

.primary {
  background: linear-gradient(135deg, #f8fafc, #a5f3fc);
  color: #06111f;
  box-shadow: 0 0 32px rgba(34,211,238,.35);
}

.secondary {
  color: white;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.08);
}

.mini-stats {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-stats div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(12px);
}

.mini-stats strong, .mini-stats span { display: block; }
.mini-stats span { color: var(--muted2); font-size: .86rem; }

.hero-art {
  position: relative;
  min-height: 610px;
}

.planet-only {
  min-height: 590px;
  animation: planetSystemFloat 5s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotateX(63deg);
}

.ring-1 {
  width: 620px;
  height: 620px;
  z-index: 1;
  border: 1px solid rgba(255,255,255,.16);
}

.ring-2 {
  width: 470px;
  height: 470px;
  z-index: 1;
  border: 1px solid rgba(34,211,238,.32);
}

.ring-3 {
  width: 320px;
  height: 320px;
  z-index: 1;
  border: 1px solid rgba(124,58,237,.42);
}

.planet {
  position: absolute;
  width: 235px;
  height: 235px;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, white 0 8%, transparent 15%),
    linear-gradient(135deg, var(--cyan), var(--purple) 65%, #111827);
  box-shadow: inset -28px -28px 48px rgba(0,0,0,.35), 0 0 85px rgba(124,58,237,.65);
}

.planet-only::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 470px;
  height: 470px;
  z-index: 4;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotateX(63deg);
  border: 1px solid transparent;
  border-bottom-color: rgba(34,211,238,.75);
  border-left-color: rgba(34,211,238,.45);
  border-right-color: rgba(34,211,238,.45);
  border-top-color: rgba(34,211,238,.05);
}

.planet-only::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 320px;
  height: 320px;
  z-index: 5;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotateX(63deg);
  border: 1px solid transparent;
  border-bottom-color: rgba(124,58,237,.85);
  border-left-color: rgba(124,58,237,.55);
  border-right-color: rgba(124,58,237,.55);
  border-top-color: rgba(124,58,237,.06);
}

.gold-star {
  position: absolute;
  top: 12%;
  right: 32%;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(250,204,21,.7);
  z-index: 6;
}

.section-head { margin-bottom: 44px; }
.grid { display: grid; gap: 22px; }
.four { grid-template-columns: repeat(4, 1fr); }
.three { grid-template-columns: repeat(3, 1fr); }
.six { grid-template-columns: repeat(3, 1fr); }

.card, .price-card, .review, .step, .contact-form, .dashboard-mock, .guarantee-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(34,211,238,.11), transparent 36%),
    linear-gradient(145deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  backdrop-filter: blur(18px);
}

.card, .guarantee-card {
  padding: 28px;
  min-height: 220px;
  transition: .22s ease;
}

.guarantee-card { min-height: 170px; }

.card:hover, .review:hover, .price-card:hover, .guarantee-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34,211,238,.42);
}

.guarantee-card h3, .card h3 { margin-bottom: 10px; }
.guarantee-card p, .card p, .review p, .step p { color: var(--muted); }

.icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.25);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.service-showcase { margin-bottom: 28px; }

.dashboard-mock {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
  padding: 24px;
}

.mock-panel {
  min-height: 120px;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  background: rgba(255,255,255,.055);
}

.mock-panel.large {
  min-height: 170px;
  background:
    radial-gradient(circle at 75% 30%, rgba(124,58,237,.35), transparent 32%),
    rgba(255,255,255,.06);
}

.mock-panel span, .mock-panel strong { display: block; }
.mock-panel span { color: var(--cyan); font-weight: 900; margin-bottom: 10px; }

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

.price-card {
  position: relative;
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: rgba(34,211,238,.5);
  box-shadow: 0 0 70px rgba(34,211,238,.16);
}

.badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fde68a;
  border: 1px solid rgba(250,204,21,.42);
  background: rgba(250,204,21,.1);
  font-weight: 900;
  font-size: .78rem;
}

.price-card h3 { font-size: 1.3rem; }

.price {
  font-size: clamp(3.2rem, 5vw, 4.25rem);
  letter-spacing: -.08em;
  line-height: 1;
  font-weight: 900;
  margin: 24px 0 14px;
}

.pay { color: #a5f3fc; font-weight: 900; }
.deposit, .summary, .pricing-note { color: var(--muted); }
.summary { margin: 18px 0; }

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

.price-card li {
  color: var(--muted);
  padding-left: 28px;
  position: relative;
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 900;
}

.price-card .btn {
  width: 100%;
  margin-top: 12px;
}

.price-card .secondary { margin-top: 10px; }

.pricing-note {
  max-width: 940px;
  margin: 28px auto 0;
  text-align: center;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review {
  padding: 24px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.review div { color: var(--gold); margin-bottom: 14px; }
.review h3 { margin-top: auto; padding-top: 18px; }
.review span { color: var(--muted2); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step { padding: 28px; }

.step span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #06111f;
  background: linear-gradient(135deg, var(--cyan), white);
  font-weight: 900;
  margin-bottom: 22px;
}

.contact { max-width: 820px; }
.contact-form { padding: 32px; }

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 18px;
}

input, select, textarea {
  width: 100%;
  color: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  outline: none;
  background: rgba(5,8,22,.55);
}

input:focus, select:focus, textarea:focus {
  border-color: rgba(34,211,238,.65);
  box-shadow: 0 0 0 4px rgba(34,211,238,.12);
}

.error input, .error select, .error textarea { border-color: var(--red); }
.hidden { display: none !important; }

.form-message {
  min-height: 24px;
  font-weight: 900;
  margin: 8px 0 18px;
}

.form-message.error { color: var(--red); }
.form-message.success { color: var(--green); }
.submit-btn { width: 100%; }

footer {
  width: min(var(--max), calc(100% - 36px));
  margin: auto;
  border-top: 1px solid var(--border);
  padding: 52px 0 70px;
  color: var(--muted);
}

footer p { margin: 14px 0; }

footer div {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 18px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: .7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .four, .three, .pricing-grid, .review-grid, .six { grid-template-columns: repeat(2, 1fr); }
  .timeline, .dashboard-mock { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .menu-btn { display: block; }

  .nav-links {
    position: fixed;
    top: var(--header);
    left: 18px;
    right: 18px;
    display: grid;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(5,8,22,.94);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: .22s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a { padding: 12px; }
  .section { padding: 82px 0; }
  .hero { padding-top: 120px; }

  .four, .three, .pricing-grid, .review-grid, .timeline, .dashboard-mock, .mini-stats, .six {
    grid-template-columns: 1fr;
  }

  .planet-only { min-height: 460px; }

  .ring-1 { width: 390px; height: 390px; }
  .ring-2, .planet-only::before { width: 290px; height: 290px; }
  .ring-3, .planet-only::after { width: 200px; height: 200px; }

  .planet {
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 3.4rem; }
  .hero-buttons { display: grid; }
  .btn { width: 100%; }
  .price-card, .contact-form { padding: 24px; }
}
