/*
 * Signálníci Website Styles
 * 
 * This file contains all CSS styles for the Signálníci coming soon website.
 * Organized into sections: variables, base styles, components, animations, and responsive design.
 * 
 * Last updated: 2025-06-20
 * Split from inline styles for better maintainability
 */

/* CSS Custom Properties (Variables) */
:root {
  --primary-color: #2563eb;
  --secondary-color: #7c3aed;
  --accent-color: #06b6d4;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --success-color: #10b981;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --logo-bg: rgba(255, 255, 255, 0.5);
  
  /* Additional variables for dark mode support */
  --bg-tertiary: #f1f5f9;
  --card-bg: #ffffff;
  --modal-bg: #ffffff;
  --hero-overlay: rgba(0, 0, 0, 0.4);
  --bg-gradient-dark: linear-gradient(135deg, #1e3a8a 0%, #581c87 100%);
  --theme-transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Dark theme colors */
[data-theme="dark"] {
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-tertiary: #334155;
  --border-color: #334155;
  --card-bg: #1e293b;
  --modal-bg: #1e293b;
  --hero-overlay: rgba(0, 0, 0, 0.6);
  --bg-gradient: var(--bg-gradient-dark);
  --logo-bg: rgba(0, 0, 0, 0.5);
  
  /* Dark theme shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4);
}

/* System preference detection */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --border-color: #334155;
    --card-bg: #1e293b;
    --modal-bg: #1e293b;
    --hero-overlay: rgba(0, 0, 0, 0.6);
    --bg-gradient: var(--bg-gradient-dark);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4);
  }
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: var(--theme-transition);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Header */
.header {
  background: var(--bg-gradient);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.075;
  will-change: auto;
  transform: translateZ(0);
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/><circle cx="900" cy="800" r="80" fill="url(%23a)"/></svg>') no-repeat center center;
  background-size: cover;
  opacity: 0.3;
}

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

.hero-logo {
  width: 120px;
  height: auto;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInLogo 1.2s ease-out 0.3s both;
  padding: 1.5rem;
  background: var(--logo-bg);
  backdrop-filter: blur(15px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 400;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-arrow {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  text-decoration: none;
  padding: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-arrow:hover {
  color: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  animation-play-state: paused;
}

.scroll-arrow:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Main content */
.main-content {
  background: var(--bg-primary);
  position: relative;
  z-index: 5;
}

.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About section specific spacing adjustments */
#about .section-subtitle {
  margin-bottom: 2rem;
}

/* "Co nás tvoří" section specific spacing adjustments */
.section:nth-of-type(2) .section-subtitle {
  margin-bottom: 2rem;
}

/* "Signálníci" section specific spacing adjustments */
.section:nth-of-type(3) .section-subtitle {
  margin-bottom: 2rem;
}

.section-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  margin-bottom: 4rem;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.card {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

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

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

/* Features list */
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 3rem 0;
}

.features-list li:nth-child(5):last-child {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  color: var(--success-color);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.feature-text {
  color: var(--text-primary);
  font-weight: 500;
}

/* Features list mobile responsive */
.features-list {
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

.features-list li:nth-child(5):last-child {
  grid-column: 1;
  max-width: none;
}

.feature-item {
  padding: 1rem;
}

/* Features list extra small mobile */
.features-list {
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.feature-item {
  padding: 0.75rem;
  gap: 0.75rem;
}

.feature-icon {
  font-size: 1rem;
  margin-top: 0.125rem;
}

.feature-text {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: 16px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.stat-number {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  line-height: 1.1;
  word-break: break-word;
  hyphens: auto;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 0.5rem;
  display: block;
}

.stat-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  font-style: italic;
  line-height: 1.4;
  display: block;
}

/* CTA Section */
.cta-section {
  background: var(--bg-gradient);
  color: white;
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.075;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="b" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.05"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="100" cy="100" r="50" fill="url(%23b)"/><circle cx="900" cy="200" r="80" fill="url(%23b)"/><circle cx="300" cy="800" r="60" fill="url(%23b)"/><circle cx="700" cy="900" r="40" fill="url(%23b)"/></svg>') no-repeat center center;
  background-size: cover;
}

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

.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.cta-button-large {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: white;
  color: var(--primary-color);
  padding: 1.25rem 3rem;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.cta-button-large:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  background: #f8fafc;
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  text-align: center;
  padding: 3rem 2rem 2rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  width: 60px;
  height: auto;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.footer-text {
  font-size: 1rem;
  opacity: 0.8;
}

/* Dark Mode Toggle Component Styles */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  cursor: pointer;
  transition: var(--theme-transition);
  user-select: none;
  margin-top: 2rem;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-sm);
}

.theme-toggle-switch {
  position: relative;
  width: 50px;
  height: 24px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.theme-toggle-switch::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle-switch {
  background: var(--primary-color);
}

[data-theme="dark"] .theme-toggle-switch::before {
  transform: translateX(26px);
}

.theme-toggle-icon {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--theme-transition);
}

.theme-toggle-icon.sun {
  opacity: 1;
}

.theme-toggle-icon.moon {
  opacity: 0.5;
}

[data-theme="dark"] .theme-toggle-icon.sun {
  opacity: 0.5;
}

[data-theme="dark"] .theme-toggle-icon.moon {
  opacity: 1;
  color: var(--accent-color);
}

.theme-toggle-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin: 0 0.25rem;
}

/* Mobile responsive for theme toggle */
@media (max-width: 768px) {
  .theme-toggle {
    gap: 0.5rem;
    padding: 0.4rem;
  }
  
  .theme-toggle-text {
    font-size: 0.8rem;
  }
  
  .theme-toggle-switch {
    width: 45px;
    height: 22px;
  }
  
  .theme-toggle-switch::before {
    width: 18px;
    height: 18px;
  }
  
  [data-theme="dark"] .theme-toggle-switch::before {
    transform: translateX(23px);
  }
}

@media (max-width: 480px) {
  .theme-toggle {
    margin-top: 0.75rem;
  }
  
  .theme-toggle-text {
    font-size: 0.75rem;
  }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

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

@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Animation helpers */
.fade-in,
.slide-in-left,
.slide-in-right {
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.slide-in-left {
  transform: translateX(-20px);
}

.slide-in-right {
  transform: translateX(20px);
}

.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Explanation section */
.explanation-container {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.explanation-text {
  margin-bottom: 0;
}

.explanation-container h3 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  text-align: center;
  color: var(--text-primary);
}

/* Explanation items styling */
.explanation-item {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(124, 58, 237, 0.05));
  border-radius: 15px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.explanation-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

.explanation-item h3 {
  font-size: 1.4rem;
  margin: 0 0 1rem 0;
  text-align: left;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.explanation-item .explanation-text {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Explanation quote styling */
.explanation-quote {
  margin: 3rem auto 0;
  padding: 2rem 3rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: 20px;
  text-align: center;
  position: relative;
  border: 2px solid rgba(37, 99, 235, 0.2);
  max-width: 700px;
}

.explanation-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  font-family: serif;
  line-height: 1;
  opacity: 0.3;
}

.explanation-quote::after {
  content: '"';
  position: absolute;
  bottom: -30px;
  right: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  font-family: serif;
  line-height: 1;
  opacity: 0.3;
}

.explanation-quote p {
  font-size: 1.2rem;
  font-style: italic;
  margin: 0;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  z-index: 2;
}

/* Detailed Section Styles */
.detailed-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(124, 58, 237, 0.03));
  border-radius: 30px;
  margin: 4rem auto;
  padding: 4rem 2rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

.detailed-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.intro-icon {
  font-size: 4rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary-color);
  animation: pulse 2s infinite;
}

.detailed-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.detailed-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.detailed-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.card-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-icon-large {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

.detailed-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin: 0;
}

.card-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.tag i {
  font-size: 0.75rem;
}

/* Skills Section */
.skills-section {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  margin: 4rem 0;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.skills-header {
  text-align: center;
  margin-bottom: 3rem;
}

.skills-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skills-header h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.skills-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.skill-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.skill-item:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.1);
}

.skill-item i {
  color: var(--success-color);
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.skill-item span {
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.6;
}

/* Milestones Section */
.milestones-section {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), rgba(37, 99, 235, 0.05));
  border-radius: 20px;
  padding: 3rem;
  margin: 4rem 0;
  border: 1px solid rgba(6, 182, 212, 0.1);
}

.milestones-header {
  text-align: center;
  margin-bottom: 3rem;
}

.milestones-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.milestones-header h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.milestones-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  width: 50px;
  height: 50px;
  background: white;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
  position: relative;
  z-index: 10;
  margin: 0 2rem;
  box-shadow: var(--shadow-md);
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  flex: 1;
  max-width: 350px;
}

.timeline-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Timeline content lists styling */
.timeline-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-content li {
  position: relative;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(6, 182, 212, 0.04));
  border-radius: 8px;
  border-left: 3px solid var(--accent-color);
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.timeline-content li:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08));
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.timeline-content li::before {
  content: '✦';
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: bold;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.timeline-tag {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.growth-note {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  max-width: 600px;
  margin: 0 auto;
}

.growth-icon {
  font-size: 2rem;
  color: var(--success-color);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.growth-note p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

/* Pricing Section */
.pricing-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(124, 58, 237, 0.03));
  border-radius: 30px;
  margin: 4rem auto;
  padding: 5rem 2rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
  overflow: hidden;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="pricing" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23667eea" stop-opacity="0.05"/><stop offset="100%" stop-color="%23764ba2" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="120" fill="url(%23pricing)"/><circle cx="800" cy="400" r="80" fill="url(%23pricing)"/><circle cx="400" cy="800" r="100" fill="url(%23pricing)"/></svg>') no-repeat center center;
  background-size: cover;
  opacity: 0.3;
}

.pricing-container {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s infinite;
}

.pricing-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.pricing-placeholder {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.pricing-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  animation: pulse 2s infinite;
}

.pricing-badge i {
  font-size: 1.25rem;
}

.pricing-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
  color: var(--primary-color);
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: all 0.3s ease;
}

.pricing-feature:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.15));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pricing-feature i {
  font-size: 1.1rem;
}

/* Mini CTA Sections */
.mini-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 3rem 2rem;
  margin: 4rem auto;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 800px;
}

.mini-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="e" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23e)"/><circle cx="800" cy="400" r="80" fill="url(%23e)"/><circle cx="500" cy="800" r="120" fill="url(%23e)"/></svg>') no-repeat center center;
  background-size: cover;
  opacity: 0.3;
}

.mini-cta-inline {
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
}

.mini-cta-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  margin: 0 auto;
}

.mini-cta h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.mini-cta-inline h3 {
  margin-bottom: 1.25rem;
}

.mini-cta p {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  line-height: 1.6;
}

.mini-cta-inline p {
  margin-bottom: 1.75rem;
}

.mini-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.mini-cta-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.5);
}

.mini-cta-inline .mini-cta-button {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
}

.mini-cta-inline .mini-cta-button:hover {
  background: linear-gradient(135deg, #1e40af, #6d28d9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: var(--bg-gradient);
  backdrop-filter: blur(20px);
  color: white;
  padding: 1.5rem;
  z-index: 10000;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-xl);
  max-width: 400px;
  animation: slideInFromRight 0.5s ease-out;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cookie-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="c" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="150" cy="150" r="80" fill="url(%23c)"/><circle cx="850" cy="300" r="60" fill="url(%23c)"/><circle cx="300" cy="800" r="70" fill="url(%23c)"/></svg>') no-repeat center center;
  background-size: cover;
  opacity: 0.3;
  border-radius: 16px;
}

.cookie-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cookie-text h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(45deg, #ffffff, #e0e7ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cookie-text p {
  margin: 0;
  opacity: 0.95;
  line-height: 1.5;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
}

.cookie-btn {
  flex: 1;
  padding: 0.7rem 1.25rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}

.cookie-btn.accept {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.cookie-btn.accept:hover {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cookie-btn.decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn.decline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Interest Form Modal Styles */
.form-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.form-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.form-modal-content {
  position: relative;
  background: white;
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: slideInUp 0.4s ease-out;
}

/* Form Modal Responsive */
.form-modal-content {
  width: 95%;
  margin: 1rem;
  max-height: 95vh;
}

.form-header {
  padding: 1.5rem;
}

.form-header h2 {
  font-size: 1.25rem;
}

.form-body {
  padding: 1.5rem;
  max-height: calc(95vh - 100px);
}

.form-row {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.form-actions {
  flex-direction: column-reverse;
  gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
  width: 100%;
  justify-content: center;
}

.child-info {
  padding: 1rem;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.form-header {
  background: var(--bg-gradient);
  color: white;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.form-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="form-bg" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23form-bg)"/><circle cx="800" cy="400" r="80" fill="url(%23form-bg)"/></svg>') no-repeat center center;
  background-size: cover;
  opacity: 0.3;
}

.form-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.form-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.form-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.form-body {
  padding: 2rem;
  max-height: calc(90vh - 120px);
  overflow-y: auto;
}

.form-intro {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.form-intro h3 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

.form-intro p {
  margin: 0 0 0.75rem 0;
  line-height: 1.6;
}

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

.form-intro strong {
  color: var(--primary-color);
}

.form-section {
  margin-bottom: 2rem;
}

.form-section h3 {
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

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

.form-group input:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #ef4444;
}

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

.children-details {
  margin-top: 1.5rem;
}

.child-info {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-color);
}

.child-info h4 {
  margin: 0 0 1rem 0;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.btn-primary,
.btn-secondary {
  padding: 0.875rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 140px;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #1e40af, #6d28d9);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

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

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

.btn-loading {
  color: rgba(255, 255, 255, 0.8);
}

/* Success Modal Styles */
.success-content {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

.success-content h2 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.success-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.success-content .btn-primary {
  margin-top: 1rem;
}

/* Form Responsive Design */
@media (max-width: 768px) {
  /* Mobile Safari Animation Fallback - Ensure content is visible */
  .fade-in,
  .slide-in-left,
  .slide-in-right {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) !important;
  }

  /* Hero logo mobile sizing */
  .hero-logo {
    width: 100px;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
  }

  /* Footer logo mobile sizing */
  .footer-logo {
    width: 50px;
    margin-bottom: 1.25rem;
  }

  /* Stats grid mobile styles */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 3rem 0;
  }

  .stat-item {
    padding: 1.5rem;
  }

  .stat-number {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    line-height: 1.2;
  }

  .stat-label {
    font-size: 0.9rem;
    margin-top: 0.75rem;
  }

  .stat-description {
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  /* Detailed Section Mobile Fixes */
  .detailed-section {
    margin: 2rem auto;
    padding: 2rem 1rem;
    border-radius: 20px;
  }

  .detailed-intro {
    margin-bottom: 2rem;
  }

  .intro-content {
    gap: 1rem;
  }

  .detailed-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .detailed-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .card-header h3 {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .card-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .skill-item {
    padding: 1rem;
    text-align: left;
  }

  .skill-item i {
    margin-right: 0.75rem;
    margin-bottom: 0;
  }

  /* Explanation items mobile styles */
  .explanation-item {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .explanation-item h3 {
    font-size: 1.2rem;
  }

  .explanation-item .explanation-text {
    font-size: 1rem;
  }

  .explanation-quote {
    padding: 1.5rem 2rem;
    margin: 2rem auto 0;
  }

  .explanation-quote::before,
  .explanation-quote::after {
    font-size: 3rem;
  }

  .explanation-quote::before {
    top: -5px;
    left: 15px;
  }

  .explanation-quote::after {
    bottom: -20px;
    right: 15px;
  }

  .explanation-quote p {
    font-size: 1rem;
  }

  .timeline {
    padding-left: 1rem;
  }

  .timeline-item {
    margin-bottom: 2rem;
  }

  .timeline-content {
    padding: 1rem;
  }

  /* Timeline list mobile styles */
  .timeline-content ul {
    gap: 0.5rem;
  }

  .timeline-content li {
    padding: 0.6rem 0.8rem 0.6rem 2rem;
    font-size: 0.9rem;
  }

  .timeline-content li::before {
    left: 0.6rem;
    font-size: 0.7rem;
  }

  /* Timeline mobile responsive improvements */
  .timeline-marker {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin: 0 1rem;
  }

  .timeline-content {
    padding: 1.25rem;
    max-width: none;
  }

  .timeline-tags {
    gap: 0.25rem;
  }

  .timeline-tag {
    padding: 0.2rem 0.6rem;
    font-size: 0.7rem;
  }

  /* Growth note mobile styles */
  .growth-note {
    padding: 1.25rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .growth-note .icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  /* Vertical spacing adjustments for mobile */
  .section {
    padding: 2rem 1rem;
  }

  .section-content {
    padding: 0;
  }

  /* Ensure all content has proper horizontal padding on mobile */
  .cards-grid,
  .explanation-container,
  .features-list,
  .detailed-grid,
  .skills-grid,
  .timeline,
  .stats-grid,
  .milestones-section,
  .pricing-container,
  .mini-cta,
  .mini-cta-inline {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }

  /* Card backgrounds mobile optimization */
  .explanation-item {
    margin-bottom: 1.5rem;
    border-radius: 12px;
  }

  /* Quote mobile optimization */
  .explanation-quote {
    padding: 1.25rem 1.5rem;
    margin: 1.5rem auto 0;
    border-radius: 15px;
    max-width: 95%;
  }

  .explanation-quote::before,
  .explanation-quote::after {
    font-size: 2.5rem;
  }

  .explanation-quote::before {
    top: -8px;
    left: 10px;
  }

  .explanation-quote::after {
    bottom: -15px;
    right: 10px;
  }

  .explanation-quote p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Subtitle spacing mobile improvements */
  .content-block h3 {
    margin: 1.5rem 0 0.75rem;
    font-size: 1.2rem;
  }

  .content-block h3 + p {
    margin-bottom: 1.5rem;
  }

  /* Detailed cards mobile improvements */
  .detailed-card {
    margin-bottom: 1.5rem;
    border-radius: 12px;
  }

  .card-icon-large {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .card-header {
    margin-bottom: 0.75rem;
  }

  .card-tags {
    gap: 0.25rem;
    margin-top: 0.75rem;
  }

  .tag {
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 6px;
  }

  /* Skills grid mobile improvements */
  .skills-grid {
    gap: 0.75rem;
  }

  .skill-item {
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
  }

  .skill-item i {
    margin-right: 0.5rem;
    font-size: 1rem;
  }

  /* Section spacing mobile optimization */
  .detailed-section {
    margin: 1.5rem auto;
  }

  .detailed-intro {
    margin-bottom: 1.5rem;
  }

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

  .intro-content .intro-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  /* Hero mobile improvements */
  .hero-content {
    padding: 0.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  /* CTA mobile improvements */
  .cta-container {
    padding: 1.5rem 1rem;
  }

  .cta-content {
    padding: 0 1rem;
  }

  .cta-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  .cta-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .cta-button {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  /* Extra small mobile padding improvements */
  .hero-content {
    padding: 0.75rem;
  }

  .cta-section .cta-content {
    padding: 0 0.75rem;
  }

  .footer-content {
    padding: 0 0.75rem;
  }

  /* Detailed section extra small padding */
  .detailed-section {
    margin: 1rem 0;
    padding: 1.5rem 0.75rem;
  }

  /* Timeline extra small padding */
  .timeline {
    padding-left: 0.75rem;
  }

  /* Mini CTA extra small padding */
  .mini-cta,
  .mini-cta-inline {
    margin: 1.5rem 0;
    padding: 1.25rem 0.75rem;
  }

  /* Content block extra small */
  .content-block h3 {
    font-size: 1.1rem;
    margin: 1.25rem 0 0.5rem;
  }
}

@media (max-width: 480px) {
  /* Extra small mobile fixes */
  .hero-title {
    gap: 0.25rem;
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }

  .hero-logo {
    width: 80px;
    margin-bottom: 1rem;
    padding: 1rem;
  }

  .footer-logo {
    width: 45px;
    margin-bottom: 1rem;
  }

  .detailed-section {
    margin: 1rem auto;
    padding: 1.5rem 0.75rem;
    border-radius: 16px;
  }

  .detailed-card {
    padding: 1rem;
  }

  .card-icon-large {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .card-header h3 {
    font-size: 1rem;
  }

  .card-content p {
    font-size: 0.85rem;
  }

  .card-tags {
    gap: 0.25rem;
  }

  .tag {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }

  /* Extra small mobile: Card and quote adjustments */
  .explanation-item {
    padding: 1rem;
    margin-bottom: 1.25rem;
    border-radius: 10px;
  }

  .explanation-item h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .explanation-item .explanation-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .explanation-quote {
    padding: 1rem 1.25rem;
    margin: 1rem auto 0;
    border-radius: 12px;
  }

  .explanation-quote::before,
  .explanation-quote::after {
    font-size: 2rem;
  }

  .explanation-quote::before {
    top: -5px;
    left: 8px;
  }

  .explanation-quote::after {
    bottom: -12px;
    right: 8px;
  }

  .explanation-quote p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  /* Timeline extra small mobile */
  .timeline-content li {
    padding: 0.5rem 0.6rem 0.5rem 1.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
  }

  .timeline-content li::before {
    left: 0.5rem;
    font-size: 0.6rem;
  }

  .timeline-tag {
    padding: 0.15rem 0.4rem;
    font-size: 0.65rem;
  }

  /* Growth note extra small */
  .growth-note {
    padding: 1rem;
  }

  .growth-note .icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .growth-note .content h4 {
    font-size: 0.95rem;
  }

  .growth-note .content p {
    font-size: 0.8rem;
  }

  /* Detailed cards extra small */
  .card-icon-large {
    width: 40px;
    height:  40px;
    font-size: 1.2rem;
  }

  .card-header h3 {
    font-size: 0.95rem;
    line-height:  1.3;
  }

  .card-content p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  /* Skills extra small */
  .skill-item {
    padding: 0.6rem;
    font-size: 0.8rem;
  }

  .skill-item i {
    font-size: 0.9rem;
    margin-right: 0.4rem;
  }

  /* Section spacing extra small */
  .section {
    padding: 1.5rem 0.75rem;
  }

  .section-content {
    padding: 0;
  }

  /* Hero extra small improvements */
  .hero-content {
    padding: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  /* CTA extra small improvements */
  .cta-container {
    padding: 1.25rem 0.75rem;
  }

  .cta-title {
    font-size: 1.2rem;
  }

  .cta-description {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Extra small mobile: Touch and interaction improvements */
.container {
  padding: 0 0.75rem;
}

/* Better finger-friendly spacing */
.detailed-grid {
  gap: 1.5rem;
}

.timeline {
  padding-left: 0.75rem;
}

.timeline-item {
  margin-bottom: 1.5rem;
}

/* Footer extra small */
.footer {
  padding: 1.25rem 0;
}

.footer-content {
  gap: 0.75rem;
}

.footer-text {
  font-size: 0.75rem;
}

/* Modal extra small optimizations */
.form-modal {
  padding-top: 1rem;
}

.form-modal-content {
  border-radius: 12px;
}

.form-intro {
  padding: 0.75rem;
}

.form-intro h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.form-intro p {
  font-size: 0.85rem;
}

/* Input field improvements for small screens */
.form-group input,
.form-group select,
.form-group textarea {
  font-size: 16px; /* Prevent zoom on iOS */
  padding: 0.75rem;
}

/* Button spacing for small screens */
.form-actions {
  gap: 0.5rem;
}

.btn-primary,
.btn-secondary {
  min-height: 44px;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  /* Form Mobile Fixes */
  .form-modal-content {
    width: 98%;
    margin: 0.5rem;
    border-radius: 16px;
  }

  .form-header {
    padding: 1rem;
  }

  .form-body {
    padding: 1rem;
  }

  .form-intro {
    padding:   1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .form-group {
    margin-bottom: 0.75rem;
  }

  .form-actions {
    flex-direction: column-reverse;
    gap: 0.5rem;
    margin-top: 1rem;
  }
}

/* ========================================
   DARK MODE STYLES - Added for dark mode support
   ======================================== */

/* Dark Mode Component Adaptations */
.card,
.detailed-card,
.explanation-item,
.timeline-content,
.growth-note,
.pricing-container,
.mini-cta,
.mini-cta-inline {
  background: var(--card-bg);
  border-color: var(--border-color);
  transition: var(--theme-transition);
}

/* Form elements dark mode */
.form-modal-content {
  background: var(--modal-bg);
  border-color: var(--border-color);
  transition: var(--theme-transition);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-primary);
  border-color: var(--border-color);
  color: var(--text-primary);
  transition: var(--theme-transition);
}

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

/* Feature items and skill items dark mode */
.feature-item,
.skill-item {
  background: var(--bg-secondary);
  transition: var(--theme-transition);
}

.feature-item:hover,
.skill-item:hover {
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
}

/* Sections with background dark mode */
.detailed-section {
  background: var(--bg-secondary);
  transition: var(--theme-transition);
}

/* Hero image overlay adjustment for dark mode */
.header::before {
  background: var(--hero-overlay);
  transition: var(--theme-transition);
}

/* Stats and pricing sections dark mode */
.stats-grid .stat-item,
.pricing-placeholder {
  background: var(--card-bg);
  border-color: var(--border-color);
  transition: var(--theme-transition);
}

/* Success modal dark mode */
.success-content {
  background: var(--modal-bg);
  transition: var(--theme-transition);
}

/* Cookie banner dark mode */
.cookie-banner {
  background: var(--bg-secondary);
  border-color: var(--border-color);
  transition: var(--theme-transition);
}

/* Fixed Dark Mode Styles for Specific Components */

/* Footer dark mode fix */
[data-theme="dark"] .footer {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

[data-theme="dark"] .footer-text {
  color: var(--text-secondary);
}

/* Timeline content cards (milestone cards) dark mode fix */
[data-theme="dark"] .timeline-content {
  background: var(--card-bg);
  border-color: var(--border-color);
}

/* Skills section background dark mode fix */
[data-theme="dark"] .skills-section {
  background: var(--bg-secondary);
}

/* Skills grid items dark mode fix */
[data-theme="dark"] .skill-item {
  background: var(--card-bg);
  border-color: var(--border-color);
}

/* Detailed cards (Co děláme cards) dark mode fix */
[data-theme="dark"] .detailed-card {
  background: var(--card-bg);
  border-color: var(--border-color);
}

/* Growth note dark mode fix */
[data-theme="dark"] .growth-note {
  background: var(--card-bg);
  border-color: var(--border-color);
}

/* Any remaining white backgrounds */
[data-theme="dark"] .pricing-section,
[data-theme="dark"] .cta-section {
  background: var(--bg-primary);
}

/* Milestones section dark mode fix */
[data-theme="dark"] .milestones-section {
  background: var(--bg-secondary);
}

/* Mini CTA backgrounds dark mode fix */
[data-theme="dark"] .mini-cta,
[data-theme="dark"] .mini-cta-inline {
  background: var(--card-bg);
  border-color: var(--border-color);
}
