/* ─────────────────────────────────────────────────────────────────────────────
   LIT App Store — Luxury Dark Theme
   ───────────────────────────────────────────────────────────────────────────── */

/* ── Design Tokens ─────────────────────────────────────────────────────────── */
:root {
  --gold:         #C9A84C;
  --gold-light:   #D4B05A;
  --gold-dim:     rgba(201, 168, 76, 0.55);
  --gold-glow:    rgba(201, 168, 76, 0.12);
  --gold-border:  rgba(201, 168, 76, 0.28);

  --black:        #0A0A0A;
  --surface:      #111111;
  --card:         #161616;
  --card-hover:   #1E1A12;

  --text:         #F0EAD6;
  --text-sub:     #9A8F7A;
  --text-muted:   #5A5248;

  --border:       rgba(255, 255, 255, 0.06);

  --ff-head: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', system-ui, sans-serif;

  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
  --dur:     0.28s;

  --r-card:  14px;
  --r-btn:   8px;
  --max-w:   1200px;

  --shadow-card: 0 4px 28px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 28px rgba(201, 168, 76, 0.14);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: #000; }

a { color: inherit; text-decoration: none; }
button { font-family: var(--ff-body); cursor: pointer; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 3px; }

/* ── Navigation ─────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-wordmark .brand-name {
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.05em;
}

.nav-wordmark .brand-tag {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-sub);
  transition: color var(--dur) var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 55%, rgba(201, 168, 76, 0.05) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 80% 20%, rgba(201, 168, 76, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 800px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.75rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold-dim);
}

.hero h1 {
  font-family: var(--ff-head);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero h1 .accent { color: var(--gold); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-sub);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-rule {
  width: 56px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
  opacity: 0.7;
}

.btn-hero {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--r-btn);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn-hero:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ── Section Shared ─────────────────────────────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold-dim);
}

.section-head h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-sub);
  font-size: 1rem;
  font-weight: 300;
}

.plan-meta-note {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.76rem;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ── Pricing Section ────────────────────────────────────────────────────────── */
#pricing {
  padding: 100px 0 120px;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.55rem 1.6rem;
  border-radius: 2rem;
  border: 1px solid var(--gold-border);
  background: transparent;
  color: var(--text-sub);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.filter-tab:hover {
  border-color: var(--gold);
  color: var(--text);
}

.filter-tab.active {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  font-weight: 600;
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}

/* Plan Card */
.plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background var(--dur) var(--ease);
  box-shadow: var(--shadow-card);
}

.plan-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06), transparent 70%);
  pointer-events: none;
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border);
  background: var(--card-hover);
  box-shadow: var(--shadow-gold), var(--shadow-card);
}

.plan-card.featured {
  border-color: var(--gold-border);
  background: linear-gradient(145deg, #161610 0%, #1a1710 100%);
}

.plan-card.featured::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-card);
  background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.plan-card.hidden { display: none; }

/* Badge */
.plan-badge {
  position: absolute;
  top: 0; right: 0;
  background: var(--gold);
  color: #000;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 0 var(--r-card) 0 10px;
}

/* Card Header */
.card-head { margin-bottom: 1.5rem; }

.plan-name {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0.5rem;
  padding-right: 3rem;
}

.plan-storage {
  display: inline-block;
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.7rem;
  border-radius: 2rem;
}

/* Tagline */
.plan-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Divider */
.card-divider {
  height: 1px;
  background: var(--border);
  margin: 1.25rem 0;
}

/* Price */
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 1.5rem;
}

.plan-price .currency {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  align-self: flex-start;
  margin-top: 6px;
}

.plan-price .amount {
  font-family: var(--ff-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.plan-price .period {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 2px;
}

/* Features */
.plan-features {
  flex: 1;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-sub);
}

.plan-features li::before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Ccircle cx='7' cy='7' r='6' fill='none' stroke='%23C9A84C' stroke-width='1.2'/%3E%3Cpath d='M4 7l2 2 4-4' stroke='%23C9A84C' stroke-width='1.3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
}

/* Buy Button */
.btn-buy {
  width: 100%;
  padding: 0.9rem 1rem;
  background: transparent;
  border: 1px solid var(--gold-border);
  border-radius: var(--r-btn);
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform 0.1s var(--ease);
}

.btn-buy:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.btn-buy:active { transform: scale(0.98); }

.plan-card.featured .btn-buy {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  font-weight: 600;
}

.plan-card.featured .btn-buy:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ── Features Section ───────────────────────────────────────────────────────── */
#features {
  padding: 80px 0 100px;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.feature-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-gold);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
  font-weight: 300;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--gold-border);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .brand-name {
  font-family: var(--ff-head);
  font-size: 1rem;
  color: var(--text);
}

.footer-brand .brand-tag {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ── Checkout Modal ──────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[hidden] { display: none; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  z-index: 1;
  background: #131310;
  border: 1px solid var(--gold-border);
  border-radius: var(--r-card);
  padding: 2.5rem 2.25rem;
  width: min(480px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), var(--shadow-gold);
  animation: modalIn 0.28s var(--ease) both;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  transition: color var(--dur) var(--ease);
}

.modal-close:hover { color: var(--text); }

.modal-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.modal-logo .brand-name {
  font-family: var(--ff-head);
  font-size: 1rem;
  color: var(--text);
}

.modal-logo .brand-tag {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
}

.modal-card h3 {
  font-family: var(--ff-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.modal-sub {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 1.25rem;
}

.modal-divider {
  height: 1px;
  background: var(--gold-border);
  margin: 1.25rem 0;
}

/* Plan summary strip */
.modal-plan-summary {
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-plan-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.modal-plan-price {
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
}

/* Form */
.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.form-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 0.82rem 1rem;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
}

.form-group input::placeholder { color: var(--text-muted); }

.form-group input:focus {
  border-color: var(--gold-dim);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

.form-group input.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

/* Error */
.error-msg {
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.35);
  border-radius: 7px;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: #e74c3c;
  margin-bottom: 1rem;
}

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

/* Submit */
.btn-primary {
  width: 100%;
  background: var(--gold);
  color: #000;
  border: none;
  border-radius: var(--r-btn);
  padding: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--dur) var(--ease), transform 0.12s var(--ease);
  position: relative;
}

.btn-primary:hover { background: var(--gold-light); }
.btn-primary:active { transform: scale(0.99); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

/* Spinner inside button */
.btn-spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

.btn-spinner.hidden { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Secure note */
.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.73rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
  letter-spacing: 0.03em;
}

/* ── Loading Overlay ─────────────────────────────────────────────────────────── */
#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

#loading-overlay[hidden] { display: none; }

.overlay-spinner {
  width: 48px; height: 48px;
  border: 2px solid var(--gold-border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.overlay-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  letter-spacing: 0.06em;
}

/* ── Global Error Banner ─────────────────────────────────────────────────────── */
#global-error {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  background: #1a0a0a;
  border: 1px solid rgba(192, 57, 43, 0.5);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  max-width: 480px;
  width: calc(100% - 2rem);
  color: #e74c3c;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s var(--ease);
}

#global-error.hidden { display: none; }

@keyframes slideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Custom Payment Card ────────────────────────────────────────────────────── */
.custom-payment-wrap {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.custom-payment-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.custom-payment-label::before,
.custom-payment-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold-border);
}

.custom-payment-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.custom-payment-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-gold);
}

.custom-payment-info h3 {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.custom-payment-info p {
  font-size: 0.85rem;
  color: var(--text-sub);
  font-weight: 300;
  max-width: 380px;
}

.custom-payment-action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.custom-amount-field {
  position: relative;
  display: flex;
  align-items: center;
}

.custom-amount-field .currency-prefix {
  position: absolute;
  left: 0.9rem;
  color: var(--gold);
  font-family: var(--ff-head);
  font-size: 1.1rem;
  font-weight: 500;
  pointer-events: none;
  line-height: 1;
}

.custom-amount-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 0.82rem 0.9rem 0.82rem 2rem;
  color: var(--text);
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 600;
  width: 160px;
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.custom-amount-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.95rem;
}

.custom-amount-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}

/* Remove number input arrows */
.custom-amount-input::-webkit-outer-spin-button,
.custom-amount-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.custom-amount-input[type=number] { -moz-appearance: textfield; }

/* ── Activation note ─────────────────────────────────────────────────────────── */
.activation-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: rgba(201,168,76,0.06);
  border: 1px solid var(--gold-border);
  border-radius: 7px;
  padding: 0.6rem 0.85rem;
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.activation-note svg { flex-shrink: 0; margin-top: 2px; }

/* GST optional badge */
.label-optional {
  font-size: 0.62rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
  margin-left: 4px;
}

/* Two-column form row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

/* ── Feature Comparison Table ────────────────────────────────────────────────── */
.comparison-wrap {
  margin-top: 5rem;
}

.comparison-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.comparison-head h2 {
  font-family: var(--ff-head);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.comparison-head p {
  font-size: 0.9rem;
  color: var(--text-sub);
}

.comparison-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-card);
  border: 1px solid var(--border);
}

.comparison-scroll::-webkit-scrollbar { height: 5px; }
.comparison-scroll::-webkit-scrollbar-track { background: var(--surface); }
.comparison-scroll::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 3px; }

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 820px;
  font-size: 0.85rem;
}

/* Header row */
.comparison-table thead tr {
  background: var(--surface);
}

.comparison-table thead th {
  padding: 1.2rem 1rem 1.1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  vertical-align: bottom;
  position: relative;
}

.comparison-table thead th.feat-col {
  text-align: left;
  min-width: 200px;
  width: 200px;
}

.th-badge {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.th-plan {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.th-price {
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.th-price span {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-sub);
  font-family: var(--ff-body);
}

.th-storage {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* Featured column highlight */
.col-featured {
  background: rgba(201, 168, 76, 0.05);
  border-left: 1px solid var(--gold-border);
  border-right: 1px solid var(--gold-border);
}

thead th.col-featured {
  border-top: 2px solid var(--gold);
  border-left: 1px solid var(--gold-border);
  border-right: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--border);
}

/* Group header rows */
.comparison-table .group-row td {
  background: rgba(255, 255, 255, 0.025);
  padding: 0.55rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Data rows */
.comparison-table tbody tr:not(.group-row):not(.cta-row) {
  border-bottom: 1px solid var(--border);
  transition: background var(--dur) var(--ease);
}

.comparison-table tbody tr:not(.group-row):not(.cta-row):hover {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody td {
  padding: 0.85rem 1rem;
  text-align: center;
  vertical-align: middle;
}

.comparison-table tbody td.feat-col {
  text-align: left;
  color: var(--text-sub);
  font-size: 0.83rem;
}

/* Check / dash cells */
.col-yes {
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
}

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

/* Coming soon tag */
.coming-soon {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold-dim);
  background: var(--gold);
  border-radius: 3px;
  padding: 0.1rem 0.35rem;
  margin-left: 5px;
  vertical-align: middle;
  line-height: 1.6;
}

/* CTA row */
.cta-row td {
  padding: 1.2rem 0.75rem;
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.cta-row td.feat-col { background: var(--surface); }

.btn-table {
  padding: 0.55rem 0.85rem !important;
  font-size: 0.75rem !important;
  white-space: nowrap;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .nav-links { display: none; }

  .hero { padding: 100px 1.25rem 60px; }

  .section-inner { padding: 0 1.25rem; }

  .plans-grid { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }

  .modal-card { padding: 1.75rem 1.5rem; }

  .plan-price .amount { font-size: 2.2rem; }

  .custom-payment-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .custom-payment-action { width: 100%; }

  .custom-amount-input { width: 100%; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .filter-tabs { gap: 0.5rem; }
  .filter-tab { padding: 0.45rem 1.1rem; font-size: 0.75rem; }
  .modal-plan-summary { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
}
