/* ══════════════════════════════════════════════
   CSS CUSTOM PROPERTIES — LIGHT & DARK THEMES
   ══════════════════════════════════════════════ */
:root {
  --bg-primary: #f0f7ff;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-hero: linear-gradient(135deg, #0a4d8c 0%, #0e7cc2 40%, #14a8d9 70%, #5ecde6 100%);
  --bg-hero-overlay: rgba(10, 77, 140, 0.15);
  --text-primary: #1a2a3a;
  --text-secondary: #4a6a8a;
  --text-muted: #7a9ab0;
  --text-on-hero: #ffffff;
  --accent: #0e7cc2;
  --accent-light: #e0f3ff;
  --accent-hover: #0a5f99;
  --border: rgba(14, 124, 194, 0.12);
  --shadow-sm: 0 2px 8px rgba(10, 77, 140, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 77, 140, 0.1);
  --shadow-lg: 0 20px 60px rgba(10, 77, 140, 0.15);
  --shadow-card-hover: 0 20px 50px rgba(10, 77, 140, 0.18);
  --glass: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.3);
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  --section-alt: #e8f4fd;
  --footer-bg: #0a2540;
  --footer-text: #a0c4e8;
  --stat-bg: rgba(255, 255, 255, 0.15);
  --toggle-bg: #e0ecf5;
  --toggle-knob: #0e7cc2;
  --preloader-bg: #0a4d8c;
  --wave-color: rgba(255, 255, 255, 0.06);
  --cta-gradient: linear-gradient(135deg, #0e7cc2 0%, #14a8d9 100%);
  --icon-filter: none;
}

[data-theme="dark"] {
  --bg-primary: #0b1929;
  --bg-secondary: #0f2238;
  --bg-card: #132d4a;
  --bg-hero: linear-gradient(135deg, #06101f 0%, #0b1e3a 40%, #0f2d52 70%, #143d6b 100%);
  --bg-hero-overlay: rgba(6, 16, 31, 0.3);
  --text-primary: #e0eaf5;
  --text-secondary: #8ab0d4;
  --text-muted: #5a88b0;
  --text-on-hero: #e8f4ff;
  --accent: #3db8e8;
  --accent-light: #0f2d52;
  --accent-hover: #5ecde6;
  --border: rgba(61, 184, 232, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 20px 50px rgba(0, 0, 0, 0.5);
  --glass: rgba(15, 34, 56, 0.8);
  --glass-border: rgba(61, 184, 232, 0.15);
  --gradient-card: linear-gradient(135deg, #132d4a 0%, #0f2238 100%);
  --section-alt: #0f2238;
  --footer-bg: #060e1a;
  --footer-text: #5a88b0;
  --stat-bg: rgba(255, 255, 255, 0.06);
  --toggle-bg: #1a3a5c;
  --toggle-knob: #3db8e8;
  --preloader-bg: #06101f;
  --wave-color: rgba(255, 255, 255, 0.02);
  --cta-gradient: linear-gradient(135deg, #0e5a8c 0%, #0f7cb8 100%);
  --icon-filter: brightness(1.2);
}

/* ══════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background 0.5s ease, color 0.5s ease;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

/* ══════════════════════════════════════════════
   PRELOADER
   ══════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--preloader-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-ring {
  width: 80px; height: 80px;
  position: relative;
}
.preloader-ring svg {
  width: 100%; height: 100%;
  animation: preloaderSpin 1.4s linear infinite;
}
.preloader-ring circle {
  fill: none;
  stroke: #3db8e8;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 180;
  stroke-dashoffset: 60;
  animation: preloaderDash 1.4s ease-in-out infinite;
}
@keyframes preloaderSpin { to { transform: rotate(360deg); } }
@keyframes preloaderDash {
  0% { stroke-dashoffset: 180; }
  50% { stroke-dashoffset: 45; }
  100% { stroke-dashoffset: 180; }
}
.preloader-text {
  margin-top: 24px;
  color: #5ecde6;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: preloaderPulse 1.4s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ══════════════════════════════════════════════
   CONTAINER
   ══════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════════════
   HEADER / NAV
   ══════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-on-hero);
  transition: color 0.4s ease;
  z-index: 10;
}
.header.scrolled .logo { color: var(--accent); }
.logo-icon {
  width: 38px; height: 38px;
  transition: transform 0.3s ease;
}
.logo:hover .logo-icon { transform: rotate(-10deg) scale(1.1); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
  position: relative;
}
.header.scrolled .nav-links a { color: var(--text-secondary); }
.nav-links a:hover { color: #5ecde6; }
.header.scrolled .nav-links a:hover { color: var(--accent); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

/* Header Controls Group */
.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.theme-toggle .icon {
  font-size: 1.1rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toggle-track {
  width: 52px; height: 28px;
  background: var(--toggle-bg);
  border-radius: 14px;
  position: relative;
  transition: background 0.4s ease;
  border: 2px solid var(--border);
}
.toggle-knob {
  width: 22px; height: 22px;
  background: var(--toggle-knob);
  border-radius: 50%;
  position: absolute;
  top: 1px; left: 1px;
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), background 0.4s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
[data-theme="dark"] .toggle-knob {
  transform: translateX(24px);
}

/* ══════════════════════════════════════════════
   LANGUAGE SWITCHER
   ══════════════════════════════════════════════ */
.lang-switcher {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.header.scrolled .lang-btn {
  border-color: var(--border);
  background: var(--accent-light);
  color: var(--accent);
}
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}
.header.scrolled .lang-btn:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.lang-btn .lang-flag {
  font-size: 1.1rem;
  line-height: 1;
}
.lang-btn .lang-code {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lang-btn .lang-arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
  margin-left: 2px;
}
.lang-switcher.open .lang-btn .lang-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: none;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: var(--text-primary);
}
.lang-option:hover {
  background: var(--accent-light);
}
.lang-option.active {
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
}
.lang-option .opt-flag {
  font-size: 1.25rem;
  line-height: 1;
}
.lang-option .opt-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.lang-option .opt-name {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.2;
}
.lang-option .opt-native {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.2;
}
.lang-option.active .opt-native {
  color: var(--accent);
  opacity: 0.7;
}
.lang-option .opt-check {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lang-option.active .opt-check {
  opacity: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text-on-hero);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.header.scrolled .hamburger span { background: var(--text-primary); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--glass);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
}
.mobile-nav a:hover { color: var(--accent); }

/* ══════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--bg-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  animation: heroBubble 8s ease-in-out infinite;
}
.hero-bubble:nth-child(1) { width: 300px; height: 300px; top: -80px; right: -60px; animation-delay: 0s; }
.hero-bubble:nth-child(2) { width: 200px; height: 200px; bottom: 10%; left: -50px; animation-delay: 2s; }
.hero-bubble:nth-child(3) { width: 150px; height: 150px; top: 30%; right: 20%; animation-delay: 4s; }
.hero-bubble:nth-child(4) { width: 100px; height: 100px; bottom: 20%; right: 10%; animation-delay: 1s; }
.hero-bubble:nth-child(5) { width: 60px; height: 60px; top: 50%; left: 15%; animation-delay: 3s; }
@keyframes heroBubble {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.5; }
  50% { transform: translateY(-30px) scale(1.05); opacity: 0.8; }
}

/* Animated Wave Bottom */
.hero-waves {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 120px;
  overflow: hidden;
}
.hero-wave {
  position: absolute;
  bottom: 0; left: 0;
  width: 200%;
  height: 100%;
}
.hero-wave svg { width: 100%; height: 100%; }
.hero-wave:nth-child(1) { animation: waveMove 8s linear infinite; opacity: 0.4; }
.hero-wave:nth-child(2) { animation: waveMove 12s linear infinite reverse; opacity: 0.25; bottom: 5px; }
.hero-wave:nth-child(3) { animation: waveMove 15s linear infinite; opacity: 0.15; bottom: 10px; }
@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-content {
  opacity: 0;
  transform: translateY(-40px);
  animation: heroFadeIn 1s ease forwards;
  animation-delay: 0.8s;
}
@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 40px;
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #b8e6f5;
  margin-bottom: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: #5ecde6;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.4); opacity: 1; }
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--text-on-hero);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #5ecde6 0%, #a8e6f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: #ffffff;
  color: #0a4d8c;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

/* Hero Illustration */
.hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0;
  transform: translateX(60px);
  animation: heroIllIn 1.2s ease forwards;
  animation-delay: 1s;
}
@keyframes heroIllIn {
  to { opacity: 1; transform: translateX(0); }
}
.hero-visual {
  width: 100%;
  max-width: 520px;
  position: relative;
}
.hero-visual svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.2));
}

/* Floating elements in hero */
.float-element {
  position: absolute;
  animation: floatY 6s ease-in-out infinite;
}
.float-element:nth-child(2) { animation-delay: 1s; }
.float-element:nth-child(3) { animation-delay: 2s; }
.float-element:nth-child(4) { animation-delay: 3s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(3deg); }
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-on-hero);
}
.hero-stat .label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ══════════════════════════════════════════════
   SECTION COMMON
   ══════════════════════════════════════════════ */
section {
  padding: 100px 0;
  transition: background 0.5s ease;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-label::before, .section-label::after {
  content: '';
  width: 30px; height: 1px;
  background: var(--accent);
  opacity: 0.4;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title .accent { color: var(--accent); }
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════
   FEATURE CARDS
   ══════════════════════════════════════════════ */
.features { background: var(--bg-primary); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--cta-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--accent);
}

.feature-icon {
  width: 60px; height: 60px;
  background: var(--accent-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  transition: all 0.4s ease;
}
.feature-card:hover .feature-icon {
  background: var(--accent);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 25px rgba(14, 124, 194, 0.3);
}
.feature-card:hover .feature-icon svg path { fill: #ffffff; }

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════
   ECOSYSTEM SECTION
   ══════════════════════════════════════════════ */
.ecosystem { background: var(--section-alt); }
.eco-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.eco-visual { position: relative; }
.eco-visual svg {
  width: 100%;
  height: auto;
  filter: var(--icon-filter);
}
.eco-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.eco-content > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}
.eco-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.eco-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.eco-list li:hover {
  transform: translateX(8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.eco-list .check {
  width: 28px; height: 28px;
  background: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}
.eco-list .info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.eco-list .info span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════
   SPECIES GALLERY
   ══════════════════════════════════════════════ */
.species { background: var(--bg-primary); }
.species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.species-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  cursor: pointer;
}
.species-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-card-hover);
}
.species-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.species-img svg {
  width: 70%; height: 70%;
  transition: transform 0.5s ease;
}
.species-card:hover .species-img svg {
  transform: scale(1.1) rotate(2deg);
}
.species-img-bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}
.species-info { padding: 20px; }
.species-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.species-info .latin {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 10px;
}
.species-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.species-tags {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.species-tags span {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--accent);
}

/* ══════════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════════ */
.stats-bar {
  background: var(--cta-gradient);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--stat-bg);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}
.stat-item:hover { transform: translateY(-4px); }
.stat-item .number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ══════════════════════════════════════════════
   NEWSLETTER / CTA
   ══════════════════════════════════════════════ */
.cta-section { background: var(--section-alt); }
.cta-box {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.cta-box h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  position: relative;
}
.cta-box > p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}
.cta-form input {
  flex: 1;
  padding: 14px 24px;
  border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
}
.cta-form input:focus { border-color: var(--accent); }
.cta-form input::placeholder { color: var(--text-muted); }
.cta-form .btn-cta {
  padding: 14px 30px;
  border-radius: 50px;
  background: var(--cta-gradient);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.cta-form .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 124, 194, 0.35);
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer {
  background: var(--footer-bg);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--footer-text);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  color: var(--footer-text);
  font-size: 0.85rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}
.footer-col ul a:hover {
  color: #3db8e8;
  transform: translateX(4px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  color: var(--footer-text);
  font-size: 0.8rem;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-text);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-socials a:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--cta-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 900;
  border: none;
  box-shadow: 0 4px 15px rgba(14, 124, 194, 0.3);
  font-size: 1.2rem;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(14, 124, 194, 0.45);
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-illustration { order: -1; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .eco-grid { grid-template-columns: 1fr; }
  .eco-visual { order: -1; max-width: 400px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .nav-links { display: none; }
  .hero h1 { font-size: 2rem; }
  .hero-visual { max-width: 300px; }
  .features-grid { grid-template-columns: 1fr; }
  .species-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .cta-box { padding: 40px 24px; }
  .cta-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  section { padding: 70px 0; }
  .lang-btn .lang-code { display: none; }
  .lang-btn { padding: 7px 10px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.7rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .species-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .theme-toggle .icon { display: none; }
}

/* ══════════════════════════════════════════════
   PARTICLES (subtle background animation)
   ══════════════════════════════════════════════ */
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) translateX(30px); opacity: 0; }
}

