/* ============================================
   BROWN THEME — LIGHT & DARK MODE
   ============================================ */

:root {
  /* Light Mode - Brown Palette */
  --bg-primary: #FAF8F5;
  --bg-secondary: #F5F1EB;
  --surface1: #FFFFFF;
  --surface2: #F9F6F1;
  --surface3: #EFE9E1;
  
  --brown-50: #FDFCFB;
  --brown-100: #F9F6F1;
  --brown-200: #EFE9E1;
  --brown-300: #D9CFC1;
  --brown-400: #B8A898;
  --brown-500: #8B7355;
  --brown-600: #6B5842;
  --brown-700: #4A3F2F;
  --brown-800: #2E261C;
  --brown-900: #1A1510;
  
  --text-primary: #1A1510;
  --text-secondary: #4A3F2F;
  --text-muted: #6B5842;
  
  --border1: #EFE9E1;
  --border2: #D9CFC1;
  --border3: #B8A898;
  
  --accent: #8B7355;
  --accent-hover: #6B5842;
  --accent-light: #B8A898;
  --accent-bg: #F9F6F1;
  
  --success: #2D5016;
  --success-bg: #E8F5E9;
  --warning: #8B5A00;
  --warning-bg: #FFF3E0;
  --error: #8B2E2E;
  --error-bg: #FFEBEE;
  
  --shadow-sm: 0 1px 3px rgba(107, 88, 66, 0.08);
  --shadow-md: 0 4px 12px rgba(107, 88, 66, 0.1);
  --shadow-lg: 0 12px 32px rgba(107, 88, 66, 0.15);
  --shadow-xl: 0 20px 48px rgba(107, 88, 66, 0.2);
  
  --gradient-primary: linear-gradient(135deg, #8B7355 0%, #6B5842 100%);
  --gradient-surface: linear-gradient(180deg, #FFFFFF 0%, #F9F6F1 100%);
  --gradient-accent: linear-gradient(135deg, #B8A898 0%, #8B7355 100%);
}

[data-theme="dark"] {
  /* Dark Mode - Brown Palette */
  --bg-primary: #1A1510;
  --bg-secondary: #2E261C;
  --surface1: #2E261C;
  --surface2: #3D3228;
  --surface3: #4A3F2F;
  
  --text-primary: #FAF8F5;
  --text-secondary: #D9CFC1;
  --text-muted: #B8A898;
  
  --border1: #3D3228;
  --border2: #4A3F2F;
  --border3: #6B5842;
  
  --accent: #B8A898;
  --accent-hover: #D9CFC1;
  --accent-light: #8B7355;
  --accent-bg: #3D3228;
  
  --success: #4CAF50;
  --success-bg: #1B5E20;
  --warning: #FFB74D;
  --warning-bg: #E65100;
  --error: #EF5350;
  --error-bg: #B71C1C;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.6);
  
  --gradient-primary: linear-gradient(135deg, #B8A898 0%, #8B7355 100%);
  --gradient-surface: linear-gradient(180deg, #2E261C 0%, #3D3228 100%);
  --gradient-accent: linear-gradient(135deg, #D9CFC1 0%, #B8A898 100%);
}

/* ============================================
   BASE STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast {
  position: fixed;
  top: 80px;
  right: 20px;
  background: var(--surface1);
  color: var(--text-primary);
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 10000;
  max-width: 360px;
  border: 1px solid var(--border2);
  animation: slideInRight 0.3s ease;
  transition: all 0.3s ease;
}

.toast.hidden {
  display: none;
}

#error-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--error);
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 9998;
  max-width: 400px;
  display: none;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  animation: slideDown 0.3s ease;
}

#error-toast.visible {
  display: block;
}

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

.toast.success {
  border-left: 4px solid var(--success);
}

.toast.error {
  border-left: 4px solid var(--error);
}

.toast.warning {
  border-left: 4px solid var(--warning);
}

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

/* ============================================
   LOADER OVERLAY
   ============================================ */

#loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 21, 16, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

body.loading #loader-overlay {
  display: flex;
}

#loader-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(139, 115, 85, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* ============================================
   MODAL OVERLAY & BOX
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 21, 16, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

[data-theme="dark"] .modal-overlay {
  background: rgba(0, 0, 0, 0.9);
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-box {
  background: var(--surface1);
  border-radius: 20px;
  padding: 32px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border2);
  animation: modalSlideUp 0.4s ease;
}

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--border2);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(139, 115, 85, 0.1);
  border: 1px solid rgba(139, 115, 85, 0.2);
  color: var(--accent);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.modal-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.modal-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.modal-subtitle strong {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   MODAL COMPONENTS
   ============================================ */

.social-proof-bar {
  background: var(--accent-bg);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.social-proof-bar span:first-child {
  font-size: 18px;
}

#liveCount {
  font-weight: 700;
  color: var(--accent);
}

.price-block {
  text-align: center;
  margin: 24px 0;
  padding: 20px;
  background: var(--gradient-surface);
  border-radius: 12px;
  border: 1px solid var(--border2);
}

.price-old {
  font-size: 18px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}

.price-new {
  font-size: 36px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.early-bird-badge {
  background: linear-gradient(135deg, var(--warning-bg), var(--accent-bg));
  border: 1px solid var(--border2);
  color: var(--text-primary);
  padding: 10px 16px;
  border-radius: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

#slotsLeft {
  color: var(--accent);
  font-weight: 700;
}

.feature-checklist {
  list-style: none;
  margin: 20px 0;
}

.feature-checklist li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border1);
}

.feature-checklist li:last-child {
  border-bottom: none;
}

.fear-text {
  background: var(--error-bg);
  color: var(--error);
  padding: 12px 16px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin: 20px 0;
  border: 1px solid var(--error);
}

[data-theme="dark"] .fear-text {
  background: rgba(239, 83, 80, 0.15);
  border-color: var(--error);
}

.modal-footer-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  line-height: 1.4;
}

.confirm-data-box {
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.confirm-notice {
  background: var(--warning-bg);
  color: var(--warning);
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin: 16px 0;
  border: 1px solid var(--warning);
}

[data-theme="dark"] .confirm-notice {
  background: rgba(255, 183, 77, 0.15);
  border-color: var(--warning);
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.modal-actions button {
  flex: 1;
}

/* ============================================
   BUTTONS
   ============================================ */

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-glow {
  box-shadow: 0 0 20px rgba(139, 115, 85, 0.3);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(139, 115, 85, 0.5);
}

.btn-secondary {
  background: var(--surface2);
  color: var(--text-primary);
  border: 1px solid var(--border2);
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
}

.btn-secondary:hover {
  background: var(--surface3);
  border-color: var(--border3);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
}

.btn-outline:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border2);
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
}

.btn-ghost:hover {
  background: var(--surface2);
  color: var(--text-primary);
}

.btn-full {
  width: 100%;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-google {
  background: var(--surface1);
  border: 1px solid var(--border2);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-google:hover {
  background: var(--surface2);
  box-shadow: var(--shadow-sm);
}

.link-btn {
  background: transparent;
  border: none;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
  padding: 0;
  font-weight: 500;
}

.link-btn:hover {
  color: var(--accent-hover);
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border1);
  z-index: 1000;
  transition: all 0.3s ease;
}

[data-theme="dark"] .navbar {
  background: rgba(26, 21, 16, 0.85);
  border-bottom-color: var(--border2);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.brand-icon {
  font-size: 24px;
}

.brand-icon.large {
  font-size: 40px;
}

.brand-icon-img {
  height: 36px;
  width: 36px;
  object-fit: contain;
}

.brand-icon-img.large {
  height: 64px;
  width: 64px;
}

[data-theme="dark"] .brand-icon-img {
  content: url(logo-dark.png);
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.brand-ai {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
}

.nav-link:hover {
  background: var(--surface2);
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-premium {
  background: var(--gradient-primary);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-user:hover {
  background: var(--surface3);
  border-color: var(--border3);
}

.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

#navUserName {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.nav-chevron {
  color: var(--text-muted);
  font-size: 12px;
  transition: transform 0.2s ease;
}

.user-dropdown {
  position: absolute;
  top: 64px;
  right: 24px;
  background: var(--surface1);
  border: 1px solid var(--border2);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  animation: dropdownSlide 0.2s ease;
}

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

.dropdown-info {
  padding: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.dropdown-divider {
  border: none;
  border-top: 1px solid var(--border1);
  margin: 8px 0;
}

.dropdown-item {
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--surface2);
  color: var(--text-primary);
}

.dropdown-item.danger {
  color: var(--error);
}

.dropdown-item.danger:hover {
  background: var(--error-bg);
}

/* ============================================
   PAGE SYSTEM
   ============================================ */

.page {
  display: none;
  min-height: 100vh;
  padding-top: 72px;
}

.page.active {
  display: block;
}

.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
}

.page-container.narrow {
  max-width: 720px;
}

.page-container.center-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 72px);
}

.hidden {
  display: none !important;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 60px 24px;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

.orb1 {
  width: 600px;
  height: 600px;
  background: var(--brown-400);
  top: -200px;
  left: -200px;
  animation: float 20s ease-in-out infinite;
}

.orb2 {
  width: 500px;
  height: 500px;
  background: var(--brown-500);
  bottom: -150px;
  right: -150px;
  animation: float 25s ease-in-out infinite reverse;
}

.orb3 {
  width: 400px;
  height: 400px;
  background: var(--brown-600);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 30px); }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(139, 115, 85, 0.1);
  border: 1px solid rgba(139, 115, 85, 0.2);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-chip {
  padding: 8px 16px;
  background: var(--surface1);
  border: 1px solid var(--border2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.animate-fade-in {
  animation: fadeIn 0.8s ease;
}

.animate-slide-up {
  animation: slideUp 0.8s ease;
}

.delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.delay-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.delay-3 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }

/* ============================================
   PROOF TICKER
   ============================================ */

.proof-ticker {
  background: var(--surface1);
  border-top: 1px solid var(--border1);
  border-bottom: 1px solid var(--border1);
  padding: 16px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 32px;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 80px 24px;
}

.section-dark {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border1);
  border-bottom: 1px solid var(--border1);
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(139, 115, 85, 0.1);
  border: 1px solid rgba(139, 115, 85, 0.2);
  color: var(--accent);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   STEPS GRID
   ============================================ */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.step-card {
  background: var(--surface1);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.step-card:hover::before {
  transform: scaleX(1);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.step-number {
  display: inline-block;
  width: 48px;
  height: 48px;
  background: var(--accent-bg);
  border: 2px solid var(--border2);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 800;
  font-size: 18px;
  line-height: 44px;
  margin-bottom: 16px;
}

.step-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TIERS GRID
   ============================================ */

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.tier-card {
  background: var(--surface1);
  border: 2px solid var(--border2);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all 0.3s ease;
}

.tier-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.tier-premium {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(139, 115, 85, 0.2);
}

.tier-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
}

.tier-badge.free {
  background: var(--surface2);
  color: var(--text-muted);
  border: 1px solid var(--border2);
}

.tier-badge.registered {
  background: rgba(76, 175, 80, 0.1);
  color: var(--success);
  border: 1px solid var(--success);
}

.tier-badge.premium {
  background: var(--gradient-primary);
  color: #FFFFFF;
  border: none;
}

.tier-popular {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #FFFFFF;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.tier-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.tier-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.tier-price {
  font-size: 42px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.tier-premium .tier-price {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-strike {
  font-size: 22px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}

.tier-price-note {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 8px;
}

.tier-features {
  list-style: none;
  margin-bottom: 24px;
}

.tier-features li {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border1);
}

.tier-features li:last-child {
  border-bottom: none;
}

.tier-features .included {
  color: var(--text-secondary);
}

.tier-features .excluded {
  color: var(--text-muted);
  opacity: 0.6;
}

.tier-footer {
  text-align: center;
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 12px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--surface1);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

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

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.testimonial-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.testimonial-outcome {
  background: var(--success-bg);
  color: var(--success);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--success);
}

[data-theme="dark"] .testimonial-outcome {
  background: rgba(76, 175, 80, 0.15);
}

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  position: relative;
  background: var(--gradient-surface);
  border: 1px solid var(--border2);
  border-radius: 24px;
  padding: 80px 40px;
  margin: 80px 24px;
  text-align: center;
  overflow: hidden;
}

.cta-bg-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--brown-400);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border1);
  padding: 40px 24px;
  text-align: center;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

.card {
  background: var(--surface1);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.form-section {
  margin-bottom: 32px;
}

.form-section:last-child {
  margin-bottom: 0;
}

.form-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.marks-note {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.label-note {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 13px;
}

.text-input,
.select-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-primary);
  transition: all 0.2s ease;
  font-family: inherit;
}

.text-input:focus,
.select-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

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

.text-input.locked,
.select-input.locked {
  opacity: 0.6;
  background: var(--surface3);
  cursor: not-allowed;
}

.text-input.locked:focus,
.select-input.locked:focus {
  border-color: var(--border2);
  box-shadow: none;
}

.marks-lock-note {
  padding: 12px 14px;
  margin: 12px 0;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  color: var(--warning);
  font-size: 13px;
  font-weight: 500;
}

.full-width {
  width: 100%;
}

/* ============================================
   MARKS INPUT
   ============================================ */

.marks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.marks-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.marks-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface2);
  border: 2px solid var(--border2);
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  transition: all 0.2s ease;
}

.marks-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.marks-bar-wrap {
  margin-top: 8px;
  height: 6px;
  background: var(--surface3);
  border-radius: 3px;
  overflow: hidden;
}

.marks-bar {
  height: 100%;
  background: var(--gradient-primary);
  width: 0;
  transition: width 0.3s ease;
  border-radius: 3px;
}

.aggregate-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--gradient-surface);
  border: 2px solid var(--border2);
  border-radius: 12px;
  margin-top: 24px;
}

.agg-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.agg-formula-note {
  font-size: 12px;
  color: var(--text-muted);
}

.agg-value {
  font-size: 32px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   FILTERS & SEARCH
   ============================================ */

.filter-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

/* ============================================
   RESULTS & PROBABILITY
   ============================================ */

.result-header {
  text-align: center;
  margin-bottom: 32px;
}

.result-header h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.result-college {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.result-course {
  font-size: 16px;
  color: var(--text-muted);
}

.probability-display {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
  padding: 32px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 16px;
}

.prob-ring-wrap {
  position: relative;
  width: 180px;
  height: 180px;
}

.prob-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

#probRingCircle {
  stroke: var(--accent);
  transition: stroke-dashoffset 1s ease;
}

.prob-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.prob-percent {
  display: block;
  font-size: 40px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prob-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.prob-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.prob-stat {
  display: flex;
  flex-direction: column;
}

.prob-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.prob-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.result-message {
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid;
}

.free-result-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.free-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 12px;
}

.free-result-college {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.free-result-branch {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.free-result-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.free-result-row-prob {
  text-align: right;
  flex-shrink: 0;
}

.free-result-pct {
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.free-result-empty {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
}

.result-message.high {
  background: var(--success-bg);
  color: var(--success);
  border-color: var(--success);
}

.result-message.medium {
  background: var(--warning-bg);
  color: var(--warning);
  border-color: var(--warning);
}

.result-message.low {
  background: var(--error-bg);
  color: var(--error);
  border-color: var(--error);
}

[data-theme="dark"] .result-message.high {
  background: rgba(76, 175, 80, 0.15);
}

[data-theme="dark"] .result-message.medium {
  background: rgba(255, 183, 77, 0.15);
}

[data-theme="dark"] .result-message.low {
  background: rgba(239, 83, 80, 0.15);
}

/* ============================================
   UPGRADE NUDGES
   ============================================ */

.upgrade-nudge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--surface2);
  border: 2px solid var(--accent-light);
  border-radius: 12px;
  margin-bottom: 16px;
}

.nudge-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.nudge-text {
  flex: 1;
}

.nudge-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.nudge-text span {
  font-size: 13px;
  color: var(--text-muted);
}

.login-nudge {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border1);
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.used-notice {
  text-align: center;
  padding: 16px;
  background: var(--warning-bg);
  color: var(--warning);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 24px;
  border: 1px solid var(--warning);
}

[data-theme="dark"] .used-notice {
  background: rgba(255, 183, 77, 0.15);
}

/* ============================================
   AUTH PAGE
   ============================================ */

.auth-box {
  background: var(--surface1);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.auth-brand {
  text-align: center;
  margin-bottom: 32px;
}

.auth-brand h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 32px;
  background: var(--surface2);
  padding: 6px;
  border-radius: 12px;
}

.auth-tab {
  padding: 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab.active {
  background: var(--surface1);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.auth-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border1);
}

.auth-divider span {
  position: relative;
  background: var(--surface1);
  padding: 0 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.auth-terms {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 24px;
  line-height: 1.5;
}

/* ============================================
   PROFILE PAGE
   ============================================ */

.profile-header {
  margin-bottom: 40px;
}

.profile-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.profile-header p {
  font-size: 16px;
  color: var(--text-muted);
}

.profile-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-bottom: 32px;
}

.profile-section-card {
  background: var(--surface1);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.profile-section-card.full-width {
  grid-column: 1 / -1;
}

.profile-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.marks-locked-banner {
  background: var(--warning-bg);
  border: 1px solid var(--warning);
  color: var(--warning);
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

[data-theme="dark"] .marks-locked-banner {
  background: rgba(255, 183, 77, 0.15);
}

.rank-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border1);
}

.rank-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.rank-phase-toggle {
  margin-bottom: 16px;
}

.radio-label {
  display: block;
  padding: 12px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: var(--text-secondary);
}

.radio-label:hover {
  background: var(--surface3);
}

.radio-label input {
  margin-right: 8px;
}

.rank-verify-result {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid;
}

.rank-verify-result.valid {
  background: var(--success-bg);
  color: var(--success);
  border-color: var(--success);
}

.rank-verify-result.invalid {
  background: var(--error-bg);
  color: var(--error);
  border-color: var(--error);
}

[data-theme="dark"] .rank-verify-result.valid {
  background: rgba(76, 175, 80, 0.15);
}

[data-theme="dark"] .rank-verify-result.invalid {
  background: rgba(239, 83, 80, 0.15);
}

.preferred-grid {
  display: grid;
  gap: 12px;
}

.profile-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  padding-top: 24px;
  border-top: 1px solid var(--border1);
}

/* ============================================
   DASHBOARD
   ============================================ */

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.dashboard-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

#dashWelcome {
  font-size: 16px;
  color: var(--text-muted);
}

.dashboard-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-tier-badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid;
}

.dash-profile-card {
  background: var(--gradient-surface);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.agg-banner {
  background: var(--accent-bg);
  border: 2px solid var(--accent-light);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 40px;
  text-align: center;
}

.rank-input-section {
  margin-bottom: 40px;
}

.rank-input-card {
  background: var(--surface1);
  border: 2px solid var(--accent-light);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.rank-input-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.rank-input-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.rank-input-helper {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
}

.dash-section-title {
  margin-bottom: 24px;
}

.dash-section-title h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.dash-section-title p {
  font-size: 15px;
  color: var(--text-muted);
}

.combo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.locked-section {
  position: relative;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 10;
  padding: 40px;
  text-align: center;
}

[data-theme="dark"] .lock-overlay {
  background: rgba(26, 21, 16, 0.95);
}

.lock-icon {
  font-size: 48px;
}

.lock-overlay p {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.rank-card {
  background: var(--surface1);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.choice-list-wrap {
  background: var(--surface1);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.counselling-sim {
  background: var(--surface1);
  border: 1px solid var(--border2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 24px;
}

.back-btn:hover {
  background: var(--surface3);
  color: var(--text-primary);
}

.free-predict-header {
  text-align: center;
  margin-bottom: 40px;
}

.free-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(139, 115, 85, 0.1);
  border: 1px solid rgba(139, 115, 85, 0.2);
  color: var(--accent);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.free-predict-header h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.free-predict-header p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.cookie-usage-bar {
  /* To be styled by JavaScript */
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .nav-container {
    padding: 12px 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 6px;
  }

  #navUpgradeBtn {
    display: none !important;
  }

  .nav-premium {
    display: none;
  }

  #themeToggle {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .nav-user {
    padding: 4px 8px;
    gap: 6px;
  }

  #navUserName {
    display: none;
  }

  .nav-avatar {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .nav-chevron {
    display: none;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-icon-img {
    height: 28px;
    width: 28px;
  }

  .preferred-grid {
    gap: 16px;
  }

  .preferred-slot {
    min-height: 56px;
    padding: 12px;
  }

  .preferred-slot select,
  .preferred-slot .select-input {
    font-size: 16px;
    padding: 14px 12px;
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
  }

  .college-search-input {
    font-size: 16px;
    padding: 14px 12px;
    min-height: 48px;
  }

  .college-option {
    padding: 14px 12px;
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .college-dropdown-list {
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .select-input.full-width {
    font-size: 16px;
    min-height: 48px;
    padding: 14px 12px;
  }

  .page-container {
    padding: 24px 16px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 28px;
  }

  .steps-grid {
    gap: 20px;
  }

  .step-card {
    padding: 24px;
  }

  .step-card h3 {
    font-size: 18px;
  }

  .step-card p {
    font-size: 14px;
  }

  .text-input,
  .select-input {
    font-size: 16px;
    padding: 14px 16px;
  }

  .text-input::placeholder {
    font-size: 16px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions button {
    width: 100%;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .probability-display {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .prob-ring-wrap {
    margin: 0 auto;
  }

  .prob-details {
    grid-template-columns: 1fr;
  }

  .modal-box {
    padding: 20px;
    max-width: 90vw;
  }

  .modal-title {
    font-size: 22px;
  }

  .modal-subtitle {
    font-size: 14px;
  }

  .tier-card {
    padding: 20px;
  }

  .tier-card h3 {
    font-size: 18px;
  }

  .tiers-grid {
    gap: 20px;
  }

  .marks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .filter-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .dashboard-header {
    flex-direction: column;
    gap: 16px;
  }

  .combo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .rank-card {
    padding: 20px;
  }

  .upgrade-nudge {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions button {
    width: 100%;
  }

  .btn-primary,
  .btn-secondary,
  .btn-outline,
  .btn-google {
    font-size: 14px;
    padding: 12px 16px;
  }
}

/* ============================================
   SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--brown-400);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brown-500);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: var(--brown-600);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: var(--brown-500);
}