/* ═══════════════════════════════════
   HOME PAGE STYLES
═══════════════════════════════════ */

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--deep-navy);
}

.hero-video-wrap {
  position: absolute;
  inset: -3%;
  z-index: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

/* Scroll-parallax depth layers inside the hero SVG */
.hero-video-wrap svg [data-depth] {
  transition: transform 0.05s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

/* Gentle drifting water waves */
.hero-wave { animation: wave-drift 8s ease-in-out infinite; transform-origin: center; }
.hero-wave-2 { animation-duration: 11s; animation-direction: reverse; }

@keyframes wave-drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(24px); }
}

/* Breathing sun glow */
.hero-sun-glow { animation: sun-breathe 5s ease-in-out infinite; transform-origin: 960px 200px; }

@keyframes sun-breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}

/* Animated particles in hero: plastic drifting up, dissolving into leaves */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.particle-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  animation: float 6s ease-in-out infinite;
}

.particle-dot:nth-of-type(1) { width: 8px; height: 8px; top: 20%; left: 15%; animation-delay: 0s; }
.particle-dot:nth-of-type(2) { width: 12px; height: 12px; top: 60%; left: 80%; animation-delay: 1s; }
.particle-dot:nth-of-type(3) { width: 6px; height: 6px; top: 80%; left: 30%; animation-delay: 2s; }
.particle-dot:nth-of-type(4) { width: 10px; height: 10px; top: 40%; left: 90%; animation-delay: 3s; }
.particle-dot:nth-of-type(5) { width: 4px; height: 4px; top: 30%; left: 50%; animation-delay: 1.5s; }
.particle-dot:nth-of-type(6) { width: 14px; height: 14px; top: 70%; left: 10%; animation-delay: 2.5s; }
.particle-dot:nth-of-type(7) { width: 5px; height: 5px; top: 15%; left: 65%; animation-delay: 4s; }
.particle-dot:nth-of-type(8) { width: 9px; height: 9px; top: 50%; left: 25%; animation-delay: 0.7s; }

/* Leaf particles: rise, sway, rotate and fade — plastic becoming nature */
.particle-leaf {
  position: absolute;
  width: 18px;
  height: 18px;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(67,196,99,0.35));
  animation: drift-leaf 9s ease-in infinite;
}

.particle-leaf { top: 85%; left: 22%; animation-delay: 0.5s; }
.particle-leaf-2 { top: 90%; left: 68%; width: 14px; height: 14px; animation-delay: 3.5s; animation-duration: 11s; }
.particle-leaf-3 { top: 80%; left: 45%; width: 22px; height: 22px; animation-delay: 6.5s; animation-duration: 10s; }

@keyframes drift-leaf {
  0% { transform: translateY(0) translateX(0) rotate(0deg) scale(0.6); opacity: 0; }
  12% { opacity: 0.9; }
  50% { transform: translateY(-45vh) translateX(18px) rotate(160deg) scale(1); }
  85% { opacity: 0.7; }
  100% { transform: translateY(-92vh) translateX(-14px) rotate(320deg) scale(0.8); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wave, .hero-sun-glow, .particle-dot, .particle-leaf,
  .hero-video-wrap svg [data-depth], .hero-video-wrap {
    animation: none !important;
    transition: none !important;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
  padding-top: var(--header-height);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
  backdrop-filter: blur(12px);
  animation: fadeInUp 0.8s ease both;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fresh-green);
  position: relative;
}

.hero-badge-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--fresh-green);
  animation: pulse-ring 2s ease infinite;
}

.hero-title {
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: white;
  margin-bottom: var(--space-3);
  animation: fadeInUp 0.8s ease 0.15s both;
  max-width: 820px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #5DDFDF, #43C463);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  max-width: 580px;
  margin-bottom: var(--space-6);
  font-weight: 400;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-top: var(--space-10);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,0.12);
  animation: fadeInUp 0.8s ease 0.6s both;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1s both;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scroll-anim 2s ease infinite;
}

@keyframes scroll-anim {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  100% { opacity: 1; }
}

/* ── IMPACT NUMBERS ── */
.impact-section {
  background: linear-gradient(180deg, #f8fffe 0%, white 100%);
  position: relative;
  overflow: hidden;
}

.impact-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 92, 145,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.impact-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(67, 196, 99,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.impact-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

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

.impact-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

.impact-card:hover::before { transform: scaleX(1); }

.impact-icon {
  width: 56px;
  height: 56px;
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  transition: transform var(--transition-spring);
}

.impact-card:hover .impact-icon {
  transform: scale(1.1) rotate(-5deg);
}

.impact-icon svg {
  width: 28px;
  height: 28px;
  color: var(--ocean-blue);
}

.impact-number {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.impact-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.impact-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
}

@media (max-width: 480px) {
  .impact-grid { grid-template-columns: 1fr; }
}

/* ── PROCESS SECTION ── */
.process-section {
  background: linear-gradient(135deg, #061E2D 0%, #0A5C91 60%, #084973 100%);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.process-header { text-align: center; color: white; margin-bottom: var(--space-10); }
.process-header .section-label { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }
.process-header h2 { color: white; }
.process-header p { color: rgba(255,255,255,0.7); }

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

.process-grid::before {
  content: '';
  position: absolute;
  top: 72px;
  left: calc(16.67% + var(--space-4));
  right: calc(16.67% + var(--space-4));
  height: 2px;
  background: rgba(255,255,255,0.15);
  z-index: 0;
}

.process-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  backdrop-filter: blur(16px);
  transition: all var(--transition-base);
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.process-number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  width: 28px;
  height: 28px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
  box-shadow: 0 4px 12px rgba(10, 92, 145,0.4);
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
}

.process-card:hover .process-number {
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 4px 20px rgba(10, 92, 145,0.7);
}

.process-illustration {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-4);
  position: relative;
  transition: transform var(--transition-spring);
}

.process-illustration svg {
  width: 100%;
  height: 100%;
}

.process-card:hover .process-illustration { transform: scale(1.08); }

/* Card 1 — Collect: bag sways, water ripples */
.illus-collect-bag {
  transform-origin: 50px 60px;
  animation: illus-sway 3.4s ease-in-out infinite;
}

.illus-collect-wave { animation: illus-ripple 2.4s ease-in-out infinite; }

@keyframes illus-sway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-3deg); }
}

@keyframes illus-ripple {
  0%, 100% { opacity: 0.3; transform: scaleX(1); }
  50% { opacity: 0.7; transform: scaleX(1.08); }
}

/* Card 2 — Recycle: arrows spin continuously, speed up on hover */
.illus-recycle-spin {
  animation: illus-spin 14s linear infinite;
  transition: animation-duration var(--transition-base);
}

.process-card:hover .illus-recycle-spin { animation-duration: 3s; }

@keyframes illus-spin {
  to { transform: rotate(360deg); }
}

/* Card 3 — Restore: leaves sway like wind through the canopy */
.illus-tree-sway { animation: illus-tree-wind 4s ease-in-out infinite; }

@keyframes illus-tree-wind {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(2.5deg); }
  75% { transform: rotate(-2.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .illus-collect-bag, .illus-collect-wave, .illus-recycle-spin, .illus-tree-sway {
    animation: none !important;
  }
}

.process-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.process-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: var(--space-3);
}

.process-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-fast);
}

.process-link:hover {
  color: white;
  gap: 10px;
}

@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
}

/* ── IMPACT STORY ── */
.story-section { background: white; }

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

.story-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
}

.story-image-wrap img,
.story-image-wrap > svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.story-image-wrap:hover img,
.story-image-wrap:hover > svg { transform: scale(1.04); }

/* Volunteer figure: idle bob, picks up litter faster on hover */
.illus-story-volunteer {
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: illus-volunteer-bob 3s ease-in-out infinite;
  transition: animation-duration var(--transition-base);
}

.story-image-wrap:hover .illus-story-volunteer { animation-duration: 1.1s; }

@keyframes illus-volunteer-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .illus-story-volunteer { animation: none !important; }
}

.story-image-badge {
  position: absolute;
  bottom: var(--space-3);
  left: var(--space-3);
  right: var(--space-3);
  background: rgba(6, 30, 45,0.85);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.story-image-stat {
  text-align: center;
  flex: 1;
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.story-image-stat:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
}

.story-image-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.story-image-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.story-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.story-content h2 { margin-bottom: var(--space-3); }
.story-content .body-text { margin-bottom: var(--space-4); }

.story-quote {
  padding: var(--space-4);
  background: var(--gradient-card);
  border-left: 3px solid var(--ocean-blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--space-4);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.story-quote:hover {
  transform: translateX(4px);
  border-color: var(--fresh-green);
  box-shadow: var(--shadow-md);
}

.story-quote p {
  font-size: 17px;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.6;
}

.story-quote cite {
  display: block;
  margin-top: var(--space-2);
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  color: var(--ocean-blue);
}

@media (max-width: 768px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-image-wrap { aspect-ratio: 16/9; }
}

/* ── MAP SECTION ── */
.map-section { background: var(--light-sand); }

.map-header { text-align: center; margin-bottom: var(--space-8); }

#cleanup-map {
  width: 100%;
  height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  z-index: 0;
  transition: box-shadow var(--transition-base);
}

#cleanup-map:hover { box-shadow: var(--shadow-xl), 0 0 0 4px rgba(10, 92, 145,0.1); }

.map-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  cursor: default;
}

.map-legend-item:hover {
  color: var(--text-primary);
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.legend-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse-ring 2.2s ease infinite;
}

/* ── NEWS SECTION ── */
.news-section { background: white; }
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  gap: var(--space-4);
  flex-wrap: wrap;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-4);
}

.news-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

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

.news-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gradient-card);
}

.news-card.featured .news-card-image { aspect-ratio: 4/3; }

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-card-image img { transform: scale(1.06); }

.news-card-body { padding: var(--space-4); }

.news-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}

.news-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: var(--space-2);
  transition: color var(--transition-fast);
}

.news-card:hover h3 { color: var(--ocean-blue); }
.news-card.featured h3 { font-size: 22px; }

.news-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card:nth-child(1) { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-card:nth-child(1) { grid-column: auto; }
}

/* ── PARTNERS ── */
.partners-section {
  background: var(--light-sand);
  padding: var(--space-10) 0;
}

.partners-header { text-align: center; margin-bottom: var(--space-8); }

.partners-track-wrap {
  overflow: hidden;
  position: relative;
}

.partners-track-wrap::before,
.partners-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.partners-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--light-sand), transparent);
}

.partners-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--light-sand), transparent);
}

.partners-track {
  display: flex;
  gap: var(--space-6);
  animation: scroll-track 25s linear infinite;
  width: max-content;
}

@keyframes scroll-track {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partners-track:hover { animation-play-state: paused; }

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-4);
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  min-width: 160px;
  height: 72px;
  filter: grayscale(100%) opacity(0.5);
  transition: all var(--transition-base);
  cursor: pointer;
}

.partner-logo:hover {
  filter: grayscale(0%) opacity(1);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(10, 92, 145,0.25);
}

.partner-logo span {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ── NEWSLETTER ── */
.newsletter-section {
  background: white;
  position: relative;
  overflow: hidden;
}

.newsletter-inner {
  background: linear-gradient(135deg, #EBF5FF 0%, #F0FFF8 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-inner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(10, 92, 145,0.1), transparent 70%);
}

.newsletter-inner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(67, 196, 99,0.1), transparent 70%);
}

.newsletter-content {
  position: relative;
  z-index: 1;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  max-width: 520px;
  margin: var(--space-5) auto 0;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 15px;
  background: white;
  transition: all var(--transition-fast);
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--ocean-blue);
  box-shadow: 0 0 0 4px rgba(10, 92, 145,0.1);
}

@media (max-width: 640px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-input { width: 100%; }
  .newsletter-inner { padding: var(--space-8) var(--space-4); }
}

/* ── FINAL CTA ── */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #061E2D 0%, #0A5C91 50%, #43C463 100%);
  background-size: 200% 200%;
  animation: gradient-shift 8s ease infinite;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='rgba(255,255,255,0.05)' d='M0,160L60,144C120,128,240,96,360,112C480,128,600,192,720,197.3C840,203,960,149,1080,138.7C1200,128,1320,160,1380,176L1440,192L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-3);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-6);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Draw the eye to the primary conversion action */
.cta-actions .btn-primary {
  position: relative;
}

.cta-actions .btn-primary::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(255,255,255,0.5);
  animation: cta-pulse-ring 2.4s ease-out infinite;
  pointer-events: none;
}

@keyframes cta-pulse-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.12); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-actions .btn-primary::before { animation: none; display: none; }
}
