/* ==========================================================================
   iMOW Forklift Lithium - Official Website Stylesheet
   Client: PT Titan Jaya Indoraya (Distributor Resmi iMOW by EP Equipment)
   Design Benchmarks: Behance, SiteInspire, Land-book, Dribbble, Godly, Awwwards
   A11y: WCAG 2.2 AA Standards, 60fps Micro-interactions, Hardware-accelerated 3D
   ========================================================================== */

:root {
  /* Core Color Palette */
  --bg-deep: #07090e;
  --bg-dark: #0d111a;
  --bg-surface: #141a26;
  --bg-surface-elevated: #1a2232;
  --bg-surface-glass: rgba(19, 26, 38, 0.85);

  --bg-light: #f8fafc;
  --bg-light-card: #ffffff;
  --bg-light-surface: #f1f5f9;

  /* Brand Accents */
  --ep-red: #e02424;
  --ep-red-hover: #b91c1c;
  --ep-red-light: #ef4444;
  --ep-red-glow: rgba(224, 36, 36, 0.35);

  --eco-green: #10b981;
  --eco-green-hover: #059669;
  --eco-green-glow: rgba(16, 185, 129, 0.35);

  --amber-gold: #f59e0b;
  --indigo-accent: #6366f1;

  /* Typography Colors (WCAG AA Strict Contrast >= 4.5:1 / 7:1) */
  --text-white: #ffffff;
  --text-high-contrast: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;

  --text-dark-primary: #0f172a;
  --text-dark-secondary: #334155;
  --text-dark-muted: #64748b;

  /* Borders & Dividers */
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-dark-highlight: rgba(255, 255, 255, 0.22);
  --border-light: #e2e8f0;
  --border-light-highlight: #cbd5e1;

  /* 3D Shadows & Elevations */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 28px -6px rgba(0, 0, 0, 0.45);
  --shadow-3d: 0 20px 35px -10px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-3d-hover: 0 28px 50px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(224, 36, 36, 0.4);
  --shadow-glow-red: 0 0 30px -5px rgba(224, 36, 36, 0.4);
  --shadow-glow-green: 0 0 30px -5px rgba(16, 185, 129, 0.4);

  /* Layout & Sizing */
  --header-height: 80px;
  --topbar-height: 38px;
  --total-header-offset: 118px;
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transition Speeds */
  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

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

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: var(--total-header-offset);
  color-scheme: dark light;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-deep);
  color: var(--text-high-contrast);
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-smooth);
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   Top Alert Bar (Official Distributor & Working Hours)
   ========================================================================== */

.topbar {
  background-color: #05070a;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.8125rem;
  color: var(--text-sub);
  position: relative;
  z-index: 60;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--topbar-height);
  padding: 0 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 1rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(224, 36, 36, 0.15);
  border: 1px solid rgba(224, 36, 36, 0.3);
  color: #fca5a5;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.75rem;
}

.topbar-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--ep-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--ep-red);
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-sub);
}

.topbar-item i {
  color: var(--text-muted);
}

.topbar-link:hover {
  color: var(--text-white);
  text-decoration: underline;
}

/* ==========================================================================
   Main Header & Navigation Bar
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(13, 17, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

.site-header.scrolled {
  background-color: rgba(9, 12, 19, 0.98);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s var(--ease-spring);
}

.logo-link:hover .brand-logo-img {
  transform: scale(1.03);
}

.brand-meta {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-dark);
  padding-left: 0.875rem;
}

.brand-by {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.brand-company {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-high-contrast);
  letter-spacing: -0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sub);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color 0.2s var(--ease-smooth);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--ep-red);
  transition: width 0.25s var(--ease-spring);
}

.nav-link:hover {
  color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--ep-red), var(--ep-red-hover));
  color: var(--text-white);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 14px var(--ep-red-glow);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-smooth);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 36, 36, 0.5);
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-white);
  gap: 5px;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-white);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ==========================================================================
   Mobile Nav Drawer
   ========================================================================== */

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 85vw);
  height: 100vh;
  background-color: #0b0f17;
  border-left: 1px solid var(--border-dark);
  box-shadow: -15px 0 35px rgba(0, 0, 0, 0.8);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: right 0.35s var(--ease-spring);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 1.5rem;
}

.close-drawer-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  font-size: 1.25rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all 0.2s var(--ease-smooth);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--text-white);
  background: rgba(224, 36, 36, 0.1);
  border-color: rgba(224, 36, 36, 0.25);
}

.mobile-nav-link i {
  color: var(--ep-red);
  width: 20px;
}

.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: calc(100vh - var(--total-header-offset));
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 75% 30%, rgba(224, 36, 36, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
              var(--bg-deep);
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.22;
  filter: contrast(1.1) brightness(0.9);
  transform: scale(1.03);
  transition: transform 10s ease;
}

.hero-section:hover .hero-bg-img {
  transform: scale(1.07);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #07090e 30%, rgba(7, 9, 14, 0.85) 60%, rgba(7, 9, 14, 0.4) 100%),
              linear-gradient(0deg, #07090e 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 760px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: rgba(224, 36, 36, 0.12);
  border: 1px solid rgba(224, 36, 36, 0.35);
  color: #fca5a5;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(224, 36, 36, 0.2);
}

.hero-badge-pill .sparkle-icon {
  color: var(--ep-red);
}

.hero-title {
  font-size: clamp(2.35rem, 5vw, 3.85rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.hero-title .highlight-red {
  color: var(--ep-red);
  text-shadow: 0 0 35px rgba(224, 36, 36, 0.45);
}

.hero-title .highlight-green {
  color: var(--eco-green);
  text-shadow: 0 0 35px rgba(16, 185, 129, 0.4);
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 650px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* ==========================================================================
   Buttons & 3D Interactive Controls
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.2;
  min-height: 48px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-smooth), background-color 0.2s var(--ease-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--ep-red), #b91c1c);
  color: var(--text-white);
  box-shadow: 0 8px 24px var(--ep-red-glow), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(224, 36, 36, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-white);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #222c3f;
  border-color: var(--border-dark-highlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

.btn-success {
  background: linear-gradient(135deg, var(--eco-green), #059669);
  color: var(--text-white);
  box-shadow: 0 8px 24px var(--eco-green-glow);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.55);
}

.btn-outline-red {
  background: transparent;
  color: #fca5a5;
  border: 1px solid rgba(224, 36, 36, 0.4);
}

.btn-outline-red:hover {
  background: rgba(224, 36, 36, 0.1);
  border-color: var(--ep-red);
  color: var(--text-white);
}

.btn-full {
  width: 100%;
}

/* Hero Key Metric Badges */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 720px;
}

.hero-stat-card {
  background: rgba(20, 26, 38, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  transition: transform 0.25s var(--ease-spring), border-color 0.25s ease;
}

.hero-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 36, 36, 0.35);
  background: rgba(26, 34, 50, 0.85);
}

.hero-stat-card .stat-icon {
  font-size: 1.25rem;
  margin-bottom: 0.375rem;
}

.hero-stat-card .stat-icon.red { color: var(--ep-red); }
.hero-stat-card .stat-icon.green { color: var(--eco-green); }
.hero-stat-card .stat-icon.amber { color: var(--amber-gold); }
.hero-stat-card .stat-icon.blue { color: #38bdf8; }

.hero-stat-card .stat-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.hero-stat-card .stat-label {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* ==========================================================================
   Section Headers & Common Titles
   ========================================================================== */

.section-wrapper {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ep-red);
  margin-bottom: 0.625rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* Light Surface Sections */
.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark-primary);
}

.section-light .section-title {
  color: var(--text-dark-primary);
}

.section-light .section-desc {
  color: var(--text-dark-secondary);
}

/* ==========================================================================
   Product Catalog (6 Groups + 3D Tilt Cards)
   ========================================================================== */

.catalog-section {
  background-color: var(--bg-dark);
}

.catalog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.75rem;
}

.filter-btn {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  color: var(--text-sub);
  transition: all 0.2s var(--ease-smooth);
}

.filter-btn:hover {
  color: var(--text-white);
  border-color: var(--border-dark-highlight);
  background: var(--bg-surface-elevated);
}

.filter-btn.active {
  background: var(--ep-red);
  border-color: var(--ep-red);
  color: var(--text-white);
  box-shadow: 0 4px 15px var(--ep-red-glow);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* 3D Product Card Architecture */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-3d);
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3d-hover);
  border-color: rgba(224, 36, 36, 0.4);
}

.product-card-media {
  position: relative;
  height: 220px;
  background: radial-gradient(circle at center, #242f44 0%, #101622 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overflow: hidden;
}

.product-card-media img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease-spring);
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.5));
}

.product-card:hover .product-card-media img {
  transform: scale(1.08) translateY(-4px);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 5;
}

.badge-red { background: rgba(224, 36, 36, 0.9); color: #fff; }
.badge-purple { background: rgba(142, 68, 173, 0.9); color: #fff; }
.badge-green { background: rgba(16, 185, 129, 0.9); color: #fff; }
.badge-orange { background: rgba(249, 115, 22, 0.9); color: #fff; }
.badge-blue { background: rgba(14, 165, 233, 0.9); color: #fff; }
.badge-teal { background: rgba(20, 184, 166, 0.9); color: #fff; }
.badge-amber { background: rgba(245, 158, 11, 0.9); color: #fff; }

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ep-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.product-code {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.product-specs-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 0.875rem 0.75rem;
  margin-bottom: 1.5rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-item-label {
  font-size: 0.675rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.spec-item-value {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-high-contrast);
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-detail {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-dark);
  color: var(--text-white);
  font-size: 0.825rem;
  padding: 0.65rem 0.5rem;
}

.btn-detail:hover {
  background: #252f44;
  border-color: var(--border-dark-highlight);
}

.btn-quote {
  background: linear-gradient(135deg, var(--ep-red), var(--ep-red-hover));
  color: var(--text-white);
  font-size: 0.825rem;
  padding: 0.65rem 0.5rem;
  box-shadow: 0 4px 12px var(--ep-red-glow);
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(224, 36, 36, 0.5);
}

/* ==========================================================================
   Product Specification Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-dialog {
  background: var(--bg-dark);
  border: 1px solid var(--border-dark-highlight);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s var(--ease-spring);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-dark);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-sub);
  font-size: 1.25rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(224, 36, 36, 0.2);
  color: var(--text-white);
}

.modal-body {
  padding: 2rem;
}

.modal-hero-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.modal-img-container {
  background: radial-gradient(circle at center, #1e2638 0%, #0d121c 100%);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-dark);
}

.modal-img-container img {
  max-height: 220px;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

.modal-specs-table th, .modal-specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-dark);
  text-align: left;
}

.modal-specs-table th {
  color: var(--text-muted);
  font-weight: 500;
  width: 45%;
}

.modal-specs-table td {
  color: var(--text-white);
  font-weight: 600;
}

.modal-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.modal-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-sub);
}

.modal-feature-item i {
  color: var(--eco-green);
  margin-top: 0.25rem;
}

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* ==========================================================================
   Cost Savings Calculator (Section 5)
   ========================================================================== */

.calculator-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0c101a 100%);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.calculator-card-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark-highlight);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.calc-controls {
  padding: 2.75rem 2.5rem;
  border-right: 1px solid var(--border-dark);
}

.calc-group {
  margin-bottom: 1.85rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.625rem;
}

.calc-label {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.calc-value-badge {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-dark);
  color: var(--ep-red-light);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  min-width: 60px;
  text-align: right;
}

.calc-slider {
  width: 100%;
  height: 8px;
  background: #1f293d;
  border-radius: var(--radius-pill);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ep-red);
  box-shadow: 0 0 12px var(--ep-red-glow);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-help-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Calculator Output Panel */
.calc-results-panel {
  background: radial-gradient(circle at top right, rgba(224, 36, 36, 0.1) 0%, transparent 70%),
              radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
              #101522;
  padding: 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.calc-results-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-dark);
}

.calc-hours-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-top: 0.5rem;
}

.calc-cost-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.cost-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: transform 0.2s ease;
}

.cost-box.box-lithium {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.cost-box.box-lead {
  border-color: rgba(255, 255, 255, 0.1);
  opacity: 0.9;
}

.cost-box-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.cost-box.box-lithium .cost-box-title { color: var(--eco-green); }
.cost-box.box-lead .cost-box-title { color: var(--text-muted); }

.cost-box-amount {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.2;
}

.cost-box-sub {
  font-size: 0.725rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Highlighted Savings Banner */
.savings-highlight-card {
  background: linear-gradient(135deg, rgba(224, 36, 36, 0.18), rgba(16, 185, 129, 0.12));
  border: 1px solid rgba(224, 36, 36, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.savings-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ep-red-light);
  margin-bottom: 0.25rem;
}

.savings-amount-huge {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.savings-percentage-tag {
  display: inline-block;
  background: var(--eco-green);
  color: #064e3b;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.15rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-top: 0.4rem;
}

.savings-yearly-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-sub);
  margin-top: 0.65rem;
}

.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  border-top: 1px solid var(--border-dark);
  padding-top: 1rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Comparison Matrix (Titan Lithium vs Lead-Acid)
   ========================================================================== */

.comparison-table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark-highlight);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-3d);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.comparison-table th, .comparison-table td {
  padding: 1.15rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-dark);
}

.comparison-table th {
  background: #111622;
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table th.col-feature {
  width: 34%;
  color: var(--text-white);
}

.comparison-table th.col-lithium {
  width: 33%;
  color: var(--eco-green);
  background: rgba(16, 185, 129, 0.08);
  border-left: 2px solid var(--eco-green);
}

.comparison-table th.col-lead {
  width: 33%;
  color: var(--text-muted);
}

.comparison-table td.col-feature {
  font-weight: 600;
  color: var(--text-white);
  font-size: 0.925rem;
}

.comparison-table td.col-lithium {
  color: #a7f3d0;
  font-weight: 700;
  font-size: 0.925rem;
  background: rgba(16, 185, 129, 0.04);
  border-left: 2px solid var(--eco-green);
}

.comparison-table td.col-lead {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ==========================================================================
   Free Trial Section (1 Bulan Seluruh Indonesia)
   ========================================================================== */

.free-trial-banner {
  background: linear-gradient(135deg, #182133 0%, #0d121c 100%);
  border: 1px solid rgba(224, 36, 36, 0.35);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), var(--shadow-glow-red);
}

.free-trial-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 36, 36, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.free-trial-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(224, 36, 36, 0.2);
  border: 1px solid var(--ep-red);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.trial-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.trial-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.trial-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--eco-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trial-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.trial-feature-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.trial-action-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Delivery Gallery & Testimonials Section
   ========================================================================== */

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.delivery-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}

.delivery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-dark-highlight);
}

.delivery-media {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #111622;
}

.delivery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-smooth);
}

.delivery-card:hover .delivery-media img {
  transform: scale(1.05);
}

.delivery-city-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.725rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.delivery-card-body {
  padding: 1.25rem;
}

.delivery-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.delivery-model {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.delivery-customer {
  font-size: 0.85rem;
  color: var(--ep-red-light);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.delivery-caption {
  font-size: 0.825rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(224, 36, 36, 0.4);
}

/* Testimonial Photo & Video Media */
.testimonial-media-box {
  margin: -2rem -2rem 1.5rem -2rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
  background: #090c13;
}

.testimonial-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.testimonial-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.testimonial-photo-preview {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.testimonial-card:hover .testimonial-photo-preview {
  transform: scale(1.04);
}

.testimonial-stars {
  color: var(--amber-gold);
  font-size: 0.95rem;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-high-contrast);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-top: 1px solid var(--border-dark);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ep-red), #8e44ad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ep-red);
  flex-shrink: 0;
}

.testimonial-model-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(224, 36, 36, 0.12);
  border: 1px solid rgba(224, 36, 36, 0.3);
  color: #fca5a5;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-top: 0.5rem;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-white);
}

.author-role {
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Consultation & Contact Console (Section 4 & 2)
   ========================================================================== */

.contact-section {
  background-color: var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.contact-detail-item:last-child {
  margin-bottom: 0;
}

.contact-icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(224, 36, 36, 0.12);
  border: 1px solid rgba(224, 36, 36, 0.3);
  color: var(--ep-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-detail-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-detail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.5;
}

/* Form Styles with 3D Inset & Active Glow */
.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark-highlight);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-3d);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.form-label .req {
  color: var(--ep-red);
  margin-left: 0.25rem;
}

.form-control {
  width: 100%;
  background: #0b0f17;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  color: var(--text-white);
  font-size: 1rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: all 0.2s var(--ease-smooth);
}

.form-control:focus {
  border-color: var(--ep-red);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 0 3px var(--ep-red-glow);
  background: #0f1420;
}

.form-control::placeholder {
  color: #64748b;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-feedback {
  font-size: 0.775rem;
  margin-top: 0.35rem;
  display: none;
}

.form-group.has-error .form-control {
  border-color: var(--ep-red);
  background: rgba(224, 36, 36, 0.05);
}

.form-group.has-error .form-feedback {
  display: block;
  color: #fca5a5;
}

/* ==========================================================================
   FAQ Section Accordion
   ========================================================================== */

.faq-container {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.active {
  border-color: rgba(224, 36, 36, 0.4);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-white);
  gap: 1rem;
}

.faq-question i {
  font-size: 0.95rem;
  color: var(--ep-red);
  transition: transform 0.3s var(--ease-spring);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-smooth);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-sub);
  line-height: 1.7;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  background-color: #05070a;
  border-top: 1px solid var(--border-dark);
  padding: 4.5rem 0 2rem 0;
  color: var(--text-sub);
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-white);
  margin-top: 0.75rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -0.4rem;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--ep-red);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: var(--text-muted);
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-contact-item i {
  color: var(--ep-red);
  margin-top: 0.2rem;
}

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

.footer-distributor-badge {
  padding-right: 80px; /* Safe space to avoid obstruction by floating buttons */
}

.footer-admin-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-sub);
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  cursor: pointer;
}

.footer-admin-pill:hover {
  background: rgba(224, 36, 36, 0.15);
  border-color: var(--ep-red);
  color: #fff;
  transform: translateY(-1px);
}

.footer-admin-pill i {
  color: var(--ep-red);
}

/* ==========================================================================
   Floating Action Stack (Bottom-Right with Safe Area)
   ========================================================================== */

.floating-stack {
  position: fixed;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  right: calc(1.5rem + env(safe-area-inset-right, 0px));
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  pointer-events: none; /* children enable pointer events */
}

.floating-btn {
  pointer-events: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  font-size: 1.45rem;
  position: relative;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-2px);
}

.floating-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp:hover {
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

.floating-qr {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-dark-highlight);
  color: var(--text-white);
  font-size: 1.25rem;
}

.floating-top {
  background: var(--bg-surface);
  border: 1px solid var(--border-dark);
  color: var(--text-sub);
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s var(--ease-spring);
}

.floating-top.visible {
  opacity: 1;
  visibility: visible;
}

.floating-tooltip {
  position: absolute;
  right: 64px;
  background: rgba(13, 17, 26, 0.95);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-dark);
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Admin Management Modal & QR Modal
   ========================================================================== */

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-dark);
  padding: 0 2rem;
}

.admin-tab-btn {
  padding: 0.85rem 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
}

.admin-tab-btn.active {
  color: var(--ep-red);
  border-bottom-color: var(--ep-red);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.admin-table th, .admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-dark);
  text-align: left;
}

.qr-modal-content {
  text-align: center;
  padding: 2.5rem;
}

.qr-code-img {
  width: 220px;
  height: 220px;
  margin: 1.5rem auto;
  padding: 0.75rem;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Accessibility & Reduced Motion Standards
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .product-card, .btn, .hero-stat-card {
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints (Desktop, Tablet, Mobile)
   ========================================================================== */

@media (max-width: 1024px) {
  .calculator-card-wrapper {
    grid-template-columns: 1fr;
  }

  .calc-controls {
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
  }

  .free-trial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --total-header-offset: 70px;
  }

  .topbar {
    display: none; /* Hide topbar on mobile to maximize viewport area */
  }

  .main-nav, .nav-cta-btn {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .hero-section {
    padding: 3rem 0 4rem 0;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .calc-cost-comparison-grid {
    grid-template-columns: 1fr;
  }

  .trial-features {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-hero-split {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-stats-row {
    grid-template-columns: 1fr;
  }

  .product-card-actions {
    grid-template-columns: 1fr;
  }

  .calc-controls, .calc-results-panel {
    padding: 1.5rem;
  }

  .free-trial-banner {
    padding: 2rem 1.25rem;
  }
}
