:root {
  /* Dark Theme */
  --bg-dark: #0a0f0a;
  --card-dark: #121916;
  --primary-dark: #00ff88;
  --secondary-dark: #00d4ff;
  --text-dark: #ffffff;
  --muted-dark: #a0aec0;
  --border-dark: rgba(255, 255, 255, 0.08);
  --success-dark: #00ff88;
  --gradient-dark: linear-gradient(135deg, #00ff88 0%, #00d4ff 100%);

  /* Light Theme */
  --bg-light: #f8fff8;
  --card-light: #ffffff;
  --primary-light: #00b368;
  --secondary-light: #00a8cc;
  --text-light: #0f172a;
  --muted-light: #475569;
  --border-light: rgba(0, 0, 0, 0.08);
  --success-light: #00b368;
  --gradient-light: linear-gradient(135deg, #00b368 0%, #00a8cc 100%);

  /* Common */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.2);
  --shadow-primary: 0 10px 40px rgba(0, 255, 136, 0.25);
  --shadow-secondary: 0 10px 40px rgba(0, 212, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-dark);
  overflow-x: hidden;
  transition: var(--transition);
}

body.light-theme {
  background-color: var(--bg-light);
  color: var(--text-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

/* Typography */
.section-subtitle {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

body.light-theme .section-subtitle {
  color: var(--primary-light);
}

.section-title {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.2rem;
  color: var(--muted-dark);
  max-width: 700px;
  line-height: 1.8;
}

body.light-theme .section-desc {
  color: var(--muted-light);
}

/* Particle Background */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -2;
}

/* Floating Elements */
.floating-elements {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.15;
  animation: float 15s infinite ease-in-out;
}

.floating-element:nth-child(1) {
  width: 400px;
  height: 400px;
  background: var(--primary-dark);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 300px;
  height: 300px;
  background: var(--secondary-dark);
  bottom: 10%;
  right: 10%;
  animation-delay: 5s;
}

.floating-element:nth-child(3) {
  width: 200px;
  height: 200px;
  background: var(--primary-dark);
  top: 40%;
  right: 20%;
  animation-delay: 10s;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(10, 15, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-dark);
}

body.light-theme header.scrolled {
  background: rgba(248, 255, 248, 0.95);
  border-bottom: 1px solid var(--border-light);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-dark);
}

body.light-theme .logo {
  color: var(--text-light);
}

.logo-icon {
  width: 45px;
  height: 45px;
  /* background: var(--gradient-dark); */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

/* body.light-theme .logo-icon {
  background: var(--gradient-light);
} */

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  color: var(--muted-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 8px 0;
  transition: var(--transition);
}

body.light-theme .nav-link {
  color: var(--muted-light);
}

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

body.light-theme .nav-link:hover {
  color: var(--primary-light);
}

.nav-link.active {
  color: var(--primary-dark);
  font-weight: 600;
}

body.light-theme .nav-link.active {
  color: var(--primary-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-dark);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

body.light-theme .theme-toggle {
  background: var(--card-light);
  border: 1px solid var(--border-light);
}

.theme-toggle:hover {
  transform: rotate(180deg);
  box-shadow: var(--shadow-md);
}

.theme-toggle i {
  font-size: 1.2rem;
  color: var(--primary-dark);
}

body.light-theme .theme-toggle i {
  color: var(--primary-light);
}

.cta-button {
  background: var(--gradient-dark);
  color: #000;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-primary);
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

body.light-theme .cta-button {
  background: var(--gradient-light);
  color: white;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 255, 136, 0.4);
}

.mobile-menu-btn {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  font-size: 1.3rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

body.light-theme .mobile-menu-btn {
  background: var(--card-light);
  border: 1px solid var(--border-light);
  color: var(--text-light);
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
}

/* Buttons */
.btn {
  padding: 18px 36px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient-dark);
  color: #000;
  box-shadow: var(--shadow-primary);
}

body.light-theme .btn-primary {
  background: var(--gradient-light);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 255, 136, 0.4);
}

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

body.light-theme .btn-secondary {
  color: var(--text-light);
  border: 2px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--primary-dark);
  transform: translateY(-5px);
}

body.light-theme .btn-secondary:hover {
  border-color: var(--primary-light);
}

.cta-button-white {
  background: white;
  color: #000;
  padding: 18px 40px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.cta-button-white:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Cards */
.card {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  transition: var(--transition);
}

body.light-theme .card {
  background: var(--card-light);
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-lg);
}

body.light-theme .card:hover {
  border-color: var(--primary-light);
}

.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-top: 30px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-links a:hover {
  color: #00ff88;
}

/* Product Card */

.footer-product {
  margin-top: 25px;
}

.footer-product-label {
  font-size: 12px;
  opacity: 0.6;
}

.footer-product-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-product-icon {
  font-size: 18px;
}

.footer-product-title {
  font-weight: 600;
}

.footer-product-desc {
  font-size: 13px;
  opacity: 0.7;
}

/* Social */

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

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  color: #aaa;
  transition: 0.25s;
}

/* Facebook */
.social-links a.facebook {
  background: #1877f2;
  color: #ffffff;
}

/* Instagram gradient */
.social-links a.instagram {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: #ffffff;
}

/* .footer-social {
margin-top: 20px;
}

.footer-social-title {
font-size: 13px;
margin-bottom: 6px;
opacity: 0.7;
} */

/* .social-links {
display: flex;
gap: 10px;
}

.social-links a {
width: 34px;
height: 34px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255,255,255,0.04);
color: #aaa;
transition: 0.25s;
}

.social-links a:hover {
background: #00ff88;
color: #081b12;
} */

/* Bottom */

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  opacity: 0.6;
}

/* Ecosystem Product Card */

.ecosystem-card {
  margin-top: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);

  min-height: 110px; /* controls card height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ecosystem-title {
  font-size: 11px;
  letter-spacing: 1.2px;
  font-weight: 700;
  opacity: 0.7;
  margin-bottom: 10px;
}

.ecosystem-link {
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.ecosystem-product {
  display: flex;
  gap: 12px;
  align-items: center; /* vertically center icon + text */
  height: 100%;
}

.ecosystem-product i {
  font-size: 22px;
  color: #4da3ff;
  flex-shrink: 0;
}

.ecosystem-product strong {
  font-size: 14px;
  display: block;
}

.ecosystem-product p {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
  line-height: 1.4;
}
/* Footer
footer {
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-dark);
}

body.light-theme footer {
  border-top: 1px solid var(--border-light);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-desc {
  color: var(--muted-dark);
  line-height: 1.8;
  margin-bottom: 25px;
}

body.light-theme .footer-desc {
  color: var(--muted-light);
}

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

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-dark);
  text-decoration: none;
  transition: var(--transition);
}

body.light-theme .social-link {
  background: var(--card-light);
  border: 1px solid var(--border-light);
  color: var(--muted-light);
}

.social-link:hover {
  background: var(--gradient-dark);
  color: #000;
  transform: translateY(-5px);
}

body.light-theme .social-link:hover {
  background: var(--gradient-light);
  color: white;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--muted-dark);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

body.light-theme .footer-links a {
  color: var(--muted-light);
}

.footer-links a:hover {
  color: var(--primary-dark);
  gap: 15px;
}

body.light-theme .footer-links a:hover {
  color: var(--primary-light);
}
 */

/* =========================================== */
/* ADDITIONAL SHARED STYLES FOR ENHANCED HOMEPAGE */
/* =========================================== */

/* Language Selector */
.language-selector {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-selector i {
  color: var(--muted-dark);
  font-size: 1.1rem;
}

body.light-theme .language-selector i {
  color: var(--muted-light);
}

.language-selector select {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  padding: 8px 32px 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  transition: var(--transition);
  min-width: 100px;
}

body.light-theme .language-selector select {
  background: var(--card-light);
  border: 1px solid var(--border-light);
  color: var(--text-light);
}

.language-selector select:hover {
  border-color: var(--primary-dark);
}

body.light-theme .language-selector select:hover {
  border-color: var(--primary-light);
}

.language-selector select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 255, 136, 0.2);
}

body.light-theme .language-selector select:focus {
  box-shadow: 0 0 0 2px rgba(0, 179, 104, 0.2);
}

.language-selector::after {
  content: '▼';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-dark);
  font-size: 0.7rem;
  pointer-events: none;
}

body.light-theme .language-selector::after {
  color: var(--muted-light);
}

/* Footer Contact */
.footer-contact {
  margin: 20px 0;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--muted-dark);
}

body.light-theme .footer-contact p {
  color: var(--muted-light);
}

.footer-contact i {
  color: var(--primary-dark);
  font-size: 1rem;
  width: 20px;
}

body.light-theme .footer-contact i {
  color: var(--primary-light);
}

.footer-note {
  margin-top: 20px;
  padding: 15px;
  background: rgba(0, 255, 136, 0.05);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

body.light-theme .footer-note {
  background: rgba(0, 179, 104, 0.08);
}

.footer-note i {
  color: var(--primary-dark);
  font-size: 1rem;
  margin-top: 2px;
}

body.light-theme .footer-note i {
  color: var(--primary-light);
}

/* Stats Header */
.stats-header {
  text-align: center;
  margin-bottom: 40px;
}

.stats-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.stats-header p {
  color: var(--muted-dark);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

body.light-theme .stats-header p {
  color: var(--muted-light);
}

/* Responsive adjustments for language selector */
@media (max-width: 992px) {
  .header-actions {
    gap: 15px;
  }

  .language-selector select {
    min-width: 80px;
    padding: 8px 28px 8px 10px;
  }
}

@media (max-width: 768px) {
  .language-selector {
    display: none;
  }

  .header-actions {
    gap: 10px;
  }
  .cta-button {
    display: none;
  }
}

/* Hide Download Free button on mobile */

/* Footer adjustments */
@media (max-width: 768px) {
  .footer-contact {
    margin: 15px 0;
  }

  .footer-contact p {
    font-size: 0.85rem;
  }

  .footer-note {
    font-size: 0.8rem;
    padding: 12px;
  }
}

/* Stats header responsive */
@media (max-width: 768px) {
  .stats-header h2 {
    font-size: 2rem;
  }

  .stats-header p {
    font-size: 1rem;
  }
}
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-dark);
  color: var(--muted-dark);
  font-size: 0.9rem;
}

body.light-theme .footer-bottom {
  border-top: 1px solid var(--border-light);
  color: var(--muted-light);
}

/* Hero Section Base */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 100px;
  overflow: hidden;
}

/* Responsive Design */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--card-dark);
    padding: 30px;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid var(--border-dark);
    box-shadow: var(--shadow-lg);
  }

  body.light-theme .nav-menu {
    background: var(--card-light);
    border-top: 1px solid var(--border-light);
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .section-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.4rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }

  .card {
    padding: 30px 20px;
  }
}
.logo:hover .logo-icon {
  transform: rotate(8deg) scale(1.05);
  transition: 0.3s ease;
}
.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  /* background: linear-gradient(135deg, #00ff88, #00d4ff); */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 255, 136, 0.35);
}

.app-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: brightness(1.2) contrast(1.1);
}

.logo span {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.4px;
}

/* .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
} */

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  /* background: linear-gradient(135deg, #00ff88, #00d4ff); */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.35);
}

/* .app-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(1.2) contrast(1.1);
} */

.logo span {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.3px;
}
