/* AI Career Transition - Main Stylesheet
   A clean, professional light theme for AI learning platform
   Designed for accessibility and hand-holding beginners
*/

/* ========================================
   CSS Variables & Design Tokens
   ======================================== */
:root {
  /* Light Theme - Clean & Professional */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8fafc;
  --color-bg-tertiary: #f1f5f9;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #f8fafc;
  
  /* Accent Colors - Professional Blue */
  --color-accent-primary: #2563eb;
  --color-accent-secondary: #1d4ed8;
  --color-accent-tertiary: #0891b2;
  --color-accent-info: #0ea5e9;
  --color-accent-success: #10b981;
  --color-accent-purple: #7c3aed;
  
  /* Text Colors */
  --color-text-primary: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-text-inverse: #ffffff;
  
  /* Gradient Combinations */
  --gradient-sunrise: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --gradient-ocean: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  --gradient-forest: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  --gradient-purple: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --gradient-warm: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  --gradient-hero: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  
  /* Borders */
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-hover: rgba(37, 99, 235, 0.3);
  --border-color-strong: rgba(0, 0, 0, 0.12);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.15);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  
  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Container */
  --container-max: 1280px;
  --container-narrow: 800px;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Subtle Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 30% 10%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 90%, rgba(5, 150, 105, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

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

a:hover {
  color: var(--color-accent-secondary);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-primary);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
}

h4 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

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

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

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

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

/* ========================================
   Layout Components
   ======================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.section {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-header h2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.collapse-toggle {
  background: none;
  border: none;
  color: var(--color-accent-primary);
  cursor: pointer;
  padding: var(--space-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  margin-left: var(--space-sm);
}

.collapse-toggle:hover {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent-secondary);
}

.collapse-toggle[aria-expanded="false"] svg {
  transform: rotate(-90deg);
}

.collapsible-content {
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-bottom 0.3s ease;
  max-height: 5000px;
  opacity: 1;
}

.collapsible-content.collapsed {
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  padding: 0;
}

.section-header p {
  margin-top: var(--space-md);
  font-size: 1.125rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text-primary);
}

.navbar-logo img {
  height: 36px;
  width: 36px;
}

.navbar-logo span {
  background: var(--gradient-sunrise);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-link.active {
  color: var(--color-text-primary);
}

.navbar-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-sunrise);
  border-radius: var(--radius-full);
}

/* Hover states only on devices that support hover */
@media (hover: hover) {
  .navbar-link:hover {
    color: var(--color-text-primary);
  }
}

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

.navbar-toggle {
  display: none;
  padding: var(--space-sm);
  color: var(--color-text-primary);
}

.navbar-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile Navigation */
@media (max-width: 968px) {
  .navbar-menu {
    display: none;
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    width: 280px !important;
    max-width: 85vw !important;
    height: calc(100vh - 72px) !important;
    flex-direction: column !important;
    background: #ffffff !important;
    padding: 0 !important;
    gap: 0;
    z-index: 10000 !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: stretch !important;
  }

  .navbar-menu.active {
    display: flex !important;
    transform: translateX(0) !important;
  }

  /* Backdrop overlay */
  .navbar-backdrop {
    position: fixed;
    top: 72px;
    left: 280px;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
  }
  
  .navbar-backdrop.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .navbar-link {
    display: block !important;
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: var(--color-text-primary) !important;
    -webkit-tap-highlight-color: rgba(37, 99, 235, 0.1);
    transition: background-color 0.15s ease;
    text-align: left !important;
    border-bottom: 1px solid var(--border-color);
    background: transparent !important;
    min-height: 48px !important;
    height: auto !important;
    line-height: 1.5 !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    overflow: visible !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    text-decoration: none !important;
  }

  .navbar-link.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-accent-primary);
    font-weight: 600;
  }

  .navbar-link.active::after {
    display: none;
  }

  .navbar-link:active {
    background: rgba(37, 99, 235, 0.15);
  }

  .navbar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    -webkit-tap-highlight-color: transparent;
    color: var(--color-text-primary);
    transition: opacity 0.2s ease;
    min-width: 44px;
    min-height: 44px;
  }

  .navbar-toggle:active {
    opacity: 0.7;
  }

  .navbar-actions {
    display: none;
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--gradient-sunrise);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-md), 0 0 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(37, 99, 235, 0.35);
  color: var(--color-text-inverse);
}

.btn-secondary {
  background: var(--color-bg-card);
  color: var(--color-text-primary);
  border: 1px solid var(--border-color-strong);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--color-bg-tertiary);
  border-color: var(--border-color-hover);
  color: var(--color-text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent-primary);
  border: 2px solid var(--color-accent-primary);
}

.btn-outline:hover {
  background: var(--color-accent-primary);
  color: var(--color-text-inverse);
}

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

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

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

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1rem;
}

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

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

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

.card-icon.amber {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent-primary);
}

.card-icon.emerald {
  background: rgba(5, 150, 105, 0.1);
  color: var(--color-accent-tertiary);
}

.card-icon.blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent-info);
}

.card-icon.coral {
  background: rgba(220, 38, 38, 0.1);
  color: var(--color-accent-secondary);
}

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

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.card-description {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* Step Cards - for hand-holding flow */
.step-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  position: relative;
  transition: all var(--transition-base);
}

.step-card:hover {
  border-color: var(--color-accent-primary);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -16px;
  left: var(--space-xl);
  width: 32px;
  height: 32px;
  background: var(--gradient-sunrise);
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
}

.step-card-large .step-number {
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  top: -24px;
}

/* Tool Cards */
.tool-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.tool-card:hover {
  border-color: var(--color-accent-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.tool-card-logo {
  width: 64px;
  height: 64px;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.tool-card-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.tool-card-category {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: var(--space-2xl);
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: var(--space-md);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-xl);
}

.hero-title {
  margin-bottom: var(--space-lg);
}

.hero-description {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

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

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent-primary);
}

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

/* ========================================
   Journey Flow Section (Horizontal Process Flow)
   ======================================== */
.journey-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.journey-flow-step {
  flex: 1;
  min-width: 180px;
  max-width: 220px;
  background: var(--color-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.journey-flow-step:hover {
  border-color: var(--color-accent-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.journey-flow-number {
  width: 48px;
  height: 48px;
  background: var(--gradient-sunrise);
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  margin: 0 auto var(--space-md);
}

.journey-flow-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.journey-flow-description {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

.journey-flow-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.journey-flow-link:hover {
  color: var(--color-accent-secondary);
  text-decoration: underline;
}

.journey-flow-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-primary);
  opacity: 0.6;
}

/* ========================================
   Journey Steps Section (Legacy - for detailed view if needed)
   ======================================== */
.journey-step {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
  padding: var(--space-2xl) 0;
  position: relative;
}

.journey-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 27px;
  top: 80px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent-primary), var(--color-bg-tertiary));
}

.journey-step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--gradient-sunrise);
  color: var(--color-text-inverse);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.journey-step-content {
  flex: 1;
  padding-top: var(--space-sm);
}

.journey-step-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.journey-step-description {
  font-size: 1.0625rem;
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

/* ========================================
   Quiz Section
   ======================================== */
.quiz-container {
  background: var(--color-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.quiz-progress {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-2xl);
}

.quiz-progress-step {
  flex: 1;
  height: 6px;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-full);
  transition: background var(--transition-base);
}

.quiz-progress-step.completed {
  background: var(--gradient-sunrise);
}

.quiz-progress-step.active {
  background: var(--color-accent-primary);
}

.quiz-question {
  margin-bottom: var(--space-2xl);
}

.quiz-question-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-sm);
}

.quiz-question-text {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-bg-tertiary);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quiz-option:hover {
  background: var(--color-bg-secondary);
  border-color: var(--border-color-hover);
}

.quiz-option.selected {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--color-accent-primary);
}

.quiz-option-indicator {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-text-muted);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.quiz-option.selected .quiz-option-indicator {
  border-color: var(--color-accent-primary);
  background: var(--color-accent-primary);
}

.quiz-option.selected .quiz-option-indicator::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-text-inverse);
  border-radius: var(--radius-full);
}

.quiz-option-text {
  font-size: 1rem;
  color: var(--color-text-primary);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Quiz Results */
.quiz-result {
  text-align: center;
}

.quiz-result-score {
  font-size: 4rem;
  font-weight: 700;
  background: var(--gradient-sunrise);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.quiz-result-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.quiz-result-description {
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.quiz-result-recommendation {
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.quiz-result-recommendation h4 {
  color: var(--color-accent-tertiary);
  margin-bottom: var(--space-sm);
}

/* ========================================
   Grid Layouts
   ======================================== */
.grid {
  display: grid;
  gap: var(--space-lg);
}

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

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

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

.grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

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

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

/* ========================================
   Tab Navigation
   ======================================== */
.tabs {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-xs);
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  margin-bottom: var(--space-2xl);
}

.tab {
  padding: var(--space-md) var(--space-xl);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab:hover {
  color: var(--color-text-primary);
  background: var(--color-bg-card);
}

.tab.active {
  color: var(--color-text-inverse);
  background: var(--gradient-sunrise);
  box-shadow: var(--shadow-md);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn var(--transition-base);
}

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

/* ========================================
   Video Cards - FIXED for proper embeds
   ======================================== */
.video-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

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

.video-card-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--color-bg-tertiary);
  overflow: hidden;
}

.video-card-thumbnail iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(37, 99, 235, 0.95);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}

.video-card-play:hover {
  background: var(--color-accent-primary);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card-play svg {
  width: 24px;
  height: 24px;
  color: var(--color-text-inverse);
  margin-left: 4px;
}

/* Video Card Link Styles */
.video-card-link {
  text-decoration: none;
  display: block;
}

.video-card-link:hover .video-card-play-overlay {
  background: rgba(0, 0, 0, 0.7);
}

.video-card-link:hover .video-card-play-overlay svg {
  transform: scale(1.2);
}

.video-card-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: all var(--transition-base);
}

.video-card-play-overlay svg {
  width: 64px;
  height: 64px;
  color: white;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  transition: transform var(--transition-base);
}

.video-card-play-overlay span {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background: rgba(37, 99, 235, 0.95);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
}

.video-card-content {
  padding: var(--space-lg);
}

.video-card-source {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-sm);
}

.video-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card-description {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   Certification Cards
   ======================================== */
.cert-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.cert-card:hover {
  border-color: var(--color-accent-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.cert-card-logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  object-fit: contain;
  background: var(--color-bg-tertiary);
  padding: var(--space-sm);
}

.cert-card-content {
  flex: 1;
  min-width: 0;
}

.cert-card-provider {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-xs);
}

.cert-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.cert-card-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.cert-card-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* ========================================
   Prompt Library
   ======================================== */
.prompt-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.prompt-card:hover {
  border-color: var(--border-color-hover);
  box-shadow: var(--shadow-lg);
}

.prompt-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.prompt-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent-tertiary);
}

.prompt-card-copy {
  padding: var(--space-sm);
  color: var(--color-text-muted);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.prompt-card-copy:hover {
  color: var(--color-accent-primary);
  background: rgba(37, 99, 235, 0.1);
}

.prompt-card-copy.copied {
  color: var(--color-accent-tertiary);
}

.prompt-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.prompt-card-text {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  line-height: 1.6;
}

/* ========================================
   Blog Section
   ======================================== */
.blog-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

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

.blog-card-image {
  aspect-ratio: 16/9;
  background: var(--color-bg-tertiary);
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: var(--space-xl);
}

.blog-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent-primary);
  margin-bottom: var(--space-md);
}

.blog-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ========================================
   App Showcase
   ======================================== */
.app-card {
  background: var(--color-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

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

.app-card-preview {
  aspect-ratio: 16/10;
  background: var(--color-bg-tertiary);
  overflow: hidden;
  position: relative;
}

.app-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: var(--space-xl);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.app-card:hover .app-card-overlay {
  opacity: 1;
}

.app-card-content {
  padding: var(--space-xl);
}

.app-card-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: rgba(5, 150, 105, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent-tertiary);
  margin-bottom: var(--space-md);
}

.app-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.app-card-description {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.app-card-actions {
  display: flex;
  gap: var(--space-md);
}

/* ========================================
   Feedback Form
   ======================================== */
.form-group {
  margin-bottom: var(--space-xl);
}

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

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-card);
  border: 1px solid var(--border-color-strong);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  background-size: 20px;
  padding-right: calc(var(--space-md) * 2 + 20px);
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-bg-tertiary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

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

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

.footer-brand {
  max-width: 300px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

.footer-brand-logo span {
  background: var(--gradient-sunrise);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  color: var(--color-text-secondary);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-accent-primary);
  color: var(--color-text-inverse);
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent-primary);
}

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

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ========================================
   AI Chat Assistant
   ======================================== */
.chat-container {
  background: var(--color-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  height: 600px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.chat-header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-bg-tertiary);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: var(--gradient-sunrise);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-inverse);
}

.chat-info h4 {
  font-size: 1rem;
  color: var(--color-text-primary);
}

.chat-info p {
  font-size: 0.8125rem;
  color: var(--color-accent-tertiary);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.chat-message {
  max-width: 80%;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
}

.chat-message.user {
  align-self: flex-end;
  background: var(--gradient-sunrise);
  color: var(--color-text-inverse);
  border-bottom-right-radius: var(--radius-sm);
}

.chat-message.assistant {
  align-self: flex-start;
  background: var(--color-bg-tertiary);
  color: var(--color-text-primary);
  border-bottom-left-radius: var(--radius-sm);
}

.chat-input-container {
  padding: var(--space-lg) var(--space-xl);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: var(--space-md);
  background: var(--color-bg-card);
}

.chat-input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  font-size: 0.9375rem;
  color: var(--color-text-primary);
}

.chat-input:focus {
  outline: none;
  border-color: var(--color-accent-primary);
}

.chat-send {
  padding: var(--space-md) var(--space-lg);
  background: var(--gradient-sunrise);
  border-radius: var(--radius-lg);
  color: var(--color-text-inverse);
  transition: all var(--transition-fast);
}

.chat-send:hover {
  transform: scale(1.05);
}

/* ========================================
   Accordion / FAQ
   ======================================== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.accordion-item {
  background: var(--color-bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  width: 100%;
  padding: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  text-align: left;
  color: var(--color-text-primary);
  font-size: 1rem;
  font-weight: 500;
  transition: background var(--transition-fast);
}

.accordion-header:hover {
  background: var(--color-bg-tertiary);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-body {
  padding: 0 var(--space-xl) var(--space-xl);
  color: var(--color-text-secondary);
}

/* ========================================
   Callout / Info Boxes
   ======================================== */
.callout {
  background: rgba(37, 99, 235, 0.08);
  border-left: 4px solid var(--color-accent-primary);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
}

.callout-info {
  background: rgba(37, 99, 235, 0.08);
  border-left-color: var(--color-accent-info);
}

.callout-success {
  background: rgba(5, 150, 105, 0.08);
  border-left-color: var(--color-accent-tertiary);
}

.callout h4 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.callout p {
  font-size: 0.9375rem;
  margin: 0;
}

/* ========================================
   Animations
   ======================================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

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

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

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

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

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

/* ========================================
   Utility Classes
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

.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); }
.mt-3xl { margin-top: var(--space-3xl); }

.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); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-accent-primary);
  color: var(--color-text-inverse);
  padding: var(--space-md) var(--space-lg);
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* Progress Indicator */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-sunrise);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding-top: 80px;
    padding-bottom: var(--space-2xl);
    min-height: auto;
  }
  
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: var(--space-md);
  }
  
  .hero-title br {
    display: none;
  }
  
  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-xl);
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-badge {
    font-size: 0.8125rem;
    padding: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-lg);
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .tool-card-logo {
    width: 48px;
    height: 48px;
  }
  
  .video-card-title {
    font-size: 0.9rem;
  }
  
  .tabs {
    flex-wrap: wrap;
    gap: var(--space-xs);
  }
  
  .tab {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  .prompt-card {
    padding: var(--space-lg);
  }
  
  .prompt-card-text {
    font-size: 0.9rem;
  }
  
  /* Journey flow mobile */
  .journey-flow {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .journey-flow-arrow {
    transform: rotate(90deg);
    width: 24px;
    height: 24px;
  }
  
  .journey-flow-step {
    min-width: 100%;
    max-width: 100%;
  }
  
  /* Journey steps mobile (legacy) */
  .journey-step {
    flex-direction: column;
    text-align: center;
  }
  
  .journey-step-number {
    margin-bottom: var(--space-md);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero {
    padding-top: 70px;
    padding-bottom: var(--space-xl);
  }
  
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .hero-description {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.375rem var(--space-sm);
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .navbar-logo span {
    display: none;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .section-header p {
    font-size: 0.9375rem;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 48px;
  height: 48px;
  background: var(--gradient-sunrise);
  color: var(--color-text-inverse);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  z-index: 999;
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.back-to-top:active {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: var(--space-lg);
    right: var(--space-lg);
  }
}

/* Touch-friendly interactions */
@media (hover: none) {
  .tool-card:hover,
  .card:hover,
  .video-card-link:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .tool-card:active,
  .card:active {
    transform: scale(0.98);
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --border-color: rgba(0, 0, 0, 0.3);
    --border-color-hover: rgba(0, 0, 0, 0.5);
  }
  
  .btn-primary {
    border: 2px solid currentColor;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .chat-container {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card,
  .tool-card,
  .cert-card {
    break-inside: avoid;
    border: 1px solid #ddd;
  }
}
