/* ============================================================
   PRAE — REDESIGN
   Aesthetic: Sleek Black & White / Premium / Clean
   ============================================================ */

:root {
  --black: #000000;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --grey-100: #f0f0f0;
  --grey-200: #e0e0e0;
  --grey-400: #999999;
  --grey-600: #555555;
  --grey-800: #1a1a1a;
  --grey-900: #0d0d0d;
  --surface: #111111;
  --surface-2: #161616;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.2);
  --green: #22c55e;
  --green-dim: rgba(34,197,94,0.12);
  --font: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 99px; }

/* ---- CONTAINER ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.nav.scrolled {
  background: rgba(0,0,0,0.92);
}

.nav-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--white);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--grey-400);
  letter-spacing: 0.3px;
  transition: color var(--transition);
}

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

.nav-portal {
  color: var(--grey-400) !important;
}

.nav-download {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: var(--white);
  border: none;
  border-radius: 6px;
  color: var(--black);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-download:hover {
  background: var(--grey-100);
  transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 32px 80px;
  max-width: 1100px;
  margin: 0 auto;
  gap: 80px;
  position: relative;
}

.hero-noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  color: var(--grey-400);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 24px;
}

.line-reveal {
  display: block;
  overflow: hidden;
  animation: lineReveal 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.line-reveal.delay-1 { animation-delay: 0.12s; color: rgba(255,255,255,0.5); }

@keyframes lineReveal {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 1rem;
  color: var(--grey-400);
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 420px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.stat-label {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--grey-600);
  text-transform: uppercase;
}

.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--white);
  color: var(--black);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition);
}

.hero-cta:hover {
  background: var(--grey-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.12);
}

.hero-cta svg { transition: transform var(--transition); }
.hero-cta:hover svg { transform: translateX(3px); }

/* HERO VISUAL */
.hero-visual {
  flex: 1;
  max-width: 400px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s 0.2s ease both;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  top: -80px; right: -60px;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(34,197,94,0.08) 0%, transparent 70%);
  bottom: -40px; left: -40px;
  animation: orbFloat 6s 2s ease-in-out infinite;
}

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

.hero-card-float {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  z-index: 2;
  animation: cardFloat 6s ease-in-out infinite;
}

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

.hcard-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--grey-600);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.hcard-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.82rem;
  color: var(--grey-400);
}

.hcard-row:last-child { border-bottom: none; }

.badge-green {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--green);
  background: var(--green-dim);
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid rgba(34,197,94,0.2);
}

.badge-white {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border-radius: 99px;
  border: 1px solid var(--border);
}

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
.products, .features, .faq-section {
  padding: 100px 0;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--grey-600);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--grey-400);
  margin-bottom: 56px;
  max-width: 480px;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.featured-card {
  border-color: rgba(255,255,255,0.15);
}

.fc-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.pc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.pc-game-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--grey-600);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.roblox-badge { color: var(--white); border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.07); }

.pc-type {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--grey-600);
}

.pc-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.pc-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--green);
  margin-bottom: 20px;
}

.dot-green {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
}

.pc-features {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pc-features li {
  font-size: 0.85rem;
  color: var(--grey-400);
  padding-left: 16px;
  position: relative;
}

.pc-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--grey-600);
  border-radius: 50%;
}

.pc-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.pc-pricing.single-price { grid-template-columns: 1fr; }

.price-opt {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-opt:hover { border-color: var(--border-hover); }

.price-opt.selected {
  border-color: var(--white);
  background: rgba(255,255,255,0.04);
}

.price-opt.single { padding: 16px; }

.po-dur {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--grey-600);
  text-transform: uppercase;
}

.price-opt.selected .po-dur { color: var(--grey-400); }

.po-price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.po-save {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--green);
  text-transform: uppercase;
}

.pc-buy-btn {
  width: 100%;
  padding: 13px;
  background: var(--white);
  border: none;
  border-radius: 6px;
  color: var(--black);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.2px;
}

.pc-buy-btn:hover {
  background: var(--grey-100);
  transform: translateY(-1px);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.feat-card {
  background: var(--black);
  padding: 28px;
  transition: background var(--transition);
}

.feat-card:hover { background: var(--surface); }

.feat-icon {
  width: 32px; height: 32px;
  color: var(--grey-600);
  margin-bottom: 14px;
  transition: color var(--transition);
}

.feat-card:hover .feat-icon { color: var(--white); }

.feat-icon svg { width: 100%; height: 100%; }

.feat-card h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.feat-card p {
  font-size: 0.84rem;
  color: var(--grey-600);
  line-height: 1.7;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.faq-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 700px;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: background var(--transition);
}

.faq-q:hover { background: rgba(255,255,255,0.02); }

.faq-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--grey-600);
  transition: transform var(--transition), color var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--white);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  font-size: 0.88rem;
  color: var(--grey-400);
  line-height: 1.8;
  padding: 0 24px;
}

.faq-item.open .faq-a {
  max-height: 200px;
  padding: 0 24px 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--grey-600);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--grey-600);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.15s ease;
}

.modal-overlay.hidden { display: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  width: min(480px, 100%);
  position: relative;
  animation: modalUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modalUp {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.receipt-box { width: min(520px, 100%); }

.modal-close-btn {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--grey-400);
  transition: all var(--transition);
}

.modal-close-btn svg { width: 14px; height: 14px; }
.modal-close-btn:hover { background: rgba(255,255,255,0.1); color: var(--white); }

.modal-step.hidden { display: none; }

.modal-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--grey-600);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.modal-sub {
  font-size: 0.85rem;
  color: var(--grey-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-product-preview {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--grey-400);
  line-height: 1.7;
}

.modal-product-preview strong { color: var(--white); }

.modal-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition);
  margin-bottom: 10px;
}

.modal-input:focus { border-color: rgba(255,255,255,0.3); }

.modal-input::placeholder { color: var(--grey-600); }

.modal-error {
  font-size: 0.78rem;
  color: #ef4444;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: rgba(239,68,68,0.08);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-sm);
}

.modal-error.hidden { display: none; }

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* BUTTONS */
.btn-primary {
  padding: 11px 24px;
  background: var(--white);
  border: none;
  border-radius: 6px;
  color: var(--black);
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.2px;
}

.btn-primary:hover { background: var(--grey-100); transform: translateY(-1px); }
.btn-primary.full-width { width: 100%; }

.btn-ghost {
  padding: 11px 24px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--grey-400);
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-ghost:hover { border-color: var(--border-hover); color: var(--white); }

/* Email confirm */
.email-confirm-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

/* Download modal */
.dl-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
}

.dl-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.dl-opt:hover { border-color: var(--border-hover); background: rgba(255,255,255,0.05); }

.dl-opt-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.dl-opt-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--grey-600);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
}

.dl-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  color: var(--green);
  animation: successPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.dl-success-icon svg { width: 24px; height: 24px; }

@keyframes successPop {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Receipt */
.receipt-check {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--green);
  animation: successPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.receipt-check svg { width: 22px; height: 22px; }

.receipt-details {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--grey-400);
  line-height: 2;
}

.receipt-details .receipt-key {
  font-family: 'Space Grotesk', monospace;
  color: var(--white);
  font-size: 0.85rem;
  word-break: break-all;
  background: rgba(255,255,255,0.04);
  border: 1px dashed rgba(255,255,255,0.1);
  padding: 8px;
  border-radius: 4px;
  margin-top: 4px;
  display: block;
}

.receipt-steps {
  margin-bottom: 20px;
}

.rs-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--grey-600);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.receipt-steps ol {
  padding-left: 18px;
  font-size: 0.82rem;
  color: var(--grey-400);
  line-height: 2;
}

/* ============================================================
   ADMIN-COMPATIBLE OVERRIDES (admin pages use main.css too)
   ============================================================ */

/* admin base */
.admin-page {
  background: var(--black);
  min-height: 100vh;
  font-family: var(--font);
}

/* ============================================================
   CUSTOMER PORTAL
   ============================================================ */
.portal-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: var(--black);
}

.portal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  width: min(460px, 100%);
  position: relative;
  animation: modalUp 0.4s ease both;
}

.portal-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 4px;
}

.portal-subtitle {
  font-size: 0.75rem;
  color: var(--grey-600);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.portal-form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--grey-600);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.portal-input-wrap { margin-bottom: 16px; }

.portal-error {
  font-size: 0.8rem;
  color: #ef4444;
  padding: 10px 14px;
  background: rgba(239,68,68,0.07);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero { flex-direction: column; padding-top: 90px; gap: 48px; }
  .hero-visual { max-width: 100%; width: 100%; }
  .hero-title { font-size: 3rem; }
  .nav-links { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}
