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

:root {
  --bg: #050816;
  --bg-soft: #020617;
  --card: rgba(15, 23, 42, 0.95);
  --border-subtle: rgba(148, 163, 184, 0.35);
  --border-strong: rgba(148, 163, 184, 0.6);
  --text-main: #f9fafb;
  --text-soft: #cbd5f5;
  --text-muted: #9ca3af;
  --accent: #4ade80;
  --accent-soft: #22c55e;
  --accent-alt: #60a5fa;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 50%),
    radial-gradient(circle at bottom right, rgba(74, 222, 128, 0.18), transparent 55%),
    var(--bg);
  color: var(--text-main);
  line-height: 1.6;
}

/* NAVBAR */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 7vw;
  background: rgba(5, 8, 22, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-img {
  height: 36px;      /* controls how tall the logo looks */
  width: auto;       /* keeps proportions natural */
  border-radius: 20%;
  object-fit: contain;
}

.logo-bubble {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: radial-gradient(circle at 30% 0, var(--accent-alt), var(--accent));
  color: #020617;
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.7);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-weight: 650;
  letter-spacing: 0.02em;
  font-size: 1rem;
}

.logo-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.nav-right a {
  margin-left: 1rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: #e5e7eb;
  opacity: 0.9;
}

.nav-right a:hover {
  opacity: 1;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding: 3.8rem 7vw 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3vw + 1rem, 3.25rem);
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  color: var(--text-soft);
  max-width: 34rem;
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0.75rem;
}

/* PREMIUM BUTTON - Darker luxury gold */
.premium-btn {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff; /* white text now works perfectly */
  background: linear-gradient(
    135deg,
    #b8860b 0%,
    #c99700 30%,
    #dfb300 60%,
    #f5d670 100%
  );
  box-shadow:
    0 0 10px rgba(191, 150, 30, 0.6),
    0 0 18px rgba(240, 200, 90, 0.45);
  border: 1px solid rgba(255, 230, 160, 0.7);
  transition: all 0.2s ease-in-out;
  animation: premiumPulse 2.3s infinite ease-in-out;
}

/* Hover effect */
.premium-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 0 16px rgba(218, 165, 32, 0.8),
    0 0 30px rgba(245, 212, 120, 0.7);
}

/* Glow pulse animation */
@keyframes premiumPulse {
  0% {
    box-shadow: 0 0 8px rgba(218, 165, 32, 0.45);
  }
  50% {
    box-shadow: 0 0 18px rgba(245, 212, 120, 0.8);
  }
  100% {
    box-shadow: 0 0 8px rgba(218, 165, 32, 0.45);
  }
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, opacity 0.12s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-alt));
  color: #020617;
  font-weight: 600;
  box-shadow: 0 14px 35px rgba(34, 197, 94, 0.45);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(34, 197, 94, 0.6);
}

.btn.secondary {
  border-color: var(--border-strong);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.75);
}

.btn.secondary:hover {
  background: rgba(15, 23, 42, 0.95);
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* HERO CARD */
.hero-card {
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 55%),
    var(--card);
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.95);
  overflow: hidden;
}

.card-header {
  padding: 0.65rem 0.9rem;
  padding-left: 3.0rem; /* extra space so text doesn't overlap dots */
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  position: relative; /* so the dots can be positioned inside */
}

.card-header::before {
  content: "";
  position: absolute;
  left: 0.9rem;            /* position inside the header */
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.9);
  box-shadow:
    10px 0 0 rgba(251, 191, 36, 0.9),
    20px 0 0 rgba(52, 211, 153, 0.9);
}

.card-body {
  padding: 1rem;
}

.card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.card-script {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 14px;
  padding: 0.85rem;
  font-size: 0.9rem;
  border: 1px solid var(--border-subtle);
  position: relative;
  min-height: 80px;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--accent);
  margin-right: 4px;
  animation: blink 1s step-end infinite;
  vertical-align: middle;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.card-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* SECTIONS */
.section {
  padding: 3rem 7vw;
}

.section.alt {
  background: rgba(2, 6, 23, 0.92);
}

.section h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

.section-intro {
  max-width: 34rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.section-intro.small {
  font-size: 0.9rem;
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.feature {
  background: rgba(15, 23, 42, 0.96);
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid var(--border-subtle);
}

.feature h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
}

/* STEPS */
.steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.steps li {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #020617;
  flex-shrink: 0;
}

/* PILLS */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0.5rem;
}

.pill {
  font-size: 0.8rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.85);
}

/* SAFETY GRID */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.safety-grid h3 {
  margin-top: 0;
}

/* DOWNLOAD BOX */
.download-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18), transparent 55%),
    rgba(15, 23, 42, 0.96);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 30rem;
}

.download-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FOOTER */
.footer {
  padding: 1.5rem 7vw 2rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  margin-top: 2rem;
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2.8rem;
  }

  .hero-card {
    order: -1;
  }

  .nav-right {
    display: none;
  }
}
