/* ==========================================================================
   SUPPORTA MATHS - MAIN STYLESHEET
   Professional GCSE Maths Learning Platform
   Mobile-first, calm, premium education aesthetic
   ========================================================================== */

/* ==========================================================================
   CSS RESET & BASE
   ========================================================================== */

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

:root {
  /* Colors - Calm, Professional Palette */
  --color-primary: #4F46E5;        /* Indigo - trust, learning */
  --color-primary-dark: #4338CA;
  --color-primary-light: #6366F1;
  
  --color-secondary: #10B981;      /* Green - success, growth */
  --color-secondary-dark: #059669;
  
  --color-accent: #F59E0B;         /* Amber - warmth, encouragement */
  
  --color-error: #EF4444;
  --color-warning: #F59E0B;
  --color-success: #10B981;
  
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #6b7280;
  --color-text-muted: #9ca3af;
  
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f9fafb;
  --color-bg-tertiary: #f3f4f6;
  
  --color-border: #e5e7eb;
  --color-border-light: #f3f4f6;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 0.75rem;   /* 12px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */
  --space-5xl: 8rem;     /* 128px */
  
  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Border Radius */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;
  --transition-button: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout */
  --container-max-width: 1200px;
  --container-narrow: 800px;
  --header-height: 64px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

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

a:hover {
  color: var(--color-primary-dark);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--container-narrow);
}

/* ==========================================================================
   HEADER & NAVIGATION - TWINKL-STYLE TWO-ROW LAYOUT
   ========================================================================== */

/* Header Container */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-bg-primary);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.98);
}

/* ===== ROW 1: UTILITY BAR ===== */
.utility-bar {
  border-bottom: 1px solid var(--color-border-light);
}

.utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: var(--space-md);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast);
  flex-shrink: 0;
}

.site-logo:hover {
  opacity: 0.8;
}

/* Brand Logo - Text Only */
.brand-logo-text {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Rounded', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #4F46E5;
  letter-spacing: -0.01em;
  line-height: 1;
  display: block;
}

.brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
  margin-right: 8px;
}

.brand-logo-link:hover .brand-logo-text {
  opacity: 0.85;
}

@media (max-width: 768px) {
  .brand-logo-text {
    font-size: 26px;
  }
  
  .brand-logo-link {
    margin-right: 4px;
  }
}

/* Legacy brand logo styles - deprecated */
.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  overflow: visible !important;
  max-width: none !important;
}

/* Utility Actions */
.utility-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.utility-link {
  color: #6B7280;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: color var(--transition-fast);
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.utility-link:hover {
  color: var(--color-primary);
}

/* Primary CTA Button - Twinkl Style */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border: none;
  border-radius: 24px;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition-button), 
              box-shadow var(--transition-button);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
  white-space: nowrap;
  height: 44px;
  letter-spacing: -0.01em;
  will-change: transform;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
  color: white;
}

.btn-cta:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.btn-cta:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===== ROW 2: MAIN NAVIGATION BAR ===== */
.main-nav-bar {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  height: 52px;
}

/* Navigation Category Buttons */
.nav-category {
  position: relative;
}

.nav-category-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  background: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: color var(--transition-button), 
              background-color var(--transition-button),
              transform var(--transition-button);
  white-space: nowrap;
}

.nav-category-btn:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-secondary);
  transform: translateY(-1px);
}

.nav-category-btn:active {
  transform: scale(0.98);
}

.nav-category-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-category-btn[aria-expanded="true"] {
  color: var(--color-primary);
  background-color: var(--color-bg-secondary);
}

.nav-category-link {
  display: flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--transition-button), 
              background-color var(--transition-button),
              transform var(--transition-button);
}

.nav-category-link:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-secondary);
  transform: translateY(-1px);
}

.nav-category-link:active {
  transform: scale(0.98);
}

.nav-category-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-arrow {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform var(--transition-fast);
}

.nav-category-btn[aria-expanded="true"] .nav-arrow {
  transform: rotate(180deg);
}

/* ===== DROPDOWN PANELS ===== */
.dropdown-overlay {
  position: fixed;
  top: 116px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 998;
}

.dropdown-overlay.active {
  opacity: 1;
  visibility: visible;
}

.dropdown-panel {
  position: absolute;
  top: 116px;
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: 999;
  max-height: 0;
  overflow: hidden;
}

.dropdown-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 500px;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
  max-width: 900px;
}

.dropdown-section-title {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.dropdown-link {
  display: block;
  padding: var(--space-xs) 0;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: 1.5;
}

.dropdown-link:hover {
  color: var(--color-primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

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

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* REMOVED - Duplicate mobile menu styles moved to mobile breakpoint only */

/* Mobile nav items are now styled in the @media query for mobile only */

}

/* Mobile Nav Links */
.mobile-nav-link {
  display: block;
  padding: var(--space-md) 0;
  font-size: var(--text-base);
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
  border-bottom: 1px solid var(--color-border-light);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

.mobile-nav-link.active {
  color: var(--color-primary);
}

.mobile-nav-cta {
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
}

.mobile-nav-trial {
  background: #7C3AED;
  color: white;
  font-weight: 700;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 12px;
  border: none;
  text-align: center;
}

.mobile-nav-trial:hover {
  color: white;
  background: #6D28D9;
}

/* ==========================================================================
   BUTTONS - Premium SaaS-grade hover animations
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-button), 
              box-shadow var(--transition-button), 
              background-color var(--transition-button);
  text-decoration: none;
  white-space: nowrap;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.12), 0 1px 2px rgba(79, 70, 229, 0.08);
}

.btn-primary:hover {
  background-color: #4338CA;
  color: white;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2), 0 2px 4px rgba(79, 70, 229, 0.12);
}

.btn-primary:active {
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.12), 0 1px 2px rgba(79, 70, 229, 0.08);
}

.btn-secondary {
  background-color: var(--color-bg-tertiary);
  color: var(--color-text-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background-color: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

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

.btn-ghost:hover {
  background-color: var(--color-bg-tertiary);
  color: var(--color-text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .btn:active {
    transform: none;
  }
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  background-color: var(--color-bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

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

.card-title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.card-text {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   BADGES & PILLS
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.badge-premium {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a1a;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  font-size: var(--text-sm);
}

.form-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-text-secondary); }
.text-muted { color: var(--color-text-muted); }
.text-success { color: var(--color-success); }
.text-error { color: var(--color-error); }

.bg-primary { background-color: var(--color-bg-primary); }
.bg-secondary { background-color: var(--color-bg-secondary); }
.bg-tertiary { background-color: var(--color-bg-tertiary); }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.hidden { display: none; }

/* ==========================================================================
   RESPONSIVE - MOBILE HEADER FIXES
   ========================================================================== */

@media (max-width: 767px) {
  /* Mobile: Hide desktop nav bar, show only utility bar */
  .main-nav-bar {
    display: none;
  }
  
  .dropdown-panel,
  .dropdown-overlay {
    display: none;
  }
  
  /* Adjust utility bar for mobile */
  .utility-bar-inner {
    height: 64px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  /* Hide desktop utility links on mobile */
  .utility-link {
    display: none;
  }
  
  /* Keep CTA visible but smaller */
  .btn-cta {
    font-size: 0.75rem;
    padding: 8px 16px;
  }
  
  /* Mobile menu positioning */
  .mobile-menu {
    top: 64px;
    padding: var(--space-lg) var(--space-md);
  }
}

/* ==========================================================================
   RESPONSIVE - TABLET & DESKTOP
   ========================================================================== */

@media (min-width: 768px) {
  h1 {
    font-size: var(--text-5xl);
  }
  
  .container {
    padding: 0 var(--space-xl);
  }
  
  /* Show main navigation bar on desktop */
  .main-nav-bar {
    display: block;
  }
  
  /* Hide mobile menu on desktop */
  .mobile-menu-toggle {
    display: none;
  }
  
  .mobile-menu {
    display: none;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-2xl);
  }
}
/* ==========================================================================
   NEW HEADER - TWINKL-INSPIRED PROFESSIONAL NAVIGATION
   ========================================================================== */

/* Header Container - Pure White Background */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Main Header Row - Row 1 with bottom border */
.header-main {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo - Prominent Branding */
.site-logo {
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.site-logo:hover {
  opacity: 0.85;
}

/* Global Search Bar - Centered Wide like Twinkl */
.header-search {
  flex: 1;
  max-width: 640px;
  position: relative;
}

.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 16px;
  color: #9ca3af;
  pointer-events: none;
  z-index: 1;
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 48px;
  border: 1px solid #d1d5db;
  border-radius: 22px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.2s;
  background: #ffffff;
  color: #1f2937;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.search-input:focus {
  outline: none;
  border-color: #4F46E5;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.search-input::placeholder {
  color: #9ca3af;
}

/* Search Results Dropdown */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
}

.search-result-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.search-result-item:hover {
  background: #f9fafb;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-title {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.search-result-description {
  font-size: 14px;
  color: #6b7280;
}

.search-no-results {
  padding: 24px;
  text-align: center;
  color: #6b7280;
}

/* Header Actions - Right Side Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-link {
  color: #6b7280;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 0 16px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: color 0.15s ease, 
              background-color 0.15s ease,
              transform 0.15s ease;
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-link:hover {
  background: #f3f4f6;
  color: #1f2937;
  transform: translateY(-1px);
}

.btn-link:active {
  transform: scale(0.98);
}

.btn-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary {
  background: #4F46E5;
  color: white;
  font-size: 15px;
  font-weight: 700;
  padding: 0 24px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, 
              box-shadow 0.15s ease,
              background-color 0.15s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.15);
}

.btn-primary:hover {
  background: #4338CA;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(79, 70, 229, 0.2);
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.15);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Trial CTA Button - Matching 44px Height */
.trial-cta-wrapper {
  position: relative;
}

.btn-trial {
  background: #7C3AED;
  color: white;
  font-size: 15px;
  font-weight: 700;
  padding: 0 20px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, 
              box-shadow 0.15s ease,
              background-color 0.15s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(124, 58, 237, 0.2);
}

.trial-price {
  font-weight: 800;
  margin-right: 4px;
}

.btn-trial:hover {
  background: #6D28D9;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(124, 58, 237, 0.25);
}

.btn-trial:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px rgba(124, 58, 237, 0.2);
}

.btn-trial:focus-visible {
  outline: 2px solid #7C3AED;
  outline-offset: 2px;
}

/* Trial Dropdown - FLICKER-FREE using transform (no gap) */
.trial-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px 24px;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 150ms ease-out, 
              transform 150ms ease-out;
  z-index: 1000;
}

/* Activate on wrapper hover AND focus */
.trial-cta-wrapper:hover .trial-dropdown,
.trial-cta-wrapper:focus-within .trial-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
}

/* Bridge the gap between button and dropdown to prevent flickering */
.trial-cta-wrapper::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  pointer-events: none;
}

.trial-cta-wrapper:hover::before,
.trial-cta-wrapper:focus-within::before {
  pointer-events: auto;
}

.trial-dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.trial-message {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  line-height: 1.4;
}

.trial-continue-btn {
  background: #10B981;
  color: white;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, 
              box-shadow 0.15s ease,
              background-color 0.15s ease;
  box-shadow: 0 1px 2px rgba(16, 185, 129, 0.2);
  width: 100%;
  text-align: center;
}

.trial-continue-btn:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.25);
}

.trial-continue-btn:active {
  transform: scale(0.98);
  box-shadow: 0 1px 2px rgba(16, 185, 129, 0.2);
}

.trial-continue-btn:focus-visible {
  outline: 2px solid #10B981;
  outline-offset: 2px;
}

/* Navigation Bar - Row 2 with Twinkl Bordered Pills */
.header-nav {
  background: #F8FAFC; /* Subtle near-white background */
  border-bottom: 1px solid rgba(15, 23, 42, 0.06); /* Hairline border */
  padding: 10px 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: var(--container-max-width); /* Align with page container (1200px) */
  margin: 0 auto;
  padding: 0 var(--space-md); /* Align with page container (16px) */
}

.nav-item {
  position: relative;
}

/* Navigation Buttons - Styled as Bordered Pills (Twinkl Style) */
.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.15s ease, 
              border-color 0.15s ease,
              color 0.15s ease,
              transform 0.15s ease;
  white-space: nowrap;
}

.nav-button:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #1f2937;
  transform: translateY(-1px);
}

.nav-button:active {
  transform: scale(0.98);
}

.nav-button:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-button.active {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e40af;
}

/* Navigation Links - Also styled as Pills */
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.15s ease, 
              border-color 0.15s ease,
              color 0.15s ease,
              transform 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  color: #1f2937;
  transform: translateY(-1px);
}

.nav-link:active {
  transform: scale(0.98);
}

.nav-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Nav Arrow/Chevron */
.nav-arrow {
  color: #9ca3af;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-button.active .nav-arrow {
  transform: rotate(180deg);
  color: #1e40af;
}

/* Make main navigation items bold */
.nav-button[data-nav="topics"],
.nav-button[data-nav="practice"],
.nav-button[data-nav="exams"],
.nav-link[href="/pages/dashboard#your-progress"] {
  font-weight: 700;
}

/* OBJECTIVE B: Hide Pricing nav item on homepage only */
.page-home .nav-link[href="/pages/pricing"] {
  display: none;
}

/* Dropdown Mega Menus */
.nav-dropdown-overlay {
  display: none;
}

.nav-dropdown {
  position: fixed;
  top: auto;
  left: 0;
  transform: translateX(-50%) translateY(-10px);
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 999;
  min-width: 220px;
  max-width: 280px;
}

.nav-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content {
  display: flex;
  flex-direction: column;
  padding: 12px 8px;
}

.dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 8px;
}

.dropdown-item {
  padding: 10px 14px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  transition: color var(--transition-button), 
              background-color var(--transition-button),
              transform var(--transition-button),
              font-weight var(--transition-button);
  font-weight: 400;
  display: block;
}

.dropdown-item:hover {
  background: #f3f4f6;
  color: #1a1a1a;
  font-weight: 500;
  transform: translateY(-1px);
}

.dropdown-item:active {
  transform: scale(0.98);
}

.dropdown-item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background-color var(--transition-button),
              transform var(--transition-button);
}

.mobile-menu-toggle:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

.mobile-menu-toggle:active {
  transform: scale(0.98);
}

.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.hamburger {
  width: 24px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  position: relative;
  transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Mobile Menu - Hidden by default, only shown on mobile screens */
.mobile-menu {
  display: none; /* Hidden by default */
}

/* Mobile menu backdrop - Hidden by default */
.mobile-menu-backdrop {
  display: none; /* Hidden by default */
}

/* Mobile menu close button - Hidden by default */
.mobile-menu-close {
  display: none; /* Hidden by default */
}

.mobile-menu-content {
  padding: 24px;
}

.mobile-search {
  margin-bottom: 24px;
}

.mobile-search .search-input {
  width: 100%;
  background: #f9fafb;
  border-radius: 12px;
  padding: 12px 16px;
}

.mobile-nav-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-item {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  transition: color var(--transition-button), 
              background-color var(--transition-button),
              transform var(--transition-button);
}

.mobile-nav-item:hover {
  background: #f3f4f6;
  color: #4F46E5;
  transform: translateY(-1px);
}

.mobile-nav-item:active {
  transform: scale(0.98);
}

.mobile-nav-item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .header-inner {
    gap: 16px;
    padding: 0 20px;
  }
  
  .header-search {
    max-width: 400px;
  }
  
  .nav-menu {
    padding: 0 20px;
  }
  
  .nav-button,
  .nav-link {
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  /* ============================================
     MOBILE HEADER LAYOUT - CLEAN 2-ROW DESIGN
     ============================================ */
  
  /* Header should be stable and not overlap content */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  /* Main header row - Logo + Join FREE + Hamburger */
  .header-main {
    padding: 12px 0;
  }
  
  .header-inner {
    gap: 12px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  /* Logo stays on left */
  .brand-logo-link {
    flex-shrink: 0;
  }
  
  /* Hide search bar on mobile */
  .header-search {
    display: none;
  }
  
  /* Header actions: Join FREE + Hamburger */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }
  
  /* Hide Sign in link and Trial CTA on mobile */
  .btn-link[data-guest-element] {
    display: none;
  }
  
  .trial-cta-wrapper {
    display: none;
  }
  
  /* Keep Join FREE button visible but smaller */
  .btn-primary[data-guest-element] {
    padding: 0 16px;
    height: 40px;
    font-size: 14px;
    display: inline-flex;
  }
  
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Hide desktop navigation row */
  .header-nav {
    display: none;
  }
  
  /* ============================================
     MOBILE MENU - PREMIUM DRAWER DESIGN
     ============================================ */
  
  /* Mobile menu backdrop */
  .mobile-menu-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }
  
  .mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Mobile menu drawer */
  .mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.12);
    transition: right 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 72px 20px 24px 20px;
    display: flex;
    flex-direction: column;
  }
  
  .mobile-menu.active {
    right: 0;
  }
  
  /* Close button - clean X in top right corner */
  .mobile-menu-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s, transform 0.15s;
    z-index: 10;
    color: #6b7280;
  }
  
  .mobile-menu-close:hover {
    background: #f3f4f6;
  }
  
  .mobile-menu-close:active {
    background: #e5e7eb;
    transform: scale(0.96);
  }
  
  .mobile-menu-close:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  
  /* Main navigation links */
  .mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 16px 12px;
    min-height: 52px;
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    border-radius: 10px;
    background: transparent;
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    margin-bottom: 4px;
  }
  
  .mobile-nav-link:active {
    background: #f3f4f6;
    transform: scale(0.98);
  }
  
  @media (hover: hover) {
    .mobile-nav-link:hover {
      background: #f9fafb;
      color: #4F46E5;
    }
  }
  
  /* Spacer to push CTA to bottom */
  .mobile-menu-spacer {
    flex: 1;
    min-height: 40px;
  }
  
  /* CTA Section - Premium separated layout */
  .mobile-menu-cta-section {
    padding-top: 0;
    margin-top: auto;
  }
  
  /* Visual divider above CTA */
  .mobile-menu-cta-divider {
    height: 2px;
    background: #e5e7eb;
    margin-bottom: 24px;
  }
  
  /* Primary CTA Button - Full width, highly visible */
  .mobile-menu-cta-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 16px 24px;
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF !important;
    background: #4F46E5 !important;
    text-decoration: none;
    border-radius: 12px;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(79, 70, 229, 0.35);
    -webkit-tap-highlight-color: transparent;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
    /* Critical overrides */
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
    -webkit-filter: none !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .mobile-menu-cta-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
    background: #4338CA !important;
  }
  
  @media (hover: hover) {
    .mobile-menu-cta-btn:hover {
      background: #4338CA !important;
      box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
      transform: translateY(-1px);
    }
  }
  
  /* Sign in block - Clearly separated below button */
  .mobile-menu-signin-block {
    margin-top: 16px;
    text-align: center;
    padding-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
  
  .mobile-menu-signin-label {
    font-size: 14px;
    color: #6b7280;
    display: block;
    line-height: 1.4;
  }
  
  .mobile-menu-signin-link {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-block;
    position: relative;
    padding: 4px 0;
    transition: color 0.2s ease;
  }
  
  .mobile-menu-signin-link:active {
    color: #4338CA;
  }
  
  @media (hover: hover) {
    .mobile-menu-signin-link:hover {
      color: #4338CA;
      text-decoration: underline;
    }
  }
    color: #4338CA;
  }
  
  @media (hover: hover) {
    .mobile-menu-signin-link:hover {
      text-decoration: underline;
    }
  }
  
  /* Logged-in user section */
  .mobile-menu-user-section {
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
  }
  
  .mobile-logout-btn {
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
  }
  
  /* Prevent body scroll when menu open */
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  
  /* ============================================
     CONTENT SHOULD NOT BE HIDDEN BY HEADER
     ============================================ */
  
  /* Ensure hero and page content starts below header */
  main {
    padding-top: 0;
  }
  
  /* Hero section should have proper spacing */
  .hero-section {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .header-main {
    padding: 8px 0;
  }
  
  .header-inner {
    gap: 8px;
  }
  
  .brand-logo-text {
    font-size: 24px;
  }
  
  /* Even smaller Join button on tiny screens */
  .btn-primary[data-guest-element] {
    padding: 0 12px;
    height: 36px;
    font-size: 13px;
  }
  
  /* Mobile menu narrower on small screens */
  .mobile-menu {
    width: 280px;
  }
}

/* ==========================================================================
   TOPICS MEGA MENU
   Twinkl-style large multi-column dropdown
   ========================================================================== */

/* Mega Menu Variant of nav-dropdown */
.nav-dropdown-mega {
  min-width: auto;
  max-width: none;
  width: auto;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
}

.nav-dropdown-mega.active {
  transform: translateX(-50%) translateY(0);
}

/* Mega Menu Container */
.mega-menu-container {
  padding: var(--space-2xl) var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

/* Mega Menu Grid - 6 columns on desktop */
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-2xl);
}

/* Individual Column */
.mega-menu-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Blue Bold Heading */
.mega-menu-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}

/* Menu Links */
.mega-menu-link {
  padding: 8px 12px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.15s ease,
              color 0.15s ease,
              font-weight 0.15s ease;
  font-weight: 400;
  display: block;
  line-height: 1.4;
}

.mega-menu-link:hover {
  background: #f3f4f6;
  color: #1a1a1a;
  font-weight: 500;
}

.mega-menu-link:active {
  background: #e5e7eb;
}

.mega-menu-link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Mobile Mega Menu Adjustments */
@media (max-width: 1024px) {
  .mega-menu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .nav-dropdown-mega {
    display: none; /* Hide desktop mega menu on mobile */
  }
  
  /* Mobile-specific nav groups */
  .mobile-nav-group {
    margin-bottom: var(--space-lg);
  }
  
  .mobile-nav-group-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    padding: var(--space-xs) 0;
  }
  
  .mobile-nav-group .mobile-nav-link-sub {
    font-size: 14px;
    padding: var(--space-xs) var(--space-md);
  }
}

/* Ensure proper z-index layering */
.nav-dropdown-mega {
  z-index: 1000;
}

/* ==========================================================================
   REDUCED MOTION SUPPORT
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .btn, .btn-cta, .btn-primary, .btn-secondary, .btn-outline, .btn-ghost,
  .btn-trial, .btn-link, .trial-continue-btn,
  .nav-category-btn, .nav-category-link, .nav-button, .nav-link,
  .dropdown-item, .mobile-menu-toggle, .mobile-nav-item, .trial-dropdown {
    transition: none;
  }
  
  .btn:hover, .btn-cta:hover, .btn-primary:hover, .btn-secondary:hover,
  .btn-outline:hover, .btn-ghost:hover, .btn-trial:hover, .btn-link:hover,
  .trial-continue-btn:hover, .nav-category-btn:hover, .nav-category-link:hover,
  .nav-button:hover, .nav-link:hover, .dropdown-item:hover,
  .mobile-menu-toggle:hover, .mobile-nav-item:hover {
    transform: none;
  }
  
  .btn:active, .btn-cta:active, .btn-primary:active, .btn-secondary:active,
  .btn-outline:active, .btn-ghost:active, .btn-trial:active, .btn-link:active,
  .trial-continue-btn:active, .nav-category-btn:active, .nav-category-link:active,
  .nav-button:active, .nav-link:active, .dropdown-item:active,
  .mobile-menu-toggle:active, .mobile-nav-item:active {
    transform: none;
  }
  
  .trial-cta-wrapper:hover .trial-dropdown {
    transform: translateX(-50%) translateY(8px);
  }
}
