/* ============================================
   Omakase AIO LP - Design System
   Apple/Stripe級の洗練されたデザイン
   ============================================ */

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

:root {
  /* ===== Color System ===== */
  /* Primary (60%) - 信頼・プロフェッショナル */
  --color-primary: #1E3A8A;
  --color-primary-light: #3B82F6;
  --color-primary-dark: #1E40AF;
  
  /* Secondary (30%) - 革新・AI・未来 */
  --color-secondary: #8B5CF6;
  --color-secondary-light: #A78BFA;
  --color-secondary-dark: #7C3AED;
  
  /* Accent (10%) - 緊急性・CTA */
  --color-accent: #F59E0B;
  --color-accent-hover: #D97706;
  --color-accent-active: #B45309;
  
  /* Neutral Palette */
  --color-bg: #F9FAFB;
  --color-bg-secondary: #F3F4F6;
  --color-bg-tertiary: #EEF2FF;
  --color-white: #FFFFFF;
  
  --color-text-primary: #111827;
  --color-text-secondary: #6B7280;
  --color-text-tertiary: #9CA3AF;
  
  --color-border: #E5E7EB;
  --color-border-light: #F3F4F6;
  
  /* State Colors */
  --color-success: #10B981;
  --color-error: #EF4444;
  --color-info: #3B82F6;
  --color-warning: #F59E0B;
  
  /* ===== Typography Scale (黄金比ベース) ===== */
  --font-family-base: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-family-accent: 'Space Grotesk', 'Inter', sans-serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 2rem;       /* 32px */
  --text-4xl: 3rem;       /* 48px */
  --text-5xl: 4rem;       /* 64px */
  --text-6xl: 4.5rem;     /* 72px */
  
  /* Line Heights */
  --leading-tight: 1.1;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;
  
  /* Font Weights */
  --font-normal: 400;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  
  /* ===== Spacing System (8pxグリッド) ===== */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 6rem;      /* 96px */
  --space-5xl: 8rem;      /* 128px */
  
  /* ===== Border Radius ===== */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.25rem;  /* 20px */
  --radius-full: 9999px;
  
  /* ===== Shadows (ソフトシャドウ・複数レイヤー) ===== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-base: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.03), 0 10px 20px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.08), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.12), 0 12px 24px rgba(0, 0, 0, 0.08);
  
  /* ===== Transitions ===== */
  --transition-base: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* ===== Container ===== */
  --container-max-width: 1200px;
  --container-padding: var(--space-xl);
}

/* ========== Base Styles ========== */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family-base);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

h1 {
  font-size: var(--text-6xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-3xl);
  font-weight: var(--font-semibold);
  line-height: 1.3;
}

p {
  margin-bottom: var(--space-md);
  line-height: var(--leading-relaxed);
}

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

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

/* ========== Container & Layout ========== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

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

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

/* ========== Navigation Bar ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  z-index: 1000;
  display: flex;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
  align-items: center;
}

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

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-logo {
  font-size: var(--text-xl);
  font-weight: var(--font-extrabold);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-menu {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
}

.navbar-menu a {
  font-weight: var(--font-semibold);
  color: var(--color-text-primary);
  transition: var(--transition-base);
}

.navbar-menu a:hover {
  color: var(--color-secondary);
}

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(180deg, #F9FAFB 0%, #EEF2FF 100%);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-kicker {
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-secondary);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.hero-title {
  font-size: var(--text-6xl);
  font-weight: var(--font-extrabold);
  line-height: var(--leading-tight);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-lg);
}

.hero-subtitle {
  font-size: var(--text-2xl);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-2xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: var(--color-bg-secondary);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  border-left: 4px solid var(--color-success);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-2xl);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-orb {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0.1) 70%);
  filter: blur(80px);
  animation: float 4s ease-in-out infinite;
  position: relative;
}

.hero-orb::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary-light) 100%);
  border-radius: 50%;
  opacity: 0.6;
  animation: pulse 3s ease-in-out infinite;
}

.hero-orb-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  color: var(--color-white);
  text-shadow: 0 0 60px rgba(139, 92, 246, 0.8);
}

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

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

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4), 0 1px 3px rgba(0, 0, 0, 0.12);
  min-width: 320px;
  height: 64px;
  padding: 0 var(--space-2xl);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5), 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
  background: var(--color-accent-active);
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-icon {
  margin-left: var(--space-sm);
}

/* ========== Cards ========== */
.card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08), 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

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

.card-description {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

/* ========== Grid Layouts ========== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* ========== Section Styles ========== */
.section-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  text-align: center;
  margin-bottom: var(--space-3xl);
  color: var(--color-primary);
  position: relative;
  padding-bottom: var(--space-md);
}

/* Enhanced section title with gradient and shadow */
.section-title-enhanced {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  text-align: center;
  margin-bottom: var(--space-3xl);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

/* Extra large section title for key selling points */
.section-title-xl {
  font-size: var(--text-6xl);
  font-weight: 900;
  text-align: center;
  margin-bottom: var(--space-2xl);
  background: linear-gradient(135deg, #1E3A8A 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Underline decoration for titles */
.section-title::after,
.section-title-enhanced::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary-light) 100%);
  border-radius: 2px;
}

.section-title-xl::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 6px;
  background: linear-gradient(90deg, #EF4444 0%, #F59E0B 100%);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.section-subtitle {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
}

/* ========== Stat Card ========== */
.stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: var(--transition-smooth);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.stat-number {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  font-family: var(--font-family-accent);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========== Badge & Highlight ========== */
.badge {
  display: inline-block;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
}

.badge-warning {
  background: #FEF3C7;
  border-left: 4px solid var(--color-warning);
  color: #92400E;
}

.badge-success {
  background: #D1FAE5;
  border-left: 4px solid var(--color-success);
  color: #065F46;
}

/* ========== Gradient Background ========== */
.bg-gradient-primary {
  background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  color: var(--color-white);
}

.bg-gradient-blue {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: var(--color-white);
}

/* ========== Responsive (Mobile First) ========== */
@media (min-width: 769px) {
  /* Desktop: Show timeline segments, hide mobile line */
  .desktop-timeline-segment {
    display: block !important;
  }
  
  .mobile-timeline-line {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  :root {
    --container-padding: var(--space-lg);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  h1 {
    font-size: var(--text-4xl);
  }
  
  h2 {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: var(--space-md);
    --text-6xl: 2.5rem;     /* 40px */
    --text-5xl: 2rem;       /* 32px */
    --text-4xl: 1.875rem;   /* 30px */
    --text-3xl: 1.5rem;     /* 24px */
    --text-2xl: 1.25rem;    /* 20px */
    --text-xl: 1.125rem;    /* 18px */
  }
  
  body {
    overflow-x: hidden;
    width: 100%;
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .section-lg {
    padding: var(--space-3xl) 0;
  }
  
  /* Container adjustments */
  .container {
    padding: 0 1rem;
  }
  
  /* Hero section */
  .hero {
    min-height: auto;
    padding: 100px 0 var(--space-3xl);
    background: #F9FAFB !important;
    z-index: 1;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem !important;
    line-height: 1.2;
    margin-bottom: 1rem;
    /* Fix gradient text rendering on mobile */
    -webkit-text-fill-color: unset;
    color: var(--color-primary);
    background: none;
  }
  
  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: 1.5rem;
  }
  
  .hero-kicker {
    font-size: 0.875rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  
  /* Hide or reduce hero visual on mobile */
  .hero-visual {
    display: none;
  }
  
  .hero-orb {
    width: 300px;
    height: 300px;
  }
  
  .hero-orb-icon {
    font-size: 60px;
  }
  
  /* Buttons */
  .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  .btn-primary {
    min-width: 100%;
    height: auto;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Center button containers on mobile */
  [style*="display: flex"][style*="flex-direction: column"][style*="align-items: flex-start"] {
    align-items: center !important;
  }
  
  /* Section titles */
  .section-title,
  .section-title-enhanced {
    font-size: 1.75rem !important;
    margin-bottom: 1.5rem;
  }
  
  .section-title-xl {
    font-size: 2rem !important;
    line-height: 1.2;
  }
  
  .section-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
  }
  
  /* Cards */
  .card {
    padding: 1.25rem;
  }
  
  .card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .card-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
  
  .card-description {
    font-size: 0.875rem;
  }
  
  /* Typography */
  h1 {
    font-size: 2rem !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
  
  h3 {
    font-size: 1.25rem !important;
  }
  
  h4 {
    font-size: 1.125rem !important;
  }
  
  /* Navbar */
  .navbar {
    height: 64px;
  }
  
  .navbar-menu {
    display: none; /* モバイルメニューは別途実装 */
  }
  
  .navbar-logo {
    font-size: 1.125rem;
  }
  
  /* Grid layouts - force single column */
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Stats */
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  /* Badges */
  .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
  
  .badge-warning {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem !important;
    font-size: 0.875rem !important;
    overflow: hidden;
    word-wrap: break-word;
    box-sizing: border-box;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
  }
  
  .badge-warning strong {
    font-size: 1rem !important;
  }
  
  /* Fix for simple inline badge-warning */
  .section-subtitle .badge-warning {
    display: inline-block !important;
    width: auto !important;
    max-width: 90% !important;
  }
  
  /* Citation supplement specific styling */
  .citation-supplement {
    margin-top: 2rem !important;
    clear: both;
  }
  
  .citation-supplement [style*="display: flex"] {
    display: block !important;
  }
  
  .citation-supplement i {
    display: block;
    margin-bottom: 0.5rem;
  }
  
  /* Images and visual elements */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Timeline specific fixes for mobile */
  .desktop-timeline-segment {
    display: none !important;
  }
  
  .mobile-timeline-line {
    display: block !important;
  }
  
  /* Inline style overrides for mobile */
  [style*="font-size: 5rem"] {
    font-size: 2.5rem !important;
  }
  
  [style*="font-size: 4rem"] {
    font-size: 2rem !important;
  }
  
  [style*="font-size: 3.5rem"] {
    font-size: 1.875rem !important;
  }
  
  [style*="font-size: 3rem"] {
    font-size: 1.5rem !important;
  }
  
  [style*="font-size: 2.5rem"] {
    font-size: 1.375rem !important;
  }
  
  [style*="font-size: 2rem"] {
    font-size: 1.25rem !important;
  }
  
  [style*="font-size: 1.75rem"] {
    font-size: 1.125rem !important;
  }
  
  [style*="font-size: 1.5rem"] {
    font-size: 1.0625rem !important;
  }
  
  [style*="padding: 3rem"] {
    padding: 1.5rem !important;
  }
  
  [style*="padding: 2.5rem"] {
    padding: 1.25rem !important;
  }
  
  [style*="padding: 2rem"] {
    padding: 1rem !important;
  }
  
  [style*="gap: 3rem"] {
    gap: 1.5rem !important;
  }
  
  [style*="gap: 2rem"] {
    gap: 1rem !important;
  }
  
  /* Width overrides */
  [style*="width: 600px"],
  [style*="width: 500px"],
  [style*="width: 400px"] {
    width: 100% !important;
    max-width: 300px !important;
  }
  
  [style*="height: 600px"],
  [style*="height: 500px"],
  [style*="height: 400px"] {
    height: auto !important;
    min-height: 200px !important;
  }
  
  /* Number badges */
  [style*="min-width: 60px"][style*="height: 60px"] {
    min-width: 48px !important;
    height: 48px !important;
    font-size: 1.125rem !important;
  }
  
  [style*="width: 80px"][style*="height: 80px"] {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.5rem !important;
  }
  
  /* Grid template overrides */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns: 2fr 1fr"],
  [style*="grid-template-columns: repeat(2"],
  [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Flex direction overrides */
  [style*="display: flex"][style*="gap"] {
    flex-direction: column !important;
  }
  
  [style*="display: flex"][style*="gap"][style*="align-items: start"] {
    align-items: flex-start !important;
  }
  
  /* Text alignment for mobile */
  [style*="text-align: right"] {
    text-align: left !important;
  }
  
  /* Border radius adjustments */
  [style*="border-radius: 1.5rem"],
  [style*="border-radius: 1.25rem"] {
    border-radius: 0.75rem !important;
  }
}

/* ========== Animations ========== */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

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

/* ========== Utility Classes - Gradients ========== */
.gradient-orange {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.gradient-red {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.gradient-purple {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.gradient-green {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.gradient-yellow {
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.gradient-blue-purple {
  background: linear-gradient(135deg, #1E3A8A 0%, #8B5CF6 100%);
}

.gradient-blue {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

/* ========== Utility Classes - Badge ========== */
.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  color: white;
}

.badge-pulse {
  animation: pulse 2s infinite;
}

/* ========== Utility Classes - Cards ========== */
.info-card {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-card {
  background: white;
  border: 2px solid #E5E7EB;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

/* ========== Print Styles ========== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none;
  }
}
