@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* =========================================================
   Design tokens
   ========================================================= */
:root {
  --bg: #05060d;
  --bg-elev: #0b0d18;
  --text: #e8ecff;
  --text-muted: #8b93b0;
  --border: rgba(255, 255, 255, 0.08);

  --cyan: #00e5ff;
  --magenta: #ff3db5;
  --gradient: linear-gradient(90deg, var(--cyan), var(--magenta));

  --radius: 12px;
  --max-w: 1200px;
  --header-h: 72px;
}

/* =========================================================
   Reset + base
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Ambient space glow — cyan top-left, magenta bottom-right */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 0%, rgba(0, 229, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(255, 61, 181, 0.15), transparent 60%),
    radial-gradient(ellipse 100% 60% at 50% 50%, rgba(10, 12, 30, 0.4), transparent 70%);
}

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

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(5, 6, 13, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Thin neon gradient strip under the header */
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 229, 255, 0.85) 25%,
    rgba(255, 61, 181, 0.85) 75%,
    transparent 100%
  );
  pointer-events: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.logo-mark {
  height: 56px;
  width: auto;
  display: block;
  transform: translateY(4px);
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo:hover {
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.6))
          drop-shadow(0 0 20px rgba(255, 61, 181, 0.35));
  transform: translateY(-1px);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.5),
              0 0 20px rgba(0, 229, 255, 0.25);
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(80px, 14vh, 160px) clamp(20px, 5vw, 48px);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.25));
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  color: #05060d;
  background: var(--gradient);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.4),
              0 10px 30px rgba(255, 61, 181, 0.25),
              0 0 40px rgba(0, 229, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.8),
              0 14px 40px rgba(255, 61, 181, 0.4),
              0 0 60px rgba(0, 229, 255, 0.35);
}

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

.btn-ghost:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.4),
              0 0 24px rgba(0, 229, 255, 0.15);
  transform: translateY(-2px);
}

/* =========================================================
   Pricing
   ========================================================= */
.pricing {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 8vh, 100px) clamp(20px, 5vw, 48px) clamp(80px, 14vh, 160px);
}

.pricing-head {
  text-align: center;
  margin-bottom: clamp(48px, 7vh, 80px);
}

.pricing-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.pricing-sub {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

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

/* --- Card base --- */
.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px;
  background: rgba(11, 13, 24, 0.55);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.tier:hover {
  transform: translateY(-4px);
}

.tier-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.tier-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 2.8em;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}

.feature-list li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.45;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2300e5ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8 7 12 13 4'/></svg>") no-repeat center/contain;
}

.tier-cta {
  width: 100%;
  margin-top: auto;
}

/* --- Gold: warm, entry-tier feel --- */
.tier-gold .tier-name {
  background: linear-gradient(90deg, #f5c26b, #ffd89a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tier-gold .feature-list li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f5c26b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8 7 12 13 4'/></svg>");
}

.tier-gold .tier-cta {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.tier-gold .tier-cta:hover {
  border-color: #f5c26b;
  box-shadow: 0 0 0 1px rgba(245, 194, 107, 0.45),
              0 0 24px rgba(245, 194, 107, 0.18);
  transform: translateY(-2px);
}

.tier-gold:hover {
  border-color: rgba(245, 194, 107, 0.35);
}

/* --- Diamond: featured, cyan+magenta signature --- */
.tier-diamond {
  background: linear-gradient(180deg,
              rgba(0, 229, 255, 0.08) 0%,
              rgba(255, 61, 181, 0.04) 50%,
              rgba(11, 13, 24, 0.7) 100%);
  border-color: rgba(0, 229, 255, 0.35);
  transform: scale(1.04);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.25),
    0 20px 60px rgba(0, 229, 255, 0.18),
    0 0 80px rgba(255, 61, 181, 0.12);
  z-index: 2;
}

.tier-diamond:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.55),
    0 26px 70px rgba(0, 229, 255, 0.28),
    0 0 100px rgba(255, 61, 181, 0.22);
}

.tier-diamond .tier-name {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.3));
}

.tier-diamond .tier-cta {
  color: #05060d;
  background: var(--gradient);
  border: none;
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.4),
    0 10px 30px rgba(255, 61, 181, 0.25),
    0 0 40px rgba(0, 229, 255, 0.2);
}

.tier-diamond .tier-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.8),
    0 14px 40px rgba(255, 61, 181, 0.4),
    0 0 60px rgba(0, 229, 255, 0.35);
}

.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #05060d;
  background: var(--gradient);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.5),
              0 0 40px rgba(255, 61, 181, 0.25);
  white-space: nowrap;
}

/* --- Dark Matter: elite, deep violet --- */
.tier-darkmatter {
  background: linear-gradient(180deg,
              rgba(76, 29, 149, 0.22) 0%,
              rgba(30, 10, 60, 0.35) 40%,
              rgba(5, 6, 13, 0.9) 100%);
  border-color: rgba(168, 85, 247, 0.22);
}

.tier-darkmatter:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.35),
    0 20px 60px rgba(168, 85, 247, 0.22),
    0 0 80px rgba(124, 58, 237, 0.18);
}

.tier-darkmatter .tier-name {
  background: linear-gradient(90deg, #a855f7, #d8b4fe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.35));
}

.tier-darkmatter .feature-list li::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23c084fc' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8 7 12 13 4'/></svg>");
}

.tier-darkmatter .tier-cta {
  color: #ffffff;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  border: 1px solid rgba(168, 85, 247, 0.45);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.35),
    0 10px 30px rgba(124, 58, 237, 0.25),
    0 0 40px rgba(168, 85, 247, 0.18);
}

.tier-darkmatter .tier-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(168, 85, 247, 0.85),
    0 14px 40px rgba(124, 58, 237, 0.45),
    0 0 60px rgba(168, 85, 247, 0.35);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 48px 24px;
    max-width: 440px;
    margin: 0 auto;
  }
  .tier-diamond,
  .tier-diamond:hover {
    transform: none;
  }
  .tier-diamond:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 600px) {
  .nav a:not(.nav-cta) {
    display: none;
  }
  .logo-mark {
    height: 44px;
  }
  .logo-text {
    font-size: 1rem;
  }
}
