/* ============================================================
   SHOPEE AFFILIATE LINK CONVERTER — DESIGN SYSTEM
   Premium dark theme with Shopee orange (#ee4d2d) accents
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  /* Brand colours */
  --clr-primary: #ee4d2d;
  --clr-primary-hover: #d4411f;
  --clr-primary-light: rgba(238, 77, 45, .15);
  --clr-primary-glow: rgba(238, 77, 45, .35);

  /* Backgrounds */
  --bg-body: #0b0f19;
  --bg-surface: #111827;
  --bg-card: rgba(17, 24, 39, .65);
  --bg-card-hover: rgba(30, 41, 59, .70);
  --bg-glass: rgba(255, 255, 255, .04);
  --bg-input: rgba(255, 255, 255, .06);
  --bg-input-focus: rgba(255, 255, 255, .10);

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, .08);
  --border-hover: rgba(255, 255, 255, .15);
  --border-primary: rgba(238, 77, 45, .4);

  /* Status */
  --clr-success: #22c55e;
  --clr-success-bg: rgba(34, 197, 94, .12);
  --clr-warning: #f59e0b;
  --clr-warning-bg: rgba(245, 158, 11, .12);
  --clr-error: #ef4444;
  --clr-error-bg: rgba(239, 68, 68, .12);
  --clr-info: #3b82f6;
  --clr-info-bg: rgba(59, 130, 246, .12);

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.5);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.6);
  --shadow-glow: 0 0 40px var(--clr-primary-glow);
  --shadow-card: 0 4px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.05);

  /* Transition */
  --transition-fast: 150ms cubic-bezier(.4,0,.2,1);
  --transition-base: 250ms cubic-bezier(.4,0,.2,1);
  --transition-slow: 400ms cubic-bezier(.4,0,.2,1);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fs-xs: .75rem;
  --fs-sm: .8125rem;
  --fs-base: .9375rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;

  /* Layout */
  --header-h: 64px;
  --sidebar-w: 260px;
  --container-max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-body);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--clr-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--clr-primary-hover); }

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

ul, ol { list-style: none; }

input, button, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

::selection {
  background: var(--clr-primary);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: var(--fs-5xl); letter-spacing: -.025em; }
h2 { font-size: var(--fs-3xl); letter-spacing: -.02em; }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

.text-gradient {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #ff8a65 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.text-muted { color: var(--text-secondary); }

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }
.text-center { text-align: center; }
.hidden { display: none !important; }
.w-full { width: 100%; }

.section-padding {
  padding: var(--sp-20) 0;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
  border: 1px solid transparent;
  line-height: 1.5;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #d4411f 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(238, 77, 45, .35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(238, 77, 45, .45);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary);
  border: 1.5px solid var(--clr-primary);
}
.btn-outline:hover {
  background: var(--clr-primary-light);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-md);
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
}

.btn-icon.btn-sm {
  width: 32px;
  height: 32px;
}

.btn:disabled, .btn.is-loading {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}

.btn .spinner {
  display: none;
}
.btn.is-loading .spinner {
  display: inline-block;
}
.btn.is-loading .btn-text {
  opacity: 0;
}

/* ============================================================
   6. FORM INPUTS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-input);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: var(--fs-base);
  transition: all var(--transition-fast);
}

.form-input:hover {
  border-color: var(--border-hover);
}

.form-input:focus {
  background: var(--bg-input-focus);
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px var(--clr-primary-light);
}

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

.form-hint {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.input-group {
  position: relative;
  display: flex;
  align-items: stretch;
}

.input-group .form-input {
  flex: 1;
}

.input-group .input-addon {
  display: flex;
  align-items: center;
  padding: 0 var(--sp-4);
  background: rgba(255,255,255,.03);
  border: 1.5px solid var(--border-subtle);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  white-space: nowrap;
}

.input-group .input-addon:first-child {
  border-right: 0;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.input-group .form-input:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.input-group .form-input:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.input-group .btn:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  border: 1.5px solid var(--border-subtle);
  border-left: 0;
}

/* ============================================================
   7. CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.card-hover:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-glow {
  position: relative;
}
.card-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--clr-primary), transparent 60%);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.card-glow:hover::before { opacity: 1; }

/* Glass card variant */
.glass {
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, .08);
}

/* ============================================================
   8. BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.badge-primary {
  background: var(--clr-primary-light);
  color: var(--clr-primary);
}

.badge-success {
  background: var(--clr-success-bg);
  color: var(--clr-success);
}

.badge-warning {
  background: var(--clr-warning-bg);
  color: var(--clr-warning);
}

.badge-error {
  background: var(--clr-error-bg);
  color: var(--clr-error);
}

.badge-info {
  background: var(--clr-info-bg);
  color: var(--clr-info);
}

/* ============================================================
   9. TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  top: var(--sp-6);
  right: var(--sp-6);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  min-width: 300px;
  max-width: 420px;
  pointer-events: auto;
  animation: slideInRight var(--transition-base) ease-out;
  font-size: var(--fs-sm);
}

.toast.toast-exit {
  animation: slideOutRight var(--transition-fast) ease-in forwards;
}

.toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  font-size: var(--fs-lg);
  line-height: 1;
}

.toast-message { flex: 1; }

.toast-close {
  flex-shrink: 0;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  background: none;
  border: none;
  font-size: var(--fs-lg);
  line-height: 1;
}
.toast-close:hover { color: var(--text-primary); }

.toast-success { border-left: 3px solid var(--clr-success); }
.toast-error { border-left: 3px solid var(--clr-error); }
.toast-warning { border-left: 3px solid var(--clr-warning); }
.toast-info { border-left: 3px solid var(--clr-info); }

/* ============================================================
   10. MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  animation: fadeIn var(--transition-fast);
}

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

.modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: scaleIn var(--transition-base);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
}

.modal-title {
  font-size: var(--fs-xl);
  font-weight: 700;
}

.modal-close {
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  background: none;
  border: none;
  font-size: var(--fs-xl);
}
.modal-close:hover { color: var(--text-primary); }

.modal-body { margin-bottom: var(--sp-6); }

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--sp-3);
}

/* ============================================================
   11. NAVIGATION / HEADER
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.navbar-glass {
  background: rgba(11, 15, 25, .7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -.02em;
}

.navbar-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--clr-primary), #ff8a65);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  color: #fff;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.navbar-link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}
.navbar-link:hover { color: var(--text-primary); }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.navbar-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  font-size: var(--fs-xl);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 15, 25, .95);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: var(--sp-8) var(--sp-6);
  flex-direction: column;
  gap: var(--sp-4);
  animation: fadeIn var(--transition-fast);
}
.mobile-menu.is-open { display: flex; }

.mobile-menu a {
  display: block;
  padding: var(--sp-3) 0;
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-menu a:hover { color: var(--text-primary); }

/* ============================================================
   12. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

/* Gradient orbs */
.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  top: -150px;
  right: -150px;
  background: radial-gradient(circle, rgba(238,77,45,.2) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(255,138,101,.12) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--clr-primary);
  border-radius: 50%;
  opacity: .3;
  animation: particleFloat linear infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--clr-primary-light);
  border: 1px solid rgba(238,77,45,.25);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--clr-primary);
  margin-bottom: var(--sp-6);
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: var(--sp-6);
  line-height: 1.1;
}

.hero-tagline {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--sp-8);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  margin-bottom: var(--sp-12);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--sp-12);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--clr-primary);
}

.hero-stat-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--sp-1);
}

/* ============================================================
   13. FEATURES SECTION
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}

.feature-card {
  padding: var(--sp-8);
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-5);
  background: var(--clr-primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: var(--clr-primary);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(238,77,45,.3);
}

.feature-card h4 {
  margin-bottom: var(--sp-3);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ============================================================
   14. PRICING SECTION
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
  align-items: start;
}

.pricing-card {
  padding: var(--sp-8);
  position: relative;
  text-align: center;
}

.pricing-card.is-popular {
  border-color: var(--clr-primary);
  background: linear-gradient(180deg, rgba(238,77,45,.08) 0%, var(--bg-card) 100%);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--clr-primary), #ff8a65);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 700;
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.pricing-name {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--sp-4);
}

.pricing-price {
  margin-bottom: var(--sp-6);
}

.pricing-amount {
  font-size: var(--fs-4xl);
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-period {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.pricing-features {
  text-align: left;
  margin-bottom: var(--sp-8);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.pricing-feature .check {
  color: var(--clr-success);
  font-weight: 700;
}
.pricing-feature .cross {
  color: var(--text-muted);
}

/* ============================================================
   15. CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-card {
  background: linear-gradient(135deg, rgba(238,77,45,.15) 0%, rgba(238,77,45,.03) 100%);
  border: 1px solid rgba(238,77,45,.2);
  border-radius: var(--radius-xl);
  padding: var(--sp-16) var(--sp-8);
  text-align: center;
  position: relative;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(238,77,45,.15), transparent 70%);
  pointer-events: none;
}

/* ============================================================
   16. FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--sp-12) 0 var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-top: var(--sp-3);
  max-width: 300px;
  line-height: 1.7;
}

.footer-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: var(--sp-4);
}

.footer-links a {
  display: block;
  padding: var(--sp-1) 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ============================================================
   17. DASHBOARD LAYOUT
   ============================================================ */
.dashboard {
  display: flex;
  min-height: 100vh;
  padding-top: var(--header-h);
}

.dashboard-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(11, 15, 25, .85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 var(--sp-6);
  z-index: 1000;
}

.dashboard-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.dashboard-user-email {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
}

.dashboard-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  padding: var(--sp-6) var(--sp-4);
  position: fixed;
  top: var(--header-h);
  bottom: 0;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.sidebar-link:hover {
  background: var(--bg-glass);
  color: var(--text-primary);
}

.sidebar-link.is-active {
  background: var(--clr-primary-light);
  color: var(--clr-primary);
}

.sidebar-link .sidebar-icon {
  width: 20px;
  text-align: center;
  font-size: var(--fs-md);
}

.dashboard-main {
  flex: 1;
  margin-left: var(--sidebar-w);
  padding: var(--sp-8);
  max-width: calc(100% - var(--sidebar-w));
}

.dashboard-section {
  display: none;
}
.dashboard-section.is-active {
  display: block;
  animation: fadeIn var(--transition-base);
}

.dashboard-title {
  font-size: var(--fs-2xl);
  font-weight: 700;
  margin-bottom: var(--sp-2);
}

.dashboard-subtitle {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
}

/* Stats cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
}

.stat-card {
  padding: var(--sp-5);
}

.stat-card-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: var(--sp-2);
}

.stat-card-value {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--text-primary);
}

.stat-card-change {
  font-size: var(--fs-xs);
  margin-top: var(--sp-1);
}

/* Plan cards */
.plan-info {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.plan-current {
  flex: 1;
  min-width: 200px;
}

.plan-name-display {
  font-size: var(--fs-2xl);
  font-weight: 800;
}

.plan-expires {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-top: var(--sp-1);
}

/* ============================================================
   18. CONVERT PAGE (PREMIUM GLASSMORPHISM)
   ============================================================ */
.convert-page {
  min-height: 100vh;
  background: var(--bg-body);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Background Animated Orbs */
.convert-page::before,
.convert-page::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.5;
  animation: pulseOrb 10s infinite alternate;
}

.convert-page::before {
  top: -10%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: rgba(238, 77, 45, 0.25); /* Shopee Orange */
}

.convert-page::after {
  bottom: -10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: rgba(196, 48, 43, 0.25); /* YouTube Red */
  animation-delay: -5s;
}

@keyframes pulseOrb {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(50px, 30px); }
}

.convert-header {
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(11, 15, 25, .6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  z-index: 10;
}

.convert-header .container {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  max-width: var(--container-max);
  margin: 0 auto;
}

.convert-header-title {
  font-size: var(--fs-md);
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #fca5a5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.convert-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-12) var(--sp-6);
  position: relative;
  z-index: 10;
}

.convert-wrapper {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.convert-header-text {
  text-align: center;
  margin-bottom: var(--sp-4);
}

.convert-header-text h1 {
  font-size: var(--fs-4xl);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--sp-3);
  background: linear-gradient(135deg, #fff 30%, #fb923c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.convert-header-text p {
  color: var(--text-secondary);
  font-size: var(--fs-lg);
}

/* --- Pill Tab Switcher --- */
.convert-tabs {
  display: flex;
  gap: 0;
  margin: 0 auto;
  background: rgba(0,0,0,0.3);
  border-radius: var(--radius-full);
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
  width: 100%;
}

.convert-tab {
  flex: 1;
  padding: var(--sp-3) var(--sp-4);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}

.convert-tab:hover {
  color: var(--text-primary);
}

.convert-tab.is-active[data-tab="facebook"] {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
}

.convert-tab.is-active[data-tab="youtube"] {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Glassmorphism Card */
.convert-card {
  padding: var(--sp-8);
  background: rgba(17, 24, 39, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

.convert-input-wrapper {
  position: relative;
  margin-bottom: var(--sp-6);
}

.convert-input {
  width: 100%;
  padding: 18px 60px 18px 24px;
  background: rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-size: var(--fs-lg);
  transition: all var(--transition-fast);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.convert-input:focus {
  border-color: var(--clr-primary);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 4px rgba(238,77,45,0.2), inset 0 2px 4px rgba(0,0,0,0.2);
}

.convert-paste-btn {
  position: absolute;
  right: var(--sp-3);
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
}

.convert-paste-btn:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

/* Action Button */
.convert-action-btn {
  height: 56px;
  font-size: var(--fs-lg);
  font-weight: 700;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-hover));
  box-shadow: 0 8px 20px rgba(238, 77, 45, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.convert-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(238, 77, 45, 0.4);
}

/* Result Ticket (Premium Voucher Look) */
.convert-result {
  margin-top: var(--sp-6);
  animation: slideUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.convert-result-inner {
  padding: var(--sp-8);
  background: linear-gradient(135deg, rgba(34,197,94,0.15) 0%, rgba(34,197,94,0.05) 100%);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.15);
}

/* Fake perforated edges */
.convert-result-inner::before,
.convert-result-inner::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 30px;
  background: var(--bg-body);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
.convert-result-inner::before { left: -15px; }
.convert-result-inner::after { right: -15px; }

.convert-result-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: rgba(34,197,94,0.2);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.4);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.convert-result-title {
  font-size: var(--fs-3xl);
  font-weight: 900;
  color: #fff;
  margin-bottom: var(--sp-6);
  text-shadow: 0 2px 10px rgba(34,197,94,0.5);
}

#voucherCodeBox {
  margin: var(--sp-4) auto var(--sp-6);
  padding: var(--sp-4) var(--sp-6);
  background: rgba(0,0,0,0.4);
  border: 2px dashed rgba(34,197,94,0.5);
  border-radius: var(--radius-md);
  display: inline-block;
  min-width: 250px;
}

#voucherCodeBox .voucher-label {
  font-size: var(--fs-sm);
  color: #86efac;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
  font-weight: 600;
}

#voucherCode {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: #4ade80;
  letter-spacing: 0.15em;
}

.convert-buy-btn {
  width: 100%;
  height: 60px;
  font-size: var(--fs-xl);
  font-weight: 800;
  border-radius: var(--radius-lg);
  background: #22c55e;
  color: #fff;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.convert-buy-btn:hover {
  background: #16a34a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 25px rgba(34, 197, 94, 0.5);
}

/* Guide section */
.convert-guide {
  margin-top: var(--sp-6);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.convert-guide-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--sp-5) var(--sp-6);
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: var(--fs-lg);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.convert-guide-toggle:hover {
  background: rgba(255,255,255,0.02);
}

.convert-guide-content {
  display: none;
  padding: 0 var(--sp-6) var(--sp-6);
}
.convert-guide-content.is-open {
  display: block;
  animation: slideDown var(--transition-fast);
}

.guide-step {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.guide-step:last-child {
  border-bottom: none;
}

.guide-step-number {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.guide-step-text {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.6;
}
.guide-step-text strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
  font-size: var(--fs-md);
}

/* ============================================================
   19. ADMIN PANEL
   ============================================================ */
.admin-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.admin-table th {
  background: rgba(255,255,255,.03);
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-weight: 600;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.admin-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  white-space: nowrap;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table tr:hover td {
  background: rgba(255,255,255,.02);
}

.admin-actions {
  display: flex;
  gap: var(--sp-2);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}

.pagination-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  background: none;
  border: 1px solid var(--border-subtle);
}

.pagination-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.pagination-btn.is-active {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}

/* ============================================================
   20. AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  position: relative;
}

.auth-page::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(238,77,45,.12) 0%, transparent 70%);
  pointer-events: none;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: var(--sp-10);
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--text-primary);
}

.auth-title {
  text-align: center;
  margin-bottom: var(--sp-2);
}

.auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-8);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.auth-footer {
  text-align: center;
  margin-top: var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ============================================================
   21. ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100px); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(.9); }
  to   { opacity: 1; transform: scale(1); }
}

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

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}

@keyframes particleFloat {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: .3; }
  90%  { opacity: .3; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .5; }
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  display: inline-block;
}

.spinner-sm {
  width: 14px;
  height: 14px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg-glass) 25%, rgba(255,255,255,.08) 50%, var(--bg-glass) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ============================================================
   22. BIO LINK COMPONENTS
   ============================================================ */
.bio-header {
  text-align: center;
  margin-bottom: var(--sp-8);
  animation: fadeUp .6s ease-out;
}
.bio-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto var(--sp-4);
  padding: 4px;
  background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bio-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-surface);
}
.bio-name {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--text-base);
  margin-bottom: var(--sp-2);
}
.bio-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto var(--sp-4);
  line-height: 1.5;
}
.bio-socials {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.bio-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-base);
  text-decoration: none;
}
.bio-social-icon:hover {
  transform: translateY(-3px);
  color: var(--clr-primary);
  border-color: var(--clr-primary);
  box-shadow: 0 4px 15px rgba(238, 77, 45, 0.2);
}

.bio-products {
  margin-top: var(--sp-10);
  animation: fadeUp .8s ease-out;
}
.bio-products-title {
  text-align: center;
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--sp-6);
  color: var(--text-base);
}
.bio-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
.bio-product-card {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-base);
}
.bio-product-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}
.bio-product-img {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: var(--sp-3);
  background: var(--bg-surface);
}
.bio-product-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-base);
  margin-bottom: var(--sp-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
  height: 2.8em;
}
.bio-product-btn {
  width: 100%;
  padding: var(--sp-2);
  border: none;
  background: rgba(238, 77, 45, 0.1);
  color: var(--clr-primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: var(--fs-xs);
  cursor: pointer;
  transition: all var(--transition-base);
}
.bio-product-card:hover .bio-product-btn {
  background: var(--clr-primary);
  color: white;
}

@media (max-width: 480px) {
  .bio-products-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   23. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
    transition: transform var(--transition-base);
  }
  .dashboard-sidebar.is-open {
    transform: translateX(0);
  }
  .dashboard-main {
    margin-left: 0;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 56px;
  }

  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }

  .navbar-links { display: none; }
  .navbar-toggle { display: flex; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 60px) 0 60px; }
  .hero-stats { gap: var(--sp-6); }
  .hero-stat-value { font-size: var(--fs-2xl); }

  .section-padding { padding: var(--sp-12) 0; }

  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--sp-3); text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .auth-card { padding: var(--sp-6); }

  .convert-body { padding: var(--sp-4); }

  .toast-container { left: var(--sp-4); right: var(--sp-4); }
  .toast { min-width: auto; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: var(--sp-4); }
  
  /* Convert page mobile optimizations */
  .convert-header-text h1 { font-size: var(--fs-2xl); }
  .convert-header-text p { font-size: var(--fs-base); }
  .convert-card { padding: var(--sp-5); }
  .convert-input { padding: 14px 44px 14px 16px; font-size: var(--fs-base); }
  .convert-action-btn { height: 48px; font-size: var(--fs-base); }
  .convert-tabs { flex-direction: column; border-radius: var(--radius-lg); padding: 4px; }
  .convert-tab { padding: var(--sp-2); font-size: var(--fs-sm); border-radius: var(--radius-md); }
}
