/* EVTail - Safe • Reliable • Fast Charging for Electric Two-Wheelers */
/* Modern Dark-Themed Ola Electric Inspired Design System */

:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d121d;
  --bg-card: rgba(18, 25, 40, 0.7);
  --bg-card-hover: rgba(26, 36, 58, 0.85);
  --bg-glass: rgba(15, 22, 36, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 230, 118, 0.3);
  
  --color-brand-green: #00e676;
  --color-brand-green-glow: rgba(0, 230, 118, 0.4);
  --color-brand-cyan: #00e5ff;
  --color-brand-red: #ff3d00;
  --color-brand-orange: #ff9100;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Space Grotesk', var(--font-primary);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --shadow-glow: 0 0 25px rgba(0, 230, 118, 0.25);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 230, 118, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(0, 229, 255, 0.04) 0%, transparent 45%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Typography Helpers */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--color-brand-green) 50%, var(--color-brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-green {
  color: var(--color-brand-green);
}

.text-cyan {
  color: var(--color-brand-cyan);
}

.text-orange {
  color: var(--color-brand-orange);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--color-brand-green);
  margin-bottom: 16px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-brand-green);
  box-shadow: 0 0 10px var(--color-brand-green);
  animation: pulse-dot 2s infinite;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Glass Card Component */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* Header & Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-normal);
  background: rgba(7, 9, 14, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 230, 118, 0.3));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--color-brand-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
  cursor: pointer;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-brand-green), var(--color-brand-cyan));
  border-radius: 2px;
  box-shadow: 0 0 8px var(--color-brand-green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-bounce);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-brand-green) 0%, #00b0ff 100%);
  color: #050b14;
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 28px rgba(0, 230, 118, 0.5);
  background: linear-gradient(135deg, #00ff84 0%, #00e5ff 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-brand-green);
  color: var(--color-brand-green);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba59;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  transform: translateY(-2px);
}

.admin-trigger-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.admin-trigger-btn:hover {
  color: var(--color-brand-cyan);
  border-color: var(--color-brand-cyan);
  background: rgba(0, 229, 255, 0.1);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding-top: 160px;
  padding-bottom: 100px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
}

.hero-stat-item h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-brand-green);
  margin-bottom: 4px;
}

.hero-stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Visual Media Container in Hero */
.hero-media-wrapper {
  position: relative;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  background: var(--bg-card);
}

.hero-media-card img, .hero-media-card video {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-video-overlay-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(16px);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-badge-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.hero-badge-info p {
  font-size: 0.85rem;
  color: var(--color-brand-green);
}

.play-video-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-brand-green);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.5);
  transition: transform var(--transition-bounce);
}

.play-video-btn:hover {
  transform: scale(1.1);
}

/* Feature Highlights Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-brand-green);
  margin-bottom: 22px;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-image-box {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  position: relative;
  margin-bottom: 24px;
}

.product-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

.product-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--color-brand-green);
  color: var(--color-brand-green);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  word-break: break-word;
}

.product-specs-list {
  list-style: none;
  margin: 16px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-specs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-specs-list li i {
  color: var(--color-brand-green);
  font-size: 1rem;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-glass);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

/* Comparison Section: Steel vs Plastic */
.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.comp-card {
  padding: 40px;
  border-radius: var(--radius-xl);
}

.comp-card.evtail {
  background: linear-gradient(145deg, rgba(0, 230, 118, 0.08) 0%, rgba(13, 18, 29, 0.9) 100%);
  border: 2px solid var(--color-brand-green);
  box-shadow: 0 0 35px rgba(0, 230, 118, 0.15);
}

.comp-card.plastic {
  background: rgba(20, 25, 38, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.75;
}

.comp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.comp-badge {
  font-weight: 800;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 100px;
}

.comp-card.evtail .comp-badge {
  background: var(--color-brand-green);
  color: #000;
}

.comp-card.plastic .comp-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
}

.comp-list li i.fa-check-circle {
  color: var(--color-brand-green);
  font-size: 1.2rem;
  margin-top: 2px;
}

.comp-list li i.fa-times-circle {
  color: #ff5252;
  font-size: 1.2rem;
  margin-top: 2px;
}

/* Media Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img, .gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

/* Forms (Contact & Dealer) */
.form-card {
  max-width: 680px;
  margin: 0 auto;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-brand-green);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.2);
}

select.form-control option {
  background: #0d121d;
  color: #ffffff;
}

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

/* Dealer Wholesale Calculator Widget */
.dealer-calculator-box {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.05) 0%, rgba(0, 229, 255, 0.05) 100%);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 48px;
}

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

.range-slider {
  width: 100%;
  accent-color: var(--color-brand-green);
  height: 8px;
  border-radius: 4px;
  cursor: pointer;
}

/* Contact Details Info Cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.info-card {
  text-align: center;
  padding: 32px 24px;
}

.info-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid var(--border-glow);
  color: var(--color-brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px auto;
}

/* Map Embed Container */
.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  margin-top: 40px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(90%) hue-rotate(180deg) contrast(1.1);
}

/* Admin Dashboard Modal / Drawer */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  width: 100%;
  max-width: 1080px;
  max-height: 90vh;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 22, 36, 0.8);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--color-brand-red);
}

.modal-body {
  padding: 32px;
}

/* Admin Dashboard Table */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.metric-card {
  background: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.metric-card h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.metric-card p {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-brand-green);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th {
  background: rgba(15, 22, 36, 0.9);
  padding: 16px 20px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-glass);
}

.admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-new {
  background: rgba(0, 229, 255, 0.15);
  color: var(--color-brand-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.status-contacted {
  background: rgba(255, 145, 0, 0.15);
  color: var(--color-brand-orange);
  border: 1px solid rgba(255, 145, 0, 0.3);
}

.status-converted {
  background: rgba(0, 230, 118, 0.15);
  color: var(--color-brand-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: all var(--transition-bounce);
  animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.7);
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: rgba(13, 18, 29, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--color-brand-green);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.toast-icon {
  color: var(--color-brand-green);
  font-size: 1.3rem;
}

/* Footer */
footer {
  background: #040609;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px 0;
  margin-top: auto;
}

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

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

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

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

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

.social-icons {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--color-brand-green);
  color: #000000;
  border-color: var(--color-brand-green);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-glass);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Video Modal */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.video-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-container {
  width: 100%;
  max-width: 900px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 230, 118, 0.3);
}

.video-modal-container video {
  width: 100%;
  height: 500px;
  background: #000;
  display: block;
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: 1px solid #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
}

/* Mobile Navigation Drawer Styles */
.mobile-nav-drawer {
  display: none;
  background: rgba(7, 9, 14, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  padding: 10px 0;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
  transition: all var(--transition-normal);
}

.mobile-nav-drawer.active {
  display: block;
  animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: block;
  padding: 14px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--color-brand-green);
  background: rgba(0, 230, 118, 0.06);
  padding-left: 32px;
}

/* =========================================================
   Interactive UI Components (Tabs, Selectors, Dock, Chips)
========================================================= */

/* Filter Tabs Bar (Chargers & Factory Media) */
.filter-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-tab-btn:hover {
  background: rgba(0, 230, 118, 0.1);
  color: #ffffff;
  border-color: rgba(0, 230, 118, 0.3);
  transform: translateY(-2px);
}

.filter-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.2), rgba(0, 229, 255, 0.15));
  color: #ffffff;
  border-color: var(--color-brand-green);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.25);
}

/* Interactive Brand Selector Grid */
.brand-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.brand-chip-item {
  background: rgba(18, 25, 40, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
  user-select: none;
}

.brand-chip-item:hover {
  border-color: var(--color-brand-cyan);
  background: rgba(26, 36, 58, 0.9);
  transform: translateY(-3px);
}

.brand-chip-item.active {
  border-color: var(--color-brand-green);
  background: rgba(0, 230, 118, 0.12);
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.25);
}

.brand-chip-item i {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 6px;
  color: var(--color-brand-cyan);
  transition: var(--transition-normal);
}

.brand-chip-item.active i {
  color: var(--color-brand-green);
  transform: scale(1.1);
}

.brand-chip-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Interactive Brand Recommendation Result Card */
.brand-recommend-card {
  background: linear-gradient(135deg, rgba(13, 18, 29, 0.95), rgba(18, 25, 40, 0.95));
  border: 1px solid var(--color-brand-green);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 230, 118, 0.15);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  animation: fadeInResult 0.4s ease-out;
}

@keyframes fadeInResult {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.brand-rec-img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--border-glass);
}

.brand-rec-specs {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.rec-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Interactive Role Selection Pills in Forms */
.role-pills-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.role-pill-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.role-pill-btn:hover {
  border-color: rgba(0, 230, 118, 0.4);
  color: #ffffff;
}

.role-pill-btn.active {
  background: rgba(0, 230, 118, 0.15);
  border-color: var(--color-brand-green);
  color: var(--color-brand-green);
  box-shadow: 0 0 12px rgba(0, 230, 118, 0.2);
}

/* Live Validation Badge */
.input-status-hint {
  font-size: 0.75rem;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-dim);
}

.input-status-hint.valid {
  color: var(--color-brand-green);
  font-weight: 600;
}

/* Button Loading & Pulse States */
.btn-submitting {
  opacity: 0.85;
  pointer-events: none;
  background: linear-gradient(135deg, var(--color-brand-cyan), var(--color-brand-green)) !important;
}

/* Floating Quick Action Dock */
.floating-quick-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(13, 18, 29, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 230, 118, 0.2);
  transition: var(--transition-normal);
}

.floating-quick-dock:hover {
  border-color: var(--color-brand-green);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 230, 118, 0.35);
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.dock-btn-call {
  background: rgba(0, 229, 255, 0.15);
  color: var(--color-brand-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.dock-btn-call:hover {
  background: var(--color-brand-cyan);
  color: #07090e;
}

.dock-btn-wa {
  background: #25D366;
  color: #ffffff;
}

.dock-btn-wa:hover {
  background: #20ba59;
  transform: scale(1.05);
}

.dock-btn-dealer {
  background: rgba(0, 230, 118, 0.15);
  color: var(--color-brand-green);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.dock-btn-dealer:hover {
  background: var(--color-brand-green);
  color: #07090e;
}

/* Admin Dashboard Enhancements */
.admin-search-bar {
  position: relative;
  flex: 1;
  max-width: 320px;
}

.admin-search-bar input {
  padding-left: 36px;
}

.admin-search-bar i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.btn-action-wa {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-action-wa:hover {
  background: #25D366;
  color: #ffffff;
}

.btn-action-call {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 229, 255, 0.15);
  color: var(--color-brand-cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-action-call:hover {
  background: var(--color-brand-cyan);
  color: #07090e;
}

/* Hide original floating button when dock is active */
.whatsapp-float {
  display: none !important;
}

/* Admin Trigger Button in Navbar */
.admin-trigger-btn {
  background: rgba(0, 229, 255, 0.12);
  color: var(--color-brand-cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.admin-trigger-btn:hover {
  background: rgba(0, 229, 255, 0.25);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
  transform: translateY(-1px);
}

/* Mobile Lead Cards */
.admin-leads-cards-mobile {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.admin-lead-card-mobile {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition-fast);
}

.admin-lead-card-mobile:hover {
  border-color: rgba(0, 229, 255, 0.4);
}

.lead-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .comparison-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-wa-btn { display: none; }
  .admin-trigger-btn { display: none; }
  .table-responsive { display: none; }
  .admin-leads-cards-mobile { display: flex; }
  .modal-backdrop { padding: 10px; }
  .modal-container { max-height: 94vh; border-radius: var(--radius-md); }
  .modal-header { padding: 16px 20px; }
  .modal-body { padding: 16px; }
  .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; font-size: 1.4rem; color: var(--text-main); }
  .hero-content h1 { font-size: 2.6rem; }
  .features-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .admin-metrics-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .comp-card { padding: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content h1 { font-size: 2.1rem; line-height: 1.15; }
  .hero-subtitle { font-size: 1.05rem; margin-bottom: 24px; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .gallery-item { height: 200px; }
  .hero-media-card img, .hero-media-card video { height: 280px; }
  .video-modal-container video { height: 260px; }
  .admin-metrics-grid { grid-template-columns: 1fr; }
}
