/* ==========================================================================
   OFRX PREMIUM ACCESS STORE
   Style: NEUBRUTALISM (storefront) + LIQUID GLASS (checkout modal)
   Developer: angel icat salmanbot • Channel: t.me/ofrxinfo
   ========================================================================== */

/* ─── RESET & BASE ─────────────────────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Neobrutalism palette */
  --bg: #FFFBF5;
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --accent: #FF3D00;       /* vermillion */
  --accent-2: #FFD60A;     /* daisy */
  --accent-3: #00E5A0;     /* mint */
  --accent-4: #6C5CE7;     /* iris */
  --accent-5: #FF2D92;     /* magenta */
  --accent-6: #00B8FF;     /* sky */

  /* Glass palette */
  --glass-bg: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  --glass-blur: 22px;

  /* Typography */
  --font-display: 'Archivo Black', 'Space Grotesk', sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Lines */
  --line: 3px solid var(--ink);
  --line-thick: 5px solid var(--ink);
  --shadow-brutal: 6px 6px 0 var(--ink);
  --shadow-brutal-lg: 10px 10px 0 var(--ink);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* ─── AMBIENT BACKGROUND ──────────────────────────────────────────────────── */
.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 61, 0, 0.08) 0, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(108, 92, 231, 0.08) 0, transparent 40%),
    var(--bg);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blob-float 20s ease-in-out infinite;
}
.blob-1 {
  width: 500px; height: 500px;
  background: var(--accent);
  top: -10%; left: -10%;
}
.blob-2 {
  width: 600px; height: 600px;
  background: var(--accent-4);
  bottom: -20%; right: -10%;
  animation-delay: -7s;
}
.blob-3 {
  width: 400px; height: 400px;
  background: var(--accent-3);
  top: 40%; left: 50%;
  animation-delay: -14s;
}
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(50px, -30px) scale(1.1); }
  66%      { transform: translate(-30px, 50px) scale(0.9); }
}
.grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ─── NAVBAR ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -1px;
  background: var(--ink);
  color: var(--accent-2);
  padding: 2px 10px;
  border: var(--line);
  box-shadow: 4px 4px 0 var(--accent);
  display: inline-block;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
  opacity: 0.7;
}
.nav-links { display: flex; gap: 20px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width .25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 10px 16px;
  border: var(--line);
  box-shadow: 4px 4px 0 var(--accent);
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--accent);
}
.nav-cta:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--accent); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
}

/* ─── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 60px;
}
.hero-inner {
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: var(--accent-2);
  border: var(--line);
  padding: 8px 16px;
  box-shadow: 4px 4px 0 var(--ink);
  margin-bottom: 32px;
}
.pulse {
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -2px;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.hero-title span { display: block; }
.line-1 { color: var(--ink); }
.line-2 {
  color: var(--accent);
  text-shadow: 6px 6px 0 var(--ink);
}
.line-3 {
  color: var(--ink);
  font-size: 0.5em;
  letter-spacing: -1px;
  margin-top: 16px;
}
.line-3 em {
  font-style: normal;
  color: var(--accent-4);
  text-decoration: underline wavy var(--accent);
  text-underline-offset: 8px;
}
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  max-width: 640px;
  margin: 0 auto 40px;
  color: rgba(10, 10, 10, 0.75);
}
.hero-sub strong { color: var(--ink); }
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* ─── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: var(--line);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
  text-transform: uppercase;
  user-select: none;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--accent); color: var(--paper); }
.btn-primary:hover { background: #FF5722; }
.btn-ghost { background: var(--paper); }
.btn-ghost:hover { background: var(--accent-2); }
.btn-block { width: 100%; }
.btn-text {
  background: transparent;
  border: none;
  box-shadow: none;
  text-decoration: underline;
  padding: 12px;
}
.btn-text:hover { background: transparent; box-shadow: none; transform: none; }

/* ─── HERO STATS ──────────────────────────────────────────────────────────── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}
.stat {
  background: var(--paper);
  border: var(--line);
  padding: 20px;
  box-shadow: 5px 5px 0 var(--ink);
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 36px);
  color: var(--accent);
  display: block;
  line-height: 1;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-top: 8px;
  display: block;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .hero-stats { grid-template-columns: 1fr; gap: 12px; }
  .stat { padding: 14px; }
}

/* ─── MARQUEE ─────────────────────────────────────────────────────────────── */
.marquee {
  background: var(--ink);
  color: var(--accent-2);
  border-top: var(--line);
  border-bottom: var(--line);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 40px;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SECTION ─────────────────────────────────────────────────────────────── */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-alt {
  background: var(--ink);
  color: var(--paper);
  max-width: none;
  margin: 0;
  padding-left: max(24px, calc((100vw - 1280px) / 2));
  padding-right: max(24px, calc((100vw - 1280px) / 2));
}
.section-alt .section-head .kicker { color: var(--accent-2); }
.section-alt .section-title { color: var(--paper); }
.section-alt .section-title em { color: var(--accent); font-style: normal; }
.section-alt .section-desc { color: rgba(255, 255, 255, 0.7); }
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title em { font-style: normal; color: var(--accent); }
.section-desc {
  max-width: 560px;
  margin: 0 auto;
  font-size: 16px;
  opacity: 0.85;
}

/* ─── DURATION SLIDER (chips yang bisa digeser) ───────────────────────────── */
.duration-bar {
  background: var(--paper);
  border: var(--line);
  box-shadow: var(--shadow-brutal);
  padding: 16px 20px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  position: sticky;
  top: 70px;
  z-index: 50;
}
.duration-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.duration-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}
.duration-slider::-webkit-scrollbar { display: none; }
.chip {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px 18px;
  background: var(--paper);
  border: 2px solid var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
  flex-shrink: 0;
}
.chip:hover { background: var(--accent-2); }
.chip.active {
  background: var(--ink);
  color: var(--accent-2);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--accent);
}

/* ─── PRODUCT GRID ────────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.loading {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 2px;
  padding: 60px 0;
  color: var(--ink);
  opacity: 0.5;
}
.section-alt .loading { color: var(--paper); }

.product-card {
  background: var(--paper);
  border: var(--line);
  box-shadow: var(--shadow-brutal-lg);
  padding: 0;
  position: relative;
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 14px 14px 0 var(--ink);
}
.product-card.permanent {
  background: var(--ink);
  color: var(--paper);
}
.product-card.permanent .product-name,
.product-card.permanent .product-desc,
.product-card.permanent .product-meta-label { color: var(--paper); }
.product-card.permanent .product-price { color: var(--accent-2); }
.product-card.permanent .product-cta { background: var(--accent); color: var(--paper); }
.product-card.permanent .product-cta:hover { background: var(--accent-2); color: var(--ink); }

.product-badge {
  position: absolute;
  top: -1px; left: -1px;
  font-family: var(--font-display);
  font-size: 22px;
  background: var(--accent);
  color: var(--paper);
  padding: 6px 14px;
  border: var(--line);
  z-index: 2;
  letter-spacing: -0.5px;
}
.product-card.permanent .product-badge {
  background: var(--accent-2);
  color: var(--ink);
}
.product-body { padding: 56px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.product-name {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  line-height: 1.1;
  text-transform: uppercase;
  min-height: 44px;
}
.product-desc {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 20px;
  flex: 1;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 16px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
  letter-spacing: -1px;
}
.product-price-suffix {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.6;
  text-transform: uppercase;
}
.product-cta {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px;
  border: var(--line);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  transition: background .2s;
  width: 100%;
}
.product-cta:hover { background: var(--accent); color: var(--paper); }

/* ─── UPGRADE GRID ────────────────────────────────────────────────────────── */
.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.upgrade-card {
  background: var(--paper);
  border: var(--line);
  box-shadow: 8px 8px 0 var(--accent);
  padding: 24px;
  position: relative;
  transition: transform .15s, box-shadow .15s;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.upgrade-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--accent);
}
.upgrade-card .upgrade-icon {
  font-family: var(--font-display);
  font-size: 32px;
  background: var(--accent-2);
  border: var(--line);
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 4px 4px 0 var(--ink);
}
.upgrade-card .upgrade-name {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
  min-height: 56px;
  display: flex;
  align-items: flex-start;
  line-height: 1.1;
}
.upgrade-card .upgrade-price {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 16px;
}
.upgrade-card .upgrade-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 10px;
  border: var(--line);
  background: var(--ink);
  color: var(--accent-2);
  cursor: pointer;
  text-transform: uppercase;
  width: 100%;
  margin-top: auto;
}
.upgrade-card .upgrade-cta:hover { background: var(--accent); color: var(--paper); }

/* ─── STATUS CHECKER ──────────────────────────────────────────────────────── */
.status-checker {
  display: flex;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
  align-items: stretch;
}
.status-checker input {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 18px;
  border: var(--line);
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 1px;
  text-transform: uppercase;
  outline: none;
}
.status-checker input:focus { box-shadow: inset 4px 4px 0 var(--accent); }
.status-checker .btn { margin: 0; }
.status-result {
  max-width: 640px;
  margin: 24px auto 0;
}
.status-card {
  background: var(--paper);
  border: var(--line);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 24px;
}
.status-card .status-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
}
.status-card .status-line:last-child { border-bottom: none; }
.status-card .status-label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; opacity: 0.6; text-transform: uppercase;
}
.status-card .status-value {
  font-family: var(--font-display); font-size: 16px;
}
.status-card .status-pill {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 12px; border: 2px solid var(--ink);
}
.status-pill.completed { background: var(--accent-3); }
.status-pill.awaiting_payment { background: var(--accent-2); }
.status-pill.awaiting_verification { background: var(--accent-6); color: var(--paper); }
.status-pill.cancelled { background: var(--accent); color: var(--paper); }
.status-pill.failed { background: #FF1744; color: var(--paper); }

@media (max-width: 600px) {
  .status-checker { flex-direction: column; }
}

/* ─── CONTACT GRID ────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.contact-card {
  background: var(--paper);
  color: var(--ink);
  border: var(--line);
  box-shadow: 6px 6px 0 var(--accent-2);
  padding: 28px 24px;
  text-decoration: none;
  display: flex; flex-direction: column;
  align-items: flex-start;
  min-height: 180px;
  transition: transform .15s, box-shadow .15s;
}
.contact-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--accent-2);
}
.contact-icon { font-size: 32px; margin-bottom: 16px; }
.contact-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; opacity: 0.6; margin-bottom: 6px;
}
.contact-value {
  font-family: var(--font-display); font-size: 16px; letter-spacing: -0.5px;
  word-break: break-all;
  line-height: 1.3;
}

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--paper);
  border-top: 6px solid var(--accent);
  padding: 40px 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand .brand-mark { font-size: 20px; }
.footer-brand p { font-family: var(--font-mono); font-size: 12px; opacity: 0.6; }
.footer-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 1px;
}
.footer-meta a { color: var(--accent-2); text-decoration: none; }
.footer-meta a:hover { text-decoration: underline; }

/* ==========================================================================
   ORDER MODAL — LIQUID GLASS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 20, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .25s;
}
.modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background:
    linear-gradient(135deg, rgba(255, 61, 0, 0.18) 0%, rgba(108, 92, 231, 0.18) 100%),
    var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(200%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(200%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 4px 16px rgba(255, 61, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: var(--paper);
  transform: scale(.95) translateY(20px);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}
.modal-backdrop.open .modal { transform: scale(1) translateY(0); }

/* Liquid glass highlight */
.modal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.1) 30%,
    rgba(255, 255, 255, 0.05) 70%,
    rgba(255, 255, 255, 0.4) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 214, 10, 0.85);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  z-index: 2;
  transition: transform .15s, background .2s;
  box-shadow: 2px 2px 0 var(--ink);
}
.modal-close:hover {
  background: var(--accent-2);
  transform: rotate(90deg);
}

.modal-step { padding: 32px 28px; }
.modal-step.hidden { display: none; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; }

.modal-head {
  text-align: center;
  margin-bottom: 24px;
}
.modal-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-2);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.modal-head h3 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.modal-price {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent-2);
  margin-top: 8px;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.modal-head.success h3 { color: var(--accent-3); }

.success-check {
  width: 72px; height: 72px;
  background: var(--accent-3);
  color: var(--ink);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(0, 229, 160, 0.5);
  animation: pop .5s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes pop {
  0%   { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.modal-body { display: flex; flex-direction: column; gap: 20px; }

/* FIELD */
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.9;
}
.field input {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.22);
  border: 1.5px solid var(--glass-border);
  border-radius: 12px;
  color: var(--paper);
  outline: none;
  transition: background .2s, border .2s, box-shadow .2s;
  font-weight: 600;
}
.field input::placeholder { color: rgba(255, 255, 255, 0.65); font-weight: 400; }
.field input:focus {
  background: rgba(255, 255, 255, 0.32);
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(255, 214, 10, 0.25);
}
.field-hint {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 500;
}

/* SUMMARY CARD */
.summary-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px;
}
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  font-size: 14px;
}
.summary-row strong { font-family: var(--font-display); }

/* PAY CARD (liquid glass inner card) */
.pay-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 8px 20px;
  position: relative;
  overflow: hidden;
}
.pay-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%);
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer {
  0%   { transform: translate(-30%, -30%) rotate(0deg); }
  100% { transform: translate(-30%, -30%) rotate(360deg); }
}
.pay-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}
.pay-row:last-child { border-bottom: none; }
.pay-row.pay-total {
  border-top: 2px solid rgba(255, 255, 255, 0.3);
  margin-top: 4px;
  padding-top: 16px;
}
.pay-label {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.7;
  flex: 1;
}
.pay-value {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.5px;
}
.pay-value.mono { font-family: var(--font-mono); font-size: 16px; }
.pay-row.pay-total .pay-value {
  font-size: 22px;
  color: var(--accent-2);
}
.copy-btn {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid var(--glass-border);
  color: var(--paper);
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s;
}
.copy-btn:hover { background: var(--accent-2); color: var(--ink); }

/* INSTRUCTIONS */
.instructions {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}
.instructions li {
  counter-increment: step;
  padding: 10px 14px 10px 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 13px;
  position: relative;
}
.instructions li::before {
  content: counter(step);
  position: absolute;
  left: 12px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  background: var(--accent-2);
  color: var(--ink);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* ORDER ID CARD */
.order-id-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 214, 10, 0.15);
  border: 1px dashed var(--accent-2);
  border-radius: 12px;
  padding: 12px 16px;
}
.order-id-label {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent-2);
  text-transform: uppercase;
}
.order-id-value {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 700;
  letter-spacing: 1px;
  color: var(--paper);
  flex: 1;
}

/* MODAL BUTTONS inside liquid glass */
.modal .btn {
  background: var(--accent);
  color: var(--paper);
  border: 2px solid var(--paper);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}
.modal .btn:hover {
  background: var(--accent-2);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.3);
}
.modal .btn:active {
  transform: translateY(2px);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.3);
}
.modal .btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--paper);
}
.modal .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.3);
  color: var(--paper);
}
.modal .btn-text {
  background: transparent;
  border: none;
  box-shadow: none;
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.7);
}
.modal .btn-text:hover {
  background: transparent;
  color: var(--paper);
}

.modal-foot-note {
  font-size: 12px;
  text-align: center;
  opacity: 0.7;
  line-height: 1.5;
}

.success-text {
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}
.success-actions { display: flex; flex-direction: column; gap: 10px; }

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--accent-2);
  border: 2px solid var(--accent-2);
  padding: 14px 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 2000;
  box-shadow: 6px 6px 0 var(--accent);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  max-width: 90vw;
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { color: #FF5252; border-color: #FF5252; box-shadow: 6px 6px 0 #FF5252; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
  .hero { padding: 48px 20px 40px; }
  .section { padding: 60px 20px; }
  .section-alt { padding: 60px 20px; }
  .duration-bar { top: 64px; padding: 12px 14px; }
  .modal-step { padding: 24px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
