:root {
  --background: #0a0a0a;
  --foreground: #f0f0f0;

  --primary: #62B790; /* SEED Green */
  --primary-foreground: #000000;
  --primary-glow: rgba(98, 183, 144, 0.4);

  --brand-orange: #FD814B;
  --brand-orange-glow: rgba(253, 129, 75, 0.4);

  --secondary: #1a1a1a;
  --accent: #FD814B;

  --border: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);

  --radius: 16px;
}

[data-theme="light"] {
  --background: #ffffff;
  --foreground: #121212;
  --secondary: #f4f4f4;
  --accent: #FD814B;
  --border: rgba(0,0,0,0.1);
  --glass: rgba(255,255,255,0.7);
  --glass-border: rgba(0,0,0,0.1);
  --primary-glow: rgba(98, 183, 144, 0.6);
}

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

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-inter);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-poppins);
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Glassmorphism utilities */
.glass {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: var(--primary);
}

[data-theme="light"] .glass-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  line-height: 1.2;
  font-family: var(--font-poppins);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 700px;
}

[data-theme="light"] .subtitle {
  color: rgba(0, 0, 0, 0.6);
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero > .container {
  margin: auto;
  padding-top: clamp(6rem, 15vh, 10rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-glow {
  color: var(--accent);
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}
.nav-link:hover {
  color: var(--accent);
}

/* Animated Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, var(--foreground), rgba(255,255,255,0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .gradient-text {
  background: linear-gradient(90deg, var(--foreground), rgba(0,0,0,0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.primary-gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--brand-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Beautiful custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--background);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Responsive and Hero Utils */
.hero-title {
  font-size: clamp(2.8rem, 8vw, 5rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  line-height: 1.1;
  font-family: var(--font-poppins);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin: 0 auto clamp(2rem, 4vw, 3rem) auto;
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  line-height: 1.6;
}

[data-theme="light"] .hero-subtitle {
  color: rgba(0, 0, 0, 0.7);
}

.flex-center {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }
  .section {
    padding: 5rem 0;
  }
  .container {
    padding: 0 1.5rem;
  }
  .flex-center {
    flex-direction: column;
    align-items: stretch;
  }
  .flex-center a {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

.scrolled {
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

[data-theme="light"] .scrolled {
  background: rgba(255, 255, 255, 0.8);
}

.navContainer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-poppins);
  letter-spacing: -0.05em;
  text-decoration: none;
}

.navLinks {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navActions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.themeToggleBtn {
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}

.themeToggleBtn:hover {
  background: var(--glass);
  color: var(--accent);
}

.mobileMenuBtn {
  display: none;
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

.mobileMenu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: var(--background);
  z-index: 100;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}

.mobileMenuHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.closeBtn {
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

.mobileNavLinks {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-size: 1.25rem;
}

.mobileNavLinks a {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.mobileAction {
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .navLinks, .navActions {
    display: none;
  }
  .mobileMenuBtn {
    display: block;
  }
}
.footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 0 0;
  margin-top: 4rem;
}

.footerGrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-poppins);
  letter-spacing: -0.05em;
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
}

.desc {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 400px;
}

[data-theme="light"] .desc {
  color: rgba(0, 0, 0, 0.6);
}

.donateBox {
  margin-top: 2rem;
}

.footer .title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

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

.links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

[data-theme="light"] .links a {
  color: rgba(0, 0, 0, 0.6);
}

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

.contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contactItem {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

[data-theme="light"] .contactItem {
  color: rgba(0, 0, 0, 0.7);
}

.contactItem svg {
  color: var(--brand-orange);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.bottom {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

[data-theme="light"] .bottom {
  color: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
  .footerGrid {
    grid-template-columns: 1fr 1fr;
  }
  .title {
    font-size: clamp(2.4rem, 5vw, 3.5rem);
  }
  .navLinks {
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .footerGrid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: var(--font-inter);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 20px var(--primary-glow);
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--primary-glow), 0 5px 15px rgba(0,0,0,0.3);
  background: #509e7a;
}

.secondary {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.secondary:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #000;
}

.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
