/* ===================================================
   DIGIMAXI — Design System
   Colors based on logo: Green (#7AC000) + Purple (#1b4001)
   Light / Dark Mode with system preference
   =================================================== */

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

/* ---------- CSS Variables — DARK MODE (default) ---------- */
:root {
  /* Brand colors from logo */
  --brand-green: #7AC000;
  --brand-green-light: #8ed616;
  --brand-green-dark: #5f9600;
  --brand-dark-green: #1b4001;
  --brand-dark-green-light: #2a5905;
  --brand-dark-green-dark: #0d2100;

  /* Semantic */
  --accent-1: var(--brand-dark-green);
  --accent-2: var(--brand-green);
  --accent-3: var(--brand-dark-green-light);
  --accent-4: var(--brand-green-light);
  --accent-gradient: linear-gradient(135deg, var(--brand-dark-green), var(--brand-dark-green-light), var(--brand-green));
  --accent-glow: 0 0 40px rgba(75, 0, 130, 0.3);

  /* Surfaces — dark */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;

  /* Text — dark */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);

  /* Partners filter */
  --partners-filter: grayscale(100%) brightness(2);
  --partners-hover-filter: grayscale(0%) brightness(1);

  /* Misc */
  --font-primary: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --container-max: 1200px;
  --section-padding: 120px 0;
}

/* ---------- LIGHT MODE ---------- */
[data-theme="light"] {
  --bg-primary: #f5f5f8;
  --bg-secondary: #eaeaef;
  --bg-card: rgba(0, 0, 0, 0.02);
  --bg-glass: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.08);

  --text-primary: #1a1a2e;
  --text-secondary: rgba(26, 26, 46, 0.7);
  --text-muted: rgba(26, 26, 46, 0.45);

  --accent-glow: 0 0 40px rgba(75, 0, 130, 0.15);

  --partners-filter: grayscale(100%) brightness(0.8);
  --partners-hover-filter: grayscale(0%) brightness(1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background var(--transition-smooth), color var(--transition-smooth);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

ul { list-style: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--brand-green);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 1px;
}

.section-title { margin-bottom: 24px; }

.section-description {
  max-width: 600px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 8px 32px rgba(75, 0, 130, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(75, 0, 130, 0.5);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-primary:hover::after { opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
  box-shadow: 0 0 20px rgba(122, 192, 0, 0.15);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #22c55e;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Glassmorphism Cards ---------- */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  padding: 40px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122, 192, 0, 0.15), transparent);
}

.glass-card:hover {
  border-color: rgba(75, 0, 130, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--accent-glow);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(245, 245, 248, 0.88);
}

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

.navbar-logo img {
  height: 45px;
  width: auto;
  transition: height var(--transition-smooth);
}

.navbar.scrolled .navbar-logo img { height: 36px; }

/* Removed light mode logo shadow override */

.navbar-menu {
  display: flex;
  gap: 8px;
}

.navbar-menu a {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 50px;
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-menu a:hover,
.navbar-menu a.active {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.navbar-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 1px;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-cta .btn { padding: 10px 24px; font-size: 0.85rem; }

/* Theme toggle */
.theme-toggle:hover {
  color: var(--brand-green);
  border-color: var(--brand-green);
}

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

[data-theme="light"] .theme-toggle .fa-sun { display: inline-block; }
[data-theme="light"] .theme-toggle .fa-moon { display: none; }

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

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

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 15, 0.85) 0%,
    rgba(10, 10, 15, 0.5) 50%,
    rgba(10, 10, 15, 0.75) 100%
  );
}

[data-theme="light"] .hero-video-bg::after {
  background: linear-gradient(
    135deg,
    rgba(245, 245, 248, 0.85) 0%,
    rgba(245, 245, 248, 0.6) 50%,
    rgba(245, 245, 248, 0.75) 100%
  );
}

#particles-js {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 50px;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.hero-badge i { color: var(--brand-green); }

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce-scroll 2s infinite;
}

.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--brand-green), transparent);
  animation: scroll-line 2s infinite;
}

@keyframes bounce-scroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll-line {
  0% { opacity: 0; height: 0; }
  50% { opacity: 1; height: 40px; }
  100% { opacity: 0; height: 40px; }
}

/* ---------- Page Hero (Internal pages) ---------- */
.page-hero {
  position: relative;
  padding: 180px 0 100px;
  text-align: center;
  overflow: hidden;
  background: var(--bg-secondary);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(75, 0, 130, 0.15), transparent 70%);
  pointer-events: none;
}

.page-hero h1 { position: relative; z-index: 1; margin-bottom: 16px; }
.page-hero p { position: relative; z-index: 1; font-size: 1.1rem; max-width: 500px; margin: 0 auto; }

/* ---------- Stats Section ---------- */
.stats-section {
  padding: 80px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item { padding: 20px; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ---------- Services Grid ---------- */
.services-section { padding: var(--section-padding); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 48px 36px;
  text-align: center;
}

.service-card .icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  font-size: 2rem;
  color: var(--brand-green);
  transition: all var(--transition-smooth);
}

.service-card:hover .icon-wrap {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(75, 0, 130, 0.3);
}

.service-card h4 { margin-bottom: 12px; font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; }

/* ---------- About Section ---------- */
.about-section { padding: var(--section-padding); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image { position: relative; }

.about-image .main-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-image .main-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-image .float-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--accent-gradient);
  padding: 24px 32px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 20px 60px rgba(75, 0, 130, 0.3);
}

.about-image .float-badge .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
}

.about-image .float-badge .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-content .section-label { margin-bottom: 16px; }
.about-content h2 { margin-bottom: 24px; }
.about-content p { margin-bottom: 20px; }

.about-content .about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-fast);
}

.about-feature-item:hover {
  border-color: rgba(75, 0, 130, 0.3);
  transform: translateX(8px);
}

.about-feature-item i {
  color: var(--brand-green);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature-item span { font-weight: 500; font-size: 0.95rem; }

.certifications {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.certifications img {
  height: 60px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.certifications img:hover { opacity: 1; }

/* ---------- CTA Section ---------- */
.cta-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  position: relative;
  padding: 80px 60px;
  border-radius: var(--radius-xl);
  background: var(--accent-gradient);
  text-align: center;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-inner h2 { color: #fff; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-inner p { color: rgba(255,255,255,0.85); margin-bottom: 40px; font-size: 1.1rem; position: relative; z-index: 1; }

.cta-inner .btn {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--brand-dark-green);
  font-weight: 700;
}

.cta-inner .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ---------- Testimonials ---------- */
.testimonials-section { padding: var(--section-padding); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card { padding: 40px; position: relative; }

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--brand-dark-green);
  opacity: 0.5;
  margin-bottom: 20px;
}

[data-theme="light"] .testimonial-card .quote-icon { opacity: 0.7; }

.testimonial-card .quote-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card .author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  overflow: hidden;
  border: 2px solid var(--brand-green);
}

.testimonial-card .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card .author-info h5 { font-size: 0.95rem; font-weight: 600; }
.testimonial-card .author-info span { font-size: 0.8rem; color: var(--text-muted); }

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars i { color: #fbbf24; font-size: 0.85rem; }

/* ---------- Contact Section ---------- */
.contact-section { padding: var(--section-padding); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 40px; }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info-item .icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  flex-shrink: 0;
}

.contact-info-item span { color: var(--text-secondary); }
.contact-form-card { padding: 48px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--bg-glass);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 20px rgba(122, 192, 0, 0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ---------- Partners / Brands ---------- */
.partners-section {
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
}

.partners-section .section-header {
  margin-bottom: 40px;
}

.brands-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-smooth);
  min-width: 140px;
}

.brand-item:hover {
  border-color: rgba(122, 192, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(75, 0, 130, 0.1);
}

.brand-item span {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color var(--transition-fast);
}

.brand-item:hover span {
  color: var(--brand-green);
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partners-grid img {
  height: 45px;
  object-fit: contain;
  opacity: 0.4;
  filter: var(--partners-filter);
  transition: all var(--transition-smooth);
}

.partners-grid img:hover {
  opacity: 0.9;
  filter: var(--partners-hover-filter);
}

/* ---------- Footer ---------- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p { margin-top: 16px; font-size: 0.9rem; max-width: 300px; }
.footer-brand img { height: 40px; }

.footer h5 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-green);
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-4px);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-smooth);
  position: relative;
}

.whatsapp-float a::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Pricing / Plans ---------- */
.plans-highlight { text-align: center; padding: 60px 0; }

.plans-highlight .price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 20px 40px;
  border-radius: 60px;
  background: var(--bg-glass);
  border: 1px solid rgba(75, 0, 130, 0.3);
  margin-bottom: 16px;
}

.plans-highlight .price-tag .from {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.plans-highlight .price-tag .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Animations (GSAP helpers) ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal { transform: translateY(60px); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-scale { transform: scale(0.8); }

.reveal.active, .reveal-left.active, .reveal-right.active, .reveal-scale.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ---------- Glow orbs background ---------- */
.glow-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
}

/* Consolidated glow orbs for forced dark mode */

/* ---------- Grid Pattern Background ---------- */
.grid-bg { position: relative; }

.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(122, 192, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 192, 0, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-padding: 80px 0; }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 4px;
    transition: right var(--transition-smooth);
    border-left: 1px solid var(--glass-border);
  }

/* Removed light mode mobile menu override */

  .navbar-menu.active { right: 0; }
  .navbar-menu a { padding: 14px 20px; font-size: 1rem; border-radius: var(--radius-sm); }
  .menu-toggle { display: flex; }
  .navbar-cta .btn { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cta-inner { padding: 60px 32px; }
  .form-row { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: flex-start; }
  .glass-card { padding: 28px; }
  .hero-badges { gap: 12px; }
  .about-image .float-badge { right: 10px; bottom: -20px; }
  .certifications img { height: 50px; }
  .brands-grid { gap: 16px; }
  .brand-item { min-width: 120px; padding: 12px 20px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .plans-highlight .price-tag .price { font-size: 2rem; }
}

/* ---------- Loading Screen ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo { animation: loader-pulse 1.5s infinite; }
.loader-logo img { height: 60px; }

@keyframes loader-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.95); }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
