:root {
  --green-900: #064e3b;
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10b981;
  --green-100: #d1fae5;
  --green-50: #ecfdf5;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
}

a { color: var(--green-600); text-decoration: none; }
a:hover { color: var(--green-700); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--gray-300);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green-700);
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo svg { width: 32px; height: 32px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-600); }
.nav-cta {
  background: var(--green-600);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--green-700); }
.nav-mobile { display: none; background: none; border: none; cursor: pointer; }
.nav-mobile svg { width: 28px; height: 28px; color: var(--gray-700); }

/* HERO */
.hero {
  background:
    linear-gradient(135deg, rgba(6,78,59,0.88) 0%, rgba(6,95,70,0.82) 50%, rgba(4,120,87,0.78) 100%),
    url('/images/hero.jpg') center top / cover no-repeat;
  color: #fff;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; opacity: 0.9; max-width: 640px; margin: 0 auto 36px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
}
.btn-primary { background: #fff; color: var(--green-900); }
.btn-primary:hover { background: var(--green-100); color: var(--green-900); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; color: #fff; }
.btn-green { background: var(--green-600); color: #fff; }
.btn-green:hover { background: var(--green-700); color: #fff; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* TRUST BAR */
.trust-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-300);
  padding: 20px 0;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-500);
}
.trust-items span { display: flex; align-items: center; gap: 6px; }
.trust-items svg { width: 18px; height: 18px; color: var(--green-600); }

/* SECTIONS */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* GRID CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card {
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--green-100);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.card-icon svg { width: 28px; height: 28px; color: var(--green-700); }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--gray-500); font-size: 0.95rem; }

/* STEPS */
.steps { display: flex; gap: 0; align-items: flex-start; position: relative; }
.step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.step-num {
  width: 48px;
  height: 48px;
  background: var(--green-600);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--gray-500); font-size: 0.9rem; }
.steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: var(--green-500);
  z-index: 1;
}

/* TESTIMONIALS */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testimonial {
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 12px;
  padding: 28px;
}
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { color: var(--gray-700); font-style: italic; margin-bottom: 16px; font-size: 0.95rem; }
.testimonial-author { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { color: var(--gray-500); font-size: 0.85rem; }

/* PRICING TABLE */
.pricing-calc {
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 16px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}
.pricing-row:last-child { border-bottom: none; }
.pricing-device { font-weight: 600; }
.pricing-price { color: var(--gray-500); font-size: 0.9rem; min-width: 60px; }
.pricing-qty {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--gray-300);
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.qty-btn:hover { background: var(--green-100); border-color: var(--green-500); }
.qty-num { font-weight: 700; min-width: 24px; text-align: center; }
.pricing-summary {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--gray-300);
}
.pricing-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.pricing-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-300);
}
.discount-badge {
  background: var(--green-100);
  color: var(--green-700);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* FORMS */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* RECYCLING ELIGIBLE */
.eligible-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.eligible-item {
  background: #fff;
  border: 2px solid var(--gray-300);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}
.eligible-item:hover, .eligible-item.selected {
  border-color: var(--green-500);
  background: var(--green-50);
}
.eligible-item svg { width: 40px; height: 40px; color: var(--green-700); margin-bottom: 8px; }
.eligible-item span { font-weight: 600; font-size: 0.85rem; display: block; }

/* TIMELINE */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--green-500);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot {
  width: 12px;
  height: 12px;
  background: var(--green-600);
  border-radius: 50%;
  position: absolute;
  left: -31px;
  top: 6px;
}
.timeline-year { font-weight: 800; color: var(--green-700); margin-bottom: 4px; }
.timeline-desc { color: var(--gray-700); font-size: 0.95rem; }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-700);
}
.team-card h4 { font-weight: 700; }
.team-card p { color: var(--gray-500); font-size: 0.85rem; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.cta-banner h2 { font-size: 2rem; font-weight: 800; margin-bottom: 12px; }
.cta-banner p { opacity: 0.9; margin-bottom: 28px; font-size: 1.1rem; }

/* FOOTER */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--gray-500); font-size: 0.9rem; margin-top: 8px; }
.footer h4 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--gray-500); font-size: 0.9rem; }
.footer a:hover { color: var(--green-500); }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* CONTACT LAYOUT */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.contact-info-card {
  background: var(--green-50);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}
.contact-info-card h4 { font-weight: 700; margin-bottom: 8px; }
.contact-info-card p { color: var(--gray-700); font-size: 0.9rem; }

/* FAQ */
.faq-item {
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
}
.faq-q:hover { background: var(--gray-50); }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
  color: var(--gray-700);
  font-size: 0.95rem;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 20px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-chevron { transition: transform 0.3s; }

/* SUCCESS MESSAGE */
.success-msg {
  background: var(--green-50);
  border: 1px solid var(--green-500);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  display: none;
}
.success-msg.show { display: block; }
.success-msg h3 { color: var(--green-700); margin-bottom: 8px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 60px 0 50px; }
  .grid-3, .testimonials, .team-grid { grid-template-columns: 1fr; }
  .eligible-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { flex-direction: column; gap: 24px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-mobile { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 24px;
    border-bottom: 1px solid var(--gray-300);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  }
  .pricing-calc { padding: 24px; }
  .pricing-row { flex-wrap: wrap; gap: 8px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ============================================================
   DARK THEME — full-page hero image background
   ============================================================ */

body {
  background:
    linear-gradient(rgba(8, 12, 18, 0.30), rgba(8, 12, 18, 0.45)),
    url('/images/hero.jpg') center center / cover no-repeat fixed;
  color: #f1f5f9;
  min-height: 100vh;
}

/* Hero — image shows clearly, bare-minimum overlay */
.hero {
  background: linear-gradient(180deg, rgba(8,12,18,0.05) 0%, rgba(8,12,18,0.30) 100%);
  color: #fff;
}
.hero h1 { text-shadow: 0 3px 18px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.6); }
.hero p { color: #f1f5f9; text-shadow: 0 2px 10px rgba(0,0,0,0.75); }

/* Sections fully transparent — image shows through everywhere */
.section { background: transparent; }
.section-alt {
  background: rgba(8, 12, 18, 0.18);
  backdrop-filter: blur(2px) saturate(140%);
  -webkit-backdrop-filter: blur(2px) saturate(140%);
}
.section-title { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.7); }
.section-subtitle { color: #f1f5f9; text-shadow: 0 1px 6px rgba(0,0,0,0.55); }

/* Nav — true liquid glass */
.nav {
  background: rgba(8, 12, 18, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.nav-logo { color: var(--green-500); }
.nav-links a { color: #cbd5e1; }
.nav-links a:hover, .nav-links a.active { color: var(--green-500); }
.nav-mobile svg { color: #cbd5e1; }

/* Trust bar — liquid glass */
.trust-bar {
  background: rgba(8, 12, 18, 0.30);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-items { color: #f1f5f9; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }

/* Cards — liquid glass */
.card {
  background: rgba(20, 28, 38, 0.35);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.18);
  color: #f1f5f9;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}
.card:hover {
  border-color: rgba(16,185,129,0.55);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.12);
  background: rgba(20, 28, 38, 0.45);
}
.card h3 { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.card p { color: #e2e8f0; }
.card-icon { background: rgba(16,185,129,0.22); }
.card-icon svg { color: var(--green-500); }

/* Steps */
.step h3 { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.step p { color: #e2e8f0; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }

/* Pricing calculator — liquid glass */
.pricing-calc {
  background: rgba(20, 28, 38, 0.45);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.18);
  color: #f1f5f9;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}
.pricing-calc h3 { color: #fff; }
.pricing-row { border-bottom-color: rgba(255,255,255,0.08); }
.pricing-summary { border-top-color: rgba(255,255,255,0.15); }
.pricing-total { border-top-color: rgba(255,255,255,0.10); color: #fff; }
.qty-btn {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  color: #e5e7eb;
}
.qty-btn:hover { background: rgba(16,185,129,0.20); border-color: var(--green-500); }

/* Forms — dark inputs */
.form-group label { color: #e5e7eb; }
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(8, 12, 18, 0.6);
  border: 1px solid rgba(255,255,255,0.15);
  color: #f3f4f6;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #64748b; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(8, 12, 18, 0.9);
  border-color: var(--green-500);
}

/* Eligible device grid — liquid glass */
.eligible-item {
  background: rgba(20, 28, 38, 0.35);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid rgba(255,255,255,0.18);
  color: #f1f5f9;
  box-shadow: 0 4px 20px rgba(0,0,0,0.20), inset 0 1px 0 rgba(255,255,255,0.08);
}
.eligible-item:hover, .eligible-item.selected {
  background: rgba(16,185,129,0.25);
  border-color: var(--green-500);
}
.eligible-item span { color: #f1f5f9; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }

/* FAQ items — liquid glass */
.faq-item {
  background: rgba(20, 28, 38, 0.35);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.20);
}
.faq-q { background: transparent; color: #fff; }
.faq-q:hover { background: rgba(255,255,255,0.05); }
.faq-a { color: #cbd5e1; }

/* Contact info cards */
.contact-info-card {
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.25);
}
.contact-info-card h4 { color: #fff; }
.contact-info-card p { color: #cbd5e1; }

/* Success msg */
.success-msg {
  background: rgba(16,185,129,0.12);
  border: 1px solid var(--green-500);
  color: #e5e7eb;
}
.success-msg h3 { color: var(--green-500); }

/* Buttons that were white-ish need darker hover background tweaks */
.btn-primary { background: var(--green-500); color: #062019; }
.btn-primary:hover { background: var(--green-100); color: #062019; }

/* Discount badge */
.discount-badge { background: rgba(16,185,129,0.20); color: var(--green-500); }

/* Timeline (about page) */
.timeline-desc { color: #cbd5e1; }

/* Generic dark-theme paragraph color override for any inline-styled gray-700 paragraphs */
[style*="color:var(--gray-700)"], [style*="color: var(--gray-700)"] { color: #cbd5e1 !important; }
[style*="color:var(--gray-500)"], [style*="color: var(--gray-500)"] { color: #94a3b8 !important; }
[style*="background:var(--gray-50)"], [style*="background: var(--gray-50)"],
[style*="background:#fff"], [style*="background: #fff"] {
  background: rgba(20,28,38,0.35) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  color: #f1f5f9 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.20) !important;
}
[style*="background:var(--green-50)"], [style*="background: var(--green-50)"] {
  background: rgba(16,185,129,0.10) !important;
}
[style*="border-color:var(--gray-300)"] { border-color: rgba(255,255,255,0.15) !important; }
[style*="color:var(--green-700)"], [style*="color: var(--green-700)"] { color: var(--green-500) !important; }
[style*="color:var(--green-900)"], [style*="color: var(--green-900)"] { color: #fff !important; }
[style*="background:var(--green-700)"], [style*="background: var(--green-700)"] { background: rgba(16,185,129,0.30) !important; }
