/* ==========================================================================
   SVĚTANGLIČTINY.CZ - HLAVNÍ CSS SOUBOR
   ========================================================================== */

/* ==========================================================================
   1. CSS PROMĚNNÉ (Design System)
   ========================================================================== */
:root {
  /* Základní barvy */
  --background: hsl(220 15% 98%);
  --foreground: hsl(222.2 84% 4.9%);
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(222.2 84% 4.9%);
  
  /* Primární a sekundární barvy */
  --primary: hsl(78 92% 35%); /* #65a70b */
  --primary-foreground: hsl(0 0% 100%);
  --primary-light: hsl(78 92% 45%);
  --secondary: hsl(210 87% 49%); /* #0c79e9 */
  --secondary-foreground: hsl(0 0% 100%);
  
  /* Utility barvy */
  --muted: hsl(220 15% 95%);
  --muted-foreground: hsl(215.4 16.3% 46.9%);
  --border: hsl(220 13% 91%);

  /* Gradienty pro kategorie */
  --gradient-premium: linear-gradient(135deg, hsl(258 90% 66%), hsl(284 83% 66%));
  --gradient-business: linear-gradient(135deg, hsl(142 71% 45%), hsl(142 69% 58%));
  --gradient-affordable: linear-gradient(135deg, hsl(43 96% 56%), hsl(31 91% 60%));
  --gradient-hero: linear-gradient(135deg, hsl(78 92% 35%), hsl(78 92% 45%));
  --gradient-secondary: linear-gradient(135deg, hsl(210 87% 49%), hsl(220 87% 55%));
  --gradient-bg: linear-gradient(180deg, hsl(220 15% 98%), hsl(210 25% 96%));

  /* Page specific barvy (pro obsahové stránky) */
  --page-primary: hsl(78 92% 35%);
  --page-secondary: hsl(210 87% 49%);
  --page-primary-color: hsl(78 92% 35%);
  --page-primary-color-hover: hsl(78 92% 30%);
  --page-secondary-color: hsl(210 87% 49%);
  --page-secondary-color-hover: hsl(210 87% 44%);
  --page-gradient-hero: linear-gradient(135deg, hsl(78 92% 35%), hsl(78 92% 45%));
  --page-gradient-secondary: linear-gradient(135deg, hsl(210 87% 49%), hsl(220 87% 55%));
  --page-gradient-premium: linear-gradient(135deg, hsl(258 90% 66%), hsl(284 83% 66%));
  --page-gradient-business: linear-gradient(135deg, hsl(142 71% 45%), hsl(142 69% 58%));
  --page-gradient-affordable: linear-gradient(135deg, hsl(43 96% 56%), hsl(31 91% 60%));

  /* Rozměry */
  --radius: 8px;
}

/* ==========================================================================
   2. RESET A ZÁKLADNÍ STYLY
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  background: var(--background);
  color: var(--foreground);
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   3. NAVIGACE (sdílená pro všechny stránky)
   ========================================================================== */
nav.navbar { 
  background: #64a70b;
}

nav.navbar .container {
  max-width: 860px;
}

.nav-link {
  color: rgb(255, 255, 255, 0.75);
}

.nav-link:hover {
  color: rgb(255, 255, 255, 1);
}

/* Externí odkazy - ikona */
a[target="_blank"] {
  white-space: nowrap;
}

a[target="_blank"]:after {
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAQElEQVR42qXKwQkAIAxDUUdxtO6/RBQkQZvSi8I/pL4BoGw/XPkh4XigPmsUgh0626AjRsgxHTkUThsG2T/sIlzdTsp52kSS1wAAAABJRU5ErkJggg==);
  margin: 0 3px 0 5px;
  white-space: nowrap;
}

/* ==========================================================================
   4. HOMEPAGE STYLY (#homepage)
   ========================================================================== */
#homepage {
  /* Layout */
  min-height: 100vh;
}

#homepage .bg-gradient-bg {
  background: var(--gradient-bg);
}

#homepage .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero sekce */
#homepage .hero-section {
  padding: 5rem 0;
  overflow: hidden;
}

#homepage .hero-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

#homepage .hero-image-wrapper {
  margin-bottom: 2rem;
}

#homepage .hero-image {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#homepage .hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  #homepage .hero-title {
    font-size: 3.75rem;
  }
}

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

#homepage .hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
}

/* Goals Card */
#homepage .goals-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 3rem 2rem;
  margin-top: 3rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#homepage .goals-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--foreground);
}

#homepage .goals-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Category Buttons */
#homepage .category-button {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  text-align: left;
}

#homepage .category-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

#homepage .category-button.premium {
  background: linear-gradient(135deg, hsl(258 90% 66%), hsl(284 83% 66%));
  border: none;
  color: white;
}

#homepage .category-button.premium:hover {
  background: linear-gradient(135deg, hsl(258 90% 66%), hsl(284 83% 66%));
  color: white;
}

#homepage .category-button.business {
  background: linear-gradient(135deg, hsl(142 71% 45%), hsl(142 69% 58%));
  border: none;
  color: white;
}

#homepage .category-button.business:hover {
  background: linear-gradient(135deg, hsl(142 71% 45%), hsl(142 69% 58%));
  color: white;
}

#homepage .category-button.affordable {
  background: linear-gradient(135deg, hsl(43 96% 56%), hsl(31 91% 60%));
  border: none;
  color: white;
}

#homepage .category-button.affordable:hover {
  background: linear-gradient(135deg, hsl(43 96% 56%), hsl(31 91% 60%));
  color: white;
}

#homepage .category-button.default {
  background: white;
  border: 1px solid var(--border);
  color: var(--foreground);
}

#homepage .category-button.default:hover {
  background: var(--muted);
  color: var(--foreground);
}

#homepage .category-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Ikony pro barevná tlačítka - průhledné bílé pozadí */
#homepage .category-button.premium .category-icon,
#homepage .category-button.business .category-icon,
#homepage .category-button.affordable .category-icon {
  background: rgba(255, 255, 255, 0.2);
}

/* Ikona pro default tlačítko - šedé pozadí */
#homepage .category-button.default .category-icon {
  background: var(--muted);
}

#homepage .category-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
}

#homepage .category-content {
  flex: 1;
}

#homepage .category-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

#homepage .category-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* Bílý text pro barevná tlačítka */
#homepage .category-button.premium .category-title,
#homepage .category-button.business .category-title,
#homepage .category-button.affordable .category-title {
  color: white;
}

#homepage .category-button.premium .category-description,
#homepage .category-button.business .category-description,
#homepage .category-button.affordable .category-description {
  color: rgba(255, 255, 255, 0.9);
}

/* Methods Section */
#homepage .methods-section {
  padding: 5rem 0;
  background: hsl(220 15% 95%);
}

#homepage .methods-content {
  max-width: 72rem;
  margin: 0 auto;
}

#homepage .methods-header {
  text-align: center;
  margin-bottom: 3rem;
}

#homepage .methods-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

#homepage .methods-subtitle {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

#homepage .methods-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Quick Start Section */
#homepage .quick-start-section {
  padding: 5rem 0;
  background: var(--card);
}

#homepage .quick-start-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

#homepage .quick-start-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#homepage .quick-start-subtitle {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

#homepage .quick-start-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

#homepage .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

#homepage .btn-hero {
  background: var(--gradient-hero);
  color: white;
  border: none;
}

#homepage .btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  color: white;
  text-decoration: none;
}

#homepage .btn-outline {
  background: var(--card);
  color: var(--foreground);
  border: 2px solid var(--border);
}

#homepage .btn-outline:hover {
  background: var(--muted);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: var(--foreground);
  text-decoration: none;
}

#homepage .cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   5. OBSAHOVÉ STRÁNKY (#page)
   ========================================================================== */
#page .page-main {
  min-height: calc(100vh - 76px); /* navbar height */
}

#page .page-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  #page .page-title {
    font-size: 1.75rem;
  }
}

#page .page-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
}

#page .page-meta {
  border-left: 3px solid #7CB342;
  padding-left: 1rem;
}

/* Obsah stránky */
#page .page-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
}

#page .page-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}

#page .page-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 1.5rem 0 1rem 0;
}

#page .page-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin: 1.25rem 0 0.75rem 0;
}

#page .page-content p {
  margin-bottom: 1rem;
}

#page .page-content ul, 
#page .page-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

#page .page-content li {
  margin-bottom: 0.25rem;
}

#page .page-content blockquote {
  border-left: 4px solid #7CB342;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background-color: #f8f9fa;
  font-style: italic;
}

#page .page-content .highlight,
#page .page-content .tip {
  background: linear-gradient(135deg, #E8F5E8 0%, #f8f9fa 100%);
  border: 1px solid #7CB342;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}

/* Sidebar pro obsahové stránky */
#page .sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e9ecef;
}

#page .toc-item {
  color: #6c757d;
  padding-left: 1rem;
  transition: color 0.2s ease;
}

#page .toc-item[data-level="2"] { padding-left: 1rem; }
#page .toc-item[data-level="3"] { padding-left: 1.5rem; }
#page .toc-item[data-level="4"] { padding-left: 2rem; }
#page .toc-item[data-level="5"] { padding-left: 2.5rem; }
#page .toc-item[data-level="6"] { padding-left: 3rem; }

#page .toc-item:hover,
#page .toc-item.active {
  color: #7CB342;
}

/* Breadcrumbs */
#page .breadcrumb {
  background-color: transparent;
  padding: 0;
  margin-bottom: 0;
}

#page .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #6c757d;
}

@media (max-width: 991px) {
  #page .page-sidebar {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
  }
}

/* Bootstrap button overrides pro page sidebar */
#page .page-sidebar .btn.btn-outline-primary {
  color: var(--page-primary);
  border-color: var(--page-primary);
  background: hsl(78 92% 97%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  font-weight: 500;
  border-width: 1px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

#page .page-sidebar .btn.btn-outline-primary:hover,
#page .page-sidebar .btn.btn-outline-primary:focus,
#page .page-sidebar .btn.btn-outline-primary:active {
  background: var(--page-gradient-hero);
  border-color: var(--page-primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#page .page-sidebar .btn.btn-outline-success {
  color: hsl(142 71% 45%);
  border-color: hsl(142 71% 45%);
  background: hsl(142 71% 97%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  font-weight: 500;
  border-width: 1px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
}

#page .page-sidebar .btn.btn-outline-success:hover,
#page .page-sidebar .btn.btn-outline-success:focus,
#page .page-sidebar .btn.btn-outline-success:active {
  background: var(--page-gradient-business);
  border-color: hsl(142 71% 45%);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   6. KOMPONENTY PRO OBSAHOVÉ STRÁNKY
   ========================================================================== */

/* Hero sekce pro obsahové stránky */
#page .hero {
  margin-block: 1.5rem 1rem;
  background: hsl(220 15% 98%);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid hsl(220 13% 91%);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#page .hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(222.2 84% 4.9%);
  margin-bottom: 1rem;
}

#page .hero .lead {
  font-size: 1.125rem;
  color: hsl(215.4 16.3% 46.9%);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Tlačítka pro obsahové stránky */
#page .btn,
#page a.btn,
#page button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  min-height: 2.75rem;
}

#page .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

#page .btn--primary {
  background: var(--page-gradient-hero);
  color: white;
}

#page .btn--primary:hover {
  color: white;
  background: linear-gradient(135deg, hsl(78 92% 30%), hsl(78 92% 38%));
}

#page .btn--ghost {
  background: hsl(0 0% 100%);
  color: hsl(222.2 84% 4.9%);
  border: 1px solid hsl(220 13% 91%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#page .btn--ghost:hover {
  background: hsl(220 15% 95%);
  color: hsl(222.2 84% 4.9%);
  border-color: hsl(220 13% 85%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Gridy */
#page .grid-2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

#page .grid-3 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

#page .grid-2 article,
#page .grid-3 article {
  background: hsl(0 0% 100%);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid hsl(220 13% 91%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

#page .grid-2 article:hover,
#page .grid-3 article:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Barvy pro různé články v gridech */
#page .grid-2 article:nth-child(1) { border-left: 4px solid hsl(78 92% 35%); }
#page .grid-2 article:nth-child(2) { border-left: 4px solid hsl(210 87% 49%); }
#page .grid-2 article:nth-child(3) { border-left: 4px solid hsl(142 71% 45%); }
#page .grid-2 article:nth-child(4) { border-left: 4px solid hsl(43 96% 56%); }

#page .grid-3 article:nth-child(1) { border-left: 4px solid hsl(258 90% 66%); }
#page .grid-3 article:nth-child(2) { border-left: 4px solid hsl(142 71% 45%); }
#page .grid-3 article:nth-child(3) { border-left: 4px solid hsl(210 87% 49%); }

#page .grid-2 article h3,
#page .grid-3 article h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(222.2 84% 4.9%);
}

#page .grid-2 article p,
#page .grid-3 article p {
  font-size: 0.875rem;
  color: hsl(215.4 16.3% 46.9%);
  margin: 0;
  line-height: 1.5;
}

/* Checklist */
#page .checklist {
  list-style: none;
  padding-left: 0;
}

#page .checklist li {
  background: hsl(0 0% 100%);
  margin: 0.75rem 0;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 8px;
  border: 1px solid hsl(220 13% 91%);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#page .checklist li:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#page .checklist li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--page-gradient-hero);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Steps */
#page .steps {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
}

#page .steps li {
  counter-increment: step-counter;
  margin: 1rem 0;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  background: hsl(0 0% 100%);
  border-radius: 8px;
  border: 1px solid hsl(220 13% 91%);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#page .steps li:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

#page .steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  background: var(--page-gradient-hero);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
}

/* Breadcrumbs pro obsahové stránky */
#page .breadcrumbs {
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
  color: hsl(215.4 16.3% 46.9%);
}

#page .breadcrumbs a {
  color: var(--page-primary);
  text-decoration: none;
}

#page .breadcrumbs a:hover {
  text-decoration: underline;
}

/* CTA final */
#page .cta-final {
  margin: 3rem 0 2rem;
  text-align: center;
  background: hsl(220 15% 98%);
  border-radius: 1rem;
  padding: 3rem 2rem;
  border: 1px solid hsl(220 13% 91%);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#page .cta-final h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: hsl(222.2 84% 4.9%);
  margin-bottom: 1rem;
}

#page .cta-final p {
  color: hsl(215.4 16.3% 46.9%);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#page .cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Plány a příklady */
#page .plan {
  background: hsl(0 0% 100%);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid hsl(220 13% 91%);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

#page .plan h3 {
  color: hsl(222.2 84% 4.9%);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background: hsl(220 15% 98%);
  border-radius: 8px;
  border-left: 4px solid var(--page-primary);
}

#page .plan h3:first-of-type {
  margin-top: 1rem;
}

#page .plan ul {
  background: hsl(220 15% 98%);
  border-radius: 8px;
  padding: 1rem 1rem 1rem 2.5rem;
  margin: 1rem 0;
  border: 1px solid var(--border);
}

/* Speciální komponenty pro rozumet-filmum stránku */
#page .timeline .week {
  margin: 2rem 0;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  border-left: 4px solid var(--page-primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#page .timeline .week h3 {
  color: var(--page-primary-color);
  margin-bottom: 1rem;
}

#page .timeline .tip {
  background: hsl(78 92% 97%);
  border: 1px solid hsl(78 92% 35%);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
}

#page .level-guide {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

#page .level {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#page .level.a2-b1 { border-left: 4px solid hsl(43 96% 56%); }
#page .level.b1-b2 { border-left: 4px solid hsl(210 87% 49%); }
#page .level.b2-c1 { border-left: 4px solid hsl(258 90% 66%); }

#page .warning {
  background: hsl(0 93% 97%);
  color: hsl(0 65% 51%);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}

#page .techniques-grid,
#page .tools-list,
#page .mistakes-grid,
#page .next-steps-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin: 2rem 0;
}

#page .accents-table {
  width: 100%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin: 2rem 0;
}

#page .accents-table th {
  background: var(--page-gradient-hero);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

#page .accents-table td {
  padding: 1rem;
  border-bottom: 1px solid hsl(220 13% 91%);
}

#page .accents-table tr:hover {
  background: hsl(220 15% 98%);
}

#page .story {
  background: white;
  border-left: 4px solid var(--page-primary-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#page .story cite {
  display: block;
  margin-top: 1rem;
  color: hsl(215.4 16.3% 46.9%);
  font-style: normal;
  font-weight: 600;
}

#page .weekly-plan {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 2rem 0;
}

#page .weekly-plan .day {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid hsl(220 13% 91%);
  transition: all 0.3s;
}

#page .weekly-plan .day:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#page .weekly-plan .day h4 {
  color: var(--page-primary-color);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

#page details {
  margin: 1rem 0;
  background: white;
  border-radius: 8px;
  border: 1px solid hsl(220 13% 91%);
  overflow: hidden;
}

#page details summary {
  padding: 1rem 1.5rem;
  background: hsl(220 15% 98%);
  cursor: pointer;
  font-weight: 600;
  color: hsl(222.2 84% 4.9%);
  transition: background 0.2s;
}

#page details summary:hover {
  background: hsl(220 15% 95%);
}

#page details[open] summary {
  border-bottom: 1px solid hsl(220 13% 91%);
}

#page details p {
  padding: 1rem 1.5rem;
  margin: 0;
}

/* Universal button cursor fix */
.btn,
.btn-primary,
.btn-secondary,
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-success,
a[class*="btn"],
button[class*="btn"] {
  cursor: pointer;
}

/* ==========================================================================
   7. RESPONZIVITA
   ========================================================================== */
@media (max-width: 768px) {
  #homepage .goals-grid,
  #homepage .methods-grid {
    grid-template-columns: 1fr;
  }
  
  #page .grid-2,
  #page .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  #homepage .hero-title {
    font-size: 2rem;
  }
  
  #homepage .goals-title,
  #homepage .methods-title,
  #homepage .quick-start-title {
    font-size: 1.5rem;
  }
}
