/* ========================================
   ROOT VARIABLES & THEMES
   ======================================== */

:root {
  /* Основні кольори */
  --bg: #ffffff;
  --card: rgba(248, 250, 252, 0.8);
  --text: #0f172a;
  --muted: #475569;
  --border: rgba(226, 232, 240, 0.8);
  --primary: #0144a2;
  --primary-dark: #01307a;
  --accent: #fe6b01;
  --accent-glow: rgba(1, 68, 162, 0.12);
  --orange-glow: rgba(254, 107, 1, 0.15);
  --accent-gradient: linear-gradient(135deg, #0144a2 0%, #fe6b01 100%);
  --nav-bg: rgba(255, 255, 255, 0.75);

  /* Кольори для донатів */
  --paypal: #0070ba;
  --paypal-dark: #003087;
  --donate-icon: #ff3b30;
  --warning: #dc2626;
  --warning-dark: #f87171;
  --success: #10b981;

  /* Розміри */
  --container-max: 80rem;
  --nav-height: 5rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.5rem;
  --radius-xl: 1.75rem;
  --radius-2xl: 2rem;
  --radius-3xl: 2.25rem;
  --radius-4xl: 2.375rem;
  --radius-full: 62.4375rem;

  /* Відступи */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 2.5rem;
  --spacing-3xl: 3rem;
  --spacing-4xl: 3.75rem;
  --spacing-5xl: 5rem;
}

.dark {
  --bg: #030712;
  --card: rgba(17, 24, 39, 0.7);
  --text: #f1f5f9;
  --muted: #cbd5e1;
  --border: rgba(51, 65, 85, 0.6);
  --primary: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent: #fe6b01;
  --accent-glow: rgba(59, 130, 246, 0.2);
  --orange-glow: rgba(254, 107, 1, 0.2);
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #fe6b01 100%);
  --nav-bg: rgba(3, 7, 18, 0.85);
}

/* ========================================
   BASE & RESET
   ======================================== */

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

html {
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* ========================================
   BACKGROUND BLOBS
   ======================================== */

.blob {
  position: fixed;
  width: 34.375rem;
  height: 34.375rem;
  background: radial-gradient(
    circle,
    rgba(1, 68, 162, 0.2) 0%,
    rgba(254, 107, 1, 0.12) 100%
  );
  filter: blur(7.5rem);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
  animation: move 22s infinite alternate;
}

.blob:nth-child(2) {
  background: radial-gradient(
    circle,
    rgba(254, 107, 1, 0.18) 0%,
    rgba(1, 68, 162, 0.08) 100%
  );
  animation-delay: -7s;
  animation-duration: 26s;
}

@keyframes move {
  from {
    transform: translate(-15%, -10%);
  }
  to {
    transform: translate(25%, 20%);
  }
}

/* ========================================
   LAYOUT & CONTAINER
   ======================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  overflow-x: hidden;
}

/* ========================================
   NAVIGATION
   ======================================== */

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(0.75rem);
  border-bottom: 0.0625rem solid var(--border);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
  width: 100%;
  overflow-x: hidden;
}

.nav-content {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo img {
  width: 4.375rem;
  transition: transform 0.2s ease;
}

.logo img:hover {
  transform: scale(1.02);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-download-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  text-decoration: none;
  padding: var(--spacing-sm) 1.125rem;
  border-radius: 6.1875rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  background: var(--primary);
  color: white;
  box-shadow: 0 0.25rem 0.625rem -0.3125rem rgba(1, 68, 162, 0.3);
  border: none;
}

.dark .nav-download-btn {
  background: var(--primary);
}

.nav-download-btn:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1.125rem -0.5rem rgba(254, 107, 1, 0.4);
}

.theme-btn,
.lang-btn {
  border: 0.0625rem solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: var(--spacing-sm) 1.125rem;
  border-radius: 6.1875rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  transition: all 0.3s ease;
}

.theme-btn:hover,
.lang-btn:hover {
  transform: scale(1.05);
  border-color: var(--accent);
  box-shadow: 0 0 var(--spacing-sm) var(--orange-glow);
}

.support-nav-btn {
  border: 0.0625rem solid var(--border);
  background: var(--card);
  color: var(--donate-icon);
  padding: var(--spacing-sm) 1.125rem;
  border-radius: 6.1875rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: all 0.3s ease;
}

.support-nav-btn:hover {
  transform: scale(1.05);
  border-color: var(--donate-icon);
  background: rgba(255, 59, 48, 0.1);
  box-shadow: 0 0 var(--spacing-sm) rgba(255, 59, 48, 0.3);
}

.support-nav-btn i {
  color: var(--donate-icon);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  padding: 8.75rem 0 6.25rem;
  text-align: center;
}

.badge {
  display: inline-block;
  background: linear-gradient(
    120deg,
    rgba(1, 68, 162, 0.12),
    rgba(254, 107, 1, 0.08)
  );
  color: var(--primary);
  padding: var(--spacing-sm) 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xl);
  text-transform: uppercase;
  letter-spacing: 0.0625rem;
  border: 0.0625rem solid rgba(1, 68, 162, 0.3);
  backdrop-filter: blur(0.25rem);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
  max-width: 100%;
}

.dark .badge {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.4);
}

h1 {
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 900;
  margin-bottom: 1.75rem;
  background: linear-gradient(
    to right,
    var(--primary),
    var(--accent),
    var(--primary)
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}

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

.hero p {
  max-width: 43.75rem;
  margin: 0 auto var(--spacing-3xl);
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.cta-group {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   HERO FEATURES SECTION (ROCKET + VERTICAL FEATURES)
   ======================================== */

.hero-features {
  margin: 2rem 0 3.75rem;
}

.hero-features-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  backdrop-filter: blur(0.5rem);
  transition: all 0.3s ease;
}

.hero-features-grid:hover {
  border-color: var(--accent);
  box-shadow: 0 1.25rem 2.5rem -0.75rem rgba(1, 68, 162, 0.2);
}

.hero-rocket {
  flex: 0 0 auto;
}

.rocket-img {
  max-width: 500px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 25px rgba(1, 68, 162, 0.3));
  transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
  animation: floatRocket 3s ease-in-out infinite;
}

.rocket-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 20px 35px rgba(254, 107, 1, 0.35));
}

.features-vertical {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-vertical-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.875rem 1rem;
  border-radius: var(--radius-lg);
  transition: all 0.2s ease;
  background: transparent;
}

.feature-vertical-item:hover {
  background: rgba(1, 68, 162, 0.06);
  transform: translateX(6px);
}

.dark .feature-vertical-item:hover {
  background: rgba(59, 130, 246, 0.12);
}

.feature-vertical-item i {
  font-size: 1.5rem;
  color: var(--accent);
  width: 2rem;
  text-align: center;
  flex-shrink: 0;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-decoration: none;
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-md);
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 0.75rem 1.25rem -0.625rem rgba(1, 68, 162, 0.4);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1.375rem 1.875rem -0.75rem rgba(254, 107, 1, 0.45);
}

.cta-buttons-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ========================================
   SECTION TITLES
   ======================================== */

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3.125rem;
  letter-spacing: -0.04em;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  word-break: break-word;
}

/* ========================================
   SYSTEM REQUIREMENTS
   ======================================== */

.system-reqs {
  margin-bottom: var(--spacing-5xl);
}

.requirements-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.req-card {
  background: var(--card);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg) var(--spacing-xl);
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(0.5rem);
  min-width: 12.5rem;
  flex: 1;
}

.req-card:hover {
  transform: translateY(-0.25rem);
  border-color: var(--accent);
}

.req-card i {
  font-size: var(--spacing-xl);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.req-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s ease;
}

/* ========================================
   TECH STACK
   ======================================== */

.tech-stack {
  margin-bottom: var(--spacing-5xl);
  text-align: center;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.tech-badges span {
  background: var(--card);
  border: 0.0625rem solid var(--border);
  border-radius: 2.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
}

.tech-badges span:hover {
  border-color: var(--accent);
  transform: translateY(-0.125rem);
}

.tech-badges span i {
  margin-right: var(--spacing-sm);
  color: var(--accent);
}

.tech-description {
  color: var(--muted);
  font-size: 1rem;
  max-width: 37.5rem;
  margin: 0 auto;
  transition: color 0.3s ease;
}

/* ========================================
   FEATURES GRID
   ======================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: 7.5rem;
}

.feature-card {
  background: var(--card);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(0.625rem);
}

.feature-card:hover {
  transform: translateY(-0.375rem);
  border-color: var(--accent);
  box-shadow: 0 1.25rem 2.1875rem -0.75rem rgba(1, 68, 162, 0.2);
}

.feature-card i {
  font-size: 2.2rem;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--spacing-lg);
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
  transition: color 0.3s ease;
}

.feature-card p {
  color: var(--muted);
  font-size: 1rem;
  transition: color 0.3s ease;
}

/* ========================================
   HOW IT WORKS (STEPS)
   ======================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: 7.5rem;
}

.step-card {
  position: relative;
  padding: var(--spacing-2xl);
  background: var(--card);
  border-radius: var(--radius-xl);
  border: 0.0625rem solid var(--border);
  transition: all 0.2s ease;
}

.step-card:hover {
  border-color: var(--accent);
}

.step-number {
  width: 3.375rem;
  height: 3.375rem;
  border-radius: 1.125rem;
  background: linear-gradient(125deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: var(--spacing-lg);
  box-shadow: 0 0.625rem 1.25rem -0.3125rem rgba(1, 68, 162, 0.4);
}

.step-card h3,
.step-card p {
  transition: color 0.3s ease;
}

/* ========================================
   STEP-BY-STEP DETAILED
   ======================================== */

.steps-detailed {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-5xl);
}

.step-detailed-item {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  background: var(--card);
  border-radius: var(--radius-3xl);
  border: 0.0625rem solid var(--border);
  padding: var(--spacing-xl);
  transition: all 0.25s ease;
  overflow-x: hidden;
}

.step-detailed-item:hover {
  border-color: var(--accent);
  box-shadow: 0 0.75rem 1.75rem -0.75rem rgba(1, 68, 162, 0.2);
}

.step-image-wrapper {
  flex: 1.2;
  min-width: 15rem;
  display: flex;
  justify-content: center;
  background: rgba(1, 68, 162, 0.02);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.steps_img_large {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 0.75rem 1.875rem rgba(0, 0, 0, 0.08);
  border: 0.0625rem solid var(--border);
  transition: transform 0.2s ease;
}

.steps_img_large:hover {
  transform: scale(1.01);
}

.step-text-content {
  flex: 1;
  min-width: 15rem;
}

.step-text-content h2 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(120deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.step-text-content p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.closing-note {
  text-align: center;
  font-size: 1.2rem;
  background: linear-gradient(
    115deg,
    rgba(1, 68, 162, 0.08),
    rgba(254, 107, 1, 0.05)
  );
  padding: 1.75rem;
  border-radius: var(--radius-4xl);
  margin-bottom: var(--spacing-5xl);
  border: 0.0625rem solid var(--border);
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s ease;
}

/* ========================================
   QUICK GUIDE
   ======================================== */

.quick-guide {
  margin: var(--spacing-5xl) auto;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.guide-card {
  background: var(--card);
  border: 0.0625rem solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  transition: all 0.3s ease;
  backdrop-filter: blur(0.5rem);
  overflow-x: hidden;
  word-break: break-word;
}

.guide-card:hover {
  transform: translateY(-0.25rem);
  border-color: var(--accent);
  box-shadow: 0 1.25rem 2.1875rem -0.75rem rgba(1, 68, 162, 0.2);
}

.guide-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.guide-icon i {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.guide-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.guide-card ol {
  margin-left: 1.25rem;
  padding-left: 0;
  list-style-position: outside;
  color: var(--muted);
  line-height: 1.8;
}

.guide-card ol li {
  margin-bottom: var(--spacing-sm);
}

.guide-card ol li strong {
  color: var(--primary);
  font-weight: 600;
}

.guide-card code {
  background: rgba(1, 68, 162, 0.12);
  padding: 0.125rem 0.375rem;
  border-radius: 0.375rem;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--primary);
  word-break: break-word;
  white-space: normal;
}

.dark .guide-card code {
  background: rgba(254, 107, 1, 0.2);
  color: var(--accent);
}

.guide-note {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 0.0625rem solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.guide-note.warning {
  color: var(--warning);
}

.dark .guide-note.warning {
  color: var(--warning-dark);
}

/* ========================================
   PRO TIPS
   ======================================== */

.pro-tips {
  margin-bottom: var(--spacing-5xl);
}

.tips-list {
  background: var(--card);
  border: 0.0625rem solid var(--border);
  border-radius: var(--spacing-xl);
  padding: var(--spacing-2xl);
  backdrop-filter: blur(0.5rem);
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
  overflow-x: hidden;
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 0.0625rem solid var(--border);
  transition: border-color 0.3s ease;
}

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

.tip-item i {
  font-size: 1.3rem;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.tip-content {
  flex: 1;
}

.tip-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 0.0625rem dotted var(--accent);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.tip-content a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tip-content code {
  background: rgba(1, 68, 162, 0.12);
  padding: 0.125rem 0.375rem;
  border-radius: var(--spacing-sm);
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--primary);
  transition:
    background 0.3s ease,
    color 0.3s ease;
  word-break: break-word;
  white-space: normal;
}

.dark .tip-content code {
  background: rgba(254, 107, 1, 0.2);
  color: var(--accent);
}

/* ========================================
   FAQ
   ======================================== */

.faq {
  max-width: 50rem;
  margin: 0 auto var(--spacing-5xl);
  overflow-x: hidden;
}

.faq-item {
  border: 0.0625rem solid var(--border);
  border-radius: 1.375rem;
  margin-bottom: 1.125rem;
  background: var(--card);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  text-align: left;
  padding: var(--spacing-lg) var(--spacing-xl);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
  word-break: break-word;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 187.5rem;
  overflow-y: auto;
}

.faq-answer p {
  padding: 0 var(--spacing-xl) 0.625rem var(--spacing-xl);
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
  transition: color 0.3s ease;
}

.faq-answer ol,
.faq-answer ul {
  padding: 0 var(--spacing-xl) 1.25rem 3.4375rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.faq-answer li {
  margin-bottom: 0.625rem;
  line-height: 1.6;
}

.faq-answer strong {
  color: var(--text);
  font-weight: 700;
  transition: color 0.3s ease;
}

.faq-item i {
  transition: 0.3s;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: var(--spacing-md);
}

.faq-item.active i {
  transform: rotate(180deg);
  color: var(--accent);
}

code {
  background: rgba(1, 68, 162, 0.12);
  padding: 0.125rem 0.375rem;
  border-radius: var(--spacing-sm);
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--primary);
  transition:
    background 0.3s ease,
    color 0.3s ease;
  word-break: break-word;
  white-space: normal;
}

.dark code {
  background: rgba(254, 107, 1, 0.2);
  color: var(--accent);
}

/* ========================================
   DOWNLOAD CTA SECTION
   ======================================== */

.download-cta-section {
  margin: var(--spacing-5xl) auto 6.25rem;
  background: linear-gradient(
    125deg,
    rgba(1, 68, 162, 0.04),
    rgba(254, 107, 1, 0.02)
  );
  border-radius: 3.25rem;
  padding: 3.75rem 2.5rem;
  border: 0.0625rem solid var(--border);
  backdrop-filter: blur(0.5rem);
  transition: all 0.3s ease;
  overflow-x: hidden;
}

.download-cta-section:hover {
  border-color: var(--accent);
  box-shadow: 0 1.5625rem 2.5rem -0.75rem rgba(1, 68, 162, 0.2);
}

.download-cta-container {
  display: flex;
  align-items: center;
  gap: 1.875rem;
}

.download-cta-image {
  flex: 1.6;
  display: flex;
  justify-content: center;
  align-items: center;
}

.download-cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 1.5625rem 3.125rem -0.75rem rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.download-cta-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 1.875rem 3.75rem -0.75rem rgba(0, 0, 0, 0.3);
}

.download-cta-content {
  flex: 1;
}

.download-cta-content h2 {
  text-align: left;
  font-size: var(--spacing-xl);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.download-cta-content p {
  text-align: left;
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: var(--spacing-lg);
  line-height: 1.5;
  color: var(--muted);
}

/* ========================================
   DONATE SECTION
   ======================================== */

.donate-section {
  margin: 3.75rem auto var(--spacing-5xl);
}

.donate-card {
  background: linear-gradient(
    135deg,
    var(--card) 0%,
    rgba(1, 68, 162, 0.05) 100%
  );
  border: 0.0625rem solid var(--border);
  border-radius: var(--spacing-3xl);
  padding: 3.75rem var(--spacing-3xl);
  text-align: center;
  backdrop-filter: blur(0.5rem);
  transition: all 0.3s ease;
  overflow-x: hidden;
}

.donate-card:hover {
  border-color: var(--accent);
  transform: translateY(-0.25rem);
  box-shadow: 0 1.25rem 2.5rem -0.75rem rgba(1, 68, 162, 0.2);
}

.donate-icon {
  font-size: var(--spacing-3xl);
  color: var(--donate-icon);
  margin-bottom: var(--spacing-lg);
  animation: pulse 1.5s ease infinite;
}

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

.donate-card h2 {
  font-size: var(--spacing-xl);
  font-weight: 800;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--donate-icon), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.donate-card p {
  max-width: 40.625rem;
  margin: 0 auto var(--spacing-xl);
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--paypal);
  color: white;
  border: none;
  padding: 0.875rem var(--spacing-xl);
  border-radius: 3.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0.5rem 1.25rem -0.5rem rgba(0, 112, 186, 0.4);
}

.donate-btn:hover {
  background: var(--paypal-dark);
  transform: scale(1.02);
  box-shadow: 0 0.75rem 1.75rem -0.625rem rgba(0, 112, 186, 0.5);
}

/* ========================================
   DONATE MODAL
   ======================================== */

.donate-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.donate-modal.active {
  visibility: visible;
  opacity: 1;
}

.donate-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(0.5rem);
}

.donate-modal-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  max-width: 50rem;
  width: 90%;
  background: var(--bg);
  border: 0.0625rem solid var(--border);
  border-radius: var(--spacing-xl);
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease;
  box-shadow: 0 1.5625rem 3.125rem -0.75rem rgba(0, 0, 0, 0.5);
}

.donate-modal.active .donate-modal-container {
  transform: translate(-50%, -50%) scale(1);
}

.donate-modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: 1.25rem;
  background: var(--card);
  border: 0.0625rem solid var(--border);
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.donate-modal-close:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.donate-modal-left {
  flex: 1;
  min-width: 13.75rem;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  padding: var(--spacing-3xl) var(--spacing-xl);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donor-photo img {
  width: 8.75rem;
  height: 8.75rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.2);
}

.donor-info {
  margin-top: 1.25rem;
  color: white;
}

.donor-info h3 {
  font-size: var(--spacing-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.donor-info p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.donate-modal-right {
  flex: 1.5;
  min-width: 16.25rem;
  padding: var(--spacing-2xl) var(--spacing-xl);
  background: var(--bg);
  text-align: center;
  transition: background 0.3s ease;
}

.modal-logo img {
  max-width: 6.25rem;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 0.25rem 0.5rem rgba(0, 0, 0, 0.1));
}

.modal-message {
  font-size: var(--spacing-md);
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1.75rem;
  transition: color 0.3s ease;
}

.modal-paypal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: var(--paypal);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.75rem;
  border-radius: 2.5rem;
  font-weight: 600;
  transition: all 0.2s ease;
  margin-bottom: var(--spacing-md);
}

.modal-paypal-btn:hover {
  background: var(--paypal-dark);
  transform: translateY(-0.125rem);
}

.modal-note {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.3s ease;
}

.modal-contact-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: var(--spacing-md);
  padding-top: 0.75rem;
  border-top: 0.0625rem solid var(--border);
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
  line-height: 1.4;
}

/* ========================================
   SIDENAV (CODE MAP) STYLES
   ======================================== */

.section-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: transparent;
  padding: 12px 8px;
  border-radius: 40px;
}

.nav-dot-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  text-decoration: none;
}

.nav-dot {
  width: 10px;
  height: 10px;
  background-color: #cbd5e1;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  flex-shrink: 0;
}

.nav-label {
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.nav-dot-item.active .nav-dot {
  width: 14px;
  height: 14px;
  background-color: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.nav-dot-item.active .nav-label {
  font-size: 14px;
  font-weight: 600;
  color: #3b82f6;
}

.nav-dot-item:hover .nav-dot {
  background-color: #3b82f6;
  transform: scale(1.1);
}

.nav-dot-item:hover .nav-label {
  color: #3b82f6;
}

.dark .nav-dot {
  background-color: #475569;
}

.dark .nav-label {
  color: #64748b;
}

.dark .nav-dot-item.active .nav-dot {
  background-color: #60a5fa;
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

.dark .nav-dot-item.active .nav-label {
  color: #60a5fa;
}

.dark .nav-dot-item:hover .nav-dot {
  background-color: #60a5fa;
}

.dark .nav-dot-item:hover .nav-label {
  color: #60a5fa;
}

@media (max-width: 768px) {
  .section-nav {
    display: none;
  }
}

/* ========================================
   MOBILE BURGER MENU STYLES
   ======================================== */

.mobile-nav-btn {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.mobile-nav-btn:hover {
  transform: scale(1.05);
  background: var(--accent);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100%;
  background: var(--bg);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  z-index: 1002;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 80px 20px 40px;
  gap: 20px;
  overflow-y: auto;
}

.mobile-nav-panel.active {
  right: 0;
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: var(--text);
  transition: all 0.2s ease;
}

.mobile-nav-close:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.mobile-nav-item:hover {
  background: var(--card);
}

.mobile-nav-item.active {
  background: var(--primary);
  color: white;
  transform: translateX(-4px);
}

.dark .mobile-nav-item.active {
  background: #3b82f6;
}

.mobile-nav-item.active .mobile-nav-dot {
  background-color: white;
}

.mobile-nav-dot {
  width: 10px;
  height: 10px;
  background-color: var(--muted);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.mobile-nav-item.active .mobile-nav-dot {
  width: 12px;
  height: 12px;
  background-color: white;
}

@media (max-width: 768px) {
  .mobile-nav-btn {
    display: flex;
  }
}

/* ========================================
   IMPROVED FOOTER STYLES
   ======================================== */

.footer-enhanced {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-logo-img {
  width: 60px;
  height: auto;
  transition: transform 0.2s ease;
}

.footer-logo-img:hover {
  transform: scale(1.02);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 220px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
  letter-spacing: -0.3px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text);
  transition: all 0.3s ease;
  font-size: 1.2rem;
  text-decoration: none;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: var(--accent);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo-area {
    align-items: center;
  }
  .footer-tagline {
    max-width: 100%;
  }
  .footer-links a {
    width: auto;
    justify-content: center;
  }
  .social-links {
    justify-content: center;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes floatRocket {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ========================================
   RESPONSIVE MEDIA QUERIES
   ======================================== */

/* Планшети (до 1024px) */
@media (max-width: 1024px) {
  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Мобільні (до 768px) */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .hero {
    padding-top: var(--spacing-5xl);
    padding-bottom: 3.75rem;
  }

  h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xl);
  }

  .closing-note {
    font-size: var(--spacing-md);
    padding: 1.25rem;
    margin-bottom: 3.125rem;
  }

  /* Навігація */
  .nav-actions {
    gap: 0.375rem;
  }

  .nav-download-btn span,
  .lang-btn span,
  .theme-btn span,
  .support-nav-btn span {
    display: none;
  }

  .nav-download-btn i,
  .lang-btn i,
  .theme-btn i,
  .support-nav-btn i {
    margin: 0;
  }

  .nav-download-btn,
  .lang-btn,
  .theme-btn,
  .support-nav-btn {
    padding: var(--spacing-sm) 0.625rem;
  }

  /* Кнопки на всю ширину */
  .cta-group,
  .cta-buttons-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.25rem;
  }

  /* System requirements */
  .requirements-grid {
    gap: var(--spacing-md);
  }

  .req-card {
    min-width: 8.75rem;
    padding: var(--spacing-md);
  }

  .req-card i {
    font-size: var(--spacing-lg);
  }

  .req-card h3 {
    font-size: 0.85rem;
  }

  /* Pro tips */
  .tips-list {
    padding: 1.25rem;
  }

  .tip-item {
    gap: 0.75rem;
  }

  .tip-item i {
    font-size: 1.1rem;
  }

  /* Download CTA */
  .download-cta-section {
    padding: var(--spacing-xl) 1.25rem;
    margin: 2.5rem auto;
    border-radius: var(--spacing-xl);
  }

  .download-cta-container {
    flex-direction: column;
    gap: var(--spacing-lg);
  }

  .download-cta-content h2 {
    text-align: center;
    font-size: 1.4rem;
  }

  .download-cta-content p {
    text-align: center;
    font-size: 0.95rem;
  }

  /* Step by step */
  .steps-detailed {
    gap: var(--spacing-lg);
    margin-bottom: 3.125rem;
  }

  .step-detailed-item {
    flex-direction: column;
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .step-image-wrapper {
    width: 100%;
    order: 1;
    min-width: auto;
  }

  .step-text-content {
    order: 2;
    width: 100%;
    min-width: auto;
  }

  .step-text-content h2 {
    font-size: 1.4rem;
  }

  .step-text-content p {
    font-size: 0.95rem;
  }

  /* Steps cards */
  .steps {
    gap: 1.25rem;
    margin-bottom: 3.75rem;
  }

  .step-card {
    padding: var(--spacing-lg);
  }

  .step-number {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.1rem;
    margin-bottom: 1.125rem;
  }

  /* Features */
  .features-grid {
    gap: var(--spacing-md);
    margin-bottom: 3.75rem;
  }

  .feature-card {
    padding: var(--spacing-lg);
  }

  .feature-card i {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
  }

  .feature-card h3 {
    font-size: 1.2rem;
  }

  .feature-card p {
    font-size: 0.9rem;
  }

  /* Tech stack */
  .tech-stack {
    margin-bottom: 3.125rem;
  }

  .tech-badges {
    gap: 0.625rem;
  }

  .tech-badges span {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Guide grid */
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .quick-guide {
    margin: 2.5rem auto;
  }

  .guide-card {
    padding: 1.25rem;
  }

  .guide-card h3 {
    font-size: 1.2rem;
  }

  .guide-card ol {
    margin-left: var(--spacing-md);
  }

  /* Donate card */
  .donate-card {
    padding: var(--spacing-xl) 1.25rem;
  }

  .donate-card h2 {
    font-size: 1.6rem;
  }

  .donate-card p {
    font-size: 0.95rem;
  }

  .donate-btn {
    width: 100%;
    justify-content: center;
  }

  /* FAQ */
  .faq {
    margin-bottom: 3.125rem;
  }

  .faq-question {
    padding: var(--spacing-md) 1.25rem;
    font-size: 0.95rem;
  }

  .faq-answer p,
  .faq-answer ol,
  .faq-answer ul {
    padding: 0 1.25rem 0.625rem 1.25rem;
    font-size: 0.9rem;
  }

  .faq-answer ol,
  .faq-answer ul {
    padding-left: 2.5rem;
  }

  /* Donate modal */
  .donate-modal-container {
    width: 92%;
    max-height: 85vh;
    flex-direction: column;
    overflow-y: auto;
  }

  .donate-modal-left {
    min-width: unset;
    padding: var(--spacing-lg) 1.25rem;
    border-radius: 1.75rem 1.75rem 0 0;
    flex-direction: row;
    gap: 1.25rem;
    justify-content: center;
    align-items: center;
  }

  .donor-photo img {
    width: 4.375rem;
    height: 4.375rem;
  }

  .donor-info {
    margin-top: 0;
    text-align: left;
  }

  .donor-info h3 {
    font-size: 1.2rem;
  }

  .donor-info p {
    font-size: 0.85rem;
  }

  .donate-modal-right {
    min-width: unset;
    padding: var(--spacing-lg) 1.25rem;
    border-radius: 0 0 1.75rem 1.75rem;
  }

  .modal-logo {
    display: none;
  }

  .modal-message {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .modal-paypal-btn {
    width: 100%;
    justify-content: center;
  }

  .donate-modal-close {
    top: 0.625rem;
    right: 0.625rem;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1.25rem;
  }

  /* Hero features responsive */
  .hero-features-grid {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }

  .rocket-img {
    max-width: 280px;
  }

  .features-vertical {
    width: 100%;
  }

  .feature-vertical-item {
    justify-content: flex-start;
    padding: 0.75rem 1rem;
  }
}

/* Маленькі телефони (до 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  h1 {
    font-size: var(--spacing-xl);
  }

  .hero p {
    font-size: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
  }

  .badge {
    font-size: 0.7rem;
    padding: 0.375rem 0.75rem;
  }

  .section-title {
    font-size: var(--spacing-lg);
  }

  .download-cta-section {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .download-cta-content h2 {
    font-size: 1.2rem;
  }

  .tech-badges span {
    font-size: 0.7rem;
    padding: 0.25rem 0.625rem;
  }

  .step-text-content h2 {
    font-size: 1.2rem;
  }

  .donate-modal-container {
    width: 95%;
    max-height: 80vh;
  }

  .donate-modal-left {
    padding: 1.125rem var(--spacing-md);
    gap: 0.875rem;
  }

  .donor-photo img {
    width: 3.4375rem;
    height: 3.4375rem;
  }

  .donor-info h3 {
    font-size: var(--spacing-md);
  }

  .donor-info p {
    font-size: 0.7rem;
  }

  .donate-modal-right {
    padding: 1.125rem var(--spacing-md);
  }

  .modal-message {
    font-size: 0.8rem;
  }

  /* Hero features mobile */
  .hero-features-grid {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .rocket-img {
    max-width: 250px;
  }

  .feature-vertical-item {
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
  }

  .feature-vertical-item i {
    font-size: 1.2rem;
    width: 1.75rem;
  }
}

/* Дуже маленькі телефони (до 380px) */
@media (max-width: 380px) {
  .donate-modal-container {
    width: 96%;
  }

  .donate-modal-left {
    padding: 0.875rem 0.75rem;
    gap: 0.625rem;
  }

  .donor-photo img {
    width: 2.8125rem;
    height: 2.8125rem;
  }

  .donor-info h3 {
    font-size: 0.9rem;
  }

  .modal-message {
    font-size: 0.75rem;
  }
}
