﻿:root {
  --black: #070707;
  --black-soft: #111111;
  --red: #d4142f;
  --red-glow: #ff2d4f;
  --white: #ffffff;
  --panel: rgba(17, 17, 17, 0.92);
  --yellow: #ffd400;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  background:
    radial-gradient(circle at 20% 10%, rgba(212,20,47,0.28), transparent 35%),
    radial-gradient(circle at 80% 15%, rgba(212,20,47,0.18), transparent 30%),
    linear-gradient(180deg, #080808 0%, #0f0f0f 42%, #060606 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 4px);
  opacity: 0.2;
}

header {
  position: relative;
  padding: 1.2rem 1rem 1.8rem;
  border-bottom: 1px solid rgba(212,20,47,0.6);
  background: linear-gradient(180deg, rgba(212,20,47,0.16), rgba(0,0,0,0.88));
  overflow: hidden;
}

.marquee {
  position: relative;
  border: 1px solid rgba(212,20,47,0.85);
  border-radius: 16px;
  padding: 1rem;
  background: rgba(5,5,5,0.88);
  box-shadow: 0 0 0 1px rgba(255,45,79,0.25), 0 0 36px rgba(212,20,47,0.38);
  overflow: hidden;
}

.brand-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 760px);
  margin: 0 auto 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 24px rgba(255,45,79,0.34);
}

.marquee h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  text-shadow: 0 0 10px rgba(255,45,79,0.75);
}

.blink-title { animation: title-blink 0.68s steps(2, end) infinite; }

.tagline {
  position: relative;
  z-index: 2;
  margin-top: 0.35rem;
  text-align: center;
  font-size: 1.45rem;
  color: var(--white);
  letter-spacing: 0.1em;
}

.lights {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.lights span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--red-glow);
  box-shadow: 0 0 16px rgba(255,45,79,0.95);
  animation: blink 1.2s infinite;
}

.lights span:nth-child(odd) { animation-delay: 0.55s; }

.space-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.star,
.asteroid,
.galaxy,
.float-icon,
.ship,
.planet,
.constellation,
.shooting-star {
  position: absolute;
  will-change: transform, opacity;
}

.star {
  width: 3px;
  height: 3px;
  background: #fff;
  box-shadow: 0 0 10px #fff;
  animation: twinkle 1.4s infinite ease-in-out;
}

.asteroid {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #aaa, #2d2d2d);
  box-shadow: 0 0 12px rgba(255,255,255,0.35);
  animation: drift 10s linear infinite;
}

.galaxy {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid rgba(255,45,79,0.5);
  box-shadow: 0 0 30px rgba(255,45,79,0.45);
  animation: spin 11s linear infinite;
}

.planet {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 25% 25%, #ffd4db, #951326);
  box-shadow: 0 0 20px rgba(255,120,140,0.6);
  animation: bob 5s ease-in-out infinite;
}

.ship {
  font-size: 2.2rem;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.55));
  animation: ship-fly 8s linear infinite;
}

.float-icon {
  font-size: 2rem;
  opacity: 0.85;
  animation: bob 4s ease-in-out infinite;
}

.constellation {
  width: 110px;
  height: 60px;
  border-top: 2px dashed rgba(255,255,255,0.5);
  border-bottom: 2px dashed rgba(255,255,255,0.25);
  border-radius: 18px;
  opacity: 0.7;
  animation: drift-slow 14s linear infinite;
}

.shooting-star {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.95));
  box-shadow: 0 0 12px rgba(255,255,255,0.8);
  transform: rotate(-18deg);
  animation: shoot 4s linear infinite;
}

nav {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

a { color: var(--white); }

nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.58rem 0.92rem;
  border-radius: 999px;
  border: 1px solid rgba(212,20,47,0.72);
  background: rgba(212,20,47,0.2);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  font-size: 1.1rem;
  font-weight: 800;
}

nav a:hover,
nav a.active {
  transform: translateY(-1px);
  background: rgba(212,20,47,0.45);
  box-shadow: 0 0 12px rgba(255,45,79,0.35);
}

.trial-sidebar {
  position: fixed;
  left: 10px;
  top: 180px;
  width: 280px;
  z-index: 30;
  border: 2px solid rgba(255,212,0,0.85);
  border-radius: 16px;
  background: rgba(10,10,10,0.95);
  box-shadow: 0 0 18px rgba(255,212,0,0.5);
  padding: 0.8rem;
}

.trial-lights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.trial-lights span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 14px rgba(255,212,0,0.95);
  animation: trial-blink 0.45s infinite;
}

.trial-lights span:nth-child(odd) { animation-delay: 0.2s; }

.trial-title {
  font-size: 1.7rem;
  margin: 0.25rem 0;
  color: #fff6bf;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  animation: trial-text-blink 0.6s steps(2, end) infinite;
}

.trial-note {
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
}

.trial-btn {
  display: inline-block;
  margin-top: 0.7rem;
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 900;
  padding: 0.75rem;
  color: #1e1300;
  background: linear-gradient(90deg, #ffd400, #ffe777);
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.6);
}

main {
  max-width: 1060px;
  margin: 2rem auto;
  padding: 0 1rem 2rem;
}

body.has-trial-sidebar main { margin-left: 320px; }

.card {
  background: var(--panel);
  border: 1px solid rgba(212,20,47,0.55);
  border-radius: 16px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 14px 28px rgba(0,0,0,0.45);
}

h2, h3 {
  margin-top: 0;
  color: var(--white);
  letter-spacing: 0.02em;
  font-size: 1.8rem;
  font-weight: 900;
}

p, li, a, label, input, textarea, button, th, td {
  color: var(--white);
  font-size: 1.22rem;
  line-height: 1.62;
  font-weight: 800;
}

ul { padding-left: 1.2rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.cta,
button,
.payment-btn {
  display: inline-block;
  margin-top: 0.6rem;
  text-decoration: none;
  background: linear-gradient(90deg, #aa1025, #d4142f);
  color: #fff;
  padding: 0.8rem 1.15rem;
  border-radius: 10px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  font-size: 1.2rem;
}

form {
  display: grid;
  gap: .75rem;
}

input, textarea {
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.28);
  padding: .8rem;
  font: inherit;
  background: rgba(255,255,255,0.08);
}

textarea { resize: vertical; }
button { cursor: pointer; }

.plan-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.7rem;
  border: 1px solid rgba(212,20,47,0.45);
  border-radius: 12px;
  overflow: hidden;
}

.plan-table th,
.plan-table td {
  padding: 0.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}

.plan-table th {
  background: rgba(212,20,47,0.2);
}

.price { font-weight: 900; }

.pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
  margin-top: 0.8rem;
}

.payment-note {
  font-size: 3.2rem;
  line-height: 1.3;
  margin-top: 1rem;
}

.emoji-row {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 4.2rem;
  line-height: 1;
  vertical-align: middle;
}

.thank-you {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(212,20,47,0.16);
  border: 1px solid rgba(212,20,47,0.6);
  border-radius: 14px;
}

footer {
  text-align: center;
  color: rgba(255,255,255,0.88);
  padding: 1.5rem 1rem 2.7rem;
  border-top: 1px solid rgba(212,20,47,0.6);
}

@keyframes blink {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes title-blink {
  0%, 45% { opacity: 1; }
  50%, 62% { opacity: 0.28; }
  65%, 100% { opacity: 1; }
}

@keyframes trial-blink {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes trial-text-blink {
  0%, 40% { opacity: 1; }
  50%, 60% { opacity: 0.35; }
  65%, 100% { opacity: 1; }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.45); }
}

@keyframes drift {
  0% { transform: translate(-40px, 40px); opacity: 0; }
  12% { opacity: 0.95; }
  100% { transform: translate(120vw, -60px); opacity: 0; }
}

@keyframes drift-slow {
  0% { transform: translateX(-30px); opacity: 0; }
  15% { opacity: 0.75; }
  100% { transform: translateX(120vw); opacity: 0; }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes ship-fly {
  0% { transform: translate(-24vw, 80px) rotate(-10deg); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(112vw, -30px) rotate(8deg); opacity: 0; }
}

@keyframes shoot {
  0% { transform: translate(-20vw, 10px) rotate(-18deg); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(120vw, -80px) rotate(-18deg); opacity: 0; }
}

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

.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: appear .7s ease forwards;
}
.fade-in:nth-child(2) { animation-delay: .12s; }
.fade-in:nth-child(3) { animation-delay: .24s; }
.fade-in:nth-child(4) { animation-delay: .36s; }
@keyframes appear { to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  body.has-trial-sidebar main { margin-left: 0; }
  .trial-sidebar {
    position: static;
    width: auto;
    margin: 0.75rem 1rem;
  }
}

@media (max-width: 680px) {
  body { font-size: 18px; }
  nav a { font-size: 1rem; }
  .card { padding: 1rem; }
  .emoji-row { font-size: 3rem; }
  .payment-note { font-size: 2.1rem; }
  .brand-logo { width: 100%; }
}
