/* ============================================================
   CARE Network — Custom CSS
   PT. Cipta Andalan Radius Elite
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---- Root Variables ---- */
:root {
  --primary:       #2AFF00;
  --primary-dark:  #1ACC00;
  --primary-dim:   rgba(42,255,0,0.12);
  --bg-dark:       #0A0F0D;
  --bg-card:       #111A14;
  --bg-card2:      #0E1610;
  --text-muted:    #A0ADB4;
  --accent:        #00BFFF;
  --border:        #1E3A28;
  --wa-green:      #25D366;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html { 
  scroll-behavior: smooth; 
  overflow-x: hidden;
}

body {
  background-color: var(--bg-dark);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  width: 100%;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ---- Selection ---- */
::selection { background: var(--primary); color: #000; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #00E5FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-white {
  background: linear-gradient(135deg, #ffffff 0%, #a0f0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#menu-btn {
  flex-shrink: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
  overflow-x: hidden;
}

#navbar.scrolled {
  background: rgba(10,15,13,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-link {
  position: relative;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
  padding: 0.25rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 220px;
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  top: calc(100% + 8px);
}
.dropdown-item {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.dropdown-item:hover {
  background: var(--primary-dim);
  color: var(--primary);
}

/* CTA Button Navbar */
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-nav:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(42,255,0,0.3);
}

/* Mobile Menu */
#mobile-menu {
  display: none;
  background: rgba(10,15,13,0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}
#mobile-menu.open { display: block; }

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--primary-dim);
  padding-left: 1.75rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 10px;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(42,255,0,0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 10px;
  border: 2px solid var(--primary);
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-outline:hover {
  background: var(--primary-dim);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(42,255,0,0.15);
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--wa-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 10px;
  transition: all 0.25s ease;
  text-decoration: none;
}
.btn-wa:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37,211,102,0.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  text-decoration: none;
}
.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(42,255,0,0.06) 0%, transparent 70%),
              linear-gradient(180deg, rgba(10,15,13,0.3) 0%, rgba(10,15,13,0.7) 60%, rgba(10,15,13,1) 100%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  border: 1px solid rgba(42,255,0,0.3);
  background: rgba(42,255,0,0.08);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
  overflow: hidden;
}
.card:hover {
  border-color: rgba(42,255,0,0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(42,255,0,0.1);
}

.card-glow:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.4),
              0 0 30px rgba(42,255,0,0.08);
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  background: var(--primary-dim);
  border: 1px solid rgba(42,255,0,0.2);
  flex-shrink: 0;
}
.icon-box svg {
  width: 1.625rem;
  height: 1.625rem;
  color: var(--primary);
}

/* ============================================================
   STATS
   ============================================================ */
.stats-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  display: block;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 540px;
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(42,255,0,0.05) 0%, var(--bg-card) 50%);
  box-shadow: 0 0 0 1px rgba(42,255,0,0.2), 0 20px 60px rgba(0,0,0,0.3);
}
.pricing-card.featured:hover {
  box-shadow: 0 0 0 1px rgba(42,255,0,0.4), 0 24px 60px rgba(42,255,0,0.1);
}

.feature-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.375rem 0;
}
.feature-check::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: var(--primary-dim);
  border: 1px solid rgba(42,255,0,0.3);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232AFF00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 11px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================================================
   TESTIMONIALS (Swiper)
   ============================================================ */
.swiper-testimonial .swiper-pagination-bullet {
  background: var(--border);
  opacity: 1;
  width: 8px;
  height: 8px;
}
.swiper-testimonial .swiper-pagination-bullet-active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}
.stars svg {
  width: 16px;
  height: 16px;
  fill: #FBBF24;
  color: #FBBF24;
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.blog-card:hover {
  border-color: rgba(42,255,0,0.3);
  transform: translateY(-4px);
}
.blog-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-dim);
  color: var(--primary);
  border: 1px solid rgba(42,255,0,0.2);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(42,255,0,0.08) 0%, transparent 70%);
}
.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--primary); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open {
  border-color: rgba(42,255,0,0.3);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-card2); }
.faq-icon {
  width: 24px; height: 24px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: var(--bg-card2);
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.9375rem;
}
.faq-item.open .faq-answer {
  max-height: 400px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #d1d5db;
  margin-bottom: 0.5rem;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42,255,0,0.1);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #4b5563;
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-select option { background: var(--bg-card); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
}
.footer-link {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--primary); }

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s;
}
.social-btn:hover {
  background: var(--primary-dim);
  border-color: rgba(42,255,0,0.3);
  color: var(--primary);
}

/* ============================================================
   WHATSAPP FLOATING
   ============================================================ */
#wa-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.wa-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
}
.wa-btn:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
}
.wa-btn svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: #fff;
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa-green);
  animation: wa-pulse 2.5s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
.wa-tooltip {
  background: rgba(10,15,13,0.95);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  backdrop-filter: blur(10px);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.2s;
}
#wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   COVERAGE / MAP
   ============================================================ */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-container iframe {
  width: 100%;
  height: 450px;
  display: block;
  filter: invert(0.92) hue-rotate(175deg) saturate(1.2) brightness(0.9);
}

/* ============================================================
   BLOG DETAIL
   ============================================================ */
.article-body h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.article-body h3 { font-size: 1.25rem; font-weight: 600; margin: 1.5rem 0 0.5rem; color: var(--primary); }
.article-body p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.article-body ul { list-style: disc; padding-left: 1.5rem; color: var(--text-muted); margin-bottom: 1rem; }
.article-body ul li { margin-bottom: 0.4rem; line-height: 1.7; }
.article-body a { color: var(--primary); text-decoration: underline; }
.article-body blockquote {
  border-left: 3px solid var(--primary);
  padding: 1rem 1.5rem;
  background: var(--primary-dim);
  border-radius: 0 10px 10px 0;
  margin: 1.5rem 0;
  color: #d1fae5;
  font-style: italic;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container { 
  width: 100%;
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 1.5rem; 
}

@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* Grid */
.grid-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-blog { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }

/* Badge */
.badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.badge-primary { background: var(--primary-dim); color: var(--primary); border: 1px solid rgba(42,255,0,0.2); }
.badge-accent { background: rgba(0,191,255,0.1); color: var(--accent); border: 1px solid rgba(0,191,255,0.2); }
.badge-featured {
  background: var(--primary);
  color: #000;
  font-weight: 800;
}

/* Glow Line */
.glow-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border: none;
  margin: 0;
}

/* Scroll indicator */
.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Animated counter */
.counter { display: inline-block; }

/* Coverage area badge */
.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: all 0.2s;
}
.area-badge:hover {
  border-color: rgba(42,255,0,0.3);
  color: var(--primary);
}
.area-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 3rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 28px;
  bottom: -24px;
  width: 2px;
  background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  position: absolute;
  left: 0;
  top: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-dim);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero-section { min-height: 100svh; }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }
  .stat-item:last-child { border-bottom: none; }
  .grid-services,
  .grid-products,
  .grid-blog {
    grid-template-columns: 1fr;
  }
}

/* AOS overrides */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ============================================================
   CTA BANNER (moved from inline style)
   ============================================================ */
.cta-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(42,255,0,0.08) 0%, rgba(0,191,255,0.05) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
  outline: none;
}
.theme-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-dim);
}
.theme-btn svg {
  width: 1.0625rem;
  height: 1.0625rem;
  transition: transform 0.35s ease;
}
.theme-btn:hover svg { transform: rotate(22deg); }

/* Sun/Moon icon visibility */
#icon-moon,
#icon-moon-mobile { display: none; }

[data-theme="light"] #icon-sun,
[data-theme="light"] #icon-sun-mobile { display: none; }

[data-theme="light"] #icon-moon,
[data-theme="light"] #icon-moon-mobile { display: block; }

/* ============================================================
   LIGHT THEME — CSS CUSTOM PROPERTIES
   ============================================================ */
[data-theme="light"] {
  --primary:      #16A349;
  --primary-dark: #15803D;
  --primary-dim:  rgba(22,163,73,0.1);
  --bg-dark:      #F8FAFC;
  --bg-card:      #FFFFFF;
  --bg-card2:     #F1F5F9;
  --text-muted:   #64748B;
  --accent:       #0284C7;
  --border:       #E2E8F0;
}

/* ============================================================
   LIGHT THEME — BASE
   ============================================================ */
[data-theme="light"] body {
  background-color: #F8FAFC;
  color: #0F172A;
}
[data-theme="light"] ::-webkit-scrollbar-track { background: #F1F5F9; }
[data-theme="light"] ::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }
[data-theme="light"] ::selection { background: var(--primary); color: #fff; }

/* ============================================================
   LIGHT THEME — TAILWIND CLASS OVERRIDES
   (Tailwind custom colors are hardcoded; override with !important)
   ============================================================ */
[data-theme="light"] .text-white       { color: #0F172A !important; }
[data-theme="light"] .text-primary     { color: var(--primary) !important; }
[data-theme="light"] .text-text-muted  { color: var(--text-muted) !important; }
[data-theme="light"] .text-accent      { color: var(--accent) !important; }
[data-theme="light"] .bg-dark          { background-color: var(--bg-dark) !important; }
[data-theme="light"] .bg-dark-card     { background-color: var(--bg-card) !important; }
[data-theme="light"] .bg-dark-card2    { background-color: var(--bg-card2) !important; }
[data-theme="light"] .border-dark-border { border-color: var(--border) !important; }
[data-theme="light"] .border-primary   { border-color: var(--primary) !important; }

/* ============================================================
   LIGHT THEME — NAVBAR
   ============================================================ */
[data-theme="light"] #navbar.scrolled {
  background: rgba(248,250,252,0.97);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
[data-theme="light"] #mobile-menu {
  background: rgba(248,250,252,0.99);
}

/* ============================================================
   LIGHT THEME — BUTTONS
   ============================================================ */
[data-theme="light"] .btn-primary { color: #fff; }
[data-theme="light"] .btn-primary:hover { color: #fff; }
[data-theme="light"] .btn-nav     { color: #fff; }
[data-theme="light"] .btn-nav:hover { color: #fff; }

/* ============================================================
   LIGHT THEME — DROPDOWN
   ============================================================ */
[data-theme="light"] .dropdown-menu {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

/* ============================================================
   LIGHT THEME — CARDS
   ============================================================ */
[data-theme="light"] .card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1), 0 0 0 1px rgba(22,163,73,0.15);
  border-color: rgba(22,163,73,0.4);
}
[data-theme="light"] .card-glow:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1), 0 0 30px rgba(22,163,73,0.06);
}
[data-theme="light"] .pricing-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .pricing-card.featured {
  background: linear-gradient(135deg, rgba(22,163,73,0.05) 0%, var(--bg-card) 50%);
  box-shadow: 0 0 0 1px rgba(22,163,73,0.25), 0 12px 40px rgba(0,0,0,0.08);
}
[data-theme="light"] .pricing-card.featured:hover {
  box-shadow: 0 0 0 1px rgba(22,163,73,0.4), 0 20px 50px rgba(22,163,73,0.08);
}
[data-theme="light"] .testimonial-card,
[data-theme="light"] .blog-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
[data-theme="light"] .blog-card:hover {
  border-color: rgba(22,163,73,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* ============================================================
   LIGHT THEME — ICONS & BADGES
   ============================================================ */
[data-theme="light"] .icon-box {
  border-color: rgba(22,163,73,0.2);
}
[data-theme="light"] .hero-badge {
  border-color: rgba(22,163,73,0.3);
  background: rgba(22,163,73,0.08);
}
[data-theme="light"] .feature-check::before {
  border-color: rgba(22,163,73,0.3);
  background-color: rgba(22,163,73,0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316A349' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

/* ============================================================
   LIGHT THEME — HERO & SECTION DECORATIONS
   ============================================================ */
[data-theme="light"] .hero-gradient {
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(22,163,73,0.05) 0%, transparent 70%),
              linear-gradient(180deg, rgba(248,250,252,0.15) 0%, rgba(248,250,252,0.65) 60%, rgba(248,250,252,1) 100%);
}
[data-theme="light"] .page-hero::before {
  background: radial-gradient(ellipse 80% 80% at 50% -20%, rgba(22,163,73,0.06) 0%, transparent 70%);
}
[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
[data-theme="light"] .text-gradient-white {
  background: linear-gradient(135deg, #0F172A 0%, #374151 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
[data-theme="light"] .cta-banner {
  background: linear-gradient(135deg, rgba(22,163,73,0.06) 0%, rgba(2,132,199,0.04) 100%);
}

/* ============================================================
   LIGHT THEME — FAQ & ACCORDION
   ============================================================ */
[data-theme="light"] .faq-question { color: #0F172A; }
[data-theme="light"] .faq-item.open { border-color: rgba(22,163,73,0.3); }

/* ============================================================
   LIGHT THEME — FORMS
   ============================================================ */
[data-theme="light"] .form-label { color: #374151; }
[data-theme="light"] .form-input,
[data-theme="light"] .form-textarea,
[data-theme="light"] .form-select {
  background: #fff;
  border-color: #E2E8F0;
  color: #0F172A;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-textarea:focus,
[data-theme="light"] .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22,163,73,0.12);
}
[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder { color: #9CA3AF; }
[data-theme="light"] .form-select option { background: #fff; color: #0F172A; }

/* ============================================================
   LIGHT THEME — COVERAGE AREA
   ============================================================ */
[data-theme="light"] .area-badge:hover { border-color: rgba(22,163,73,0.3); }
[data-theme="light"] .map-container iframe { filter: none; }

/* ============================================================
   LIGHT THEME — BLOG DETAIL
   ============================================================ */
[data-theme="light"] .article-body p { color: #475569; }
[data-theme="light"] .article-body h2 { color: #0F172A; }
[data-theme="light"] .article-body h3 { color: var(--primary); }
[data-theme="light"] .article-body ul { color: #475569; }
[data-theme="light"] .article-body blockquote {
  background: rgba(22,163,73,0.06);
  color: #166534;
  border-left-color: var(--primary);
}

/* ============================================================
   LIGHT THEME — WHATSAPP TOOLTIP
   ============================================================ */
[data-theme="light"] .wa-tooltip {
  background: rgba(248,250,252,0.97);
  border-color: var(--border);
  color: #0F172A;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
  padding: 1rem 1.25rem;
  background: rgba(17, 26, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(42, 255, 0, 0.2);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  transform: translateX(120%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  opacity: 0;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-success .toast-icon { background: rgba(42, 255, 0, 0.15); color: var(--primary); }
.toast-error .toast-icon   { background: rgba(255, 77, 77, 0.15); color: #FF4D4D; border: 1px solid rgba(255, 77, 77, 0.2); }

.toast-content { flex: 1; }
.toast-title { font-weight: 700; font-size: 0.9375rem; color: #fff; margin-bottom: 0.125rem; }
.toast-message { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.4; }

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  margin: -0.25rem;
  transition: color 0.2s;
}
.toast-close:hover { color: #fff; }

@media (max-width: 640px) {
  .toast-container { top: 1rem; right: 1rem; left: 1rem; }
  .toast { min-width: 0; width: 100%; }
}

