/* ========================================================
   Основни променливи и Reset
   ======================================================== */
:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #34d399;
  --primary-glow: rgba(16, 185, 129, 0.35);
  --forest-dark: #064e3b;
  --bg-dark: #0b1512;
  --bg-card: #13221d;
  --bg-card-hover: #1b2f28;
  --text-main: #f3fbf6;
  --text-muted: #94a3b8;
  --border-color: rgba(52, 211, 153, 0.15);
  --accent-blue: #38bdf8;
  --accent-yellow: #facc15;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================
   Навигация
   ======================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: rgba(11, 21, 18, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.logo-icon {
  font-size: 1.6rem;
  animation: leafBounce 3s ease-in-out infinite;
}

.logo-text strong {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a:not(.nav-btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:not(.nav-btn):hover::after {
  width: 100%;
}

.nav-btn {
  background: var(--primary);
  color: #042419 !important;
  font-weight: 700 !important;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px var(--primary-glow);
}

.nav-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--primary-glow);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition);
}

/* ========================================================
   Hero Секция с Canvas
   ======================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, #153328 0%, var(--bg-dark) 70%);
}

#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

/* Бутони */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #022c22;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.scroll-down-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.8rem;
  z-index: 2;
  opacity: 0.8;
  animation: floatDown 2s infinite ease-in-out;
}

.mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

/* ========================================================
   Статистика секция
   ======================================================== */
.stats-section {
  padding: 50px 0;
  position: relative;
  z-index: 5;
  margin-top: -40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.stat-card {
  background: rgba(19, 34, 29, 0.8);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ========================================================
   Общи секции & Заглавия
   ======================================================== */
section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.sub-title {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ========================================================
   Features / За каузата
   ======================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.bg-green { background: rgba(16, 185, 129, 0.2); }
.bg-blue { background: rgba(56, 189, 248, 0.2); }
.bg-yellow { background: rgba(250, 204, 21, 0.2); }
.bg-emerald { background: rgba(5, 150, 105, 0.2); }

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========================================================
   Интерактивно сравнение: Преди и След
   ======================================================== */
.comparison-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1a16 100%);
}

.compare-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.compare-container {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  user-select: none;
  cursor: ew-resize;
}

.compare-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.compare-before {
  z-index: 2;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid white;
}

.compare-after {
  z-index: 1;
}

.image-art {
  width: 100%;
  min-width: 700px;
  height: 100%;
  position: relative;
}

/* Чиста природа (Зелено бъдеще) */
.green-nature {
  background: linear-gradient(180deg, #38bdf8 0%, #6ee7b7 60%, #059669 100%);
}

.sun {
  position: absolute;
  top: 40px;
  right: 120px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef08a 30%, #facc15 100%);
  box-shadow: 0 0 45px #facc15;
  animation: sunGlow 4s infinite alternate;
}

.birds {
  position: absolute;
  top: 50px;
  left: 150px;
  font-size: 1.6rem;
  letter-spacing: 12px;
  animation: birdFly 8s linear infinite;
}

.river {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  clip-path: ellipse(75% 100% at 50% 100%);
}

.trees {
  position: absolute;
  bottom: 60px;
  display: flex;
  gap: 70px;
  left: 60px;
}

.tree {
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 90px solid #047857;
  position: relative;
}

.tree::after {
  content: '';
  position: absolute;
  top: 90px;
  left: -10px;
  width: 20px;
  height: 25px;
  background: #78350f;
}

/* Замърсена природа */
.polluted-nature {
  background: linear-gradient(180deg, #475569 0%, #334155 50%, #1e293b 100%);
}

.smog {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(100, 116, 139, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.factory {
  position: absolute;
  bottom: 80px;
  left: 120px;
  width: 110px;
  height: 80px;
  background: #0f172a;
}

.chimney {
  position: absolute;
  top: -45px;
  left: 20px;
  width: 25px;
  height: 45px;
  background: #1e293b;
}

.smoke {
  position: absolute;
  top: -65px;
  left: 15px;
  width: 40px;
  height: 30px;
  background: rgba(148, 163, 184, 0.6);
  border-radius: 50%;
  filter: blur(8px);
  animation: smokeRise 3s infinite ease-out;
}

.dead-trees {
  position: absolute;
  bottom: 60px;
  right: 150px;
  display: flex;
  gap: 60px;
}

.dead-tree {
  width: 8px;
  height: 70px;
  background: #451a03;
  position: relative;
}

.dead-tree::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -15px;
  width: 25px;
  height: 4px;
  background: #451a03;
  transform: rotate(-30deg);
}

.waste {
  position: absolute;
  bottom: 20px;
  left: 40px;
  font-size: 2rem;
  letter-spacing: 20px;
}

.art-badge {
  position: absolute;
  top: 20px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 5;
}

.art-badge.green {
  right: 20px;
  background: rgba(5, 150, 105, 0.9);
  color: white;
}

.art-badge.dark {
  left: 20px;
  background: rgba(15, 23, 42, 0.9);
  color: #f87171;
}

/* Плъзгач копче */
.compare-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  color: #064e3b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 3px solid var(--primary);
  animation: pulseButton 2s infinite;
}

/* ========================================================
   Еко Калкулатор
   ======================================================== */
.calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.input-group select {
  padding: 12px 16px;
  background: #0d1a16;
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--text-main);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.input-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.btn-calc {
  margin-top: 10px;
  justify-content: center;
}

.calc-results {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.4), rgba(16, 185, 129, 0.1));
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.result-circle {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 4px dashed var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: rotateBorder 40s linear infinite;
}

.result-val {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
}

.result-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.trees-impact p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.tree-count {
  font-size: 1.5rem;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 12px;
}

.tree-visualizer {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  max-width: 280px;
  min-height: 40px;
}

.mini-tree {
  font-size: 1.3rem;
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* ========================================================
   Еко Викторина (Quiz)
   ======================================================== */
.quiz-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.quiz-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.quiz-progress-fill {
  height: 100%;
  width: 33.3%;
  background: linear-gradient(90deg, var(--primary), var(--accent-blue));
  transition: width 0.4s ease;
}

.quiz-header {
  margin-bottom: 16px;
}

.quiz-step {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
}

.quiz-question {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.quiz-option-btn {
  background: #0e1e18;
  border: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-align: left;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.quiz-option-btn:hover:not(:disabled) {
  background: #173228;
  border-color: var(--primary);
  transform: translateX(4px);
}

.quiz-option-btn.correct {
  background: rgba(16, 185, 129, 0.25);
  border-color: var(--primary);
  color: #6ee7b7;
  font-weight: 700;
}

.quiz-option-btn.incorrect {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fca5a5;
}

.quiz-feedback {
  font-size: 0.95rem;
  min-height: 24px;
  margin-bottom: 16px;
  font-weight: 500;
}

.quiz-feedback.success { color: #34d399; }
.quiz-feedback.error { color: #f87171; }

/* ========================================================
   Обещание (Pledge) Секция
   ======================================================== */
.pledge-card {
  background: radial-gradient(circle at bottom right, #064e3b 0%, var(--bg-card) 60%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.pledge-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.pledge-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.form-row input,
.form-row select {
  padding: 14px 18px;
  background: #091310;
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.pledge-message {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--primary-light);
  font-weight: 600;
}

.recent-pledges {
  background: rgba(11, 21, 18, 0.6);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.recent-pledges h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--primary-light);
}

.pledge-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pledge-list li {
  font-size: 0.9rem;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pledge-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pledge-list strong {
  color: #fff;
  display: block;
}

.pledge-list span {
  color: var(--text-muted);
  font-style: italic;
}

/* ========================================================
   Футър
   ======================================================== */
.footer {
  background: #070d0b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-brand {
  max-width: 400px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-links h4 {
  font-size: 0.95rem;
  margin-right: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================================
   Keyframes & Animations
   ======================================================== */
.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInDown 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

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

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover .card-glow {
  opacity: 1;
}

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

@keyframes leafBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(10deg); }
}

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

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

@keyframes sunGlow {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.1); filter: brightness(1.2); }
}

@keyframes smokeRise {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  100% { transform: translateY(-35px) scale(2.2); opacity: 0; }
}

@keyframes birdFly {
  0% { transform: translateX(0); }
  50% { transform: translateX(40px) translateY(-10px); }
  100% { transform: translateX(80px); }
}

@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Reveal на скрол */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================================
   Responsive Media Queries
   ======================================================== */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .calc-card,
  .pledge-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0d1a16;
    flex-direction: column;
    padding: 24px 0;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    clip-path: circle(0% at top right);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-links.active {
    clip-path: circle(150% at top right);
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .compare-container {
    height: 320px;
  }
}
