/* ==========================================================================
   my60day.com — Premium Design System
   Version : 1.0.0
   Author  : my60day Dev Team
   ========================================================================== */

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

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-primary:       #0A0A1A;
  --bg-secondary:     #0F0F2D;
  --bg-card:          #12122A;
  --bg-card-hover:    #1A1A3A;

  /* Purple Palette */
  --purple-primary:   #7C3AED;
  --purple-light:     #8B5CF6;
  --purple-dark:      #6D28D9;
  --purple-glow:      rgba(124, 58, 237, 0.3);

  /* Gold Palette */
  --gold:             #F59E0B;
  --gold-light:       #FCD34D;

  /* Typography */
  --text-primary:     #F8FAFC;
  --text-secondary:   #94A3B8;
  --text-muted:       #64748B;

  /* Borders */
  --border-color:     rgba(124, 58, 237, 0.2);
  --border-hover:     rgba(124, 58, 237, 0.5);

  /* Status */
  --success:          #10B981;
  --error:            #EF4444;
  --warning:          #F59E0B;
  --info:             #3B82F6;

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

  /* Shadows */
  --shadow-sm:        0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:        0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:        0 8px 40px rgba(0,0,0,0.5);
  --shadow-purple:    0 4px 20px rgba(124,58,237,0.3);
  --shadow-gold:      0 4px 20px rgba(245,158,11,0.25);

  /* Transitions */
  --transition:       0.3s ease;
  --transition-fast:  0.15s ease;
  --transition-slow:  0.5s ease;

  /* Typography */
  --font-primary:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --nav-height:       72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
  background-color: var(--purple-primary);
  color: #fff;
}
::-moz-selection {
  background-color: var(--purple-primary);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--purple-dark);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--purple-primary);
}

/* Links */
a {
  color: var(--purple-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--purple-primary);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lists */
ul, ol {
  list-style: none;
}

/* Inputs */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Horizontal Rule */
hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 2rem 0;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem,   5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 2rem);   }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem;     }

p {
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gold    { color: var(--gold) !important; }
.text-purple  { color: var(--purple-light) !important; }
.text-muted   { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-success { color: var(--success) !important; }
.text-error   { color: var(--error) !important; }
.text-center  { text-align: center !important; }
.text-left    { text-align: left !important; }
.text-right   { text-align: right !important; }

.font-light   { font-weight: 300; }
.font-normal  { font-weight: 400; }
.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }
.font-extrabold{ font-weight: 800; }

/* Bengali / Multi-language Text */
.bn-text {
  line-height: 1.9;
  font-size: 1.0625rem;
}

/* --------------------------------------------------------------------------
   4. LAYOUT SYSTEM
   -------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-lg {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-4,
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }
}

/* Flex utilities */
.flex         { display: flex; }
.flex-col     { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-center   { justify-content: center; }
.justify-between  { justify-content: space-between; }
.justify-end      { justify-content: flex-end; }
.flex-wrap    { flex-wrap: wrap; }
.gap-1  { gap: 0.5rem; }
.gap-2  { gap: 1rem; }
.gap-3  { gap: 1.5rem; }
.gap-4  { gap: 2rem; }

/* Spacing */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* --------------------------------------------------------------------------
   5. NAVIGATION
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--nav-height);
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.97);
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-purple);
}

.navbar-logo .logo-text {
  background: linear-gradient(135deg, var(--purple-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav links */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 1.75rem);
  height: 2px;
  background: linear-gradient(90deg, var(--purple-primary), var(--gold));
  border-radius: var(--radius-full);
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.08);
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Navbar actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
  outline: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 850;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.mobile-nav-overlay.open {
  display: block;
  animation: fadeIn var(--transition) ease;
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 90vw);
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  z-index: 900;
  padding: 2rem 1.5rem;
  transition: right var(--transition);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  transition: color var(--transition-fast);
}
.mobile-nav-close:hover { color: var(--text-primary); }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text-primary);
  background: rgba(124, 58, 237, 0.1);
  border-color: var(--border-color);
}

.mobile-nav-actions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navbar-nav { display: none; }
  .navbar-actions .btn { display: none; }
}

/* Body offset for fixed nav */
body {
  padding-top: var(--nav-height);
}

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 44px;
}

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

/* Primary */
.btn-primary {
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(124,58,237,0.5);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* Secondary / Outline */
.btn-secondary {
  background: transparent;
  color: var(--purple-light);
  border-color: var(--purple-primary);
}

.btn-secondary:hover {
  background: var(--purple-primary);
  color: #fff;
  box-shadow: var(--shadow-purple);
  transform: translateY(-2px);
}

/* Gold */
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #D97706);
  color: #000;
  border-color: transparent;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(245,158,11,0.4);
  color: #000;
}

/* Ghost */
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border-color: var(--border-color);
}

.btn-ghost:hover {
  background: rgba(124, 58, 237, 0.1);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* Danger */
.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--error);
  border-color: rgba(239,68,68,0.3);
}

.btn-danger:hover {
  background: var(--error);
  color: #fff;
  border-color: var(--error);
}

/* Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
  min-height: 36px;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
  min-height: 54px;
}

.btn-xl {
  padding: 1.125rem 3rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
  min-height: 60px;
}

.btn-full {
  width: 100%;
  display: flex;
}

/* Icon button */
.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

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

/* Loading state */
.btn-loading {
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: 0.5rem;
}

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

/* Ripple */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition-fast);
}

.btn:active::before {
  background: rgba(255,255,255,0.08);
}

/* --------------------------------------------------------------------------
   7. CARDS
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(124,58,237,0.15);
}

.card:hover::before {
  opacity: 1;
}

/* Featured card – always glowing */
.card-featured {
  border-color: rgba(124,58,237,0.5);
  box-shadow: var(--shadow-purple), inset 0 0 60px rgba(124,58,237,0.04);
}

.card-featured::before {
  opacity: 1;
}

/* Card variants */
.card-sm { padding: 1.25rem; border-radius: var(--radius-md); }
.card-lg { padding: 2.5rem; }
.card-flat { background: rgba(255,255,255,0.03); border: none; }

/* Card elements */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.card-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.card-body { flex: 1; }

.card-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Icon card */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(109,40,217,0.1));
  border: 1px solid rgba(124,58,237,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. DAY CARDS (Course)
   -------------------------------------------------------------------------- */
.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.day-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.day-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.day-card.completed {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.04);
}

.day-card.locked {
  opacity: 0.55;
  cursor: not-allowed;
}

.day-card.locked:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border-color);
}

.day-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.day-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  width: fit-content;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-badge.completed {
  background: rgba(16,185,129,0.15);
  color: var(--success);
}

.status-badge.unlocked {
  background: rgba(124,58,237,0.15);
  color: var(--purple-light);
}

.status-badge.locked {
  background: rgba(100,116,139,0.15);
  color: var(--text-muted);
}

.status-badge.in-progress {
  background: rgba(245,158,11,0.15);
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   9. FORMS
   -------------------------------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

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

.form-label.required::after {
  content: ' *';
  color: var(--error);
}

.form-control {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  font-size: 0.9375rem;
  transition: all var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
}

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

.form-control:hover {
  border-color: rgba(124,58,237,0.4);
  background: rgba(255,255,255,0.05);
}

.form-control:focus {
  border-color: var(--purple-primary);
  background: rgba(124,58,237,0.06);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394A3B8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

select.form-control option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Validation */
.form-control.is-valid {
  border-color: var(--success);
  background: rgba(16,185,129,0.05);
}

.form-control.is-invalid {
  border-color: var(--error);
  background: rgba(239,68,68,0.05);
}

.form-error {
  font-size: 0.8125rem;
  color: var(--error);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.form-error::before {
  content: '⚠';
}

.form-success {
  font-size: 0.8125rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.form-success::before {
  content: '✓';
}

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

/* Input with icon */
.input-group {
  position: relative;
}

.input-group .form-control {
  padding-left: 2.75rem;
}

.input-group .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 1rem;
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.form-check-label {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   10. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
}

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(124,58,237,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(109,40,217,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(245,158,11,0.06) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes heroGlow {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.05); }
}

/* Grid overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--purple-light);
  margin-bottom: 1.75rem;
  letter-spacing: 0.03em;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating particles */
.particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--purple-primary);
  border-radius: 50%;
  animation: float var(--duration, 6s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0.4;
}

.particle:nth-child(even) {
  background: var(--gold);
  width: 3px;
  height: 3px;
}

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25%       { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
  50%       { transform: translateY(-40px) translateX(-5px); opacity: 0.4; }
  75%       { transform: translateY(-15px) translateX(-10px); opacity: 0.5; }
}

/* Hero stats strip */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. PROGRESS ELEMENTS
   -------------------------------------------------------------------------- */
/* Linear Progress Bar */
.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-lg {
  height: 12px;
}

.progress-bar-sm {
  height: 4px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple-light));
  border-radius: var(--radius-full);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 2s infinite;
}

.progress-fill.gold {
  background: linear-gradient(90deg, #D97706, var(--gold-light));
}

.progress-fill.success {
  background: linear-gradient(90deg, #059669, var(--success));
}

.progress-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--purple-light);
  margin-top: 0.375rem;
  display: flex;
  justify-content: space-between;
}

/* Progress with label */
.progress-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

/* Progress Ring (SVG) */
.progress-ring-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-ring-track {
  fill: none;
  stroke: rgba(255,255,255,0.08);
}

.progress-ring-fill {
  fill: none;
  stroke: url(#progressGradient);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-ring-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
}

.progress-ring-label .value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.progress-ring-label .label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   12. MODALS
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(124,58,237,0.1), 0 0 80px rgba(124,58,237,0.08);
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-sm { max-width: 420px; }
.modal-lg { max-width: 720px; }
.modal-xl { max-width: 960px; }

.modal-header {
  padding: 1.75rem 2rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-close {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1.125rem;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(239,68,68,0.15);
  border-color: rgba(239,68,68,0.3);
  color: var(--error);
}

.modal-body {
  padding: 1.5rem 2rem;
}

.modal-footer {
  padding: 0 2rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   13. ALERTS & TOASTS
   -------------------------------------------------------------------------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.alert-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.alert-success {
  background: rgba(16,185,129,0.1);
  border-color: rgba(16,185,129,0.3);
  color: #34D399;
}

.alert-error {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.3);
  color: #F87171;
}

.alert-warning {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.3);
  color: #FCD34D;
}

.alert-info {
  background: rgba(59,130,246,0.1);
  border-color: rgba(59,130,246,0.3);
  color: #60A5FA;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + 1rem);
  right: 1.5rem;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
  max-width: 380px;
  width: calc(100vw - 3rem);
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  pointer-events: all;
  animation: slideInRight 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  position: relative;
  overflow: hidden;
}

.toast.hiding {
  animation: slideOutRight 0.3s ease forwards;
}

.toast-icon {
  font-size: 1.125rem;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.125rem;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

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

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  animation: toastProgress var(--duration, 4s) linear forwards;
}

.toast.success { border-left: 3px solid var(--success); }
.toast.success .toast-icon { color: var(--success); }
.toast.success .toast-progress { background: var(--success); }

.toast.error   { border-left: 3px solid var(--error); }
.toast.error   .toast-icon { color: var(--error); }
.toast.error   .toast-progress { background: var(--error); }

.toast.warning { border-left: 3px solid var(--warning); }
.toast.warning .toast-icon { color: var(--warning); }
.toast.warning .toast-progress { background: var(--warning); }

.toast.info    { border-left: 3px solid var(--info); }
.toast.info    .toast-icon { color: var(--info); }
.toast.info    .toast-progress { background: var(--info); }

@keyframes toastProgress {
  from { width: 100%; }
  to   { width: 0%;   }
}

@keyframes slideOutRight {
  to { transform: translateX(calc(100% + 2rem)); opacity: 0; }
}

/* --------------------------------------------------------------------------
   14. FEATURE & STEP CARDS
   -------------------------------------------------------------------------- */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-purple);
}

.feature-card .feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(109,40,217,0.1));
  border: 1px solid rgba(124,58,237,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0;
}

.feature-card p {
  font-size: 0.9rem;
  text-align: center;
}

/* Step Cards */
.steps-wrapper {
  position: relative;
}

.steps-line {
  position: absolute;
  top: 40px;
  left: calc(16.66% + 40px);
  right: calc(16.66% + 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple-light));
  opacity: 0.3;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

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

.step-number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow-purple);
}

/* --------------------------------------------------------------------------
   15. PAGINATION
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.page-btn:hover {
  border-color: var(--border-hover);
  background: rgba(124,58,237,0.1);
  color: var(--text-primary);
}

.page-btn.active {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  color: #fff;
  box-shadow: var(--shadow-purple);
}

.page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   16. QUIZ STYLES
   -------------------------------------------------------------------------- */
.quiz-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.quiz-counter {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.quiz-timer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #F87171;
  font-variant-numeric: tabular-nums;
}

.quiz-timer.warning {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.25);
  color: var(--gold);
  animation: pulse 1s infinite;
}

.quiz-question {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.quiz-option:hover {
  border-color: rgba(124,58,237,0.5);
  background: rgba(124,58,237,0.06);
}

.quiz-option.selected {
  border-color: var(--purple-primary);
  background: rgba(124,58,237,0.12);
}

.quiz-option.correct {
  border-color: var(--success);
  background: rgba(16,185,129,0.1);
}

.quiz-option.incorrect {
  border-color: var(--error);
  background: rgba(239,68,68,0.08);
}

.quiz-option-letter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.quiz-option.selected .quiz-option-letter {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  color: #fff;
}

.quiz-option.correct .quiz-option-letter {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.quiz-option.incorrect .quiz-option-letter {
  background: var(--error);
  border-color: var(--error);
  color: #fff;
}

.quiz-option-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.quiz-option.selected .quiz-option-text,
.quiz-option.correct .quiz-option-text,
.quiz-option.incorrect .quiz-option-text {
  color: var(--text-primary);
}

/* Quiz result */
.quiz-result {
  text-align: center;
  padding: 3rem 2rem;
}

.quiz-score-ring {
  margin: 0 auto 2rem;
}

/* --------------------------------------------------------------------------
   17. LESSON CONTENT
   -------------------------------------------------------------------------- */
.lesson-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.lesson-content h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}

.lesson-content h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--text-primary);
}

.lesson-content p {
  margin-bottom: 1.25rem;
}

.lesson-content ul,
.lesson-content ol {
  list-style: initial;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.lesson-content li {
  margin-bottom: 0.5rem;
}

.lesson-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

.lesson-content em {
  color: var(--gold);
  font-style: normal;
}

.lesson-content code {
  background: rgba(124,58,237,0.15);
  color: var(--purple-light);
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.875em;
}

.lesson-content pre {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.lesson-content blockquote {
  border-left: 4px solid var(--purple-primary);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(124,58,237,0.06);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.lesson-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.lesson-content th,
.lesson-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

.lesson-content th {
  background: rgba(124,58,237,0.1);
  color: var(--text-primary);
  font-weight: 600;
}

.lesson-content td {
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   18. SIDEBAR (Student Dashboard)
   -------------------------------------------------------------------------- */
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  min-height: calc(100vh - var(--nav-height));
}

.sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border-color);
  padding: 2rem 0;
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

.sidebar-section {
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.sidebar-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 0.5rem;
  margin-bottom: 0.5rem;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
  margin-bottom: 0.125rem;
}

.sidebar-nav-link .nav-icon {
  font-size: 1.0625rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-nav-link:hover {
  background: rgba(124,58,237,0.08);
  color: var(--text-primary);
}

.sidebar-nav-link.active {
  background: rgba(124,58,237,0.15);
  color: var(--purple-light);
  font-weight: 600;
}

.sidebar-nav-link .badge-count {
  margin-left: auto;
  background: var(--purple-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
  min-width: 20px;
  text-align: center;
}

/* Dashboard main content */
.dashboard-main {
  padding: 2rem;
  overflow-x: hidden;
}

@media (max-width: 1024px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
    position: fixed;
    left: 0;
    top: var(--nav-height);
    z-index: 800;
    height: calc(100vh - var(--nav-height));
    width: 280px;
    box-shadow: var(--shadow-lg);
  }

  .sidebar.open { display: block; }
  .dashboard-main { padding: 1.5rem 1rem; }
}

/* --------------------------------------------------------------------------
   19. WHATSAPP FLOAT BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.whatsapp-btn {
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  position: relative;
  text-decoration: none;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.3);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37,211,102,0.6);
}

.whatsapp-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.whatsapp-tooltip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsappPulse {
  0%   { transform: scale(1);    opacity: 0.5; }
  50%  { transform: scale(1.4);  opacity: 0;   }
  100% { transform: scale(1.4);  opacity: 0;   }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .whatsapp-btn {
    width: 50px;
    height: 50px;
  }
}

/* --------------------------------------------------------------------------
   20. SKELETON & LOADING STATES
   -------------------------------------------------------------------------- */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.04) 25%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.04) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-text {
  height: 1em;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.skeleton-title {
  height: 1.75em;
  width: 60%;
  margin-bottom: 1rem;
}

.skeleton-btn {
  height: 44px;
  width: 140px;
  border-radius: var(--radius-md);
}

.skeleton-card {
  height: 200px;
  border-radius: var(--radius-lg);
}

/* Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(124,58,237,0.2);
  border-top-color: var(--purple-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner-sm {
  width: 24px;
  height: 24px;
  border-width: 2px;
}

.spinner-lg {
  width: 56px;
  height: 56px;
  border-width: 4px;
}

.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   21. BADGES (General)
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge-purple { background: rgba(124,58,237,0.2); color: var(--purple-light); }
.badge-gold   { background: rgba(245,158,11,0.2); color: var(--gold); }
.badge-success{ background: rgba(16,185,129,0.2); color: var(--success); }
.badge-error  { background: rgba(239,68,68,0.2);  color: var(--error); }
.badge-info   { background: rgba(59,130,246,0.2); color: var(--info); }
.badge-muted  { background: rgba(100,116,139,0.15); color: var(--text-muted); }
.badge-warning{ background: rgba(245,158,11,0.15); color: var(--warning); }

/* --------------------------------------------------------------------------
   22. PRICING / CTA CARDS
   -------------------------------------------------------------------------- */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card.popular {
  border-color: rgba(124,58,237,0.5);
  box-shadow: var(--shadow-purple);
}

.pricing-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-primary), var(--gold));
}

.popular-label {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin: 1.25rem 0;
}

.price-amount small {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-muted);
  vertical-align: middle;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.price-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.price-feature .check {
  color: var(--success);
  font-size: 1rem;
  flex-shrink: 0;
}

.price-feature .cross {
  color: var(--text-muted);
  font-size: 1rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   23. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.875rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   24. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
  margin-bottom: 0.75rem;
}

.faq-item.open {
  border-color: rgba(124,58,237,0.4);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  gap: 1rem;
  transition: color var(--transition);
  user-select: none;
}

.faq-question:hover {
  color: var(--purple-light);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--purple-light);
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--purple-primary);
  border-color: var(--purple-primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer.open {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   25. UTILITY CLASSES
   -------------------------------------------------------------------------- */
/* Display */
.hidden    { display: none !important; }
.show      { display: block !important; }
.invisible { visibility: hidden; }

/* Responsive hide/show */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
  .show-mobile { display: none !important; }
}
@media (max-width: 1024px) {
  .hide-tablet { display: none !important; }
}

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky   { position: sticky; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto   { overflow: auto; }

/* Width/Height */
.w-full { width: 100%; }
.h-full { height: 100%; }

/* Border radius */
.rounded    { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

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

.divider-purple {
  background: linear-gradient(90deg, transparent, var(--purple-primary), transparent);
  opacity: 0.4;
}

/* Responsive table wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
}

/* Gradient separator */
.gradient-separator {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple-primary), var(--gold));
  border-radius: var(--radius-full);
  margin: 1rem auto;
}

/* --------------------------------------------------------------------------
   26. ANIMATIONS / KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

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

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1;    transform: scale(1);    }
  50%       { opacity: 0.6; transform: scale(0.95); }
}

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

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.slide-left {
  transform: translateX(-28px);
}

.animate-on-scroll.slide-right {
  transform: translateX(28px);
}

.animate-on-scroll.scale {
  transform: scale(0.94);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

/* Staggered children */
.stagger-children .animate-on-scroll:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .animate-on-scroll:nth-child(2) { transition-delay: 0.12s; }
.stagger-children .animate-on-scroll:nth-child(3) { transition-delay: 0.19s; }
.stagger-children .animate-on-scroll:nth-child(4) { transition-delay: 0.26s; }
.stagger-children .animate-on-scroll:nth-child(5) { transition-delay: 0.33s; }
.stagger-children .animate-on-scroll:nth-child(6) { transition-delay: 0.40s; }

/* Page transition */
.page-transition {
  animation: fadeIn 0.5s ease;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   27. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer-brand p {
  font-size: 0.9375rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-link {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--purple-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   28. SECTION BG VARIANTS
   -------------------------------------------------------------------------- */
.bg-secondary { background-color: var(--bg-secondary); }
.bg-card      { background-color: var(--bg-card); }

.section-dark {
  background: var(--bg-secondary);
  position: relative;
}

.section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 0%, rgba(124,58,237,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Gradient border card */
.card-gradient-border {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.card-gradient-border::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--purple-primary), var(--gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   END OF FILE
   -------------------------------------------------------------------------- */

/* ==========================================================================
   HOMEPAGE, HEADER & FOOTER EXTENSIONS & COMPATIBILITY LAYER
   ========================================================================== */

/* Site Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 26, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.navbar-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.navbar-logo .logo-text {
  color: #fff;
}

.navbar-logo .logo-accent {
  background: linear-gradient(135deg, var(--purple-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-auth {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition);
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--purple-light);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .navbar-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: #0d0d24;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }
  .navbar-links.active {
    display: flex;
  }
}

/* Hero Section Extension */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  padding: 4rem 0;
  overflow: hidden;
}

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.blob-1 {
  width: 450px;
  height: 450px;
  background: var(--purple-primary);
  top: 10%;
  left: -10%;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: var(--purple-dark);
  bottom: 10%;
  right: -5%;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: var(--gold);
  top: 40%;
  right: 25%;
  opacity: 0.15;
}

.float-el {
  position: absolute;
  font-size: 1.75rem;
  opacity: 0.5;
  animation: float 7s ease-in-out infinite;
}

.float-el--1 { top: 15%; left: 8%; animation-delay: 0s; }
.float-el--2 { top: 70%; left: 12%; animation-delay: 1.5s; }
.float-el--3 { top: 20%; right: 10%; animation-delay: 3s; }
.float-el--4 { bottom: 25%; right: 15%; animation-delay: 4.5s; }
.float-el--5 { top: 50%; left: 45%; animation-delay: 2s; }

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-ctas, .hero-trust {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
}

.hero-badge .badge--new {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: #fff;
}

.headline-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--purple-light) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.hero-subheadline strong {
  color: var(--gold);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  color: #fff;
  background: transparent;
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--purple-light);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.trust-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
}

.trust-avatar:first-child {
  margin-left: 0;
}

.trust-avatar--more {
  background: var(--purple-dark);
  font-size: 0.7rem;
}

/* Hero Visual Card Stack */
.hero-card-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hcard {
  background: rgba(18, 18, 42, 0.85);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}

.hcard:hover {
  transform: translateY(-4px);
  border-color: var(--purple-light);
}

.hcard--progress .hcard-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.progress-bar-wrap {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.hcard--streak {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.streak-fire {
  font-size: 2.25rem;
}

.streak-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
}

.streak-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hcard--lesson .hcard-day-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(124, 58, 237, 0.2);
  color: var(--purple-light);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.hcard-lesson-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.hcard-lesson-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.hcard-tags {
  display: flex;
  gap: 0.4rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--text-secondary);
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

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

.stat-number {
  font-size: 2.75rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-plus {
  color: var(--gold);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

.stat-label small {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

/* Cards Grids */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}

.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .cards-grid--3, .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-grid--3, .cards-grid--4 {
    grid-template-columns: 1fr;
  }
}

.card--feature {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon--blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.card-icon--purple {
  background: rgba(124, 58, 237, 0.15);
  color: var(--purple-light);
}

.card-icon--green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
  line-height: 1.3;
}

.card-title small {
  display: block;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
}

.card-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(245, 158, 11, 0.3);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.step-title small {
  display: block;
  font-size: 0.85rem;
  color: var(--purple-light);
  font-weight: 500;
}

.step-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Banner Card */
.cta-banner {
  background: radial-gradient(circle at center, rgba(124, 58, 237, 0.25) 0%, rgba(18, 18, 42, 0.95) 80%);
  border: 1px solid var(--purple-primary);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-purple);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #20BA56;
  border-color: #20BA56;
  color: #fff;
}

.cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Site Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.footer-brand .footer-logo {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-brand .footer-tagline {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-brand .footer-tagline em {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--purple-light);
}

.footer-link--icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-address-text {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

