/* ============================================================
   GenCaption — Yuva Design System v2
   Modern · Bold · Youth-focused
   ============================================================ */

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

:root {
  /* Core palette */
  --bg:          #080808;
  --bg-2:        #0f0f0f;
  --surface:     #141414;
  --surface-2:   #1c1c1c;
  --border:      rgba(255,255,255,0.07);
  --border-hover:rgba(255,255,255,0.14);

  /* Text */
  --text:        #f2f2f2;
  --text-2:      #c0c0c0;
  --muted:       #6b7280;

  /* Brand */
  --accent:      #ff4674;
  --accent-2:    #c4003d;
  --accent-soft: rgba(255,70,116,0.12);
  --accent-glow: rgba(255,70,116,0.3);

  /* Status */
  --success:     #22c55e;
  --warning:     #f59e0b;
  --error:       #ef4444;
  --info:        #3b82f6;

  /* Gradients */
  --grad-brand:  linear-gradient(135deg, #ff4674 0%, #c4003d 100%);
  --grad-subtle: linear-gradient(135deg, rgba(255,70,116,0.15) 0%, transparent 60%);

  /* Radii */
  --r-sm:  6px;
  --r:     10px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-full:9999px;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.5);
  --shadow:       0 4px 24px rgba(0,0,0,0.6);
  --shadow-lg:    0 12px 48px rgba(0,0,0,0.7);
  --shadow-brand: 0 8px 32px rgba(255,70,116,0.3);

  --transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: var(--transition); }

/* ---- Typography ---- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.mono { font-family: 'JetBrains Mono', monospace; }

/* ---- Layout ---- */
.container    { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 680px;  margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 480px;  margin: 0 auto; padding: 0 24px; }

/* ---- NAVBAR ---- */
.gc-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.gc-nav-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 24px; gap: 16px;
}
.gc-logo {
  display: flex; align-items: center; text-decoration: none; flex-shrink: 0;
  transition: var(--transition);
}
.gc-logo img {
  height: 36px; width: auto;
  filter: drop-shadow(0 0 12px var(--accent-glow));
  transition: var(--transition);
}
.gc-logo:hover img { filter: drop-shadow(0 0 20px rgba(255,70,116,0.6)); }

.gc-nav-links {
  display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center;
}
.gc-nav-link {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--muted); font-size: 13px; font-weight: 500;
  text-decoration: none; padding: 7px 13px; border-radius: var(--r);
  transition: var(--transition); white-space: nowrap;
}
.gc-nav-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gc-nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.gc-nav-link.active { color: var(--accent); background: var(--accent-soft); }

.gc-nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.gc-user-pill {
  display: flex; align-items: center; gap: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 5px 14px 5px 5px;
  transition: var(--transition); cursor: default;
}
.gc-user-pill:hover { border-color: var(--border-hover); background: var(--surface-2); }
.gc-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff; flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,70,116,0.3);
}
.gc-user-name { font-size: 13px; font-weight: 600; color: var(--text); }
.gc-user-role { font-size: 10px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; }

/* Nav buttons */
.gc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: var(--r); cursor: pointer;
  border: none; text-decoration: none; transition: var(--transition);
  white-space: nowrap; line-height: 1;
}
.gc-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gc-btn-ghost {
  background: transparent; color: var(--muted);
  border: 1px solid var(--border);
}
.gc-btn-ghost:hover { color: var(--text); border-color: var(--border-hover); background: rgba(255,255,255,0.04); }
.gc-btn-accent {
  background: var(--grad-brand); color: #fff;
  box-shadow: var(--shadow-brand);
}
.gc-btn-accent:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(255,70,116,0.45); color: #fff; opacity: 0.95; }

/* Flash */
.gc-flash-wrap { max-width: 1120px; margin: 14px auto 0; padding: 0 24px; }
.gc-flash {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--r); font-size: 13px;
  border: 1px solid; font-weight: 500;
}
.gc-flash svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.gc-flash-success { background: rgba(34,197,94,0.08); border-color: rgba(34,197,94,0.3); color: var(--success); }
.gc-flash-error   { background: rgba(239,68,68,0.08);  border-color: rgba(239,68,68,0.3);  color: var(--error); }
.gc-flash-info    { background: var(--accent-soft);     border-color: rgba(255,70,116,0.3); color: var(--accent); }

@media (max-width: 680px) {
  .gc-nav-links { display: none; }
  .gc-user-name, .gc-user-role { display: none; }
  .gc-nav-inner { padding: 0 16px; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--r);
  font-family: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn-primary {
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 4px 20px rgba(255,70,116,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px); color: #fff;
  box-shadow: 0 8px 32px rgba(255,70,116,0.45);
}
.btn-secondary {
  background: var(--surface-2); color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--surface); border-color: var(--border-hover); color: var(--text); }
.btn-ghost {
  background: transparent; color: var(--accent);
  border: 1px solid rgba(255,70,116,0.4);
}
.btn-ghost:hover { background: var(--accent-soft); }
.btn-danger  { background: rgba(239,68,68,0.15);  color: var(--error);   border: 1px solid rgba(239,68,68,0.3); }
.btn-danger:hover  { background: var(--error); color: #fff; border-color: var(--error); }
.btn-success { background: rgba(34,197,94,0.15);  color: var(--success); border: 1px solid rgba(34,197,94,0.3); }
.btn-success:hover { background: var(--success); color: #fff; border-color: var(--success); }

.btn-sm  { padding: 7px 14px; font-size: 12px; }
.btn-lg  { padding: 15px 32px; font-size: 15px; font-weight: 700; }
.btn-xl  { padding: 18px 40px; font-size: 16px; font-weight: 700; }
.btn-full{ width: 100%; }

/* ---- CARDS ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.card-hover { transition: var(--transition); }
.card-hover:hover {
  border-color: rgba(255,70,116,0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.card-accent { border-color: rgba(255,70,116,0.35); background: linear-gradient(135deg, rgba(255,70,116,0.05) 0%, var(--surface) 60%); }

/* Glass card variant */
.card-glass {
  background: rgba(20,20,20,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-xl);
}

/* ---- FORMS ---- */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.8px; margin-bottom: 7px;
}
.form-control {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r);
  color: var(--text);
  font-family: inherit; font-size: 14px;
  padding: 11px 14px; outline: none;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-control::placeholder { color: var(--muted); opacity: 0.7; }
.form-control.error { border-color: var(--error); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

/* Fix browser autofill white background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 100px #0f0f0f inset !important;
  -webkit-text-fill-color: #f2f2f2 !important;
  caret-color: #f2f2f2;
  border-color: rgba(255,255,255,0.12) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Input group (for coupon) */
.input-group {
  display: flex; gap: 0;
}
.input-group .form-control {
  border-radius: var(--r) 0 0 var(--r);
  border-right: none;
}
.input-group .btn {
  border-radius: 0 var(--r) var(--r) 0;
  flex-shrink: 0;
}

/* ---- BADGES ---- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: var(--r-full);
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
}
.badge-success { background: rgba(34,197,94,0.12);  color: var(--success); border: 1px solid rgba(34,197,94,0.25); }
.badge-error   { background: rgba(239,68,68,0.12);   color: var(--error);   border: 1px solid rgba(239,68,68,0.25); }
.badge-warning { background: rgba(245,158,11,0.12);  color: var(--warning); border: 1px solid rgba(245,158,11,0.25); }
.badge-info    { background: var(--accent-soft);     color: var(--accent);  border: 1px solid rgba(255,70,116,0.25); }
.badge-muted   { background: rgba(107,114,128,0.12); color: var(--muted);   border: 1px solid rgba(107,114,128,0.2); }

/* ---- ALERTS ---- */
.alert {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-radius: var(--r);
  font-size: 13px; font-weight: 500; line-height: 1.5;
  border: 1px solid; margin-bottom: 20px;
}
.alert svg {
  width: 16px; height: 16px; flex-shrink: 0;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.alert-success { background: rgba(34,197,94,0.07);  border-color: rgba(34,197,94,0.3);  color: var(--success); }
.alert-error   { background: rgba(239,68,68,0.07);  border-color: rgba(239,68,68,0.3);  color: var(--error); }
.alert-info    { background: var(--accent-soft);    border-color: rgba(255,70,116,0.3); color: var(--accent); }
.alert-warning { background: rgba(245,158,11,0.07); border-color: rgba(245,158,11,0.3); color: var(--warning); }

/* ---- TABLES ---- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
  background: var(--bg-2); color: var(--muted);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.6px;
  padding: 12px 16px; text-align: left; white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 14px 16px; font-size: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,0.015); }

/* ---- DIVIDER ---- */
.divider {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0; color: var(--muted); font-size: 12px;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

/* ---- LICENSE KEY DISPLAY ---- */
.license-key {
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-2);
  border: 1.5px solid var(--accent);
  border-radius: var(--r); padding: 13px 16px;
  box-shadow: 0 0 20px rgba(255,70,116,0.08);
}
.license-key code {
  flex: 1; font-family: 'JetBrains Mono', monospace;
  font-size: 15px; font-weight: 600; color: var(--accent);
  word-break: break-all; letter-spacing: 1px;
}
.copy-btn {
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-2); padding: 6px 14px; border-radius: var(--r-sm);
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: var(--transition); font-family: inherit; white-space: nowrap;
}
.copy-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- SUCCESS PAGE ---- */
.success-page { text-align: center; padding: 60px 0; }
.success-icon {
  width: 80px; height: 80px;
  background: rgba(34,197,94,0.1);
  border: 2px solid var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 24px;
  animation: successPop 0.6s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes successPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0; text-align: center;
  color: var(--muted); font-size: 13px;
  margin-top: 80px;
}
footer a { color: var(--muted); transition: var(--transition); }
footer a:hover { color: var(--accent); }

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px); z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.modal-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 32px;
  width: 100%; max-width: 500px;
  animation: slideUp 0.28s cubic-bezier(.4,0,.2,1);
}
@keyframes slideUp { from { transform: translateY(20px); opacity:0; } to { transform:translateY(0); opacity:1; } }
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.modal-header h3 { font-size: 18px; font-weight: 700; }
.modal-close {
  background: none; border: none; color: var(--muted); font-size: 20px;
  cursor: pointer; transition: var(--transition); line-height: 1;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
}
.modal-close:hover { color: var(--text); background: var(--surface-2); }

/* ---- SPINNER ---- */
.spinner {
  width: 24px; height: 24px;
  border: 2.5px solid rgba(255,255,255,0.12);
  border-top-color: #fff; border-radius: 50%;
  animation: spin 0.7s linear infinite; display: inline-block;
}
.spinner-lg {
  width: 40px; height: 40px;
  border-width: 3px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- UTILS ---- */
.text-accent   { color: var(--accent); }
.text-muted    { color: var(--muted); }
.text-success  { color: var(--success); }
.text-error    { color: var(--error); }
.text-center   { text-align: center; }
.text-sm       { font-size: 13px; }
.text-xs       { font-size: 11px; }
.font-bold     { font-weight: 700; }
.font-mono     { font-family: 'JetBrains Mono', monospace; }

.flex          { display: flex; }
.flex-col      { display: flex; flex-direction: column; }
.items-center  { align-items: center; }
.justify-center{ justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap     { flex-wrap: wrap; }
.gap-1 { gap: 4px; }  .gap-2 { gap: 8px; }
.gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

.mb-1 { margin-bottom: 4px; }  .mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; } .mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.mt-2 { margin-top: 8px; }     .mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }    .mt-8 { margin-top: 32px; }
.p-0 { padding: 0 !important; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }
.overflow-hidden { overflow: hidden; }

/* ---- GRADIENT TEXT ---- */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- TAG / PILL ---- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-soft); border: 1px solid rgba(255,70,116,0.25);
  color: var(--accent); padding: 6px 14px; border-radius: var(--r-full);
  font-size: 12px; font-weight: 700; letter-spacing: 0.3px;
}
.pill svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---- FEATURE ICON BOX ---- */
.icon-box {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--accent-soft);
  border: 1px solid rgba(255,70,116,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-box svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- PRICING CARD ---- */
.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px;
  position: relative; overflow: hidden;
  transition: var(--transition);
  max-width: 460px; margin: 0 auto;
}
.plan-card::after {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-subtle); pointer-events: none;
}
.plan-card:hover {
  border-color: rgba(255,70,116,0.5);
  box-shadow: 0 24px 64px rgba(255,70,116,0.15), var(--shadow-lg);
  transform: translateY(-4px);
}
.plan-ribbon {
  position: absolute; top: 20px; right: -30px;
  background: var(--grad-brand); color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 5px 40px; text-transform: uppercase; letter-spacing: 1.5px;
  transform: rotate(45deg);
}
.plan-price-row { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 4px; }
.plan-currency  { font-size: 24px; font-weight: 700; color: var(--muted); line-height: 1.6; }
.plan-amount    { font-size: 68px; font-weight: 900; line-height: 1; color: var(--accent); font-family: 'Space Grotesk', sans-serif; letter-spacing: -3px; }
.plan-dec       { font-size: 28px; font-weight: 700; color: var(--accent); line-height: 1.4; }
.plan-original  { font-size: 15px; color: var(--muted); text-decoration: line-through; margin-left: 6px; align-self: flex-end; padding-bottom: 4px; }
.plan-label     { font-size: 13px; color: var(--muted); margin: 6px 0 24px; }
.plan-features  { list-style: none; margin-bottom: 28px; }
.plan-features li {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0; font-size: 14px; color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features .fi {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.plan-features .fi svg { width: 12px; height: 12px; stroke: var(--accent); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Buy button */
.buy-btn {
  width: 100%; padding: 17px;
  background: var(--grad-brand); color: #fff;
  border: none; border-radius: var(--r-md);
  font-size: 15px; font-weight: 800; font-family: inherit;
  cursor: pointer; letter-spacing: 0.4px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(255,70,116,0.4);
  transition: var(--transition);
}
.buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,70,116,0.55);
  color: #fff;
}
.buy-btn:active { transform: translateY(0); }

/* Secure note */
.secure-note {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  color: var(--muted); font-size: 12px; margin-top: 14px;
}
.secure-note svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Currency toggle */
.toggle-wrap {
  display: inline-flex; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-full); padding: 3px;
  position: relative; margin-bottom: 32px;
}
.toggle-slider {
  position: absolute; top: 3px; left: 3px;
  height: calc(100% - 6px); border-radius: var(--r-full);
  background: var(--grad-brand);
  box-shadow: 0 2px 12px rgba(255,70,116,0.4);
  transition: transform 0.28s cubic-bezier(.4,0,.2,1), width 0.28s cubic-bezier(.4,0,.2,1);
  z-index: 1;
}
.toggle-btn {
  position: relative; z-index: 2; padding: 9px 24px;
  border-radius: var(--r-full); font-size: 13px; font-weight: 700;
  cursor: pointer; border: none; background: transparent;
  color: var(--muted); transition: color 0.25s; font-family: inherit;
}
.toggle-btn.active { color: #fff; }

/* Coupon input row */
.coupon-row {
  display: flex; gap: 0; margin-bottom: 20px;
}
.coupon-row input {
  flex: 1; border-radius: var(--r) 0 0 var(--r);
  border-right: none;
  text-transform: uppercase; font-weight: 700; letter-spacing: 1px;
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
}
.coupon-row .btn {
  border-radius: 0 var(--r) var(--r) 0; flex-shrink: 0;
}
.coupon-applied {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--r);
  background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3);
  color: var(--success); font-size: 13px; font-weight: 600;
  margin-bottom: 16px;
}
.coupon-applied svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- AUTH PAGES ---- */
.auth-wrap {
  min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse 70% 50% at 80% 0%,   rgba(255,70,116,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 45% at 5%  100%,  rgba(124,58,237,0.07) 0%, transparent 50%),
    var(--bg);
  position: relative; overflow: hidden;
}
/* .auth-bg and .auth-orb removed — filter:blur on fixed elements causes
   backdrop-filter compositing glitch (black circle on auth-card) */
.auth-bg  { display: none; }
.auth-orb { display: none; }

.auth-nav {
  position: sticky; top: 0; z-index: 10;
  padding: 0 32px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(12,12,12,0.98) 0%, rgba(10,10,10,0.92) 100%);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 1px 0 rgba(255,70,116,0.06), 0 4px 20px rgba(0,0,0,0.4);
}
.auth-nav-logo img { height: 34px; width: auto; filter: drop-shadow(0 0 10px var(--accent-glow)); }

.auth-content {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; position: relative; z-index: 1;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: rgba(18,18,18,0.92);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-xl); padding: 40px 36px;
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  box-shadow: 0 2px 0 rgba(255,70,116,0.15) inset,
              0 32px 80px rgba(0,0,0,0.7),
              0 0 0 1px rgba(255,255,255,0.04);
  animation: slideUpFade 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes slideUpFade { from { opacity:0; transform: translateY(24px); } to { opacity:1; transform: translateY(0); } }

.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo img { height: 44px; width: auto; margin: 0 auto; filter: drop-shadow(0 0 14px rgba(255,70,116,0.4)); }
.auth-title { text-align: center; font-size: 22px; font-weight: 800; margin-bottom: 5px; letter-spacing: -0.4px; }
.auth-sub   { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 28px; line-height: 1.5; }

/* Strengthen form inputs inside auth cards */
.auth-card .form-control {
  background: rgba(8,8,8,0.9);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text);
}
.auth-card .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,70,116,0.15);
  background: rgba(8,8,8,0.95);
}

.auth-submit {
  width: 100%; padding: 14px;
  background: var(--grad-brand); color: #fff;
  border: none; border-radius: var(--r-md);
  font-size: 15px; font-weight: 800; font-family: inherit; cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: var(--transition); letter-spacing: 0.3px; margin-top: 4px;
}
.auth-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(255,70,116,0.5); }
.auth-submit:active { transform: translateY(0); }

.auth-link-row { text-align: center; font-size: 13px; color: var(--muted); }
.auth-link-row a { color: var(--accent); font-weight: 600; }
.auth-link-row a:hover { text-decoration: underline; }

.auth-trust {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  margin-top: 22px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 5px;
  color: var(--muted); font-size: 11px; font-weight: 500;
}
.trust-item svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- DASHBOARD ---- */
.dash-wrap {
  max-width: 900px; margin: 0 auto; padding: 40px 24px 80px;
}
.dash-header {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 24px;
}
.dash-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-brand); display: flex; align-items: center;
  justify-content: center; font-size: 22px; font-weight: 800; color: #fff;
  flex-shrink: 0; box-shadow: 0 0 0 3px rgba(255,70,116,0.2);
}
.dash-user-name  { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.dash-user-email { color: var(--muted); font-size: 13px; }

/* ---- SECTION HEADINGS ---- */
.section-eyebrow {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  color: var(--accent); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px;
}
.section-eyebrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }
.section-title {
  text-align: center; font-size: clamp(26px, 4vw, 38px);
  font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-sub {
  text-align: center; color: var(--muted); font-size: 16px;
  max-width: 560px; margin: 0 auto 48px; line-height: 1.65;
}

/* ---- FEATURE GRID ---- */
.feat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 16px;
}
.feat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 24px;
  transition: var(--transition);
}
.feat-card:hover {
  border-color: rgba(255,70,116,0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.feat-card h3 { font-size: 15px; font-weight: 700; margin: 14px 0 6px; }
.feat-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---- VIDEO SECTION ---- */
.video-wrap {
  width: 100%; max-width: 820px;
  margin: 0 auto 52px;
  padding: 0 20px;
}
.video-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0f0f0f;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 0 1px rgba(255,70,116,0.12),
              0 32px 80px rgba(0,0,0,0.7),
              0 0 60px rgba(255,70,116,0.06);
  aspect-ratio: 16 / 9;
}
.video-frame iframe,
.video-frame video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none; display: block;
}
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,70,116,0.08) 0%, transparent 70%);
  gap: 16px;
}
.play-btn {
  width: 72px; height: 72px;
  background: var(--grad-brand);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 12px rgba(255,70,116,0.12), 0 8px 32px rgba(255,70,116,0.4);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.play-btn:hover { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255,70,116,0.15), 0 12px 40px rgba(255,70,116,0.5); }
.play-btn svg { width: 28px; height: 28px; fill: #fff; stroke: none; margin-left: 4px; }
.video-caption { font-size: 14px; color: var(--muted); font-weight: 500; }
.video-badge {
  position: absolute; bottom: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 7px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px; font-weight: 600; color: #e0e0e0;
  pointer-events: none;
}
.video-badge .dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
@media (max-width: 600px) {
  .video-frame { border-radius: 10px; }
  .play-btn    { width: 56px; height: 56px; }
  .play-btn svg { width: 22px; height: 22px; }
}

/* ---- STATS ---- */
.stats-row {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 40px;
  margin-bottom: 56px;
}
.stat-item { text-align: center; }
.stat-value { font-size: 26px; font-weight: 800; font-family: 'Space Grotesk', sans-serif; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 3px; font-weight: 500; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .plan-card  { padding: 24px 20px; }
  .dash-wrap  { padding: 24px 16px; }

  /* Auth pages */
  .auth-content { padding: 24px 16px; align-items: flex-start; padding-top: 32px; }
  .auth-card    { padding: 28px 20px; border-radius: 16px; }
  .auth-title   { font-size: 20px; }
  .auth-sub     { font-size: 13px; margin-bottom: 22px; }
  .auth-logo img { height: 38px; }
  .auth-trust   { gap: 10px; margin-top: 18px; }
}

@media (max-width: 480px) {
  .stats-row  { gap: 24px; }
  .plan-amount { font-size: 52px; }

  /* Auth nav — tighten on small phones */
  .auth-content { padding: 20px 12px; }
  .auth-card    { padding: 24px 16px; }
  .auth-title   { font-size: 18px; }
  .auth-trust   { flex-direction: column; align-items: center; gap: 8px; }
}

/* Auth page inline nav — mobile override (used by login/register which have own <style>) */
@media (max-width: 680px) {
  .gc-nav-inner { padding: 0 16px !important; }
  .gc-nav-actions .nav-hint { display: none; }
}
@media (max-width: 400px) {
  .gc-nav-inner { padding: 0 12px !important; height: 56px !important; }
  .gc-btn { padding: 7px 14px; font-size: 12px; }
}
