/* ==============================================================================
   stars.lol — Minimalist High-End Dark Interface
   Aesthetic: Raw obsidian, hairline borders, Geist/Inter typography, zero AI fluff
   ============================================================================== */

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

:root {
  --bg: #09090b;
  --bg-subtle: #111115;
  --surface: #141419;
  --surface-card: #121217;
  --surface-hover: #181820;

  --border: rgba(255, 255, 255, 0.07);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-focus: #8b5cf6;

  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-faint: #52525b;

  --accent: #8b5cf6;
  --accent-light: #a78bfa;
  --accent-bg: rgba(139, 92, 246, 0.08);
  --accent-border: rgba(139, 92, 246, 0.25);

  --emerald: #10b981;
  --emerald-bg: rgba(16, 185, 129, 0.08);
  --emerald-border: rgba(16, 185, 129, 0.2);

  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Geist Mono', monospace;
  --radius: 12px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: var(--bg);
}

/* Very subtle organic background, not overdone */
.ambient-radial {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 480px;
  background: radial-gradient(circle 500px at 50% 0%, rgba(139, 92, 246, 0.08), transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.ambient-noise {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  padding: 16px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.3px;
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.15s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Minimalist Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: #f4f4f5;
  color: #09090b;
}

.btn-primary:hover {
  background: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn-outline:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.btn-lg {
  padding: 11px 22px;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
  padding: 10px 18px;
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: #34d399;
}

.status-dot-sm {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
}

/* Hero Section */
.hero {
  padding: 90px 0 70px;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-tag span {
  color: var(--accent-light);
  font-weight: 500;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: #ffffff;
  max-width: 760px;
  margin: 0 auto 18px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Section Common */
.section {
  padding: 70px 0;
}

.section-head {
  margin-bottom: 36px;
  text-align: left;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: block;
  margin-bottom: 6px;
}

.section-h2 {
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.section-p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  background: var(--surface-hover);
}

.pricing-card.featured {
  background: #14141e;
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.featured-pill {
  position: absolute;
  top: -11px;
  right: 20px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
}

.card-tier {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

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

.card-currency {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.card-price {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: #ffffff;
}

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

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.card-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 9px;
}

.card-features li svg {
  color: var(--accent-light);
  flex-shrink: 0;
}

/* Feature List (Clean & Technical, No Emojis) */
.features-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
}

.feature-panel {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s ease;
}

.feature-panel:hover {
  border-color: var(--border-hover);
}

.feature-icon-svg {
  width: 22px;
  height: 22px;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.feature-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.feature-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Status Table */
.status-panel {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.status-table {
  width: 100%;
  border-collapse: collapse;
}

.status-table th {
  text-align: left;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.status-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.status-table tr:last-child td {
  border-bottom: none;
}

.status-table td strong {
  color: var(--text-primary);
  font-weight: 500;
}

.status-tag-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #34d399;
}

.status-tag-active::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

/* Checkout Modal */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background: #111115;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 30px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-close-btn:hover {
  color: #fff;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-field input,
.form-field select {
  width: 100%;
  background: #18181f;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--accent);
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 30px;
  margin-top: 80px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-faint);
}

@media (max-width: 860px) {
  .pricing-grid,
  .features-container {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .nav-menu {
    display: none;
  }
}


/* Payment Flow Enhancements: Crypto & Gift Cards */
.pay-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.pay-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.pay-tab-btn.active {
  background: #22222d;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.crypto-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.crypto-coin-btn {
  flex: 1;
  background: #181820;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 6px;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-mono);
  text-align: center;
}

.crypto-coin-btn.active {
  border-color: var(--accent);
  color: #fff;
  background: rgba(139, 92, 246, 0.15);
}

.wallet-box {
  background: #0d0d12;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 16px;
}

.wallet-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 6px;
}

.wallet-address-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallet-address {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #f4f4f5;
  word-break: break-all;
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.copy-btn {
  background: #272732;
  border: 1px solid var(--border-hover);
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.copy-btn:hover {
  background: var(--accent);
}

.giftcard-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.giftcard-badge {
  background: #181820;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px;
  font-size: 0.82rem;
  text-align: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-weight: 500;
}

.giftcard-badge.active {
  border-color: var(--accent);
  color: #fff;
  background: rgba(139, 92, 246, 0.15);
}
