/* PerkVora — Coming Soon launch gate. See ComingSoonLaunch.jsx. */

.coming-soon-launch {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  color: #fff;
  overflow: hidden;
  background: var(--hero-gradient, linear-gradient(135deg, #0E0F2E 0%, #1A1B4B 35%, #4B2A87 70%, #F97316 115%));
}

.coming-soon-launch__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(420px 320px at 12% 18%, rgba(217, 70, 239, 0.28), transparent 70%),
    radial-gradient(520px 360px at 88% 10%, rgba(249, 115, 22, 0.22), transparent 70%),
    radial-gradient(480px 360px at 50% 110%, rgba(139, 92, 246, 0.28), transparent 70%);
}

.coming-soon-launch__inner {
  position: relative;
  width: 100%;
  max-width: 640px;
  text-align: center;
  background: rgba(14, 15, 46, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(217, 70, 239, 0.22);
  border-radius: 28px;
  padding: 3rem 2rem 2.25rem;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
}

.coming-soon-launch__logo {
  height: 48px;
  width: auto;
  margin: 0 auto 1.5rem;
  display: block;
}

.coming-soon-launch__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-gradient, linear-gradient(135deg, #6B2FD9 0%, #D946EF 45%, #F97316 100%));
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.coming-soon-launch__title {
  font-size: clamp(1.85rem, 4.2vw, 2.6rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  background: var(--brand-gradient-text, linear-gradient(90deg, #8B5CF6 0%, #EC4899 50%, #F97316 100%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.coming-soon-launch__lede {
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 1.75rem;
  max-width: 520px;
}

.coming-soon-launch__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  text-align: left;
}

.coming-soon-launch__features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 70, 239, 0.18);
  border-radius: 12px;
}

.coming-soon-launch__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-gradient, linear-gradient(135deg, #6B2FD9 0%, #D946EF 45%, #F97316 100%));
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: 0 14px 30px -12px rgba(217, 70, 239, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.coming-soon-launch__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -12px rgba(217, 70, 239, 0.7);
  color: #fff;
}

.coming-soon-launch__footer {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
  .coming-soon-launch__inner { padding: 2.25rem 1.25rem 1.75rem; border-radius: 22px; }
  .coming-soon-launch__features { grid-template-columns: 1fr; }
}
:root {
  --brand-color:  #6B2FD9;
  --brand-dark:   #1A1B4B;
  --brand-darker: #0E0F2E;
  --brand-light:  #F3EEFF;
  --brand-purple: #6B2FD9;
  --brand-magenta:#D946EF;
  --brand-pink:   #EC4899;
  --brand-orange: #F97316;
  --brand-amber:  #F59E0B;
  --brand-gradient: linear-gradient(135deg, #6B2FD9 0%, #D946EF 45%, #F97316 100%);
  --brand-gradient-soft: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #F97316 100%);
  --brand-gradient-text: linear-gradient(90deg, #8B5CF6 0%, #EC4899 50%, #F97316 100%);
  --hero-gradient: linear-gradient(135deg, #0E0F2E 0%, #1A1B4B 35%, #4B2A87 70%, #F97316 115%);

  --text-primary:   #0F1225;
  --text-secondary: #4A5568;
  --text-muted:     #8B94A8;
  --text-inverse:   #FFFFFF;

  --bg-primary:   #FFFFFF;
  --bg-secondary: #F7F8FC;
  --bg-tertiary:  #EEF0F7;
  --bg-dark:      #0E0F2E;
  --border:       #E4E7F0;
  --border-light: #F0F2F8;

  --success:    #0F9D6E;
  --success-bg: #E6F7F0;
  --danger:     #DC2626;
  --danger-bg:  #FDECEA;
  --warning:    #B7791F;
  --warning-bg: #FEFCE8;
  --info:       #6B2FD9;
  --info-bg:    #F3EEFF;

  --shadow-xs: 0 1px 2px rgba(15,18,37,0.05);
  --shadow-sm: 0 1px 3px rgba(15,18,37,0.07), 0 1px 2px rgba(15,18,37,0.04);
  --shadow-md: 0 4px 12px rgba(15,18,37,0.08), 0 2px 4px rgba(15,18,37,0.04);
  --shadow-lg: 0 12px 32px rgba(15,18,37,0.10), 0 4px 8px rgba(15,18,37,0.06);
  --shadow-xl: 0 24px 48px rgba(15,18,37,0.14), 0 8px 16px rgba(15,18,37,0.08);
  --shadow-glow: 0 8px 32px rgba(107,47,217,0.35);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-pill: 999px;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand-color); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); letter-spacing: -0.02em; }

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

/* ---------- Layout ---------- */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-wide { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.page { min-height: 100vh; display: flex; flex-direction: column; }
.main-content { flex: 1; padding: 32px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; transition: transform 0.15s, box-shadow 0.2s, background 0.15s, color 0.15s;
  text-decoration: none; white-space: nowrap; font-family: inherit;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--brand-gradient); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(107,47,217,0.45); color: #fff; }

.btn-dark { background: var(--brand-darker); color: #fff; }
.btn-dark:hover:not(:disabled) { background: #000; color: #fff; }

.btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); }
.btn-secondary:hover:not(:disabled) { background: var(--border); }

.btn-ghost { background: rgba(255,255,255,0.1); color: #fff; backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover:not(:disabled) { background: rgba(255,255,255,0.2); color: #fff; }

.btn-outline { background: transparent; color: var(--brand-color); border: 1.5px solid var(--brand-color); }
.btn-outline:hover:not(:disabled) { background: var(--brand-light); text-decoration: none; }

.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-outline-light:hover:not(:disabled) { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.6); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover:not(:disabled) { background: #a93226; color: #fff; }

.btn-success { background: var(--success); color: #fff; }

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-xl { padding: 16px 34px; font-size: 16px; border-radius: var(--radius-pill); }
.btn-full { width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm);
}
.card-hover { transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; cursor: pointer; }
.card-hover:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #D8C8F8; }

.card-gradient-border {
  position: relative; background: var(--bg-primary); border-radius: var(--radius-lg); padding: 24px; z-index: 1;
}
.card-gradient-border::before {
  content: ''; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit;
  background: var(--brand-gradient); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}

/* ---------- Badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; padding: 4px 10px;
  border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-brand   { background: var(--brand-light); color: var(--brand-color); }
.badge-gradient{ background: var(--brand-gradient); color: #fff; }
.badge-green   { background: var(--success-bg); color: var(--success); }
.badge-red     { background: var(--danger-bg); color: var(--danger); }
.badge-yellow  { background: var(--warning-bg); color: var(--warning); }
.badge-gray    { background: var(--bg-tertiary); color: var(--text-secondary); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08); color: #fff; font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.14); backdrop-filter: blur(8px);
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text-secondary); }
.form-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: 14px; font-family: inherit;
  background: var(--bg-primary); color: var(--text-primary); transition: border-color 0.15s, box-shadow 0.15s;
}
.form-input:focus { outline: none; border-color: var(--brand-color); box-shadow: 0 0 0 3px rgba(107,47,217,0.12); }
.form-input::placeholder { color: var(--text-muted); }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; }
textarea.form-input { resize: vertical; min-height: 110px; }

/* ---------- Alert ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 16px; }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #c3e6cb; }
.alert-danger  { background: var(--danger-bg); color: var(--danger); border: 1px solid #f5c6cb; }
.alert-info    { background: var(--info-bg); color: var(--info); border: 1px solid #DCD2FA; }

/* ---------- Grid ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid-coupons { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

/* ---------- Spinner ---------- */
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid var(--border); border-top-color: var(--brand-color); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Section header ---------- */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.section-title { font-size: 22px; font-weight: 700; letter-spacing: -0.015em; }

/* ---------- Stat card ---------- */
.stat-card { background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--brand-color); line-height: 1.2; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.stat-change { font-size: 12px; font-weight: 500; margin-top: 6px; }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(14,15,46,0.55); backdrop-filter: blur(4px); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
/* Constrain modal to viewport so tall forms always show their action buttons.
   Body scrolls internally; header stays pinned. */
.modal-box { background: var(--bg-primary); border-radius: var(--radius-lg); width: 100%; max-width: 500px; max-height: 90vh; display: flex; flex-direction: column; box-shadow: var(--shadow-xl); animation: modalIn 0.2s ease; }
@keyframes modalIn { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-header { padding: 20px 24px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.modal-title { font-size: 17px; font-weight: 700; }
.modal-body { padding: 24px; overflow-y: auto; flex: 1 1 auto; }
.modal-close { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 20px; line-height: 1; padding: 4px; }
.modal-close:hover { color: var(--text-primary); }

/* ---------- Table ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; padding: 10px 14px; font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 2px solid var(--border); background: var(--bg-secondary); }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tr:hover td { background: var(--bg-secondary); }

/* ---------- Coupon card ---------- */
.discount-badge {
  display: inline-block; background: var(--brand-gradient); color: #fff;
  font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: var(--radius-sm);
}

/* ---------- FTC disclosure ---------- */
.ftc-notice { font-size: 12px; color: var(--text-muted); font-style: italic; }

/* ---------- Utility text ---------- */
.gradient-text {
  background: var(--brand-gradient-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  display: inline-block;
}
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-color);
}

/* ---------- Marketing — hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--hero-gradient);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center right; background-repeat: no-repeat;
  z-index: 0;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,15,46,0.96) 0%, rgba(26,27,75,0.88) 30%, rgba(26,27,75,0.45) 55%, rgba(26,27,75,0) 72%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center;
  padding: 80px 0 96px; min-height: 620px;
}
.hero-content { max-width: 620px; }
.hero-logo { height: 72px; width: auto; margin-bottom: 28px; }
.hero-headline {
  font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero-sub { font-size: 18px; line-height: 1.55; opacity: 0.86; max-width: 520px; margin-bottom: 28px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual-float {
  position: relative; height: 100%; min-height: 480px;
}

/* ---------- Marketing — sections ---------- */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 112px 0; }
.section-dark { background: var(--brand-darker); color: #fff; }
.section-dark .section-title, .section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-tinted { background: var(--bg-secondary); }
.section-gradient {
  background: linear-gradient(135deg, #F3EEFF 0%, #FFE8D6 100%);
}

.section-eyebrow {
  text-align: center; margin-bottom: 12px;
}
.section-h2 {
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.025em;
  text-align: center; margin-bottom: 12px; line-height: 1.15;
}
.section-lead {
  font-size: 17px; color: var(--text-secondary); text-align: center;
  max-width: 620px; margin: 0 auto 48px; line-height: 1.6;
}
.section-dark .section-lead { color: rgba(255,255,255,0.75); }

/* ---------- Feature tiles ---------- */
.feature-tile {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 28px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.feature-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #D8C8F8; }
.feature-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px; color: #fff;
  background: var(--brand-gradient); box-shadow: var(--shadow-glow);
}
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ---------- Category tiles ---------- */
.cat-tile {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md);
  padding: 22px 16px; text-align: center; text-decoration: none; color: inherit;
  transition: all 0.2s; cursor: pointer; display: block;
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D8C8F8; text-decoration: none; }
.cat-icon {
  width: 48px; height: 48px; margin: 0 auto 12px; border-radius: var(--radius-md);
  background: var(--brand-light); display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.cat-name { font-weight: 600; font-size: 14px; color: var(--text-primary); margin-bottom: 2px; }
.cat-count { font-size: 12px; color: var(--text-muted); }

/* ---------- Step card ---------- */
.step-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 28px; position: relative;
}
.step-num {
  position: absolute; top: -18px; left: 24px;
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand-gradient);
  color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-glow);
  font-family: var(--font-display);
}
.step-title { font-size: 18px; font-weight: 700; margin: 14px 0 8px; }
.step-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ---------- Brand strip ---------- */
.brand-strip {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 40px 56px; padding: 24px 0;
}
.brand-strip img, .brand-strip span {
  opacity: 0.6; transition: opacity 0.2s; filter: grayscale(1);
  font-weight: 700; font-size: 20px; color: var(--text-secondary); letter-spacing: -0.02em;
}
.brand-strip img:hover, .brand-strip span:hover { opacity: 1; filter: grayscale(0); }

/* ---------- Testimonial ---------- */
.testimonial-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  padding: 28px; position: relative;
}
.testimonial-stars { color: var(--brand-amber); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-quote { font-size: 15px; color: var(--text-primary); line-height: 1.65; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--brand-gradient);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 15px;
}
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-meta { font-size: 12px; color: var(--text-muted); }

/* ---------- Pricing ---------- */
.plan-card {
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px 28px; display: flex; flex-direction: column; height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card.plan-featured { border-color: transparent; background: linear-gradient(#fff,#fff) padding-box, var(--brand-gradient) border-box; border: 2px solid transparent; box-shadow: var(--shadow-lg); position: relative; }
.plan-name { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.plan-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; min-height: 36px; }
.plan-price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 4px; font-family: var(--font-display); }
.plan-price small { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.plan-feature { display: flex; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--text-secondary); align-items: flex-start; }
.plan-feature::before { content: '✓'; color: var(--brand-color); font-weight: 700; flex-shrink: 0; }

/* ---------- FAQ accordion ---------- */
.faq-item {
  border: 1px solid var(--border-light); border-radius: var(--radius-md);
  background: #fff; margin-bottom: 10px; overflow: hidden;
}
.faq-q {
  padding: 18px 22px; font-weight: 600; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q:hover { background: var(--bg-secondary); }
.faq-a { padding: 0 22px 20px; color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.faq-toggle { font-size: 22px; color: var(--brand-color); font-weight: 400; line-height: 1; flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--brand-gradient); border-radius: var(--radius-2xl);
  padding: 56px 48px; color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15) 0%, transparent 45%),
              radial-gradient(circle at 80% 80%, rgba(255,255,255,0.12) 0%, transparent 45%);
  pointer-events: none;
}
.cta-banner > * { position: relative; }

/* ---------- Floating chip on hero ---------- */
.hero-ticker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.14); color: #fff;
  font-size: 13px; font-weight: 500; margin-bottom: 24px;
}
.hero-ticker-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-gradient); display: inline-block; }

/* ---------- Footer ---------- */
.footer-newsletter {
  background: var(--brand-gradient);
  padding: 40px 0; color: #fff;
}

/* ========================================================================
   Portal / Dashboard (Admin + Merchant shared)
   ======================================================================== */
.portal {
  display: flex; min-height: calc(100vh - 72px); background: #F7F8FC;
}
.portal-aside {
  width: 248px; background: var(--brand-darker); color: #B5B9D0;
  flex-shrink: 0; display: flex; flex-direction: column;
  border-right: 1px solid #1E2148;
  position: sticky; top: 72px; height: calc(100vh - 72px);
}
.portal-aside-top { padding: 24px 20px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.portal-aside-brand { color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.portal-aside-label { font-size: 11px; margin-top: 4px; color: #7A7F9E; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.portal-aside-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.portal-aside-footer { padding: 16px 12px; border-top: 1px solid rgba(255,255,255,0.08); }

.portal-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; margin-bottom: 2px;
  background: none; border: none; border-radius: 10px;
  width: 100%; text-align: left;
  color: #B5B9D0; font-size: 14px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  transition: all 0.15s; text-decoration: none;
  position: relative;
}
.portal-nav-item:hover { background: rgba(255,255,255,0.05); color: #fff; }
.portal-nav-item.active {
  background: linear-gradient(90deg, rgba(107,47,217,0.22) 0%, rgba(217,70,239,0.08) 100%);
  color: #fff;
}
.portal-nav-item.active::before {
  content: ''; position: absolute; left: -12px; top: 6px; bottom: 6px; width: 3px;
  background: var(--brand-gradient); border-radius: 0 4px 4px 0;
}
.portal-nav-icon { font-size: 17px; width: 20px; display: inline-flex; justify-content: center; flex-shrink: 0; }

.portal-main {
  flex: 1; padding: 28px 32px;
  min-width: 0; /* allow flex children to shrink */
  overflow-x: auto;
}

.portal-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.portal-heading { font-size: 26px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; }
.portal-sub { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

.portal-tabs { display: flex; gap: 4px; background: #F0F2F8; padding: 4px; border-radius: 10px; }
.portal-tab {
  padding: 7px 14px; border-radius: 7px; border: none; background: none; cursor: pointer;
  font-size: 13px; font-weight: 600; color: #4A5568; font-family: inherit; transition: all 0.15s;
}
.portal-tab.active { background: #fff; color: #0F1225; box-shadow: var(--shadow-xs); }

/* Dashboard stat card */
.ds-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.ds-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #D8C8F8; }
.ds-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ds-card-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.ds-card-icon {
  width: 38px; height: 38px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; font-size: 18px;
  background: var(--brand-light); color: var(--brand-color); flex-shrink: 0;
}
.ds-card-icon.gradient { background: var(--brand-gradient); color: #fff; }
.ds-card-value {
  font-size: 30px; font-weight: 800; letter-spacing: -0.025em;
  color: var(--text-primary); line-height: 1.05;
  font-family: var(--font-display);
}
.ds-card-value.gradient { background: var(--brand-gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.ds-card-delta { font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.ds-card-delta.pos { color: var(--success); }
.ds-card-delta.neg { color: var(--danger); }

/* Dashboard panel */
.ds-panel {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.ds-panel-head {
  padding: 18px 22px; border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.ds-panel-title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.ds-panel-body { padding: 22px; }
.ds-panel-body-flush { padding: 0; }

/* Modern table */
.ds-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ds-table th {
  text-align: left; padding: 13px 18px;
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border-light);
  background: #FAFBFD; position: sticky; top: 0;
}
.ds-table td { padding: 14px 18px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.ds-table tr:last-child td { border-bottom: none; }
.ds-table tr { transition: background 0.1s; }
.ds-table tbody tr:hover { background: #FAFBFD; }

.ds-inline-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 12px; border-radius: 8px; border: 1.5px solid var(--border);
  background: #fff; cursor: pointer; font-size: 12px; font-weight: 600;
  color: #4A5568; font-family: inherit; transition: all 0.15s;
}
.ds-inline-btn:hover { background: var(--bg-secondary); border-color: #D8C8F8; color: var(--brand-color); }
.ds-inline-btn.danger:hover { background: var(--danger-bg); border-color: var(--danger); color: var(--danger); }
.ds-inline-btn.success { background: var(--success-bg); border-color: transparent; color: var(--success); }
.ds-inline-btn.success:hover { background: var(--success); color: #fff; }

/* Responsive portal */
@media (max-width: 960px) {
  .portal { flex-direction: column; }
  .portal-aside { width: 100%; position: static; height: auto; border-right: none; border-bottom: 1px solid #1E2148; }
  .portal-aside-nav { display: flex; gap: 4px; overflow-x: auto; padding: 12px; }
  .portal-nav-item { flex-shrink: 0; white-space: nowrap; padding: 8px 14px; margin-bottom: 0; }
  .portal-nav-item.active::before { display: none; }
  .portal-aside-top, .portal-aside-footer { display: none; }
  .portal-main { padding: 20px; }
}
/* Below "phone landscape" — clamp the page so wide admin tables scroll
   inside their panel container rather than dragging the whole document
   horizontally. The portal-main container becomes the scroll viewport;
   stat-card grids shrink to two columns; PageHeader text wraps. */
@media (max-width: 720px) {
  body, html { overflow-x: hidden; }
  .portal-main { padding: 16px; max-width: 100vw; overflow-x: hidden; }
  .portal-topbar { gap: 8px; margin-bottom: 18px; }
  .portal-heading { font-size: 20px; }
  .portal-sub { font-size: 12.5px; }
  .ds-panel { border-radius: 12px; }
  .ds-panel-body { padding: 16px; }
  .ds-panel-head { padding: 14px 16px; }
  .ds-card { padding: 16px; }
  .ds-card-value { font-size: 22px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 72px; min-height: auto; }
  .hero-visual-float { display: none; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(14,15,46,0.96) 0%, rgba(14,15,46,0.78) 100%); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-coupons { grid-template-columns: 1fr; }
  .container, .container-wide, .container-narrow { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .cta-banner { padding: 40px 24px; }
  .hero-headline { font-size: clamp(32px, 8vw, 44px); }
}
@media (max-width: 480px) {
  .btn-lg { padding: 12px 20px; font-size: 14px; }
  .btn-xl { padding: 14px 24px; font-size: 15px; }
  .hero-logo { height: 56px; }
}
