/* ============================================
   Battery Storage - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
  /* Brand Colors */
  --primary: #1a56db;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --secondary: #059669;
  --secondary-dark: #047857;
  --accent: #f59e0b;
  --accent-dark: #d97706;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* WhatsApp */
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-height: 72px;
  --footer-height: auto;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

a:hover {
  color: var(--primary-dark);
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

ul, ol {
  list-style: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-wide {
  max-width: var(--container-wide);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--space-2xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: var(--space-md) auto 0;
  border-radius: var(--radius-full);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.3);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--gray-100);
  border-color: var(--gray-200);
  color: var(--gray-800);
}

.btn-secondary:hover {
  background-color: var(--gray-200);
  border-color: var(--gray-300);
  color: var(--gray-900);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  border-color: var(--whatsapp);
  color: var(--white);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: var(--white);
}

.btn-ghost {
  background-color: transparent;
  border-color: transparent;
  color: var(--gray-600);
}

.btn-ghost:hover {
  background-color: var(--gray-100);
  color: var(--gray-900);
}

/* ============================================
   Forms
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--gray-700);
}

.form-group label .required {
  color: var(--error);
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--gray-800);
  background-color: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-control:disabled {
  background-color: var(--gray-100);
  cursor: not-allowed;
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

/* ============================================
   Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-height);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
}

.logo:hover {
  color: var(--gray-900);
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
}

.logo-text .tagline {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav a {
  font-weight: 500;
  color: var(--gray-600);
  padding: var(--space-sm) 0;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-base);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs);
  background-color: var(--gray-100);
  border-radius: var(--radius-md);
}

.lang-switcher a {
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.lang-switcher a:hover {
  color: var(--gray-900);
}

.lang-switcher a.active {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Cart Icon */
.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--gray-600);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.cart-link:hover {
  background-color: var(--gray-100);
  color: var(--gray-900);
}

.cart-link svg {
  width: 24px;
  height: 24px;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  background-color: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--gray-800);
  transition: all var(--transition-base);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--white);
  padding: var(--space-lg);
  z-index: 99;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .nav {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.mobile-menu .nav a {
  padding: var(--space-md);
  border-bottom: 1px solid var(--gray-100);
  font-size: 1.125rem;
}

.mobile-menu .lang-switcher {
  margin-top: var(--space-lg);
  justify-content: center;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  color: var(--gray-900);
}

.hero-content h1 span {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.hero-badge {
  position: absolute;
  background: var(--white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-badge.top-right {
  top: 10%;
  right: 0;
}

.hero-badge.bottom-left {
  bottom: 10%;
  left: 0;
}

.hero-badge .icon {
  font-size: 1.5rem;
}

.hero-badge .text {
  font-weight: 600;
  color: var(--gray-900);
}

/* ============================================
   Categories Section
   ============================================ */
.categories {
  padding: var(--space-3xl) 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  text-decoration: none;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.category-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.category-card-content {
  padding: var(--space-lg);
}

.category-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--gray-900);
}

.category-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

.category-card .arrow {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  color: var(--gray-600);
  transition: all var(--transition-base);
}

.category-card:hover .arrow {
  background: var(--primary);
  color: var(--white);
}

/* ============================================
   Product Grid
   ============================================ */
.products-section {
  padding: var(--space-3xl) 0;
  background: var(--gray-50);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.product-card-image {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
  display: block;
}

.product-card-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: var(--space-md);
  transition: transform var(--transition-slow);
  display: block;
}

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

.product-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  background: #10b981;
  color: white;
  border-radius: 3px;
  z-index: 10;
}

.product-card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.product-card h3.product-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  min-height: 2.7em;
}

.product-card h3.product-title a {
  color: #1f2937;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.product-card h3.product-title a:hover {
  color: var(--primary);
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.tag {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  font-size: 0.55rem;
  font-weight: 600;
  border-radius: 3px;
  white-space: nowrap;
}

.tag-brand {
  background: #dbeafe;
  color: #1d4ed8;
}

.tag-category {
  background: #fef3c7;
  color: #b45309;
}

.tag-badge {
  background: #d1fae5;
  color: #047857;
}

.product-specs {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.product-specs span {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
  background: #f3f4f6;
  border-radius: 4px;
}

.product-card .btn {
  width: 100%;
  margin-top: 0.75rem;
}

/* ============================================
   Applications Section
   ============================================ */
.applications {
  padding: var(--space-3xl) 0;
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-lg);
}

.application-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.application-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.application-card .icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.application-card h3 {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

.application-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

/* ============================================
   Trust Section
   ============================================ */
.trust-section {
  padding: var(--space-2xl) 0;
  background: var(--gray-900);
  color: var(--white);
}

.trust-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-weight: 500;
}

.trust-item img {
  height: 48px;
  width: auto;
}

.trust-item .icon {
  font-size: 2rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  text-align: center;
}

.cta h2 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.cta p {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.cta .btn-whatsapp {
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-lg);
}

.footer-brand .logo-text .brand {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

.footer-links a {
  display: block;
  color: var(--gray-400);
  padding: var(--space-sm) 0;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-contact p {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-800);
  border-radius: var(--radius-md);
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--gray-800);
  font-size: 0.875rem;
}

.footer-lang a {
  color: var(--gray-400);
  margin: 0 var(--space-sm);
}

.footer-lang a:hover {
  color: var(--white);
}

/* ============================================
   Products Page
   ============================================ */
.page-header {
  background: var(--gray-100);
  padding: var(--space-2xl) 0;
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--gray-600);
}

.breadcrumb a {
  color: var(--gray-600);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  color: var(--gray-400);
}

.products-page {
  padding: var(--space-2xl) 0;
}

.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
}

/* Filters Sidebar */
.filters-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
  height: fit-content;
}

.filter-group {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.filter-group h3 {
  font-size: 1rem;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-200);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  cursor: pointer;
}

.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.filter-option label {
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
}

/* Products Sidebar (new style) */
.products-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
  height: fit-content;
}

.filter-section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.filter-section h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-200);
}

.filter-options {
  display: flex;
  flex-direction: column;
}

.filter-options .filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  cursor: pointer;
}

.filter-options .filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.filter-options .filter-option span {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* Products Main Content */
.products-main {
  min-width: 0;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.products-count {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

.products-search {
  min-width: 200px;
  max-width: 300px;
}

.products-search .form-control {
  width: 100%;
}

/* Product Meta (brand + series) */
.product-meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.product-brand {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
}

.meta-sep {
  color: var(--gray-400);
  font-size: 0.65rem;
}

.product-meta .product-series {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ============================================
   Product Detail Page
   ============================================ */
.product-detail {
  padding: var(--space-2xl) 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
}

.product-main-image {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.product-main-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: var(--space-xl);
}

.product-thumbnails {
  display: flex;
  gap: var(--space-sm);
}

.product-thumbnails button {
  width: 80px;
  height: 80px;
  padding: var(--space-sm);
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-thumbnails button:hover,
.product-thumbnails button.active {
  border-color: var(--primary);
}

.product-thumbnails button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info {
  padding-top: var(--space-md);
}

.product-info .product-series {
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.product-info h1 {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
}

.product-description {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.product-specs-table {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.product-specs-table h3 {
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm);
  background: var(--white);
  border-radius: var(--radius-sm);
}

.spec-item .label {
  color: var(--gray-600);
  font-size: 0.9rem;
}

.spec-item .value {
  font-weight: 600;
  color: var(--gray-900);
}

.product-applications {
  margin-bottom: var(--space-xl);
}

.product-applications h3 {
  font-size: 1rem;
  margin-bottom: var(--space-md);
}

.application-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.application-tag {
  padding: var(--space-sm) var(--space-md);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--gray-700);
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.quantity-selector label {
  font-weight: 500;
}

.quantity-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.quantity-input button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border: none;
  font-size: 1.25rem;
  color: var(--gray-600);
  transition: all var(--transition-fast);
}

.quantity-input button:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

.quantity-input input {
  width: 60px;
  height: 44px;
  text-align: center;
  border: none;
  font-size: 1rem;
  font-weight: 500;
}

.quantity-input input:focus {
  outline: none;
}

.action-buttons {
  display: flex;
  gap: var(--space-md);
}

.action-buttons .btn {
  flex: 1;
}

.download-datasheet {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--gray-100);
  border-radius: var(--radius-md);
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

.download-datasheet:hover {
  background: var(--gray-200);
  color: var(--gray-900);
}

/* ============================================
   Cart Page
   ============================================ */
.cart-page {
  padding: var(--space-2xl) 0;
  min-height: 60vh;
}

.cart-page h1 {
  margin-bottom: var(--space-2xl);
}

.cart-empty {
  text-align: center;
  padding: var(--space-3xl);
}

.cart-empty .icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  opacity: 0.5;
}

.cart-empty h2 {
  margin-bottom: var(--space-md);
}

.cart-empty p {
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  align-items: start;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto auto;
  gap: var(--space-lg);
  align-items: center;
  padding: var(--space-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
}

.cart-item-details h3 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.cart-item-details .specs {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
}

.cart-item-quantity button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.125rem;
  color: var(--gray-600);
  cursor: pointer;
}

.cart-item-quantity button:hover {
  color: var(--primary);
}

.cart-item-quantity input {
  width: 50px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--gray-300);
  border-right: 1px solid var(--gray-300);
  font-size: 0.9rem;
}

.cart-item-notes input {
  width: 200px;
  padding: var(--space-sm);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
}

.cart-item-remove {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.cart-item-remove:hover {
  background: var(--error);
  color: var(--white);
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.cart-summary h3 {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-200);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
}

.summary-row .label {
  color: var(--gray-600);
}

.summary-row .value {
  font-weight: 600;
}

.cart-summary .btn {
  margin-top: var(--space-lg);
}

/* ============================================
   Checkout Page
   ============================================ */
.checkout-page {
  padding: var(--space-2xl) 0;
}

.checkout-page h1 {
  margin-bottom: var(--space-2xl);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-2xl);
  align-items: start;
}

.checkout-form-section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.checkout-form-section h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-200);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  width: 100%;
}

.contact-method:hover {
  border-color: var(--primary);
  background: var(--gray-50);
}

.contact-method.whatsapp:hover {
  border-color: var(--whatsapp);
}

.contact-method .method-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
}

.contact-method.whatsapp .method-icon {
  background: var(--whatsapp);
  color: var(--white);
}

.contact-method .method-icon svg {
  width: 24px;
  height: 24px;
}

.contact-method .method-info h3 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.contact-method .method-info p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

.order-summary-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.order-summary-sidebar h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-200);
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.checkout-item {
  display: flex;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--gray-100);
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: var(--space-xs);
}

.checkout-item-info h4 {
  font-size: 0.9rem;
  margin-bottom: var(--space-xs);
}

.checkout-item-info p {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin: 0;
}

.checkout-item-info .notes {
  font-style: italic;
  color: var(--gray-500);
}

/* ============================================
   Cart Notification Toast
   ============================================ */
.cart-notification {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-slow);
  z-index: 1000;
}

.cart-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.cart-notification .icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--success);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
}

/* ============================================
   About Page
   ============================================ */
.about-hero {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 50%, var(--gray-50) 100%);
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: aboutFloat 8s ease-in-out infinite;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: aboutFloat 10s ease-in-out infinite reverse;
}

@keyframes aboutFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

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

.about-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-content {
  animation: aboutFadeInUp 0.8s ease-out;
}

.about-content h1 {
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: aboutTitleReveal 1s ease-out, aboutTitleGlow 3s ease-in-out infinite 1s;
}

@keyframes aboutTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(-20px);
    letter-spacing: 0.3em;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: normal;
  }
}

@keyframes aboutTitleGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(26, 86, 219, 0.3));
  }
}

.about-content p {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
  animation: aboutFadeInUp 0.8s ease-out backwards;
  animation-delay: 0.3s;
}

.about-content p:nth-of-type(2) {
  animation-delay: 0.5s;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.stat-item {
  text-align: center;
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  animation: aboutFadeInUp 0.8s ease-out backwards;
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.4s; }
.stat-item:nth-child(3) { animation-delay: 0.6s; }

.stat-item:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

.stat-item .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  animation: statPop 0.6s ease-out backwards;
}

.stat-item:nth-child(1) .number { animation-delay: 0.4s; }
.stat-item:nth-child(2) .number { animation-delay: 0.6s; }
.stat-item:nth-child(3) .number { animation-delay: 0.8s; }

@keyframes statPop {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.stat-item .number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: var(--space-sm);
}

/* About Visual Animation */
.about-visual {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-battery {
  position: relative;
  animation: batteryFloat 3s ease-in-out infinite;
}

.battery-cap {
  width: 40px;
  height: 20px;
  background: linear-gradient(180deg, #059669 0%, #047857 100%);
  border-radius: 6px 6px 0 0;
  margin: 0 auto;
}

.battery-body {
  width: 120px;
  height: 180px;
  background: linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%);
  border: 4px solid #059669;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(5, 150, 105, 0.3);
}

.battery-level {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(180deg, #34d399 0%, #059669 100%);
  animation: batteryCharge 3s ease-in-out infinite;
}

.battery-bolt {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  z-index: 2;
  animation: boltPulse 1.5s ease-in-out infinite;
}

@keyframes batteryFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes batteryCharge {
  0%, 100% { height: 30%; }
  50% { height: 90%; }
}

@keyframes boltPulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.2); }
}

/* Floating Icons */
.float-icon {
  position: absolute;
  font-size: 2rem;
  animation: iconFloat 4s ease-in-out infinite;
}

.float-1 { top: 10%; left: 10%; animation-delay: 0s; }
.float-2 { top: 20%; right: 15%; animation-delay: 1s; }
.float-3 { bottom: 25%; left: 5%; animation-delay: 2s; }
.float-4 { bottom: 15%; right: 10%; animation-delay: 0.5s; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-20px) rotate(10deg); opacity: 1; }
}

/* Decorative Circles */
.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(5, 150, 105, 0.2);
  animation: circleExpand 4s ease-in-out infinite;
}

.circle-1 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0s;
}

.circle-2 {
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0.5s;
}

.circle-3 {
  width: 360px;
  height: 360px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1s;
}

@keyframes circleExpand {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

.why-choose-us {
  padding: var(--space-3xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.feature-card {
  text-align: center;
  padding: var(--space-xl);
}

.feature-card .icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
}

.feature-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* ============================================
   Trust Showcase Section - Professional Testimonials
   ============================================ */
.trust-showcase {
  position: relative;
  padding: var(--space-3xl) 0 calc(var(--space-3xl) * 1.5);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  overflow: hidden;
}

.trust-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.trust-showcase__bg {
  display: none;
}

.trust-showcase .container {
  position: relative;
  z-index: 1;
}

/* Header */
.trust-showcase__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.trust-showcase__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gray-600);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.trust-showcase__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

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

.trust-showcase__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--gray-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.trust-showcase__title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-showcase__subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Stats Row */
.trust-showcase__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.trust-stat {
  text-align: center;
}

.trust-stat__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.trust-stat__value .star {
  color: #fbbf24;
  font-size: 1.5rem;
}

.trust-stat__label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Profile Card */
.trust-showcase__profile {
  max-width: 900px;
  margin: 0 auto var(--space-3xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 20px -5px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-slow);
}

.trust-showcase__profile:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 12px -2px rgba(0, 0, 0, 0.08),
    0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

.trust-showcase__profile-img {
  display: block;
  width: 100%;
  height: auto;
}

/* Reviews Section */
.trust-showcase__reviews {
  max-width: 1000px;
  margin: 0 auto;
}

.trust-showcase__reviews-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-xl);
}

.trust-showcase__reviews-title::before,
.trust-showcase__reviews-title::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--gray-200);
}

/* Review Cards - Single Column for Readability */
.review-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  max-width: 100%;
}

.review-card-img {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.review-card-img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.review-card-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .trust-showcase__stats {
    flex-wrap: wrap;
    gap: var(--space-lg) var(--space-xl);
  }

  .trust-stat__value {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .trust-showcase {
    padding: var(--space-2xl) 0;
  }

  .trust-showcase__profile {
    border-radius: var(--radius-md);
  }

  .review-cards {
    gap: var(--space-md);
  }

  .trust-showcase__stats {
    gap: var(--space-md);
  }

  .trust-stat__value {
    font-size: 1.5rem;
  }

  .trust-stat__label {
    font-size: 0.75rem;
  }

  .review-card-img::before {
    display: none;
  }
}

/* ============================================
   Testimonials Section (Redesigned)
   ============================================ */
.testimonials-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 50%, var(--white) 100%);
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.testimonials-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.testimonials-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.testimonials-title span {
  color: var(--primary);
}

.testimonials-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.seller-profile {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.seller-profile__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--gray-200);
}

.review-screenshots {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.review-screenshot {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
}

/* Trust Metrics */
.trust-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto var(--space-3xl);
}

.trust-metric {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.trust-metric:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.1);
}

.trust-metric__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-md);
  color: var(--white);
  flex-shrink: 0;
}

.trust-metric__content {
  display: flex;
  flex-direction: column;
}

.trust-metric__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

.trust-metric__label {
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all var(--transition-slow);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--gray-100);
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.testimonial-rating {
  display: flex;
  gap: 0.125rem;
  margin-bottom: var(--space-md);
}

.testimonial-rating .star {
  color: #fbbf24;
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: var(--space-lg);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-100);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  color: var(--gray-900);
  font-size: 0.9rem;
}

.testimonial-verified {
  font-size: 0.75rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.testimonial-verified::before {
  content: '✓';
  font-weight: bold;
}

/* Responsive */
@media (max-width: 992px) {
  .trust-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .trust-metrics {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .trust-metric {
    padding: var(--space-md);
  }

  .trust-metric__icon {
    width: 40px;
    height: 40px;
  }

  .trust-metric__icon svg {
    width: 18px;
    height: 18px;
  }

  .trust-metric__value {
    font-size: 1.25rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 576px) {
  .testimonials-section {
    padding: var(--space-2xl) 0;
  }

  .trust-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .trust-metric__label {
    font-size: 0.7rem;
  }
}

/* ============================================
   Contact Page
   ============================================ */
.contact-section {
  padding: var(--space-3xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info {
  padding: var(--space-xl);
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
}

.contact-item .icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.contact-item-content p {
  color: var(--gray-600);
  margin: 0;
  font-size: 0.95rem;
}

.contact-item-content a {
  color: var(--primary);
}

.contact-form-section {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact-form-section h2 {
  margin-bottom: var(--space-xl);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    max-width: 400px;
  }

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

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .application-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .products-layout {
    grid-template-columns: 1fr;
  }

  .filters-sidebar,
  .products-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .products-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .products-search {
    max-width: none;
  }

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

  .product-gallery {
    position: static;
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .order-summary-sidebar {
    position: static;
  }

  .about-hero .container,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

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

  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }

  .nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

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

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

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

  .trust-grid {
    gap: var(--space-xl);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .filters-sidebar {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: var(--space-md);
  }

  .cart-item-quantity,
  .cart-item-notes,
  .cart-item-remove {
    grid-column: 2;
  }

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

  .about-stats {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    padding: var(--space-xl) 0;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

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

  .action-buttons {
    flex-direction: column;
  }

  .quantity-selector {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  .header,
  .footer,
  .cart-link,
  .btn,
  .mobile-menu-toggle {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ============================================
   3D Abstract Battery Animation
   ============================================ */

/* Main Container with 3D Perspective */
.hero-battery {
  position: relative;
  width: 300px;
  height: 420px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* 3D Wrapper - Float Animation */
.battery-3d {
  position: relative;
  transform-style: preserve-3d;
  animation: battery3DFloat 5s ease-in-out infinite;
}

@keyframes battery3DFloat {
  0%, 100% {
    transform: rotateX(-5deg) rotateY(-10deg) translateY(0);
  }
  50% {
    transform: rotateX(-8deg) rotateY(-15deg) translateY(-20px);
  }
}

/* Battery Shell - Dark with 3D depth */
.battery-shell {
  position: relative;
  width: 180px;
  height: 320px;
  background: linear-gradient(145deg, #2d3748 0%, #1a202c 50%, #0d1117 100%);
  border-radius: 20px;
  box-shadow:
    20px 20px 0 -5px #0d1117,
    0 0 80px rgba(16, 185, 129, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.1),
    0 25px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform-style: preserve-3d;
}

/* 3D Side Effect */
.battery-shell::after {
  content: '';
  position: absolute;
  top: 10px;
  right: -20px;
  width: 20px;
  height: 300px;
  background: linear-gradient(180deg, #1a202c 0%, #0d1117 100%);
  transform: skewY(-45deg);
  transform-origin: top left;
  border-radius: 0 10px 10px 0;
}

/* Battery Terminal */
.battery-shell::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 26px;
  background: linear-gradient(145deg, #4a5568 0%, #2d3748 100%);
  border-radius: 10px 10px 0 0;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.15),
    0 -4px 15px rgba(0, 0, 0, 0.4),
    10px 0 0 -2px #1a202c;
}

/* Battery Inner Container */
.battery-inner {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  bottom: 18px;
  background: linear-gradient(180deg, #0a0a0a 0%, #111827 100%);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  gap: 10px;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Charging Bars */
.charge-bar {
  height: 48px;
  background: linear-gradient(90deg,
    #047857 0%,
    #059669 20%,
    #10b981 40%,
    #34d399 50%,
    #10b981 60%,
    #059669 80%,
    #047857 100%);
  border-radius: 8px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  box-shadow:
    0 0 25px rgba(16, 185, 129, 0.7),
    0 0 50px rgba(16, 185, 129, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  animation: chargeBar 3.5s ease-out infinite;
}

.charge-bar:nth-child(1) { animation-delay: 0s; }
.charge-bar:nth-child(2) { animation-delay: 0.5s; }
.charge-bar:nth-child(3) { animation-delay: 1s; }
.charge-bar:nth-child(4) { animation-delay: 1.5s; }
.charge-bar:nth-child(5) { animation-delay: 2s; }

@keyframes chargeBar {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }
  20% {
    opacity: 1;
    transform: scaleX(1);
  }
  80% {
    opacity: 1;
    transform: scaleX(1);
  }
  100% {
    opacity: 0.9;
    transform: scaleX(1);
  }
}

/* Lightning Bolt Icon */
.lightning-bolt {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55px;
  height: 75px;
  z-index: 5;
}

.lightning-bolt svg {
  width: 100%;
  height: 100%;
  fill: rgba(250, 204, 21, 0.95);
  filter: drop-shadow(0 0 15px rgba(250, 204, 21, 0.9))
          drop-shadow(0 0 30px rgba(250, 204, 21, 0.6))
          drop-shadow(0 0 45px rgba(250, 204, 21, 0.3));
  animation: boltPulse 1.2s ease-in-out infinite;
}

@keyframes boltPulse {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

/* Percentage Display */
.battery-percentage {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  text-shadow:
    0 0 20px rgba(16, 185, 129, 0.9),
    0 0 40px rgba(16, 185, 129, 0.5);
  z-index: 10;
  opacity: 0;
  animation: percentFade 3.5s ease-in-out infinite;
}

@keyframes percentFade {
  0%, 65% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  75% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  90% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

/* Energy Glow */
.battery-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 360px;
  background: radial-gradient(ellipse at center,
    rgba(16, 185, 129, 0.25) 0%,
    rgba(16, 185, 129, 0.1) 40%,
    transparent 70%);
  animation: glowPulse 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

/* Ring Pulses */
.ring-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  border: 3px solid rgba(16, 185, 129, 0.4);
  border-radius: 50%;
  animation: ringExpand 3s ease-out infinite;
}

.ring-pulse:nth-child(2) { animation-delay: 1s; }
.ring-pulse:nth-child(3) { animation-delay: 2s; }

@keyframes ringExpand {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.5);
  }
}

/* Energy Particles */
.energy-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  bottom: 20%;
  opacity: 0;
  box-shadow:
    0 0 12px #10b981,
    0 0 24px #10b981,
    0 0 36px rgba(16, 185, 129, 0.5);
  animation: particleRise 4s ease-out infinite;
}

.particle:nth-child(1) { left: 15%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: 0.6s; }
.particle:nth-child(3) { left: 50%; animation-delay: 1.2s; }
.particle:nth-child(4) { left: 70%; animation-delay: 1.8s; }
.particle:nth-child(5) { left: 85%; animation-delay: 2.4s; }
.particle:nth-child(6) { left: 22%; animation-delay: 0.3s; }
.particle:nth-child(7) { left: 58%; animation-delay: 0.9s; }
.particle:nth-child(8) { left: 78%; animation-delay: 1.5s; }

@keyframes particleRise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
    transform: translateY(-350px) scale(0);
  }
}

/* Electric Arc */
.electric-arc {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 70px;
  opacity: 0;
  animation: arcFlash 3s ease-in-out infinite;
}

.electric-arc::before,
.electric-arc::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 35px;
  background: linear-gradient(180deg, #93c5fd 0%, #3b82f6 40%, #1d4ed8 70%, transparent 100%);
  border-radius: 2px;
  box-shadow:
    0 0 15px #3b82f6,
    0 0 30px #3b82f6,
    0 0 45px rgba(59, 130, 246, 0.5);
}

.electric-arc::before {
  left: 12px;
  transform: rotate(-20deg);
  animation: arcFlicker 0.15s ease-in-out infinite alternate;
}

.electric-arc::after {
  right: 12px;
  transform: rotate(20deg);
  animation: arcFlicker 0.15s ease-in-out infinite alternate-reverse;
}

@keyframes arcFlash {
  0%, 100% { opacity: 0; }
  40%, 60% { opacity: 0; }
  45%, 55% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes arcFlicker {
  0% { opacity: 0.7; height: 30px; }
  100% { opacity: 1; height: 38px; }
}

/* Ground Shadow */
.battery-shadow {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    transparent 80%
  );
  filter: blur(8px);
  animation: shadowFloat 5s ease-in-out infinite;
}

@keyframes shadowFloat {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translateX(-50%) scale(0.85);
    opacity: 0.6;
  }
}

/* Performance */
.battery-3d,
.battery-shell {
  will-change: transform;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .battery-3d {
    animation: none;
    transform: rotateX(-5deg) rotateY(-10deg);
  }

  .charge-bar,
  .particle,
  .ring-pulse,
  .battery-glow,
  .lightning-bolt svg,
  .battery-percentage,
  .electric-arc,
  .battery-shadow {
    animation: none;
  }

  .charge-bar {
    opacity: 1;
    transform: scaleX(1);
  }

  .lightning-bolt svg {
    opacity: 1;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .hero-battery {
    width: 220px;
    height: 340px;
    margin-top: 2rem;
  }

  .battery-shell {
    width: 140px;
    height: 250px;
  }

  .battery-shell::before {
    width: 55px;
    height: 20px;
    top: -16px;
  }

  .battery-shell::after {
    width: 15px;
    height: 230px;
    right: -15px;
  }

  .battery-inner {
    top: 14px;
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 10px;
    gap: 8px;
  }

  .charge-bar {
    height: 36px;
  }

  .lightning-bolt {
    width: 40px;
    height: 55px;
  }

  .battery-percentage {
    font-size: 1.6rem;
  }

  .ring-pulse {
    width: 140px;
    height: 140px;
  }

  .particle:nth-child(n+6) {
    display: none;
  }
}

/* ============================================
   Applications Page - Animated Sections
   ============================================ */

/* Application Card Container */
.app-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-200);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.app-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.app-card:last-child {
  border-bottom: none;
}

.app-card.reverse {
  direction: rtl;
}

.app-card.reverse > * {
  direction: ltr;
}

/* Animated Icon Container */
.app-icon-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.app-icon svg {
  width: 60px;
  height: 60px;
  position: relative;
  z-index: 2;
}

/* Icon Glow Ring */
.app-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}

/* Solar Icon - Yellow/Orange */
.app-icon.solar {
  background: linear-gradient(135deg, #fef3c7 0%, #fcd34d 100%);
}
.app-icon.solar::before {
  background: #f59e0b;
}
.app-icon.solar svg {
  fill: #d97706;
  animation: sunRotate 20s linear infinite;
}
@keyframes sunRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* UPS Icon - Blue */
.app-icon.ups {
  background: linear-gradient(135deg, #dbeafe 0%, #60a5fa 100%);
}
.app-icon.ups::before {
  background: #3b82f6;
}
.app-icon.ups svg {
  fill: #1d4ed8;
  animation: powerBlink 2s ease-in-out infinite;
}
@keyframes powerBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Telecom Icon - Purple */
.app-icon.telecom {
  background: linear-gradient(135deg, #ede9fe 0%, #a78bfa 100%);
}
.app-icon.telecom::before {
  background: #8b5cf6;
}
.app-icon.telecom svg {
  fill: #6d28d9;
}

/* Signal Waves Animation */
.signal-waves {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.signal-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(139, 92, 246, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: signalExpand 2s ease-out infinite;
}
.signal-wave:nth-child(2) { animation-delay: 0.5s; }
.signal-wave:nth-child(3) { animation-delay: 1s; }
@keyframes signalExpand {
  0% { width: 40px; height: 40px; opacity: 1; }
  100% { width: 120px; height: 120px; opacity: 0; }
}

/* EV Icon - Green */
.app-icon.ev {
  background: linear-gradient(135deg, #d1fae5 0%, #34d399 100%);
}
.app-icon.ev::before {
  background: #10b981;
}
.app-icon.ev svg {
  fill: #059669;
}

/* Wheel Animation */
.wheel-spin {
  animation: wheelRotate 1s linear infinite;
  transform-origin: center;
}
@keyframes wheelRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Industrial Icon - Gray/Steel */
.app-icon.industrial {
  background: linear-gradient(135deg, #e5e7eb 0%, #9ca3af 100%);
}
.app-icon.industrial::before {
  background: #6b7280;
}
.app-icon.industrial svg {
  fill: #374151;
  animation: gearSpin 8s linear infinite;
}
@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Security Icon - Red */
.app-icon.security {
  background: linear-gradient(135deg, #fee2e2 0%, #f87171 100%);
}
.app-icon.security::before {
  background: #ef4444;
}
.app-icon.security svg {
  fill: #dc2626;
  animation: shieldPulse 2s ease-in-out infinite;
}
@keyframes shieldPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* App Content */
.app-content h2 {
  font-size: 1.75rem;
  color: var(--gray-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.app-content p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.app-content ul {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  padding-left: 0;
  list-style: none;
}

.app-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.app-content li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

.app-content .recommended {
  background: var(--gray-100);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  margin-bottom: 1.5rem;
}

.app-content .recommended strong {
  color: var(--primary);
}

/* App Image - Animated Scene Container */
.app-image {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}

.app-scene {
  position: relative;
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== SOLAR SCENE ===== */
.solar-scene {
  position: relative;
}

.solar-sun {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 50%;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 60px rgba(251, 191, 36, 0.6), 0 0 100px rgba(251, 191, 36, 0.3);
  animation: sunPulse 3s ease-in-out infinite;
}

.solar-rays {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  animation: raysRotate 20s linear infinite;
}

.solar-ray {
  position: absolute;
  width: 4px;
  height: 25px;
  background: linear-gradient(180deg, #fbbf24 0%, transparent 100%);
  left: 50%;
  top: -15px;
  transform-origin: bottom center;
  border-radius: 2px;
}

.solar-ray:nth-child(1) { transform: translateX(-50%) rotate(0deg); }
.solar-ray:nth-child(2) { transform: translateX(-50%) rotate(45deg); }
.solar-ray:nth-child(3) { transform: translateX(-50%) rotate(90deg); }
.solar-ray:nth-child(4) { transform: translateX(-50%) rotate(135deg); }
.solar-ray:nth-child(5) { transform: translateX(-50%) rotate(180deg); }
.solar-ray:nth-child(6) { transform: translateX(-50%) rotate(225deg); }
.solar-ray:nth-child(7) { transform: translateX(-50%) rotate(270deg); }
.solar-ray:nth-child(8) { transform: translateX(-50%) rotate(315deg); }

@keyframes raysRotate {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes sunPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(251, 191, 36, 0.6), 0 0 100px rgba(251, 191, 36, 0.3); }
  50% { box-shadow: 0 0 80px rgba(251, 191, 36, 0.8), 0 0 120px rgba(251, 191, 36, 0.4); }
}

.solar-panel {
  position: absolute;
  bottom: 40px;
  width: 120px;
  height: 80px;
  background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
  border-radius: 4px;
  transform: perspective(200px) rotateX(30deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.solar-panel::before {
  content: '';
  position: absolute;
  inset: 4px;
  background: repeating-linear-gradient(
    90deg,
    #1e40af 0px,
    #1e40af 18px,
    #1e3a5f 18px,
    #1e3a5f 20px
  );
  border-radius: 2px;
}

.solar-panel:nth-child(4) { left: 20px; }
.solar-panel:nth-child(5) { right: 20px; }

.solar-energy-flow {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fbbf24;
  border-radius: 50%;
  box-shadow: 0 0 10px #fbbf24;
  animation: energyFlow 2s ease-in-out infinite;
}

.solar-energy-flow:nth-child(6) { left: 80px; animation-delay: 0s; }
.solar-energy-flow:nth-child(7) { left: 50%; animation-delay: 0.5s; }
.solar-energy-flow:nth-child(8) { right: 80px; animation-delay: 1s; }

@keyframes energyFlow {
  0% { top: 100px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 180px; opacity: 0; }
}

/* ===== UPS SCENE ===== */
.ups-scene {
  position: relative;
}

.ups-unit {
  width: 100px;
  height: 160px;
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ups-unit::before {
  content: 'UPS';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 700;
  color: #9ca3af;
  letter-spacing: 0.1em;
}

.ups-screen {
  position: absolute;
  top: 40px;
  left: 15px;
  right: 15px;
  height: 50px;
  background: #0a0a0a;
  border-radius: 4px;
  overflow: hidden;
}

.ups-bar {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 12px;
  height: 0;
  background: #10b981;
  border-radius: 2px;
  animation: upsBar 2s ease-out infinite;
}

.ups-bar:nth-child(1) { left: 8px; animation-delay: 0s; }
.ups-bar:nth-child(2) { left: 24px; animation-delay: 0.2s; }
.ups-bar:nth-child(3) { left: 40px; animation-delay: 0.4s; }
.ups-bar:nth-child(4) { left: 56px; animation-delay: 0.6s; }

@keyframes upsBar {
  0%, 100% { height: 8px; }
  50% { height: 34px; }
}

.ups-led {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 15px #10b981;
  animation: ledBlink 1s ease-in-out infinite;
}

@keyframes ledBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ups-bolt {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  animation: boltFlash 2s ease-in-out infinite;
}

@keyframes boltFlash {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.2); }
}

.ups-power-line {
  position: absolute;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
  top: 80px;
  animation: powerFlow 1.5s linear infinite;
}

.ups-power-line:nth-child(6) { left: -80px; animation-delay: 0s; }
.ups-power-line:nth-child(7) { right: -80px; animation-delay: 0.75s; }

@keyframes powerFlow {
  0% { opacity: 0; transform: translateX(-20px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateX(20px); }
}

/* ===== TELECOM SCENE ===== */
.telecom-scene {
  position: relative;
}

.telecom-tower {
  width: 20px;
  height: 180px;
  background: linear-gradient(180deg, #6b7280 0%, #374151 100%);
  position: relative;
  border-radius: 2px;
}

.telecom-tower::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 25px solid #ef4444;
}

.telecom-tower::after {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: towerBlink 1s ease-in-out infinite;
}

@keyframes towerBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px #ef4444; }
  50% { opacity: 0.5; box-shadow: 0 0 5px #ef4444; }
}

.telecom-dish {
  position: absolute;
  width: 30px;
  height: 15px;
  background: #9ca3af;
  border-radius: 50% 50% 0 0;
  top: 40px;
}

.telecom-dish:nth-child(2) { left: -25px; transform: rotate(-30deg); }
.telecom-dish:nth-child(3) { right: -25px; transform: rotate(30deg); }

.telecom-signal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(139, 92, 246, 0.5);
  border-radius: 50%;
  animation: signalWave 2s ease-out infinite;
}

.telecom-signal:nth-child(4) { animation-delay: 0s; }
.telecom-signal:nth-child(5) { animation-delay: 0.5s; }
.telecom-signal:nth-child(6) { animation-delay: 1s; }

@keyframes signalWave {
  0% { width: 40px; height: 40px; opacity: 1; }
  100% { width: 200px; height: 200px; opacity: 0; }
}

/* ===== EV SCENE ===== */
.ev-scene {
  position: relative;
}

.ev-car {
  position: relative;
  width: 180px;
  height: 70px;
}

.ev-body {
  position: absolute;
  bottom: 20px;
  width: 180px;
  height: 50px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 10px 30px 5px 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ev-body::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 40px;
  width: 80px;
  height: 25px;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  border-radius: 20px 20px 0 0;
}

.ev-window {
  position: absolute;
  top: -15px;
  left: 50px;
  width: 60px;
  height: 18px;
  background: linear-gradient(180deg, #93c5fd 0%, #60a5fa 100%);
  border-radius: 10px 10px 0 0;
}

.ev-wheel {
  position: absolute;
  bottom: 0;
  width: 30px;
  height: 30px;
  background: #1f2937;
  border-radius: 50%;
  border: 4px solid #6b7280;
  animation: wheelSpin 0.5s linear infinite;
}

.ev-wheel::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #9ca3af;
  border-radius: 50%;
}

.ev-wheel:nth-child(3) { left: 20px; }
.ev-wheel:nth-child(4) { right: 20px; }

@keyframes wheelSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ev-charge-bolt {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 40px;
  animation: chargePulse 1.5s ease-in-out infinite;
}

.ev-charge-bolt svg {
  fill: #fbbf24;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.8));
}

@keyframes chargePulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(0.9); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.ev-road {
  position: absolute;
  bottom: 0;
  left: -50px;
  right: -50px;
  height: 10px;
  background: #374151;
  border-radius: 5px;
}

.ev-road::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, #fbbf24 0px, #fbbf24 20px, transparent 20px, transparent 40px);
  animation: roadMove 0.5s linear infinite;
}

@keyframes roadMove {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}

/* ===== INDUSTRIAL SCENE ===== */
.industrial-scene {
  position: relative;
}

.industrial-gear {
  position: absolute;
  border-radius: 50%;
  border: 8px solid #6b7280;
  animation: gearRotate 4s linear infinite;
}

.industrial-gear::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: 30%;
  background: #374151;
  border-radius: 50%;
}

.industrial-gear.large {
  width: 120px;
  height: 120px;
  left: 30px;
  top: 50px;
}

.industrial-gear.small {
  width: 70px;
  height: 70px;
  right: 50px;
  top: 80px;
  animation-direction: reverse;
  animation-duration: 2.5s;
}

@keyframes gearRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.industrial-gear-tooth {
  position: absolute;
  width: 15px;
  height: 25px;
  background: #6b7280;
  border-radius: 3px;
}

.industrial-forklift {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 60px;
}

.forklift-body {
  position: absolute;
  bottom: 15px;
  width: 60px;
  height: 40px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border-radius: 5px;
}

.forklift-cabin {
  position: absolute;
  bottom: 25px;
  left: 10px;
  width: 25px;
  height: 30px;
  background: #1f2937;
  border-radius: 3px 3px 0 0;
}

.forklift-fork {
  position: absolute;
  bottom: 5px;
  right: -15px;
  width: 20px;
  height: 5px;
  background: #6b7280;
  animation: forkLift 2s ease-in-out infinite;
}

.forklift-fork::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 5px;
  height: 25px;
  background: #6b7280;
}

@keyframes forkLift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.forklift-wheel {
  position: absolute;
  bottom: 0;
  width: 15px;
  height: 15px;
  background: #1f2937;
  border-radius: 50%;
}

.forklift-wheel:nth-child(4) { left: 5px; }
.forklift-wheel:nth-child(5) { left: 40px; }

/* ===== SECURITY SCENE ===== */
.security-scene {
  position: relative;
}

.security-shield {
  width: 100px;
  height: 120px;
  position: relative;
}

.security-shield svg {
  width: 100%;
  height: 100%;
  fill: #3b82f6;
  filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.4));
  animation: shieldPulse 2s ease-in-out infinite;
}

@keyframes shieldPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 10px 30px rgba(59, 130, 246, 0.4)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 15px 40px rgba(59, 130, 246, 0.6)); }
}

.security-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  color: white;
  animation: checkPop 2s ease-in-out infinite;
}

@keyframes checkPop {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

.security-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: securityPulse 2s ease-out infinite;
}

.security-ring:nth-child(3) { animation-delay: 0s; }
.security-ring:nth-child(4) { animation-delay: 0.5s; }
.security-ring:nth-child(5) { animation-delay: 1s; }

@keyframes securityPulse {
  0% { width: 100px; height: 120px; opacity: 1; }
  100% { width: 250px; height: 280px; opacity: 0; }
}

.security-lock {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  animation: lockBounce 1s ease-in-out infinite;
}

@keyframes lockBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

/* Floating Elements Animation */
.floating-element {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { top: 60%; right: 15%; animation-delay: 2s; }
.floating-element:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* Stats Row */
.app-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.app-stat {
  text-align: center;
}

.app-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.app-stat-label {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Page Header Enhanced */
.page-header.applications {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: white;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.page-header.applications::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 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.03'%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");
}

.page-header.applications h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header.applications p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
}

.page-header.applications .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.page-header.applications .breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 968px) {
  .app-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
  }

  .app-card.reverse {
    direction: ltr;
  }

  .app-image {
    order: -1;
    min-height: 200px;
    padding: 2rem;
  }

  .app-icon-container {
    width: 80px;
    height: 80px;
  }

  .app-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
  }

  .app-icon svg {
    width: 40px;
    height: 40px;
  }

  .app-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* ============================================
   Skeleton Loading Styles
   High-performance loading states
   ============================================ */

/* Skeleton Animation */
@keyframes skeleton-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Skeleton Card */
.skeleton-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.skeleton-image {
  aspect-ratio: 4/3;
  background: linear-gradient(
    90deg,
    var(--gray-100) 0%,
    var(--gray-200) 50%,
    var(--gray-100) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

.skeleton-content {
  padding: 1rem;
}

.skeleton-line {
  height: 1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    90deg,
    var(--gray-100) 0%,
    var(--gray-200) 50%,
    var(--gray-100) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
  margin-bottom: 0.75rem;
}

.skeleton-title {
  width: 80%;
  height: 1.25rem;
}

.skeleton-tags {
  width: 60%;
  height: 0.75rem;
}

.skeleton-specs {
  width: 40%;
  height: 0.875rem;
}

.skeleton-button {
  width: 100%;
  height: 2.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Load More Trigger */
.load-more-trigger {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.loading-spinner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-500);
  font-size: 0.875rem;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Lazy Image Loading */
.lazy-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-image.loaded,
.lazy-image[src]:not([src^="data:"]) {
  opacity: 1;
}

/* No Products State */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
}

.no-products svg {
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-products h3 {
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.no-products p {
  color: var(--gray-400);
}

/* Product Card Image Optimization */
.product-card-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Performance: will-change for animated elements */
.product-card:hover .product-card-image img {
  will-change: transform;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .skeleton-image,
  .skeleton-line,
  .spinner,
  .lazy-image {
    animation: none;
    transition: none;
  }

  .skeleton-image,
  .skeleton-line {
    background: var(--gray-200);
  }
}

/* ============================================
   Pagination Styles
   ============================================ */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 1.5rem 0;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pagination-btn:hover:not(:disabled) {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-btn svg {
  width: 16px;
  height: 16px;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pagination-num {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pagination-num:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.pagination-num.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.pagination-ellipsis {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Mobile Pagination */
@media (max-width: 640px) {
  .pagination {
    gap: 0.25rem;
  }

  .pagination-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .pagination-btn span {
    display: none;
  }

  .pagination-num {
    min-width: 36px;
    height: 36px;
    font-size: 0.8125rem;
  }

  .pagination-ellipsis {
    min-width: 24px;
  }
}

/* ============================================
   Application Landing Pages
   ============================================ */
.breadcrumb {
  background: var(--gray-100);
  padding: var(--space-md) 0;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  font-size: 0.875rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  color: var(--gray-400);
}

.breadcrumb a {
  color: var(--gray-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb [aria-current="page"] {
  color: var(--gray-800);
  font-weight: 500;
}

.application-hero {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.application-hero-content {
  max-width: 700px;
}

.application-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.application-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.application-hero p {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.application-hero .hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.application-hero .btn-primary {
  background: var(--white);
  color: var(--primary);
}

.application-hero .btn-primary:hover {
  background: var(--gray-100);
}

.content-section {
  padding: var(--space-3xl) 0;
}

.content-section.alt-bg {
  background: var(--gray-50);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.content-card {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.content-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.content-card .icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.content-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--gray-800);
}

.content-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.product-feature-card {
  background: var(--white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.product-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--gray-800);
}

.product-feature-card p {
  color: var(--gray-600);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.product-feature-card ul {
  list-style: none;
  margin-bottom: var(--space-lg);
}

.product-feature-card li {
  padding: var(--space-xs) 0;
  padding-left: var(--space-lg);
  position: relative;
  color: var(--gray-700);
}

.product-feature-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 600;
}

.guide-content {
  max-width: 800px;
  margin: var(--space-xl) auto 0;
}

.guide-step {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.step-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--gray-800);
}

.step-content p {
  color: var(--gray-600);
  line-height: 1.6;
}

.application-use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.application-use-card {
  background: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.application-use-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--gray-800);
}

.application-use-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .application-hero h1 {
    font-size: 1.75rem;
  }

  .application-hero p {
    font-size: 1rem;
  }

  .guide-step {
    flex-direction: column;
    gap: var(--space-md);
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
  padding: var(--space-3xl) 0;
  background: var(--gray-50);
}

.faq-section .section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

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

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 0 var(--space-xl) var(--space-lg);
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-answer-content p {
  margin-bottom: var(--space-sm);
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content ul {
  margin: var(--space-sm) 0;
  padding-left: var(--space-lg);
}

.faq-answer-content li {
  margin-bottom: var(--space-xs);
}

@media (max-width: 768px) {
  .faq-question {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.9375rem;
  }

  .faq-answer-content {
    padding: 0 var(--space-lg) var(--space-md);
    font-size: 0.9375rem;
  }
}
