/* AskOwlo - Custom CSS Design System */

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

/* CSS Variables - AskOwlo Brand */
:root {
  /* Brand Colors */
  --owlo-yellow: #F9B11A;
  --owlo-yellow-light: #FACC15;
  --owlo-dark: #434746;
  --koko-teal: #4CD6CF;
  --fun-orange: #FFD82C;
  
  /* Backgrounds */
  --color-bg: #FAFAFA;
  --color-bg-alt: #FCFCFC;
  --color-surface: #FFFFFF;
  --color-card-bg: #FFFFFF;
  --color-input-bg: #FFFFFF;
  --color-hover-bg: #F8F8F8;
  
  /* Text */
  --color-text: #333;
  --color-text-secondary: #555;
  --color-text-muted: #888888;
  --color-text-subtle: #999;
  
  /* Borders */
  --color-border: #E8E8E8;
  --color-border-subtle: #F0F0F0;
  --color-border-focus: var(--koko-teal);
  
  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-8: 4rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(67, 71, 70, 0.08);
  --shadow-md: 0 4px 16px rgba(67, 71, 70, 0.12);
  --shadow-lg: 0 8px 32px rgba(67, 71, 70, 0.16);
  --shadow-glow: 0 0 20px rgba(250, 204, 21, 0.3);
  
  /* Typography - Kid-friendly & Modern */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="reading"] {
  /* Warm, paper-like backgrounds (reduces blue light, easy on eyes) */
  --color-bg: #F5F1E8;
  --color-bg-alt: #F9F6EE;
  --color-surface: #FFF9F0;
  --color-card-bg: #FFFCF5;
  --color-input-bg: #FFFCF5;
  --color-hover-bg: #F5EFE3;
  
  /* Text (slightly softer for reading) */
  --color-text: #2A2622;
  --color-text-secondary: #4A4540;
  --color-text-muted: #7A7268;
  --color-text-subtle: #9A8E7E;
  
  /* Borders (warm tones) */
  --color-border: #E5DCC8;
  --color-border-subtle: #EDE8DC;
  
  /* Shadows (softer, warmer) */
  --shadow-sm: 0 2px 8px rgba(67, 71, 70, 0.06);
  --shadow-md: 0 4px 16px rgba(67, 71, 70, 0.08);
  --shadow-lg: 0 8px 32px rgba(67, 71, 70, 0.1);
}

[data-theme="ocean"] {
  /* Soft blue/teal backgrounds (calming like the sea) */
  --color-bg: #E8F4F8;
  --color-bg-alt: #EEF7FA;
  --color-surface: #F5FBFD;
  --color-card-bg: #FAFEFF;
  --color-input-bg: #FAFEFF;
  --color-hover-bg: #E3F2F7;
  
  /* Text (deep ocean tones) */
  --color-text: #1E3A47;
  --color-text-secondary: #2D5265;
  --color-text-muted: #5A7A8A;
  --color-text-subtle: #7A96A4;
  
  /* Borders (soft blue-grey) */
  --color-border: #C5E3EF;
  --color-border-subtle: #D8EDF5;
  
  /* Shadows (softer) */
  --shadow-sm: 0 2px 8px rgba(30, 58, 71, 0.06);
  --shadow-md: 0 4px 16px rgba(30, 58, 71, 0.08);
  --shadow-lg: 0 8px 32px rgba(30, 58, 71, 0.1);
}

[data-theme="forest"] {
  /* Soft green backgrounds (nature, restful) */
  --color-bg: #EAF4ED;
  --color-bg-alt: #EFF7F1;
  --color-surface: #F5FBF7;
  --color-card-bg: #FAFFFE;
  --color-input-bg: #FAFFFE;
  --color-hover-bg: #E5F2E9;
  
  /* Text (forest tones) */
  --color-text: #1E3325;
  --color-text-secondary: #2D4A37;
  --color-text-muted: #5A7A65;
  --color-text-subtle: #7A9682;
  
  /* Borders (soft green-grey) */
  --color-border: #C8E6D3;
  --color-border-subtle: #DBEEE1;
  
  /* Shadows (softer) */
  --shadow-sm: 0 2px 8px rgba(30, 51, 37, 0.06);
  --shadow-md: 0 4px 16px rgba(30, 51, 37, 0.08);
  --shadow-lg: 0 8px 32px rgba(30, 51, 37, 0.1);
}

/* Base Styles */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--owlo-dark);
}

h1 { font-size: 2.5rem; margin-bottom: var(--space-4); }
h2 { font-size: 2rem; margin-bottom: var(--space-3); }
h3 { font-size: 1.5rem; margin-bottom: var(--space-3); }

a {
  color: var(--owlo-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Removed global a:hover to prevent color conflicts with card hovers */

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Minimal Header */
.header-minimal {
  padding: var(--space-3) 0;
  background: transparent;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
}

.header-minimal .container {
  display: flex;
  justify-content: flex-end;
}

/* Integrated Locale Selector */
.locale-selector-integrated {
  padding: 9px 12px;
  border: none;
  border-radius: 6px;
  background: #FAFAFA;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #888;
  font-family: var(--font-body);
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}

.locale-selector-integrated:hover {
  background-color: #F0F0F0;
}

.locale-selector-integrated:focus {
  outline: none;
  background-color: #E8E8E8;
}

/* Minimal Google-style Hero */
.hero-minimal {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  padding-top: 80px;
}

.hero-content-minimal {
  width: 100%;
  max-width: 600px;
  text-align: center;
  transform: translateY(-5vh);
  position: relative;
  z-index: 100;
}

.hero-logo-minimal {
  margin-bottom: 40px;
}

.owlo-mascot-minimal {
  width: 320px;
  height: auto;
  max-width: 90%;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}


/* Minimal Search Container */
.search-container-minimal {
  width: 100%;
  margin: 0 auto;
}

.search-form-minimal {
  position: relative;
  margin-bottom: var(--space-4);
}

.search-input-minimal {
  width: 100%;
  padding: 20px 28px;
  padding-right: 64px;
  font-size: 17px;
  border: 2px solid #E8E8E8;
  border-radius: 50px;
  background: var(--color-surface);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: var(--font-body);
}

.search-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--owlo-yellow);
  color: #434746;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-button:hover {
  background: #F9B11A;
  transform: translateY(-50%) scale(1.05);
}

.search-button:active {
  transform: translateY(-50%) scale(0.98);
}

/* RTL: Move search button to left side */
.search-form-minimal:has(.search-input-minimal[dir="rtl"]) .search-button {
  right: auto;
  left: 8px;
}

.search-input-minimal:hover {
  border-color: #D0D0D0;
  transform: translateY(-1px);
}

.search-input-minimal:focus {
  outline: none;
  border-color: var(--owlo-yellow);
  transform: translateY(-1px);
}

.search-input-minimal::placeholder {
  color: #B0B0B0;
}

/* RTL support for search input */
.search-input-minimal[dir="rtl"] {
  text-align: right;
  padding-right: 28px;
  padding-left: 64px;
}

/* Minimal Autocomplete Dropdown */
.autocomplete-minimal {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 12px;
  background: white;
  border-radius: 16px;
  border: 2px solid #E8E8E8;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  max-height: 40vh;
  overflow-y: auto;
  z-index: 1000;
}

.autocomplete-item-minimal {
  padding: 12px 20px;
  padding-left: 40px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 1px solid #F5F5F5;
  position: relative;
  text-align: left;
}

.autocomplete-item-minimal:last-child {
  border-bottom: none;
}

.autocomplete-item-minimal:before {
  content: "→";
  color: #BBB;
  font-size: 16px;
  font-weight: 300;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.autocomplete-item-minimal:hover,
.autocomplete-item-minimal.highlighted {
  background: #FAFAFA;
  padding-left: 44px;
}

.autocomplete-item-minimal:hover:before,
.autocomplete-item-minimal.highlighted:before {
  color: var(--owlo-yellow);
}

.autocomplete-item-minimal strong {
  color: var(--owlo-dark);
  font-weight: 700;
}

/* Minimal Age Selector */
.age-selector-minimal {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

/* Settings Row */
.settings-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* Subtle Age Selector */
.age-selector-subtle {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--color-bg-alt);
  padding: 4px;
  border-radius: 6px;
}

.age-label-subtle {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.age-dropdown {
  padding: 6px 12px;
  padding-right: 32px;
  border: 1px solid #E8E8E8;
  border-radius: 6px;
  background: white;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #666;
  font-family: var(--font-body);
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
}

.age-dropdown:hover {
  border-color: #D0D0D0;
  background-color: #FAFAFA;
}

.age-dropdown:focus {
  outline: none;
  border-color: var(--owlo-yellow);
  box-shadow: 0 0 0 1px var(--owlo-yellow);
}

.age-pill {
  padding: 5px 12px;
  border: none;
  border-radius: 4px;
  background: transparent;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #888;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.age-pill .age-icon-home {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.age-pill:hover {
  background: rgba(0,0,0,0.04);
  color: #666;
}

.age-pill.active {
  background: white;
  color: #434746;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.age-chip {
  padding: 8px 18px;
  border: 2px solid #E8E8E8;
  border-radius: 50px;
  background: var(--color-surface);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-text);
  letter-spacing: -0.2px;
}

.age-chip:hover {
  border-color: #D0D0D0;
  transform: translateY(-1px);
}

.age-chip.active {
  background: var(--owlo-yellow);
  border-color: var(--owlo-yellow);
  color: #434746;
  font-weight: 700;
  transform: translateY(-1px);
}

.age-button-minimal {
  padding: 11px 26px;
  border: 2px solid #E8E8E8;
  border-radius: 50px;
  background: var(--color-surface);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--color-text);
  letter-spacing: -0.2px;
}

.age-button-minimal:hover {
  border-color: #D0D0D0;
  transform: translateY(-1px);
}

.age-button-minimal.active {
  background: var(--owlo-yellow);
  border-color: var(--owlo-yellow);
  color: #434746;
  font-weight: 700;
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-display);
  font-size: 1rem;
  display: inline-block;
}

.btn-primary {
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
  box-shadow: var(--shadow-sm);
}

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

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

/* Question Cards */
.questions-section {
  padding: var(--space-8) 0;
}

.section-title {
  font-size: 2rem;
  margin-bottom: var(--space-5);
  text-align: center;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.question-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.question-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--owlo-dark);
  margin-bottom: var(--space-2);
}

.question-meta {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Answer Page */
.answer-container {
  max-width: 800px;
  margin: var(--space-6) auto;
  padding: var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.question-title {
  font-size: 2.5rem;
  color: var(--owlo-dark);
  margin-bottom: var(--space-5);
  line-height: 1.3;
}

.answer-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text);
}

.answer-content p {
  margin-bottom: var(--space-4);
}

/* Footer */
.footer {
  background: transparent;
  color: var(--color-text-secondary);
  padding: var(--space-4) 0;
  margin-top: auto;
  border-top: 1px solid #F0F0F0;
}

.footer-content {
  text-align: center;
}

.footer-links {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.footer-link {
  color: #888;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-subtle);
}

.footer-copy {
  font-size: 12px;
  color: var(--color-text-subtle);
  margin: 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--color-hover-bg);
  color: var(--owlo-yellow);
  transform: translateY(-2px);
}

.social-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.tiktok-icon {
  width: 16px;
  height: 16px;
}

/* All theme-specific styles removed - now using unified dropdown system */

/* Question Page Background */
body:has(.question-top-bar) {
  background: var(--color-bg-alt);
}

/* Minimal Top Bar */
.question-top-bar {
  position: sticky;
  top: 0;
  z-index: 10001;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.top-bar-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Group logo and premium pill on the left */
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
}

.top-bar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile navigation icons in header */
.mobile-nav-icon {
  display: none; /* Hidden on desktop */
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  padding: 0;
}

.mobile-nav-icon:hover {
  background: var(--bg-hover);
  color: var(--owlo-yellow);
}

.mobile-nav-icon i {
  width: 20px;
  height: 20px;
}

.dropdown-button-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-button-compact:hover {
  background: var(--color-hover-bg);
  border-color: var(--owlo-yellow);
}

.dropdown-button-compact .dropdown-icon-left {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dropdown-button-compact .dropdown-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Hide text on small screens, keep icon only */
@media (max-width: 640px) {
  .dropdown-button-compact .dropdown-text {
    display: none;
  }
  
  .dropdown-button-compact {
    padding: 8px;
  }
  
  /* Ensure dropdown menu stays on screen */
  .top-bar-controls .dropdown-menu {
    right: -4px;
  }
}

.logo-link-compact {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  margin: -8px -12px;
  transition: transform 0.2s ease;
}

.logo-link-compact:hover {
  transform: scale(1.02);
}

.owlo-tiny {
  width: 180px;
  height: auto;
}

/* Premium Upgrade Pill - Subtle */
.premium-upgrade-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: #fffbf0;
  color: #2d3436;
  font-size: 10px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--owlo-yellow);
  margin-left: 0;
  white-space: nowrap;
}

.premium-upgrade-pill:hover {
  background: #fff8e1;
  border-color: #f5a200;
}

@media (max-width: 768px) {
  .premium-upgrade-pill {
    display: none;
  }
}

.top-settings-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.age-dropdown-top {
  padding: 5px 10px;
  padding-right: 28px;
  border: 1px solid #E8E8E8;
  border-radius: 6px;
  background: white;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #666;
  font-family: var(--font-body);
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 10px;
}

.age-dropdown-top:hover {
  border-color: #D0D0D0;
  background-color: #FAFAFA;
}

.age-dropdown-top:focus {
  outline: none;
  border-color: var(--owlo-yellow);
  box-shadow: 0 0 0 1px var(--owlo-yellow);
}

.locale-selector-tiny {
  padding: 4px 8px;
  padding-right: 20px;
  border: 1px solid #E8E8E8;
  border-radius: 4px;
  background: white;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #999;
  font-family: var(--font-body);
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 10px;
}

.locale-selector-tiny:hover {
  border-color: #D0D0D0;
  color: #666;
}

/* Fixed Bottom Search Bar */
.search-bar-fixed {
  position: fixed;
  bottom: 0;
  left: 60px; /* Start after 60px sidebar on desktop */
  right: 0;
  background: transparent;
  z-index: 1001;
  padding: 32px 40px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
}

.search-bar-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: #434343;
  border-radius: 56px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}


.search-input-fixed {
  width: 100%;
  padding: 20px 28px;
  padding-right: 64px;
  border: 3px solid var(--owlo-yellow);
  border-radius: 50px;
  font-size: 16px;
  font-family: var(--font-body);
  color: var(--color-text);
  transition: all 0.2s ease;
  background: var(--color-input-bg);
}

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

.search-input-fixed:focus {
  outline: none;
  border-color: var(--owlo-yellow);
  background: var(--color-input-bg);
  box-shadow: none;
}

.search-input-fixed::placeholder {
  color: var(--color-text-subtle);
}

.search-form-fixed {
  position: relative;
}

.search-button-fixed {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--owlo-yellow);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--owlo-dark);
  padding: 0;
}

.search-button-fixed svg {
  margin: auto;
}

.search-button-fixed:hover {
  background: var(--owlo-yellow-light);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(249, 177, 26, 0.3);
}

/* Autocomplete for Fixed Bar (appears above) */
.autocomplete-fixed {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin-bottom: 8px;
  background: white;
  border-radius: 16px;
  border: 2px solid #E8E8E8;
  overflow: hidden;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  max-height: 40vh;
  overflow-y: auto;
}

.autocomplete-item-fixed {
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 15px;
  color: var(--color-text);
  border-bottom: 1px solid #F5F5F5;
  position: relative;
  padding-left: 40px;
  text-align: left;
}

.autocomplete-item-fixed:last-child {
  border-bottom: none;
}

.autocomplete-item-fixed:before {
  content: "→";
  color: #BBB;
  font-size: 16px;
  font-weight: 300;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.autocomplete-item-fixed:hover,
.autocomplete-item-fixed.highlighted {
  background: #FAFAFA;
  padding-left: 44px;
}

.autocomplete-item-fixed:hover:before,
.autocomplete-item-fixed.highlighted:before {
  color: var(--owlo-yellow);
}

.autocomplete-item-fixed strong {
  color: var(--owlo-dark);
  font-weight: 700;
}

/* Question Page Wrapper - handles bottom padding for all content */
.question-page-wrapper {
  padding-bottom: 120px; /* Space for fixed search bar */
}

/* Question Meta Row - Categories and Load Time */
.question-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.load-time-badge {
  display: inline-block;
  font-size: 11px;
  color: var(--color-text-light);
  opacity: 0.4;
  padding: 2px 8px;
  background: var(--color-hover-bg);
  border-radius: 8px;
  border: 1px solid transparent; /* Match category badge border for alignment */
  font-weight: 500;
  transition: opacity 0.2s ease;
  line-height: 1.4; /* Match category badge line-height */
}

.load-time-badge:hover {
  opacity: 0.6;
}

/* Answer Section */
.answer-section-minimal {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 20px 8px;
}

/* Hide footer on question pages */
body:has(.search-bar-fixed) .footer {
  display: none;
}

/* Conversation divider - Minimal spacing */
.conversation-divider {
  height: 24px;
  background: transparent;
}

/* ============================================
   CONVERSATION QUESTION (User) - TIGHT & THEME-AWARE
   ============================================ */
.conversation-question {
  margin: 12px 0 16px 0;  /* Reduced top margin from 24px to 12px */
  padding: 0;
}

.question-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 4px;
  background: white;
  border-radius: 16px;
  margin-bottom: 10px;
  border: 1px solid var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

.conversation-question:hover .question-meta {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  border-color: var(--color-border);
}

.question-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  /* Background set dynamically via inline style to match profile color */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.question-avatar-text {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-heading);
  user-select: none;
}

.question-author {
  font-size: 12px;
  font-weight: 600;
  /* Color set dynamically via inline style to match profile color */
  font-family: var(--font-heading);
}

.question-text {
  font-size: 19px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.4;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

/* ============================================
   CONVERSATION ANSWER (Owlo) - TIGHT & THEME-AWARE
   ============================================ */
.conversation-answer {
  margin: 0 0 8px 0;  /* Reduced bottom margin from 20px to 8px */
  padding: 20px 24px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  border-left: 3px solid var(--owlo-yellow);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.conversation-answer:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.answer-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.answer-avatar-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.answer-author {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  font-family: var(--font-heading);
}

/* Answer body - tight & readable */
.answer-body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  font-family: var(--font-body);
  max-width: 100%;
}

.answer-body p {
  margin: 0 0 12px 0;
  line-height: 1.65;
}

.answer-body p:last-child {
  margin-bottom: 0;
}

.answer-body strong {
  font-weight: 700;
  color: var(--owlo-dark);
}

.answer-body em {
  font-style: italic;
  color: var(--text-secondary);
}

/* ============================================
   SUGGESTED FOLLOW-UPS - Tight chip design
   ============================================ */
.suggested-followups {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

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

.followups-icon {
  width: 16px;
  height: 16px;
  color: var(--owlo-yellow);
}

.followups-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.followups-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.followup-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: var(--font-body);
}

.followup-chip:hover {
  background: rgba(249, 177, 26, 0.08);
  border-color: var(--owlo-yellow);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.followup-chip-icon {
  width: 13px;
  height: 13px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.followup-chip:hover .followup-chip-icon {
  color: var(--owlo-yellow);
}

/* ============================================
   ANSWER ACTIONS - Tight feedback & share
   ============================================ */
.answer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.action-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.action-button:hover {
  background: var(--color-surface);
  border-color: var(--owlo-yellow);
  color: var(--color-text);
}

.action-button-icon {
  width: 13px;
  height: 13px;
}

.action-button.active {
  background: rgba(249, 177, 26, 0.1);
  border-color: var(--owlo-yellow);
  color: var(--owlo-yellow);
}

/* Value Proposition Hero */
.value-prop-hero {
  max-width: 920px;
  margin: 56px auto 56px;
  padding: 0 20px;
}

.value-prop-content {
  text-align: center;
  background: var(--color-card-bg);
  border: 2px solid transparent;
  border-radius: 24px;
  padding: 48px 56px;
  position: relative;
  overflow: hidden;
  background-clip: padding-box;
}

.value-prop-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 25%,
    rgba(249, 177, 26, 0.3) 40%,
    rgba(249, 177, 26, 0.7) 50%,
    rgba(249, 177, 26, 0.3) 60%,
    transparent 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: sparkle 4s ease-in-out infinite;
  opacity: 0.9;
}

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

.value-prop-content::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(249, 177, 26, 0.12), rgba(249, 177, 26, 0.08));
  border: 1px solid rgba(249, 177, 26, 0.25);
  border-radius: 100px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  color: var(--owlo-dark);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.badge-icon {
  width: 14px;
  height: 14px;
  color: var(--owlo-yellow);
  flex-shrink: 0;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--owlo-dark);
  margin: 0 0 20px 0;
  line-height: 1.15;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 36px 0;
  line-height: 1.65;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.hero-usps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.usp-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: left;
  padding: 4px 0;
  transition: transform 0.2s ease;
}

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

.usp-icon {
  width: 22px;
  height: 22px;
  color: var(--owlo-yellow);
  flex-shrink: 0;
  margin-top: 3px;
  filter: drop-shadow(0 2px 4px rgba(249, 177, 26, 0.15));
}

.usp-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.usp-text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--owlo-dark);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.usp-text span {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.5;
  opacity: 0.85;
}

/* Home Entry Points - Redesigned */
.home-entry-points {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.entry-points-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

/* Left Column: Categories */
.entry-categories-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.entry-section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 4px 0;
}

.entry-icon-small {
  width: 18px;
  height: 18px;
  color: var(--owlo-yellow);
  flex-shrink: 0;
}

.category-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.category-compact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  transition: all 0.15s ease;
  min-height: 80px;
}

.category-compact-card:hover {
  border-color: var(--owlo-yellow);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.category-compact-icon {
  width: 24px;
  height: 24px;
  color: var(--owlo-yellow);
  flex-shrink: 0;
}

.category-all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  margin-top: 12px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.15s ease;
}

.category-all-link:hover {
  border-color: var(--owlo-yellow);
  background: var(--color-hover-bg);
  transform: translateX(2px);
}

.category-all-link .category-icon-small {
  width: 16px;
  height: 16px;
  color: var(--color-text-light);
}

.entry-subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-light);
  margin-left: 4px;
}

/* Right Column: Question Lists */
.entry-questions-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.question-list-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.question-compact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.question-compact-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 14px;
  transition: all 0.15s ease;
  position: relative;
}

.question-compact-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--owlo-yellow);
  border-radius: 8px 0 0 8px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.question-compact-item:hover {
  border-color: var(--owlo-yellow);
  transform: translateX(2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.question-compact-item:hover::before {
  opacity: 1;
}

/* Conversation messages wrapper - padding for fixed search bar */
.conversation-messages-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 20px 30px;  /* Minimal bottom padding on desktop */
  min-height: 100vh;  /* Ensure enough space for ChatGPT-style scrolling */
}

/* Messages wrapper has no styling - each message is its own container */

.question-header-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 8px;
}

.answer-question-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--owlo-dark);
  margin: 0;
  line-height: 1.3;
  font-family: var(--font-heading);
  flex: 1;
}

.audio-button {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #E8E8E8;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #666;
  margin-top: 2px;
}

.audio-button:hover {
  border-color: var(--owlo-yellow);
  background: #FFFBF0;
  transform: scale(1.05);
}

.audio-button.playing {
  border-color: var(--owlo-yellow);
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(249, 177, 26, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(249, 177, 26, 0);
  }
}

.audio-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.views-subtle {
  font-size: 13px;
  color: #BBB;
  margin-bottom: 32px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.views-subtle .view-icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.answer-content-minimal {
  font-size: 18px;
  line-height: 1.8;
  color: #434746;
}

.answer-content-minimal p {
  margin-bottom: 1.5rem;
}

.answer-content-minimal h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--owlo-dark);
  margin: 2rem 0 1rem 0;
  font-family: var(--font-heading);
}

.answer-content-minimal h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--owlo-dark);
  margin: 1.5rem 0 0.75rem 0;
}

.answer-content-minimal ul,
.answer-content-minimal ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.answer-content-minimal li {
  margin-bottom: 0.75rem;
}

.answer-content-minimal strong {
  font-weight: 700;
  color: var(--owlo-dark);
}

.answer-content-minimal em {
  font-style: italic;
  color: #555;
}

.answer-content-minimal code {
  background: #F5F5F5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}

/* Kid-Friendly Answer Formatting */
.answer-para {
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--color-text);
}

.answer-list {
  line-height: 1.8;
  margin: 0 0 20px 0;
  padding-left: 24px;
  color: var(--color-text);
}

.answer-list li {
  margin-bottom: 8px;
}

.answer-para:last-of-type {
  margin-bottom: 0;
}

.answer-para strong {
  font-weight: 700;
  color: var(--owlo-dark);
}

.answer-para em {
  font-style: italic;
}

/* Fun Fact Callout Box */
.fun-fact {
  background: linear-gradient(135deg, #FFF9E5 0%, #FFF3CC 100%);
  border-left: 4px solid var(--owlo-yellow);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(249, 177, 26, 0.1);
  transition: all 0.3s ease;
}

.fun-fact:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 177, 26, 0.15);
}

.fun-fact-header {
  font-size: 18px;
  font-weight: 700;
  color: var(--owlo-dark);
  margin-bottom: 12px;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fun-fact-text {
  font-size: 16px;
  line-height: 1.7;
  color: #5A5A5A;
  margin: 0;
}

/* Special Blocks - Unified System */
.special-block {
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid;
}

.special-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.block-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.block-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--owlo-dark);
}

.block-content {
  font-size: 16px;
  line-height: 1.7;
  color: #5A5A5A;
  margin: 0;
}

/* Individual Block Themes */
.fun-fact {
  background: linear-gradient(135deg, #FFF9E5 0%, #FFF3CC 100%);
  border-left-color: var(--owlo-yellow);
}

.fun-fact .block-icon {
  color: var(--owlo-yellow);
}

.did-you-know {
  background: linear-gradient(135deg, #E8F4F8 0%, #D6EBF5 100%);
  border-left-color: #5BA4CF;
}

.did-you-know .block-icon {
  color: #5BA4CF;
}

.try-this {
  background: linear-gradient(135deg, #F3E8FF 0%, #E6D5FF 100%);
  border-left-color: #9B6DD6;
}

.try-this .block-icon {
  color: #9B6DD6;
}

.real-world {
  background: linear-gradient(135deg, #E8F5E9 0%, #D5EDD6 100%);
  border-left-color: #66BB6A;
}

.real-world .block-icon {
  color: #66BB6A;
}

.think-about {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE5CC 100%);
  border-left-color: #FB8C00;
}

.think-about .block-icon {
  color: #FB8C00;
}

.owlo-tip {
  background: linear-gradient(135deg, #FBE9E7 0%, #FFD6CC 100%);
  border-left-color: #FF7043;
}

.owlo-tip .block-icon {
  color: #FF7043;
}

/* Inline Question Links (in answer text) */
.inline-question-link {
  color: var(--owlo-yellow);
  text-decoration: underline;
  font-weight: 500;
  transition: all 0.2s ease;
}

.inline-question-link:hover {
  color: var(--owlo-dark);
  background: var(--owlo-yellow);
  text-decoration: none;
  padding: 0 2px;
  border-radius: 2px;
}

/* Question Categories */
.question-categories {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin: 8px 0 16px;
}

.category-icon-small {
  width: 10px;
  height: 10px;
  color: var(--color-text-secondary);
  flex-shrink: 0;
  opacity: 0.6;
}

.category-badge {
  display: inline-block;
  padding: 2px 8px;
  background: transparent;
  color: var(--color-text-secondary);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--color-border);
  transition: all 0.2s ease;
  opacity: 0.8;
}

.category-badge:hover {
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
  border-color: var(--owlo-yellow);
  opacity: 1;
  transform: translateY(-1px);
}

/* Categories Overview Page */
.categories-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 120px;
}

.categories-header {
  text-align: center;
  margin-bottom: 48px;
}

.categories-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.page-icon {
  width: 36px;
  height: 36px;
  color: var(--owlo-yellow);
}

.categories-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin: 0;
}

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

.category-card {
  background: var(--color-hover-bg);
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--owlo-yellow);
  box-shadow: 0 8px 20px rgba(249, 177, 26, 0.2);
}

.category-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--owlo-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-icon-large {
  width: 32px;
  height: 32px;
  color: var(--owlo-dark);
}

.category-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.category-card-count {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Category Detail Page */
.category-detail-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 120px;
}

.category-detail-header {
  margin-bottom: 32px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--owlo-yellow);
}

.category-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-count {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin: 0;
}

.category-questions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-question-item {
  background: var(--color-hover-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.category-question-item:hover {
  background: var(--owlo-yellow);
  border-color: var(--owlo-yellow);
  transform: translateX(4px);
}

.question-item-text {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 500;
  flex: 1;
}

.category-question-item:hover .question-item-text {
  color: var(--owlo-dark);
}

.question-item-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.meta-icon {
  width: 14px;
  height: 14px;
}

/* Category Questions Grid - 2 columns */
.category-questions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

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

.category-questions-grid .category-question-item {
  display: block;
  justify-content: flex-start;
}

/* Pagination */
.pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  padding: 24px;
}

.pagination-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-hover-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pagination-button:hover {
  background: var(--owlo-yellow);
  border-color: var(--owlo-yellow);
  color: var(--owlo-dark);
  transform: translateY(-2px);
}

.pagination-button i {
  width: 16px;
  height: 16px;
}

.pagination-info {
  font-size: 14px;
  color: var(--color-text-secondary);
  padding: 0 12px;
}

/* Related Questions Section */
.related-questions-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  background: var(--color-bg-alt);
}

/* Two-column layout for Related & Popular Questions */
.questions-sections-wrapper {
  max-width: 800px;  /* Match answer section width */
  margin: 0 auto;
  padding: 40px 20px;
  background: var(--color-bg-alt);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* Two columns only on larger screens */
@media (min-width: 1024px) {
  .questions-sections-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.questions-column {
  min-width: 0; /* Prevents overflow in grid */
}

.related-questions-container {
  background: var(--color-hover-bg);
  border-radius: 16px;
  padding: 40px;
  border: 2px solid var(--color-border);
  border-top: 3px solid var(--owlo-yellow);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.related-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--owlo-dark);
  margin: 0 0 16px 0;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  color: var(--owlo-yellow);
}

.related-questions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.related-question-card {
  background: var(--color-card-bg);
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s ease;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-border);
  display: flex;
  align-items: center;
}

.related-question-card:hover {
  border-color: var(--owlo-yellow);
  border-left-color: var(--owlo-yellow);
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.related-question-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--owlo-dark);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Static Pages (Privacy, Terms, etc.) */
.static-page-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 20px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.static-page-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.logo-link-static {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease;
  padding: 12px;
  margin: -12px;
}

.logo-link-static:hover {
  transform: scale(1.03);
}

.owlo-logo-static {
  width: 160px;
  height: auto;
  display: block;
}

.static-page-section {
  background: var(--color-bg-alt);
  padding: 64px 20px;
}

.static-page-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  padding: 48px 56px;
  transition: background-color 0.3s ease;
}

.static-page-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--owlo-dark);
  margin: 0 0 16px 0;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.static-page-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 32px;
}

.static-page-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--owlo-dark);
  margin: 40px 0 16px 0;
  font-family: var(--font-heading);
}

.static-page-content h2:first-of-type {
  margin-top: 0;
}

.static-page-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.static-page-content ul {
  margin: 16px 0 24px 0;
  padding-left: 24px;
}

.static-page-content li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.static-page-link {
  color: var(--owlo-yellow);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.static-page-link:hover {
  border-bottom-color: var(--owlo-yellow);
}

.static-page-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid #F0F0F0;
}

.static-page-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.static-page-button:hover {
  background: #E5A916;
  color: var(--owlo-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 177, 26, 0.3);
  border-color: transparent;
}


/* Responsive Design */
@media (max-width: 768px) {
  .hero-minimal {
    min-height: 60vh;
    padding-top: 40px;
  }
  
  .owlo-mascot-minimal {
    width: 240px;
  }
  
  .hero-logo-minimal {
    margin-bottom: 32px;
  }
  
  .hero-content-minimal {
    transform: translateY(-3vh);
  }
  
  .settings-row {
    margin-top: 40px;
    gap: 10px;
  }
  
  .age-selector-subtle {
    gap: 10px;
  }
  
  .age-label-subtle {
    font-size: 12px;
  }
  
  .age-dropdown {
    font-size: 12px;
    padding: 5px 10px;
    padding-right: 28px;
    background-size: 10px;
    background-position: right 6px center;
  }
  
  .locale-selector-integrated {
    font-size: 12px;
    padding: 8px 10px;
    padding-right: 26px;
    background-position: right 6px center;
  }
  
  .search-input-minimal {
    font-size: 16px;
    padding: 16px 20px;
    padding-right: 60px;
  }
  
  /* Question Page Mobile */
  .question-top-bar {
    padding: 8px 12px;
    overflow: visible;
  }
  
  .top-bar-content {
    flex-wrap: nowrap;
    min-width: 0;
  }
  
  .owlo-tiny {
    width: 100px;
    flex-shrink: 0;
  }
  
  .top-bar-controls {
    gap: 4px;
    flex-shrink: 1;
    min-width: 0;
  }
  
  /* Hide mobile navigation icons on mobile - too cramped */
  .mobile-nav-icon {
    display: none;
  }
  
  .dropdown-button-compact {
    font-size: 11px;
    padding: 4px 8px;
    padding-right: 24px;
    background-size: 9px;
    background-position: right 5px center;
    min-width: 0;
  }
  
  .dropdown-text {
    display: none; /* Hide text labels on mobile to save space */
  }
  
  .age-dropdown-top {
    font-size: 11px;
    padding: 4px 8px;
    padding-right: 24px;
    background-size: 9px;
    background-position: right 5px center;
  }
  
  .locale-selector-tiny {
    font-size: 10px;
    padding: 3px 6px;
    padding-right: 18px;
    background-size: 8px;
  }
  
  /* Fixed Bottom Bar Mobile */
  .search-bar-fixed {
    left: 0; /* Full width on mobile, sidebar is at bottom not left */
    padding: 20px 16px;
    padding-bottom: 20px; /* Don't add safe-area-inset here */
    bottom: 60px; /* Above the 60px sidebar */
    z-index: 1001; /* Ensure it's above sidebar */
  }
  
  .search-bar-container {
    padding: 12px; /* Adjusted padding */
    border-radius: 40px; /* Rounded corners */
  }
  
  /* Mobile styles for conversation moved to section above */
  
  /* Remove body padding - conversation section handles its own spacing */
  body:has(.search-bar-fixed) {
    padding-bottom: 0 !important;
  }
  
  /* Ensure audio buttons visible on mobile */
  .question-audio-btn {
    display: flex !important;
    opacity: 0.8 !important;
  }
  
  .question-compact-item-wrapper,
  .category-question-wrapper {
    display: flex !important;
    align-items: center !important;
  }
  
  .search-input-fixed {
    padding: 16px 20px;
    padding-right: 60px;
    font-size: 16px;
    border-width: 3px;
  }
  
  .search-button-fixed {
    width: 44px;
    height: 44px;
    min-width: 44px;
    right: 8px;
  }
  
  .search-button-fixed:hover {
    transform: translateY(-50%) scale(1.05);
  }
  
  .search-button-fixed svg {
    width: 18px;
    height: 18px;
    margin: auto;
  }
  
  .autocomplete-fixed {
    max-height: 35vh;
    border-radius: 12px;
  }
  
  .autocomplete-item-fixed {
    padding: 10px 16px;
    padding-left: 36px;
    font-size: 14px;
  }
  
  .autocomplete-item-fixed:before {
    left: 12px;
    font-size: 14px;
  }
  
  .autocomplete-item-fixed:hover,
  .autocomplete-item-fixed.highlighted {
    padding-left: 40px;
  }
  
  .question-page-wrapper {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }
  
  .answer-section-minimal {
    padding: 20px 16px 8px;
  }
  
  .value-prop-hero {
    margin: 32px auto 36px;
    padding: 0 16px;
  }
  
  .value-prop-content {
    padding: 36px 28px;
    border-radius: 20px;
  }
  
  .hero-badge {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
  }
  
  .badge-icon {
    width: 13px;
    height: 13px;
  }
  
  .hero-title {
    font-size: 30px;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
  }
  
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 28px;
    line-height: 1.6;
  }
  
  .hero-usps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
    margin-top: 32px;
    padding-top: 32px;
  }
  
  .usp-item {
    gap: 12px;
  }
  
  .usp-icon {
    width: 20px;
    height: 20px;
  }
  
  .usp-text strong {
    font-size: 14px;
  }
  
  .usp-text span {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .hero-usps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .home-entry-points {
    margin: 20px auto 60px;
    padding: 0 16px;
  }
  
  .entry-points-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .entry-categories-column {
    gap: 12px;
  }
  
  .category-compact-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  
  .category-compact-card {
    padding: 12px 8px;
    font-size: 12px;
    min-height: 70px;
    gap: 6px;
  }
  
  .category-compact-icon {
    width: 20px;
    height: 20px;
  }
  
  .entry-questions-column {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .entry-section-title {
    font-size: 15px;
  }
  
  .entry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .entry-card {
    padding: 20px 12px;
    font-size: 13px;
  }
  
  .entry-card-icon {
    width: 28px;
    height: 28px;
  }
  
  .popular-question-item {
    padding: 14px 16px;
    font-size: 14px;
  }
  
  .popular-icon {
    width: 16px;
    height: 16px;
  }
  
  .conversation-messages-section {
    padding: 16px 16px 100px;  /* Bottom padding = mobile search bar height + buffer */
    min-height: 100vh;
  }
  
  /* Question - mobile tight */
  .conversation-question {
    margin: 10px 0 12px 0;  /* Reduced top margin for tighter mobile spacing */
  }
  
  .question-meta {
    padding: 3px 8px 3px 3px;
    gap: 5px;
    margin-bottom: 8px;
  }
  
  .question-text {
    font-size: 17px;
    line-height: 1.35;
  }
  
  .question-avatar {
    width: 22px;
    height: 22px;
  }
  
  .question-avatar-text {
    font-size: 10px;
  }
  
  .question-author {
    font-size: 11px;
  }
  
  /* Answer - mobile tight */
  .conversation-answer {
    padding: 16px 18px;
    border-left-width: 3px;
    margin: 0 0 6px 0;  /* Reduced bottom margin for tighter mobile spacing */
    border-radius: 10px;
  }
  
  .answer-meta {
    margin-bottom: 12px;
    gap: 6px;
  }
  
  .answer-avatar-img {
    width: 24px;
    height: 24px;
  }
  
  .answer-author {
    font-size: 13px;
  }
  
  .answer-body {
    font-size: 15px;
    line-height: 1.6;
  }
  
  .answer-body p {
    margin: 0 0 10px 0;
  }
  
  /* Divider - mobile */
  .conversation-divider {
    height: 16px;
  }
  
  /* Follow-ups - mobile */
  .suggested-followups {
    margin-top: 16px;
    padding-top: 14px;
  }
  
  .followups-header {
    gap: 5px;
    margin-bottom: 10px;
  }
  
  .followups-icon {
    width: 14px;
    height: 14px;
  }
  
  .followups-title {
    font-size: 11px;
  }
  
  .followups-chips {
    gap: 6px;
  }
  
  .followup-chip {
    padding: 7px 12px;
    font-size: 12px;
    border-radius: 18px;
  }
  
  .followup-chip-icon {
    width: 12px;
    height: 12px;
  }
  
  /* Actions - mobile */
  .answer-actions {
    gap: 6px;
    margin-top: 14px;
    padding-top: 14px;
    flex-wrap: wrap;
  }
  
  .action-button {
    padding: 6px 10px;
    font-size: 11px;
    gap: 4px;
  }
  
  .action-button-icon {
    width: 12px;
    height: 12px;
  }
  
  .question-header-row {
    gap: 12px;
  }
  
  .answer-question-title {
    font-size: 24px;
  }
  
  .audio-button {
    width: 32px;
    height: 32px;
    margin-top: 0;
  }
  
  .audio-icon {
    width: 16px;
    height: 16px;
  }
  
  .views-subtle {
    font-size: 12px;
    margin-bottom: 24px;
    gap: 5px;
  }
  
  .views-subtle .view-icon {
    width: 13px;
    height: 13px;
  }
  
  .answer-content-minimal {
    font-size: 16px;
    line-height: 1.7;
  }
  
  .answer-content-minimal h2 {
    font-size: 20px;
  }
  
  .answer-content-minimal h3 {
    font-size: 18px;
  }
  
  /* Kid-Friendly Formatting Mobile */
  .answer-para {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 1.25rem;
  }
  
  .fun-fact {
    padding: 16px 18px;
    margin: 20px 0;
    border-radius: 10px;
  }
  
  .fun-fact-header {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
  .fun-fact-text {
    font-size: 15px;
  }
  
  /* Related Questions Mobile */
  .related-questions-section {
    padding: 0 16px;
  }
  
  /* Mobile adjustments for question sections */
  .questions-sections-wrapper {
    padding: 24px 16px;
    gap: 24px;
  }
  
  /* Static Pages Mobile */
  .static-page-header {
    padding: 12px 16px;
  }
  
  .owlo-logo-static {
    width: 140px;
  }
  
  .static-page-section {
    padding: 32px 16px;
  }
  
  .static-page-container {
    padding: 32px 24px;
    border-radius: 12px;
    border-left-width: 3px;
  }
  
  .static-page-title {
    font-size: 28px;
    margin-bottom: 12px;
  }
  
  .static-page-date {
    font-size: 13px;
    margin-bottom: 24px;
  }
  
  .static-page-content h2 {
    font-size: 20px;
    margin: 32px 0 12px 0;
  }
  
  .static-page-content p,
  .static-page-content li {
    font-size: 15px;
    line-height: 1.7;
  }
  
  .static-page-content ul {
    padding-left: 20px;
  }
  
  .static-page-footer {
    margin-top: 32px;
    padding-top: 24px;
  }
  
  .static-page-button {
    font-size: 14px;
    padding: 10px 20px;
  }
  
  .top-bar-controls {
    gap: 8px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .social-links {
    gap: 10px;
  }
  
  .social-link {
    width: 30px;
    height: 30px;
  }
  
  .social-icon {
    width: 16px;
    height: 16px;
  }
  
  .tiktok-icon {
    width: 14px;
    height: 14px;
  }
  
  .search-button {
    width: 44px;
    height: 44px;
  }
  
  .autocomplete-item-minimal {
    padding: 14px 24px;
    padding-left: 44px;
    font-size: 15px;
  }
  
  .autocomplete-item-minimal:before {
    left: 20px;
  }
  
  .autocomplete-item-minimal:hover {
    padding-left: 48px;
  }
  
  .age-selector-minimal {
    gap: 8px;
  }
  
  .age-button-minimal {
    padding: 8px 20px;
    font-size: 13px;
  }
  
  .locale-selector-minimal {
    font-size: 12px;
    padding: 8px 14px;
  }
  
  .question-title {
    font-size: 2rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }

/* Loading Animation */
@keyframes shimmer {
  0% { background-position: -100% 0; }
  100% { background-position: 100% 0; }
}

.loading {
  background: linear-gradient(
    90deg,
    var(--color-bg) 0%,
    var(--owlo-yellow-light) 50%,
    var(--color-bg) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Alpine.js cloak */
[x-cloak] { display: none !important; }

/* Skeleton Loader */
.skeleton-loader {
  margin: 24px 0;
}

.skeleton-line {
  height: 18px;
  background: linear-gradient(
    90deg,
    var(--color-hover-bg) 0%,
    #e0e0e0 50%,
    var(--color-hover-bg) 100%
  );
  background-size: 200% 100%;
  border-radius: 4px;
  margin-bottom: 12px;
  animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-card {
  background: linear-gradient(
    90deg,
    var(--color-hover-bg) 0%,
    #e0e0e0 50%,
    var(--color-hover-bg) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
}

.skeleton-card .skeleton-line {
  background: rgba(255, 255, 255, 0.5);
  height: 16px;
  margin: 0;
}

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

.loading-message {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-secondary);
  font-size: 14px;
  margin-top: 24px;
  font-style: italic;
}

.loading-icon {
  width: 18px;
  height: 18px;
  color: var(--owlo-yellow);
  animation: pulse 1.5s ease-in-out infinite;
}

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

/* Owlo Thinking Container - Prominent Loading State */
.owlo-thinking-container {
  text-align: center;
  padding: 48px 24px;
  margin: 24px 0;
}

.owlo-thinking-icon {
  margin-bottom: 16px;
}

.sparkles-icon {
  width: 48px;
  height: 48px;
  color: var(--owlo-yellow);
  animation: sparkle-pulse 1.5s ease-in-out infinite;
}

.owlo-thinking-message {
  font-size: 18px;
  color: var(--color-text);
  font-weight: 500;
  font-style: italic;
}

@keyframes sparkle-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  25% {
    opacity: 0.8;
    transform: scale(1.1) rotate(5deg);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05) rotate(-5deg);
  }
  75% {
    opacity: 0.8;
    transform: scale(1.1) rotate(3deg);
  }
}

/* Subtle skeleton loader - less prominent */
.skeleton-loader-subtle {
  margin: 32px auto 0;
  max-width: 600px;
  opacity: 0.3;
}

.skeleton-loader-subtle .skeleton-line {
  height: 14px;
  margin-bottom: 10px;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-spinner {
  background: var(--color-card-bg);
  padding: 32px 48px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--color-hover-bg);
  border-top: 4px solid var(--owlo-yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

/* ========================================
   RTL (Right-to-Left) Support for Arabic
   ======================================== */

/* Flip layout direction for RTL languages */
[dir="rtl"] {
  text-align: right;
}

/* Flip margins and padding */
[dir="rtl"] .hero-content-minimal {
  text-align: center; /* Keep hero centered */
}

/* RTL for value prop section */
[dir="rtl"] .value-prop-content {
  text-align: right;
}

[dir="rtl"] .hero-title,
[dir="rtl"] .hero-subtitle {
  text-align: right;
}

[dir="rtl"] .hero-badge {
  text-align: right;
  justify-content: flex-start;
}

[dir="rtl"] .top-bar-content {
  flex-direction: row-reverse;
}

[dir="rtl"] .top-bar-controls {
  flex-direction: row-reverse;
}

[dir="rtl"] .top-bar-controls .dropdown-menu {
  right: auto;
  left: -4px;
}

[dir="rtl"] .dropdown-icon-left {
  margin-right: 0;
  margin-left: 8px;
}

/* Flip icons that indicate direction */
[dir="rtl"] .dropdown-icon,
[dir="rtl"] .chevron-down {
  transform: scaleX(-1);
}

/* Fix logo alignment */
[dir="rtl"] .logo-link-compact {
  margin-left: auto;
  margin-right: 0;
}

/* Flip dropdown menus */
[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

[dir="rtl"] .dropdown-icon-left {
  margin-left: 8px;
  margin-right: 0;
}

/* Flip entry points layout */
[dir="rtl"] .entry-points-container {
  flex-direction: row-reverse;
}

/* Flip question lists */
[dir="rtl"] .question-compact-item {
  text-align: right;
}

/* Flip category grid */
[dir="rtl"] .category-compact-grid {
  direction: rtl;
}

/* Flip USP items */
[dir="rtl"] .hero-usps {
  direction: rtl;
}

[dir="rtl"] .usp-item {
  text-align: right;
  flex-direction: row-reverse;
}

[dir="rtl"] .usp-text {
  text-align: right;
}

[dir="rtl"] .usp-text strong,
[dir="rtl"] .usp-text span {
  text-align: right;
  display: block;
}

[dir="rtl"] .usp-icon {
  margin-left: 12px;
  margin-right: 0;
}

/* Flip footer */
[dir="rtl"] .footer-content {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-links {
  flex-direction: row-reverse;
}

/* Flip search suggestions */
[dir="rtl"] .autocomplete-item {
  text-align: right;
}

/* Flip related questions */
[dir="rtl"] .questions-sections-wrapper {
  flex-direction: row-reverse;
}

/* Flip answer content */
[dir="rtl"] .answer-content-minimal {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .answer-content-minimal ul,
[dir="rtl"] .answer-content-minimal ol {
  padding-right: 2rem;
  padding-left: 0;
}

/* Flip back links */
[dir="rtl"] .back-link {
  flex-direction: row-reverse;
}

/* Flip arrows and directional icons */
[dir="rtl"] [data-lucide="arrow-right"],
[dir="rtl"] [data-lucide="arrow-left"],
[dir="rtl"] [data-lucide="chevron-right"],
[dir="rtl"] [data-lucide="chevron-left"] {
  transform: scaleX(-1);
}

/* Do NOT flip these symmetric icons in RTL */
[dir="rtl"] [data-lucide="shield-check"],
[dir="rtl"] [data-lucide="graduation-cap"],
[dir="rtl"] [data-lucide="eye-off"],
[dir="rtl"] [data-lucide="sparkles"],
[dir="rtl"] [data-lucide="ban"],
[dir="rtl"] [data-lucide="school"],
[dir="rtl"] [data-lucide="heart"],
[dir="rtl"] [data-lucide="globe"] {
  transform: none !important;
}

/* Flip category all link */
[dir="rtl"] .category-all-link {
  flex-direction: row-reverse;
}

/* Fix audio button */
[dir="rtl"] .audio-button {
  right: auto;
  left: 0;
}

/* Adjust padding/margins for RTL */
[dir="rtl"] .entry-icon-small {
  margin-left: 6px;
  margin-right: 0;
}

[dir="rtl"] .badge-icon {
  margin-left: 8px;
  margin-right: 0;
}

/* ===========================
   Static Pages Styles - Marketing Pages
   =========================== */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Static Page - Flat & Clean like Homepage */
.static-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 120px;
}

.static-page-container {
  /* No container, flat design */
  background: transparent;
  padding: 0;
}

/* Hero Section - Marketing Focus */
.static-page-hero {
  text-align: center;
  padding: 60px 20px 80px;
  max-width: 800px;
  margin: 0 auto;
}

/* Hero with Image */
.page-hero-with-image {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 24px;
  margin-bottom: 80px;
}

.hero-image-container {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-content-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px;
  text-align: center;
}

.page-hero-with-image .static-page-title {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.page-hero-with-image .page-subtitle {
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  max-width: 700px;
}

.static-page-title {
  font-size: 48px;
  color: var(--color-text);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.page-subtitle {
  font-size: 22px;
  color: var(--color-text-secondary);
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.5;
}

/* Content Sections - Clean and Spacious */
.content-section {
  max-width: 900px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.content-section:last-of-type {
  margin-bottom: 40px;
}

.section-title {
  font-size: 36px;
  color: var(--color-text);
  margin-bottom: 20px;
  margin-top: 0;
  font-weight: 700;
  text-align: center;
}

.section-subtitle {
  font-size: 19px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 48px;
  margin-top: 0;
  font-weight: 400;
  line-height: 1.6;
}

.content-section h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.content-section h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.content-section p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

/* Feature Grid - Visual Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--owlo-yellow);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  width: 40px;
  height: 40px;
  color: var(--owlo-dark);
  stroke-width: 2;
}

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

.feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

/* Value Props - Clean List */
.value-list {
  max-width: 700px;
  margin: 40px auto;
}

.value-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.value-icon {
  min-width: 48px;
  height: 48px;
  background: var(--owlo-yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon i {
  width: 24px;
  height: 24px;
  color: var(--owlo-dark);
  stroke-width: 2.5;
}

.value-content h3 {
  font-size: 20px;
  color: var(--color-text);
  margin: 0 0 8px 0;
  font-weight: 700;
}

.value-content p {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* CTA Section - Clean & Flat */
.cta-section {
  max-width: 700px;
  margin: 80px auto;
  padding: 48px 32px;
  text-align: center;
  background: var(--owlo-yellow);
  border-radius: 24px;
}

.cta-section h2 {
  font-size: 32px;
  color: var(--owlo-dark);
  margin-bottom: 16px;
  font-weight: 800;
}

.cta-section p {
  font-size: 18px;
  color: var(--owlo-dark);
  margin: 0;
  opacity: 0.9;
}

/* Quote/Testimonial - Simple */
.quote-section {
  max-width: 700px;
  margin: 60px auto;
  padding: 40px 32px;
  text-align: center;
  border-left: 4px solid var(--owlo-yellow);
}

.quote-section p {
  font-size: 24px;
  font-style: italic;
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

.quote-author {
  margin-top: 20px;
  font-size: 16px;
  color: var(--color-text-secondary);
  font-style: normal;
}

/* Process Steps - Clean Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin: 60px 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.step-item {
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: var(--owlo-yellow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--owlo-dark);
}

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

.step-item p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* FAQ Section - Simple & Clean */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

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

.faq-item h3 {
  font-size: 20px;
  color: var(--color-text);
  margin-bottom: 12px;
  font-weight: 700;
}

.faq-item p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.faq-item ul {
  margin: 16px 0;
  padding-left: 24px;
}

.faq-item li {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

/* Pricing Page Styles */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card-featured {
  border-color: var(--owlo-yellow);
  border-width: 3px;
  background: linear-gradient(135deg, var(--color-bg) 0%, rgba(249, 177, 26, 0.03) 100%);
}

.pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(249, 177, 26, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--color-border);
}

.pricing-header h3 {
  font-size: 28px;
  color: var(--color-text);
  margin: 0 0 16px 0;
  font-weight: 700;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pricing-amount .price {
  font-size: 56px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}

.pricing-amount .period {
  font-size: 20px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

p.pricing-alt {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 0px;
}

.pricing-description {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.pricing-features {
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}

.feature-item i {
  width: 20px;
  height: 20px;
  color: var(--owlo-yellow);
  flex-shrink: 0;
}

.feature-item.feature-disabled {
  opacity: 0.4;
}

.feature-item.feature-disabled i {
  color: var(--color-text-secondary);
}

.feature-item.feature-highlight {
  font-weight: 500;
}

.pricing-cta {
  text-align: center;
}

.btn-primary,
.btn-secondary,
.btn-premium {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary {
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
  border: none;
}

.btn-primary:hover {
  background: #f4a900;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 177, 26, 0.3);
}

.btn-premium {
  background: var(--color-surface);
  color: var(--color-text);
  border: 2px solid var(--owlo-yellow);
}

.btn-premium:hover {
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 177, 26, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--owlo-yellow);
  background: rgba(249, 177, 26, 0.05);
}

.btn-large {
  padding: 20px 48px;
  font-size: 20px;
}

.pricing-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* Tip Box */
.tip-box {
  background: linear-gradient(135deg, rgba(249, 177, 26, 0.08) 0%, rgba(249, 177, 26, 0.03) 100%);
  border: 2px solid rgba(249, 177, 26, 0.2);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.tip-box:hover {
  border-color: rgba(249, 177, 26, 0.4);
  background: linear-gradient(135deg, rgba(249, 177, 26, 0.12) 0%, rgba(249, 177, 26, 0.05) 100%);
}

.tip-icon {
  min-width: 56px;
  height: 56px;
  background: var(--owlo-yellow);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-icon i {
  width: 32px;
  height: 32px;
  color: var(--owlo-dark);
}

.tip-content h3 {
  font-size: 22px;
  color: var(--color-text);
  margin: 0 0 12px 0;
  font-weight: 700;
}

.tip-content p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Quote Section for Press */
.quote-section {
  max-width: 750px;
  margin: 0 auto;
  padding: 48px;
  background: var(--color-bg);
  border-left: 4px solid var(--owlo-yellow);
  border-radius: 16px;
  position: relative;
}

.quote-section::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 80px;
  color: var(--owlo-yellow);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-section p {
  font-size: 20px;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Professional Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.static-page-hero {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-section {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  animation-fill-mode: both;
}

.content-section:nth-child(2) {
  animation-delay: 0.1s;
}

.content-section:nth-child(3) {
  animation-delay: 0.2s;
}

.content-section:nth-child(4) {
  animation-delay: 0.3s;
}

.feature-card,
.value-item,
.faq-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover,
.value-item:hover {
  transform: translateY(-4px);
}

.feature-icon,
.value-icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon,
.value-item:hover .value-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Founder Profile Section */
.founder-profile {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin: 48px auto;
  max-width: 900px;
}

.founder-profile-text {
  flex: 1;
}

.founder-profile-image {
  flex-shrink: 0;
}

.founder-profile-image img {
  width: 200px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founder-profile-image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.founder-profile-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* Comparison Grid (Parents Page) */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.comparison-card {
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 16px;
  padding: 32px;
}

.comparison-card-featured {
  background: linear-gradient(135deg, var(--color-bg) 0%, rgba(249, 177, 26, 0.05) 100%);
  border: 3px solid var(--owlo-yellow);
}

.comparison-title {
  margin-top: 0;
  text-align: center;
  color: var(--color-text);
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-item {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Account CTA Section (Homepage) */
.account-cta-section {
  padding: 80px 20px;
  background: var(--color-bg);
}

.account-cta-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.account-cta-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 16px 0;
}

.account-cta-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin: 0 0 48px 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.account-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.account-cta-card {
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.account-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.account-cta-card-featured {
  border: 3px solid var(--owlo-yellow);
  background: linear-gradient(135deg, var(--color-surface) 0%, rgba(249, 177, 26, 0.05) 100%);
}

.account-cta-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
}

.account-cta-card-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 12px 0;
}

.account-cta-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-text);
  margin: 0 0 20px 0;
}

.account-cta-desc {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0 0 32px 0;
  min-height: 50px;
}

.account-cta-button {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.account-cta-button-primary {
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
}

.account-cta-button-primary:hover {
  background: #f4a900;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 177, 26, 0.3);
}

.account-cta-button-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.account-cta-button-secondary:hover {
  border-color: var(--owlo-yellow);
  background: rgba(249, 177, 26, 0.05);
}

/* Text-to-Speech Audio Buttons */
.question-item,
.question-compact-item-wrapper,
.category-question-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.question-link,
.question-compact-item,
.category-question-item {
  flex: 1;
}

.question-audio-btn {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  color: var(--text-secondary);
  opacity: 0.7 !important; /* Increased visibility */
  transition: all 0.2s;
  border-radius: 4px;
  display: flex !important; /* Force display */
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 28px;
  min-height: 28px;
}

.question-audio-btn:hover {
  opacity: 1 !important;
  background: var(--bg-hover);
  color: var(--accent-color);
}

.question-audio-btn:active {
  transform: scale(0.95);
}

.question-audio-btn .audio-icon,
.question-audio-btn svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}

/* Sidebar Navigation */
.app-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60px;
  background: var(--owlo-dark); /* Use brand color for consistency with search bar */
  display: flex;
  flex-direction: column;
  z-index: 1002; /* Above search-bar-fixed (1001) so dropdown can appear on top */
  box-shadow: 2px 0 8px rgba(0,0,0,0.1);
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px 0;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 24px;
  transition: transform 0.2s;
}

.sidebar-logo:hover {
  transform: scale(1.1);
}

.sidebar-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 8px;
  color: #999;
  transition: all 0.2s;
  text-decoration: none;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

.sidebar-item:hover {
  background: rgba(255,255,255,0.05);
  color: #F9B11A;
}

.sidebar-user-menu {
  padding: 0 8px;
  position: relative;
}

.user-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  background: var(--owlo-yellow);
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.user-avatar:hover, .user-avatar.active {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(249, 177, 26, 0.3);
}

.user-dropdown {
  position: absolute;
  bottom: 100%;
  left: 70px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  min-width: 250px;
  margin-bottom: 8px;
  padding: 16px;
  z-index: 1002; /* Above search-bar-fixed (1001) */
}

.user-info {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 8px;
}

.user-info strong {
  display: block;
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 4px;
}

.user-email {
  display: block;
  font-size: 13px;
  color: var(--color-text-secondary);
  word-break: break-word;
}

.badge-premium {
  display: inline-block;
  background: var(--owlo-yellow);
  color: #1a1a1a;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 8px;
}

.badge-free {
  display: inline-block;
  background: rgba(249, 177, 26, 0.1);
  color: var(--owlo-yellow);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.badge-free:hover {
  background: var(--owlo-yellow);
  color: #1a1a1a;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.2s;
  background: none;
  border: none;
  width: 100%;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}

.dropdown-item:hover {
  background: rgba(249, 177, 26, 0.1);
  color: var(--owlo-yellow);
}

.dropdown-item-premium {
  color: var(--owlo-yellow);
  font-weight: 600;
}

.btn-auth {
  width: 100%;
  min-width: 40px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 8px;
  background: rgba(249, 177, 26, 0.1);
  border: 1px solid var(--owlo-yellow);
  color: var(--owlo-yellow);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-auth:hover {
  background: var(--owlo-yellow);
  color: #1a1a1a;
}

/* Sidebar Theme Selector */
.sidebar-theme-selector {
  margin-bottom: 16px;
  position: relative;
  display: flex;
  justify-content: center;
}

.theme-selector-btn {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  transition: all 0.2s;
}

.theme-selector-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--owlo-yellow);
}

.theme-dropdown {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 70px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  z-index: 1000;
  overflow: hidden;
}

.theme-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border: none;
  color: #1f2937;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-family: var(--font-body);
}

.theme-option:hover {
  background: rgba(249, 177, 26, 0.08);
}

.theme-option.active {
  background: rgba(249, 177, 26, 0.12);
  color: var(--owlo-yellow);
  font-weight: 600;
}

.theme-option i {
  flex-shrink: 0;
  opacity: 0.7;
}

.theme-option.active i {
  opacity: 1;
  color: var(--owlo-yellow);
}

/* Adjust body for sidebar */
body {
  padding-left: 60px;
}

/* Auth Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.auth-modal {
  background: var(--color-surface);
  border-radius: 20px;
  max-width: 450px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255,255,255,0.05);
  color: var(--color-text);
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  background: var(--color-bg);
  padding: 4px;
  border-radius: 12px;
}

.auth-tabs button {
  flex: 1;
  padding: 12px;
  border: none;
  background: none;
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.auth-tabs button.active {
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.auth-header h2 {
  font-size: 24px;
  margin: 0 0 8px 0;
  color: var(--color-text);
}

.auth-header p {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin: 0;
}

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

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

.form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-size: 16px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: all 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: var(--owlo-yellow);
  box-shadow: 0 0 0 3px rgba(249, 177, 26, 0.1);
}

.otp-input {
  text-align: center;
  font-size: 32px !important;
  letter-spacing: 8px;
  font-weight: 700;
  font-family: 'Courier New', monospace !important;
}

.error {
  color: #ef4444;
  font-size: 14px;
  margin: 0 0 16px 0;
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 8px;
  border-left: 3px solid #ef4444;
}

.btn-primary {
  background: var(--owlo-yellow);
  color: #1a1a1a;
  border: none;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.btn-primary:hover:not(:disabled) {
  background: #f4a900;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 177, 26, 0.3);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-full {
  width: 100%;
}

.btn-text {
  background: none;
  border: none;
  color: var(--color-text-secondary);
  padding: 12px;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: color 0.2s;
}

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

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

[x-cloak] {
  display: none !important;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Responsive Design for Static Pages */
@media (max-width: 768px) {
  .static-page {
    padding: 20px 16px 100px;
  }
  
  .static-page-hero {
    padding: 40px 16px 60px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .pricing-card {
    padding: 32px 24px;
  }
  
  .pricing-amount .price {
    font-size: 48px;
  }
  
  .tip-box {
    flex-direction: column;
    padding: 24px;
  }
  
  .quote-section {
    padding: 32px 24px;
  }
  
  .quote-section::before {
    font-size: 60px;
  }
  
  .founder-profile {
    flex-direction: column;
    gap: 32px;
    text-align: center;
    align-items: center;
  }
  
  .founder-profile-text {
    max-width: 100%;
  }
  
  .founder-profile-image {
    order: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .founder-profile-image img {
    width: 160px;
    margin: 0 auto;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .comparison-card {
    padding: 24px 20px;
  }
  
  .account-cta-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .account-cta-card {
    padding: 32px 24px;
  }
  
  .account-cta-title {
    font-size: 28px;
  }
  
  .account-cta-subtitle {
    font-size: 16px;
  }
  
  .page-hero-with-image {
    height: 400px;
    border-radius: 16px;
    margin-bottom: 60px;
  }
  
  .hero-content-overlay {
    padding: 24px;
  }
  
  .page-hero-with-image .static-page-title {
    font-size: 32px;
  }
  
  .page-hero-with-image .page-subtitle {
    font-size: 18px;
  }
  
  .static-page-title {
    font-size: 36px;
  }
  
  .page-subtitle {
    font-size: 19px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 17px;
  }
  
  .content-section {
    margin-bottom: 60px;
  }
  
  .content-section p {
    font-size: 17px;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .feature-card {
    padding: 32px 20px;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 36px;
  }
  
  .value-list {
    margin: 32px 0;
  }
  
  .value-item {
    gap: 16px;
    margin-bottom: 28px;
  }
  
  .value-icon {
    min-width: 44px;
    height: 44px;
    font-size: 22px;
  }
  
  .value-content h3 {
    font-size: 19px;
  }
  
  .value-content p {
    font-size: 16px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  .step-item h3 {
    font-size: 19px;
  }
  
  .step-item p {
    font-size: 15px;
  }
  
  .cta-section {
    margin: 60px auto;
    padding: 40px 24px;
  }
  
  .cta-section h2 {
    font-size: 28px;
  }
  
  .cta-section p {
    font-size: 17px;
  }
  
  .quote-section {
    padding: 32px 20px;
  }
  
  .quote-section p {
    font-size: 20px;
  }
  
  .faq-list {
    max-width: 100%;
  }
  
  .faq-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
  }
  
  .faq-item h3 {
    font-size: 18px;
  }
  
  .faq-item p {
    font-size: 16px;
  }
  
  /* Sidebar Mobile Layout - Show at bottom */
  body {
    padding-left: 0;
    padding-bottom: 60px; /* Space for sidebar */
  }
  
  .app-sidebar {
    display: flex; /* Show sidebar on mobile */
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    flex-direction: row;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 1002; /* Above search-bar-fixed (1001) so dropdown can appear on top */
  }
  
  .sidebar-content {
    flex-direction: row;
    padding: 0 12px;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }
  
  .sidebar-logo {
    margin-bottom: 0;
    padding: 8px;
    min-width: 48px;
    min-height: 48px;
  }
  
  .sidebar-logo img {
    width: 32px; /* Use even pixels for crisp rendering */
    height: 32px;
    border-radius: 8px;
    image-rendering: -webkit-optimize-contrast; /* Prevent blur on mobile */
    image-rendering: crisp-edges;
  }
  
  .sidebar-nav {
    flex-direction: row;
    padding: 0;
    flex: 1; /* Expand to push theme selector and user menu to the right */
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
  }
  
  .sidebar-item {
    padding: 12px;
    min-width: 48px;
    min-height: 48px;
  }
  
  .sidebar-theme-selector {
    margin-bottom: 0;
    margin-left: auto; /* Push to right side, before user menu */
    display: flex;
    align-items: center;
  }
  
  .sidebar-user-menu {
    margin-left: 0; /* Already pushed right by theme selector */
    padding: 0;
    display: flex;
    align-items: center;
  }
  
  .user-avatar, .btn-auth {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  
  .user-dropdown {
    bottom: 70px;
    left: auto;
    right: 16px;
  }
  
  /* Theme Selector Mobile Sizing */
  .theme-selector-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }
  
  .theme-dropdown {
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
  }
  
  /* Auth Modal Mobile */
  .auth-modal {
    padding: 32px 24px;
    max-width: 95%;
  }
  
  .auth-header h2 {
    font-size: 20px;
  }
  
  .auth-header p {
    font-size: 13px;
  }
  
  .otp-input {
    font-size: 28px !important;
    letter-spacing: 6px;
  }
}

/* Promo Section Component Styles */
.promo-section {
  padding: 60px 24px;
  text-align: center;
}

.promo-default {
  background: var(--owlo-yellow);
  border-radius: 32px;
  margin: 40px auto;
  max-width: 900px;
}

.promo-subtle {
  background: var(--color-bg-alt);
}

.promo-content {
  max-width: 700px;
  margin: 0 auto;
}

.promo-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--owlo-dark);
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

.promo-subtitle {
  font-size: 18px;
  color: var(--owlo-dark);
  margin-bottom: 32px;
  line-height: 1.6;
  opacity: 0.9;
}

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

.btn-promo {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  display: inline-block;
}

.btn-promo-primary {
  background: var(--owlo-dark);
  color: white;
}

.btn-promo-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(67, 71, 70, 0.4);
}

.btn-promo-secondary {
  background: transparent;
  color: var(--owlo-dark);
  border: 2px solid var(--owlo-dark);
}

.btn-promo-secondary:hover {
  border-color: var(--accent-color, #F9B11A);
  background: rgba(249, 177, 26, 0.05);
  color: #2d3436;
}

.promo-note {
  font-size: 14px;
  color: var(--owlo-dark);
  opacity: 0.8;
}

.premium-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(67, 71, 70, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  color: var(--owlo-dark);
  font-weight: 600;
}

.premium-badge-inline i {
  width: 18px;
  height: 18px;
}

/* Mobile promo styles */
@media (max-width: 768px) {
  .promo-section {
    padding: 40px 16px;
  }
  
  .promo-title {
    font-size: 24px;
  }
  
  .promo-subtitle {
    font-size: 16px;
  }
  
  .promo-actions {
    flex-direction: column;
  }
  
  .btn-promo {
    width: 100%;
  }
}

/* Promo Section Variant Styles with Animations */

/* Gradient Blue Variant - Trust & Technology */
.promo-gradient-blue {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

.promo-gradient-blue .promo-title,
.promo-gradient-blue .promo-subtitle,
.promo-gradient-blue .promo-note {
  color: white;
}

.promo-gradient-blue .btn-promo-primary {
  background: white;
  color: #667eea;
}

.promo-gradient-blue .btn-promo-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.promo-gradient-blue .btn-promo-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.promo-gradient-blue .btn-promo-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

/* Gradient Green Variant - Growth & Nature */
.promo-gradient-green {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

.promo-gradient-green .promo-title,
.promo-gradient-green .promo-subtitle,
.promo-gradient-green .promo-note {
  color: white;
}

.promo-gradient-green .btn-promo-primary {
  background: white;
  color: #11998e;
}

.promo-gradient-green .btn-promo-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.promo-gradient-green .btn-promo-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.promo-gradient-green .btn-promo-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

/* Minimal Clean Variant - Professional */
.promo-minimal {
  background: white;
  border: 3px solid var(--owlo-yellow);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  animation: gentlePulse 3s ease-in-out infinite;
}

.promo-minimal .promo-title {
  color: var(--owlo-dark);
}

.promo-minimal .promo-subtitle {
  color: var(--color-text);
  opacity: 0.85;
}

.promo-minimal .btn-promo-primary {
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
}

.promo-minimal .btn-promo-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 177, 26, 0.4);
}

/* Dark Premium Variant - Luxury */
.promo-dark {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  animation: gradientShift 10s ease infinite;
  background-size: 200% 200%;
}

.promo-dark .promo-title,
.promo-dark .promo-subtitle,
.promo-dark .promo-note {
  color: white;
}

.promo-dark .btn-promo-primary {
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
}

.promo-dark .btn-promo-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(249, 177, 26, 0.4);
}

.promo-dark .btn-promo-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.promo-dark .btn-promo-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

/* Animations - Elegant & Minimalist */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gentlePulse {
  0%, 100% { 
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--owlo-yellow);
  }
  50% { 
    box-shadow: 0 15px 50px rgba(249, 177, 26, 0.2);
    border-color: rgba(249, 177, 26, 0.8);
  }
}

@keyframes subtleGlow {
  0%, 100% { 
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% { 
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }
}

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

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

/* Discount Badge Styling - Adaptive & Elegant */
.discount-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  color: #d32f2f;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 700;
  margin-left: 12px;
  border: 2px solid currentColor;
  animation: subtleGlow 2s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Variant-specific discount badges */
.promo-gradient-blue .discount-badge,
.promo-gradient-green .discount-badge,
.promo-dark .discount-badge {
  background: rgba(255, 255, 255, 0.95);
  color: #d32f2f;
  border-color: #d32f2f;
}

.promo-minimal .discount-badge,
.promo-default .discount-badge {
  background: #fff3e0;
  color: #d32f2f;
  border-color: #d32f2f;
}

.promo-soft-coral .discount-badge,
.promo-soft-teal .discount-badge,
.promo-soft-lavender .discount-badge {
  background: rgba(255, 255, 255, 0.95);
  color: #d32f2f;
  border-color: #d32f2f;
}

/* Scarcity/Urgency Elements */
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.promo-badge i {
  width: 16px;
  height: 16px;
}

/* Make default variant also animated */
.promo-default {
  animation: gentlePulse 4s ease-in-out infinite;
}

/* New Soft Minimalist Variants */

/* Soft Coral - Warm & Inviting */
.promo-soft-coral {
  background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
  animation: fadeInUp 0.6s ease-out;
}

.promo-soft-coral .promo-title {
  color: #2d3436;
}

.promo-soft-coral .promo-subtitle,
.promo-soft-coral .promo-note {
  color: #636e72;
}

.promo-soft-coral .btn-promo-primary {
  background: #2d3436;
  color: white;
}

.promo-soft-coral .btn-promo-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 52, 54, 0.25);
}

/* Soft Teal - Fresh & Modern */
.promo-soft-teal {
  background: linear-gradient(135deg, #a8e6cf 0%, #74b9ff 100%);
  animation: fadeInUp 0.6s ease-out;
}

.promo-soft-teal .promo-title {
  color: #2d3436;
}

.promo-soft-teal .promo-subtitle,
.promo-soft-teal .promo-note {
  color: #636e72;
}

.promo-soft-teal .btn-promo-primary {
  background: #2d3436;
  color: white;
}

.promo-soft-teal .btn-promo-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 52, 54, 0.25);
}

/* Soft Lavender - Calm & Elegant */
.promo-soft-lavender {
  background: linear-gradient(135deg, #dfe6e9 0%, #b2bec3 100%);
  animation: fadeInUp 0.6s ease-out;
}

.promo-soft-lavender .promo-title {
  color: #2d3436;
}

.promo-soft-lavender .promo-subtitle,
.promo-soft-lavender .promo-note {
  color: #636e72;
}

.promo-soft-lavender .btn-promo-primary {
  background: var(--owlo-yellow);
  color: #2d3436;
}

.promo-soft-lavender .btn-promo-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 177, 26, 0.3);
}

/* Urgency Badge */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(211, 47, 47, 0.1);
  color: #d32f2f;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  border: 1px solid rgba(211, 47, 47, 0.2);
}

.urgency-badge i {
  width: 12px;
  height: 12px;
}

/* Improved promo section animations */
.promo-section {
  animation: fadeInUp 0.6s ease-out;
}

.promo-content {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.promo-actions {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Better text shadows for readability on gradients */
.promo-gradient-blue .promo-title,
.promo-gradient-green .promo-title,
.promo-dark .promo-title {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.promo-gradient-blue .promo-subtitle,
.promo-gradient-green .promo-subtitle,
.promo-dark .promo-subtitle {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
/* ========================================
   PROMO SECTION - UNIFIED DESIGN SYSTEM
   ======================================== */

/* Base Promo Section - Clean Minimalist Design */
.promo-section {
  background: white;
  border-radius: 24px;
  padding: 48px 32px;
  margin: 60px auto;
  max-width: 900px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 2px solid #f5f5f5;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out;
}

/* Accent Border - Only Color Variation */
.promo-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-color, #F9B11A);
}

/* Content Container */
.promo-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* Badges Container */
.promo-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Urgency Badge - Consistent Design */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff3e0;
  color: #e65100;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #ffe0b2;
}

.urgency-badge i {
  width: 14px;
  height: 14px;
}

/* Social Proof Badge - Consistent Design */
.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f5f5f5;
  color: #2d3436;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e0e0e0;
}

.promo-badge i {
  width: 14px;
  height: 14px;
  color: var(--accent-color, #F9B11A);
}

/* Title */
.promo-title {
  font-size: 32px;
  font-weight: 700;
  color: #2d3436;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

/* Subtitle */
.promo-subtitle {
  font-size: 18px;
  color: #636e72;
  line-height: 1.6;
  margin: 0 0 32px 0;
}

/* Actions */
.promo-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

/* Primary Button */
.btn-promo-primary {
  background: var(--accent-color, #F9B11A);
  color: #2d3436;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-promo-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 177, 26, 0.3);
}

/* Secondary Button */
.btn-promo-secondary {
  background: transparent;
  color: #2d3436;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-promo-secondary:hover {
  border-color: var(--accent-color, #F9B11A);
  background: rgba(249, 177, 26, 0.05);
}

/* Pricing Note */
.promo-note {
  font-size: 14px;
  color: #636e72;
  margin: 0;
}

.promo-note strong {
  color: #2d3436;
  font-weight: 700;
}

/* Discount Badge - Inline in Pricing */
.discount-badge {
  display: inline-block;
  background: #ffebee;
  color: #c62828;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  margin: 0 8px;
  border: 1px solid #ffcdd2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Premium Badge Inline */
.premium-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #F9B11A 0%, #f5a200 100%);
  color: #2d3436;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.premium-badge-inline i {
  width: 16px;
  height: 16px;
}

/* ========================================
   ACCENT COLOR VARIANTS
   Only the top border color changes
   ======================================== */

/* Default - Yellow (Brand Color) */
.promo-default {
  --accent-color: #F9B11A;
}

/* Blue Accent - Trust & Technology */
.promo-accent-blue {
  --accent-color: #667eea;
}

.promo-accent-blue .promo-badge i {
  color: #667eea;
}

.promo-accent-blue .btn-promo-primary {
  background: #667eea;
  color: white;
}

.promo-accent-blue .btn-promo-primary:hover {
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.promo-accent-blue .btn-promo-secondary:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

/* Green Accent - Growth & Learning */
.promo-accent-green {
  --accent-color: #38c172;
}

.promo-accent-green .promo-badge i {
  color: #38c172;
}

.promo-accent-green .btn-promo-primary {
  background: #38c172;
  color: white;
}

.promo-accent-green .btn-promo-primary:hover {
  box-shadow: 0 8px 20px rgba(56, 193, 114, 0.3);
}

.promo-accent-green .btn-promo-secondary:hover {
  border-color: #38c172;
  background: rgba(56, 193, 114, 0.05);
}

/* Purple Accent - Premium & Creativity */
.promo-accent-purple {
  --accent-color: #9561e2;
}

.promo-accent-purple .promo-badge i {
  color: #9561e2;
}

.promo-accent-purple .btn-promo-primary {
  background: #9561e2;
  color: white;
}

.promo-accent-purple .btn-promo-primary:hover {
  box-shadow: 0 8px 20px rgba(149, 97, 226, 0.3);
}

.promo-accent-purple .btn-promo-secondary:hover {
  border-color: #9561e2;
  background: rgba(149, 97, 226, 0.05);
}

/* Teal Accent - Fresh & Modern */
.promo-accent-teal {
  --accent-color: #17a2b8;
}

.promo-accent-teal .promo-badge i {
  color: #17a2b8;
}

.promo-accent-teal .btn-promo-primary {
  background: #17a2b8;
  color: white;
}

.promo-accent-teal .btn-promo-primary:hover {
  box-shadow: 0 8px 20px rgba(23, 162, 184, 0.3);
}

.promo-accent-teal .btn-promo-secondary:hover {
  border-color: #17a2b8;
  background: rgba(23, 162, 184, 0.05);
}

/* ========================================
   ANIMATIONS - Subtle & Professional
   ======================================== */

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

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

@media (max-width: 768px) {
  .promo-section {
    padding: 32px 24px;
    margin: 40px 16px;
  }
  
  .promo-title {
    font-size: 26px;
  }
  
  .promo-subtitle {
    font-size: 16px;
  }
  
  .promo-actions {
    flex-direction: column;
  }
  
  .btn-promo-primary,
  .btn-promo-secondary {
    width: 100%;
  }
}

/* Remove old gradient variants */
.promo-gradient-blue,
.promo-gradient-green,
.promo-dark,
.promo-minimal,
.promo-soft-coral,
.promo-soft-teal,
.promo-soft-lavender {
  /* These will now use the base design with accent colors */
}

/* Promo Features List */
.promo-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.promo-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: #2d3436;
  text-align: left;
  padding: 12px 20px;
  background: rgba(249, 177, 26, 0.05);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.promo-feature-item:hover {
  background: rgba(249, 177, 26, 0.1);
  transform: translateX(4px);
}

.promo-feature-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-color, #F9B11A);
  flex-shrink: 0;
}

/* Smooth Moving Radial Gradient Background */
@keyframes promoGradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.promo-section {
  animation: fadeInUp 0.6s ease-out;
  background: radial-gradient(ellipse at center, #ffffff 0%, #fffef9 50%, #ffffff 100%);
  background-size: 200% 200%;
  animation: fadeInUp 0.6s ease-out, promoGradientMove 15s ease-in-out infinite;
}

/* Accent-specific feature item backgrounds */
.promo-accent-blue .promo-feature-item {
  background: rgba(102, 126, 234, 0.05);
}

.promo-accent-blue .promo-feature-item:hover {
  background: rgba(102, 126, 234, 0.1);
}

.promo-accent-green .promo-feature-item {
  background: rgba(56, 193, 114, 0.05);
}

.promo-accent-green .promo-feature-item:hover {
  background: rgba(56, 193, 114, 0.1);
}

.promo-accent-purple .promo-feature-item {
  background: rgba(149, 97, 226, 0.05);
}

.promo-accent-purple .promo-feature-item:hover {
  background: rgba(149, 97, 226, 0.1);
}

.promo-accent-teal .promo-feature-item {
  background: rgba(23, 162, 184, 0.05);
}

.promo-accent-teal .promo-feature-item:hover {
  background: rgba(23, 162, 184, 0.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .promo-features {
    gap: 12px;
  }
  
  .promo-feature-item {
    font-size: 15px;
    padding: 10px 16px;
  }
}

/* ============================================
   PREMIUM CONVERSION FLOW STYLES
   ============================================ */

/* Premium progress indicator */
.premium-progress {
  text-align: center;
  margin-bottom: 32px;
}

/* Trial designer option buttons */
.trial-option {
  flex: 1;
  max-width: 140px;
  padding: 16px 12px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-card-bg);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  text-align: center;
}

.trial-option strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
}

.trial-option span {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.trial-option:hover {
  transform: translateY(-2px);
  border-color: var(--owlo-yellow);
}

.trial-option.trial-option-active {
  border-color: var(--owlo-yellow) !important;
  background: rgba(249, 177, 26, 0.08) !important;
  transform: scale(1.05);
}

.trial-option.trial-option-featured {
  border-color: var(--owlo-yellow);
}

.popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Trial timeline */
.trial-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: var(--color-bg-alt);
  border-radius: 12px;
}

.timeline-item {
  text-align: center;
  flex: 1;
  max-width: 100px;
}

.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.timeline-dot.active {
  background: var(--owlo-yellow);
  color: var(--owlo-dark);
}

.timeline-connector {
  flex: 1;
  height: 2px;
  background: var(--color-border);
}

/* Premium desktop sidebar layout */
.premium-page-desktop .premium-sidebar {
  position: sticky;
  top: 100px;
}

.premium-page-desktop .value-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* View all plans link */
.view-all-plans-link {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.view-all-plans-link:hover {
  color: var(--owlo-yellow);
}

/* Alternative plan reveal */
.alternative-plan {
  margin-top: 16px;
  padding: 16px;
  background: var(--color-bg-alt);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  animation: slideIn 0.3s ease;
}

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

/* Mobile-specific premium flow */
.premium-flow-mobile {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px 16px 32px;
  min-height: auto;
}

/* Desktop responsive for premium */
@media (max-width: 968px) {
  .premium-page-desktop > div {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  .premium-sidebar {
    position: static !important;
  }
}

/* Mobile responsive for trial options */
@media (max-width: 480px) {
  .trial-option {
    max-width: 100px;
    padding: 14px 8px;
  }
  
  .trial-option strong {
    font-size: 18px;
  }
  
  .trial-option span {
    font-size: 11px;
  }
  
  .timeline-item {
    max-width: 80px;
  }
  
  .timeline-dot {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
}
