/* ===== CSS Variables ===== */
:root {
  /* Fresh Natural Green (TechyKoala) */
  --jungle-green: #10b981;
  --forest-emerald: #059669;
  --spring-green: #34d399;
  --mint-light: #6ee7b7;
  
  /* Text Colors */
  --text-bright: #f0fdf4;
  --text-light-green: #d1fae5;
  --text-dark: #1e293b;
  
  /* Spacing */
  --section-padding: 80px;
  --container-max: 1200px;
  
  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
}

/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #065f46 0%, #047857 25%, #059669 50%, #10b981 75%, #34d399 100%);
  background-attachment: fixed;
  color: var(--text-bright);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-bright);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  text-align: center;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ===== Animated Background ===== */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.tech-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(16, 185, 129, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.floating-particles::before,
.floating-particles::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(60px);
  animation: float-particle 15s ease-in-out infinite;
}

.floating-particles::before {
  background: rgba(16, 185, 129, 0.2);
  top: 20%;
  left: 10%;
}

.floating-particles::after {
  background: rgba(52, 211, 153, 0.2);
  bottom: 20%;
  right: 10%;
  animation-delay: 7s;
}

@keyframes float-particle {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* ===== Header ===== */
.site-header {
  padding: 24px 0;
  position: sticky;
  top: 0;
  background: rgba(6, 95, 70, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(52, 211, 153, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-bright);
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

.main-nav a {
  color: var(--text-bright);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--spring-green);
  transition: width 0.3s;
}

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

.main-nav a:hover {
  color: var(--mint-light);
}

/* ===== Hero Section ===== */
.site-main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: var(--section-padding) 0;
  text-align: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  width: clamp(50px, 10vw, 120px);
  height: clamp(50px, 10vw, 120px);
  margin-bottom: 30px;
  animation: float 3s ease-in-out infinite;
  border-radius: clamp(12px, 2vw, 24px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

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

.hero h1 {
  background: linear-gradient(135deg, #34d399, #6ee7b7, #a7f3d0, #d1fae5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5rem);
}

.hero p {
  font-size: 1.4rem;
  color: var(--text-light-green);
  margin: 0 auto 50px;
  line-height: 1.8;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-trust {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 20px 45px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #059669, #10b981, #34d399);
  color: white;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(16, 185, 129, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, #6b7280, #9ca3af, #d1d5db);
  color: #1f2937;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===== Sections ===== */
.section {
  padding: var(--section-padding) 0;
}

/* ===== Cards ===== */
.card {
  background: rgba(4, 120, 87, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(52, 211, 153, 0.3);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(52, 211, 153, 0.25);
  border-color: rgba(110, 231, 183, 0.6);
}

.card h3 {
  color: var(--text-light-green);
  margin-bottom: 15px;
}

.card p {
  color: var(--text-bright);
  opacity: 0.95;
  line-height: 1.8;
}

.card a {
  color: var(--mint-light);
  font-weight: 600;
  font-size: 1.1rem;
}

.card a:hover {
  color: var(--spring-green);
}

/* ===== Featured Product ===== */
.featured-product {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.product-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 30px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.tagline {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 20px;
}

.product-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin: 30px 0;
}

.stat-item {
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 2rem;
  color: var(--mint-light);
  margin-bottom: 5px;
}

.stat-item span {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ===== Grids ===== */
.grid {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

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

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

/* ===== Footer ===== */
.site-footer {
  background: rgba(6, 78, 59, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 60px 0 30px;
  margin-top: var(--section-padding);
  border-top: 1px solid rgba(52, 211, 153, 0.3);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-content h4 {
  color: var(--mint-light);
  margin-bottom: 15px;
}

.footer-content ul {
  list-style: none;
}

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

.footer-content p,
.footer-content a {
  color: var(--text-light-green);
  opacity: 0.9;
}

.footer-content a:hover {
  opacity: 1;
  color: var(--spring-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(52, 211, 153, 0.2);
  color: var(--text-light-green);
  opacity: 0.8;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }

  .site-header {
    padding: 20px 0;
  }

  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .logo {
    font-size: 1.2rem;
  }

  .logo img,
  .footer-logo img {
    width: 32px;
    height: 32px;
  }

  .main-nav ul {
    gap: 20px;
    font-size: 0.9rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin: 0 auto 40px;
  }

  .btn {
    width: 100%;
    padding: 16px 30px;
    font-size: 1.05rem;
  }

  .card {
    padding: 30px 25px;
  }

  .grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-stats {
    flex-direction: column;
    gap: 20px;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

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

  .main-nav ul {
    gap: 15px;
    font-size: 0.85rem;
  }
}
