/* ===== VARIABLES ===== */
:root {
  /* Primary Colors */
  --primary: #6c5ce7;
  --primary-light: #a29bfe;
  --primary-dark: #4834d4;

  /* Secondary Colors */
  --secondary: #fd79a8;
  --secondary-light: #ffafcc;
  --secondary-dark: #e84393;

  /* Support Colors */
  --support: #00cec9;
  --support-light: #81ecec;
  --support-dark: #00b894;

  /* Alert Colors */
  --alert: #ff7675;
  --alert-light: #ffafaf;
  --alert-dark: #d63031;

  /* Neutrals */
  --light: #f8f9fa;
  --dark: #2d3436;
  --gray: #636e72;
  --light-gray: #dfe6e9;

  /* Gradients */
  --hero-gradient: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
  --feature-gradient: linear-gradient(135deg, #6c5ce7 0%, #fd79a8 100%);

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
  transition: var(--transition);
}

body.dark-mode {
  background-color: #121212;
  color: #f0f0f0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

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

ul {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 70px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.dark-mode h2::after {
  background: var(--secondary);
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.dark-mode .section-header p {
  color: #b0b0b0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}

.primary-btn {
  background: var(--primary);
  color: white;
}

.primary-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.secondary-btn {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.secondary-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.dark-mode .secondary-btn {
  color: var(--secondary-light);
  border-color: var(--secondary-light);
}

.dark-mode .secondary-btn:hover {
  background: var(--secondary-light);
  color: var(--dark);
}

.donate-btn {
  padding: 15px 40px;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.text-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.text-link i {
  margin-left: 5px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.text-link:hover {
  color: var(--primary-dark);
}

.text-link:hover i {
  transform: translateX(3px);
}

.dark-mode .text-link {
  color: var(--secondary-light);
}

.dark-mode .text-link:hover {
  color: var(--secondary);
}

/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.dark-mode header {
  background: rgba(18, 18, 18, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo h1 {
  font-size: 2rem;
  color: var(--primary);
  margin: 0;
  font-weight: 800;
}
#logo-id {
  top: 20px;
  left: 20px;
  width: 130px;
  height: auto;
  z-index: 1000;
}

.dark-mode .logo h1 {
  color: var(--secondary-light);
}

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

.dark-mode nav ul li a::after {
  background: var(--secondary-light);
}

.donate-nav-btn {
  background: var(--secondary);
  color: white;
  padding: 8px 20px;
}

.donate-nav-btn:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
}

.theme-toggle button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--dark);
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.theme-toggle button:hover {
  background: var(--light-gray);
}

.dark-mode .theme-toggle button {
  color: var(--light);
}

.dark-mode .theme-toggle button:hover {
  background: #333;
}

.theme-toggle .fa-sun {
  display: block;
}

.theme-toggle .fa-moon {
  display: none;
}

.dark-mode .theme-toggle .fa-sun {
  display: none;
}

.dark-mode .theme-toggle .fa-moon {
  display: block;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION - ENHANCED ===== */
.hero {
  min-height: 100vh;
  padding: 180px 0 100px;
  color: white;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #6c5ce7, #00cec9, #4834d4, #6c5ce7);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  display: flex;
  align-items: center;
}

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

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 15%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 15%);
  z-index: 1;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-content {
  
  flex: 1;
  max-width: 600px;
  animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tagline {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  animation: fadeInLeft 1s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  animation: fadeInLeft 1s ease-out 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  animation: fadeInLeft 1s ease-out 0.6s forwards;
  opacity: 0;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.hero-image img {
  max-width: 80%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 5px solid rgba(255, 255, 255, 0.1);
}

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

/* ===== FEATURES SECTION ===== */
.features {
  padding: 100px 0;
  background: white;
}

.dark-mode .features {
  background: #1a1a1a;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--light-gray);
  transform: translateY(0px) scale(1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.dark-mode .feature-card {
  background: #222;
  border-color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(108, 92, 231, 0.3);
}

.dark-mode .feature-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(253, 121, 168, 0.3);
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon i {
  color: white !important;
  font-size: 2rem;
  display: block;
}

.feature-card:hover h3 {
  color: var(--primary);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.dark-mode .feature-card:hover h3 {
  color: var(--secondary-light);
}

.feature-card h3 {
  margin-bottom: 15px;
  transition: all 0.3s ease;
  transform: translateY(0px);
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 100px 0;
  background: #f8f9fa;
}

.dark-mode .about {
  background: #151515;
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  flex: 0 0 300px;
}

.stat-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  transform: translateY(0px);
  cursor: pointer;
}

.dark-mode .stat-card {
  background: #222;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.dark-mode .stat-card h3 {
  color: var(--secondary-light);
}

/* ===== DOWNLOAD SECTION ===== */
.download {
  padding: 100px 0;
  background: white;
}

.dark-mode .download {
  background: #1a1a1a;
}

.download-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.download-text {
  flex: 1;
}

.download-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.download-image img {
  max-width: 80%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.notify-form {
  display: flex;
  margin: 30px 0;
  max-width: 500px;
}

.notify-form input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid var(--light-gray);
  border-radius: 50px 0 0 50px;
  font-size: 1rem;
  outline: none;
}

.dark-mode .notify-form input {
  background: #333;
  border-color: #444;
  color: white;
}

.notify-form button {
  border-radius: 0 50px 50px 0;
  padding: 15px 30px;
}

.app-stores {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background: var(--dark);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  transition: var(--transition);
}

.store-badge:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.store-badge i {
  font-size: 2rem;
}

.store-badge span {
  display: flex;
  flex-direction: column;
}

.store-badge strong {
  font-weight: 700;
}

.coming-soon {
  background: var(--gray);
  opacity: 0.8;
}

/* ===== DONATE SECTION ===== */
.donate {
  padding: 100px 0;
  background: #f8f9fa;
}

.dark-mode .donate {
  background: #151515;
}

.donate-content {
  display: flex;
  gap: 50px;
  align-items: center;
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: var(--shadow-md);
}

.dark-mode .donate-content {
  background: #222;
}

.donate-text {
  flex: 1;
}

.donate-qr {
  flex: 0 0 250px;
  text-align: center;
}

.qr-code {
  background: white;
  padding: 15px;
  border-radius: 10px;
  display: inline-block;
  box-shadow: var(--shadow-sm);
}

.qr-code img {
  width: 200px;
  height: 200px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--dark);
  color: white;
  padding: 80px 0 0;
}

.footer-content {
  display: flex;
  gap: 50px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.footer-logo {
  flex: 1;
  min-width: 300px;
}

.footer-logo h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.footer-logo p {
  color: #b0b0b0;
  max-width: 300px;
}

.footer-links {
  flex: 2;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-column {
  min-width: 200px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #b0b0b0;
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  color: white;
  transition: var(--transition);
}

.social-icon:hover {
  transform: translateY(-5px);
}

.facebook:hover {
  background: #3b5998;
}

.gmail:hover {
  background: #1da1f2;
}

.instagram:hover {
  background: #e1306c;
}

.linkedin:hover {
  background: #0077b5;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  background: white;
  z-index: 1001;
  padding: 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.dark-mode .mobile-menu {
  background: #1a1a1a;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.mobile-menu ul li a {
  font-size: 1.2rem;
  font-weight: 500;
  display: block;
  padding: 10px 0;
}

.mobile-theme-toggle {
  margin-top: 30px;
}

#mobile-theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: var(--dark);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.dark-mode #mobile-theme-toggle-btn {
  color: white;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and below */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 50px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content,
  .download-content,
  .donate-content {
    flex-direction: column;
  }

  .about-stats {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Mobile and below */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0 15px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .tagline {
    font-size: 1.5rem;
  }

  nav ul {
    display: none;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .feature-card {
    padding: 25px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .app-stores {
    flex-direction: column;
    gap: 15px;
  }

  .donate-content {
    padding: 30px;
  }

  .donate-qr {
    flex: none;
  }

  .qr-code img {
    width: 150px;
    height: 150px;
  }

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

  .footer-links {
    flex-direction: column;
    gap: 25px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* Small mobile */
@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .app-stores {
    align-items: center;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form input {
    border-radius: 50px;
    margin-bottom: 10px;
  }

  .notify-form button {
    border-radius: 50px;
    width: 100%;
  }

  .features-grid {
    gap: 20px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-header p {
    font-size: 1.1rem;
  }

  #logo-id {
    width: 100px;
  }

  header .container {
    height: 70px;
  }

  .hero {
    padding: 120px 0 60px;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

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

  .tagline {
    font-size: 1.3rem;
  }

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

  .feature-card {
    padding: 15px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

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

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

  .donate-content {
    padding: 20px;
  }

  .qr-code img {
    width: 120px;
    height: 120px;
  }
}

.red-icon {
  background: var(--alert);
}

.navy-icon {
  background: #2c3e50;
}

.lavender-icon {
  background: #b39ddb;
}

.orange-icon {
  background: #ff9f43;
}

.green-icon {
  background: var(--support);
}

.blue-icon {
  background: var(--primary);
}

.purple-icon {
  background: #9c88ff;
}

.yellow-icon {
  background: #fbc531;
}

.pink-icon {
  background: var(--secondary);
}

.teal-icon {
  background: #00cec9;
}

.indigo-icon {
  background: #546de5;
}

.amber-icon {
  background: #e1b12c;
}
