/* ============================================
   Solar Option Thailand — Full Robust Core Architecture
   Theme: "Blue Minimalist & Premium Tech" (No Black, Sky/Ocean Blue, Clean)
   ============================================ */

/* ── 1. CORE TOKENS & TYPOGRAPHY ── */
/* Google Fonts moved to <link> in HTML head for faster delivery */

:root {
  /* Light Blue & Clean Theme Palette */
  --primary: #0084d1;            /* Trustworthy Blue */
  --primary-hover: #0070b3;      
  --primary-fade: rgba(0, 132, 209, 0.15);
  --secondary: #00aaff;          /* Bright Sky Blue (For accents/glow) */
  --accent: #38bdf8;             /* Light Cyan */
  
  /* Solar Energy Accent (Amber/Gold) */
  --solar-400: #fbbf24;
  --solar-500: #f59e0b;
  --solar-600: #d97706;
  --solar-glow: 0 0 30px rgba(245, 158, 11, 0.2);
  --gradient-solar: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, var(--solar-500) 100%);
  --gradient-hero: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 40%, #ffffff 100%);
  
  /* Light Backgrounds */
  --bg-page: #f4f9ff;            /* Very soft blue for page body */
  --bg-white: #ffffff;           /* Clean white for cards */
  --bg-soft-blue: #e8f4ff;       /* Slightly deeper soft blue for section alternation */
  
  /* Text Colors for Light Mode */
  --text-dark: #0f172a;          /* Dark navy for headings */
  --text-muted: #334155;         /* Slate gray for body text */
  --success: #10b981;            /* Mint Green */
  --warning: #f59e0b;            /* Golden Star */

  /* Typography */
  --font-th: 'Kanit', sans-serif;
  --font-en: 'Kanit', sans-serif;
  --font-primary: 'Kanit', sans-serif;

  /* Shadows (Minimalist Standard: Soft & Airy) */
  --shadow-sm: 0 4px 6px -1px rgba(0, 132, 209, 0.05), 0 2px 4px -1px rgba(0, 132, 209, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 132, 209, 0.08), 0 4px 6px -2px rgba(0, 132, 209, 0.04);
  --shadow-lg: 0 20px 40px -5px rgba(0, 132, 209, 0.12), 0 10px 15px -5px rgba(0, 132, 209, 0.05);
  --shadow-glow: 0 0 30px rgba(0, 132, 209, 0.2);
  --shadow-solar: 0 0 30px rgba(245, 158, 11, 0.15);

  /* Geometry & Physics */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --border-subtle: 1px solid rgba(0, 144, 255, 0.08);

  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── 2. GLOBAL RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
html, body { overflow-x: clip; max-width: 100vw; }
body {
  font-family: var(--font-th); font-weight: 300; line-height: 1.7;
  color: var(--text-dark); background: var(--bg-page);
  letter-spacing: 0.01em;
}
img { max-width: 100%; height: auto; display: block; border-radius: inherit; }
a { text-decoration: none; color: inherit; transition: color var(--transition-smooth); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { color: var(--text-dark); font-weight: 700; line-height: 1.25; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); text-transform: uppercase; letter-spacing: 0.02em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { font-size: 1rem; color: var(--text-muted); font-weight: 300; }

/* Global Override utility for legacy HTML tags to stick to the new light theme */
.section-light, .section { background: var(--bg-page); }
.section-white, .section-dark { background: var(--bg-white); }
.section-gradient, .section-darker { background: var(--bg-soft-blue); }
body .section-light h2, body .section-white h2, body .section-dark h2, body .section-gradient h2, body .section-darker h2 { color: var(--text-dark); }
body .section-light p, body .section-white p, body .section-dark p, body .section-gradient p, body .section-darker p { color: var(--text-muted); }

/* Layout Blocks */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.section { padding: 120px 0; position: relative; z-index: 1; }
.pt-0 { padding-top: 0 !important; }
.mt-4 { margin-top: 24px !important; }

/* ── 3. COMPONENTS: BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 36px; border-radius: var(--radius-full); font-family: var(--font-th);
  font-size: 1.05rem; font-weight: 600; cursor: pointer; border: none;
  transition: all var(--transition-smooth); position: relative; overflow: hidden;
  z-index: 1; outline: none; background: transparent; color: var(--text-dark);
}
.btn i { transition: transform var(--transition-spring); }
.btn:hover i { transform: translateX(4px); }

.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { box-shadow: var(--shadow-glow); transform: translateY(-3px); }

.btn-secondary { background: rgba(0,144,255,0.1); color: var(--primary); border: 1px solid var(--primary); box-shadow: 0 0 10px rgba(0,144,255,0.2); }
.btn-secondary:hover { background: rgba(0, 144, 255, 0.2); transform: translateY(-3px); box-shadow: 0 0 20px rgba(0,144,255,0.4); color: #fff; border-color: #00e6ff; }

.btn-line { background: #00c300; color: #fff; box-shadow: var(--shadow-sm); }
.btn-line:hover { background: #00e000; box-shadow: 0 8px 25px rgba(0, 195, 0, 0.4); transform: translateY(-3px); }

.btn-outline-blue { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline-blue:hover { background: var(--primary); color: #fff; }

.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-lg { padding: 18px 46px; font-size: 1.1rem; }

/* ── 4. COMPONENTS: SECTION HEADERS ── */
.section-header { text-align: center; margin-bottom: 72px; position: relative; z-index: 2; }
.section-header .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  margin-bottom: 20px; color: var(--primary);
}
.section-header .eyebrow::before, .section-header .eyebrow::after {
  content: ''; width: 48px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.section-header h2 { margin-bottom: 18px; }
.section-header .desc { max-width: 600px; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; color: var(--text-muted); }

/* ── 5. "THE RUNNING LIGHTS" & GLASS ANIMATIONS (Safe Z-index Pattern) ── */
/* Base class that acts as the wrapper containing the glow */
.card-run-light {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  z-index: 1; /* Establish stacking context */
  border: 1px solid transparent; 
  transition: all var(--transition-smooth);
  overflow: hidden;
}
/* The spinning conic gradient */
.card-run-light::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; right: -50%; bottom: -50%; /* Massive coverage to prevent corner clipping */
  background: conic-gradient(from 0deg, transparent 65%, var(--secondary) 100%);
  animation: spinLight 4s linear infinite;
  opacity: 0.2; /* Soft idle state */
  z-index: -2; /* Safely behind the true background */
  transition: opacity var(--transition-smooth);
}
/* The true inner background, protecting the content from the glow */
.card-run-light::after {
  content: '';
  position: absolute;
  inset: 2px; /* 2px border width */
  border-radius: calc(var(--radius-xl) - 2px);
  background: var(--bg-white); /* Opaque white background */
  z-index: -1; /* Above the spinning gradient, under the content */
}
/* Ensure the interaction is lifted up */
.card-run-light:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-run-light:hover::before { opacity: 1; animation-duration: 2s; /* Speed up on hover */ }
@keyframes spinLight {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── 6. HEADER & NAVIGATION (Sticky Cyber-Strip) ── */
#header-placeholder { display: contents; }

.site-header {
  position: sticky; top: 0; width: 100%; z-index: 1050;
  display: flex; flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.top-bar {
  background: var(--primary); color: #fff;
  padding: 8px 0; font-size: 0.85rem; font-family: var(--font-th); font-weight: 500;
  border-bottom: 1px solid rgba(0, 230, 255, 0.2);
  position: relative;
}
.top-bar::after {
  content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, #00e6ff, transparent);
  box-shadow: 0 0 10px rgba(0, 230, 255, 0.5);
}
.top-bar-left, .top-bar-right, .top-bar .container { display: flex; align-items: center; justify-content: space-between; }
.top-bar-left { gap: 20px; }
.top-bar-divider { color: rgba(255,255,255,0.3); }
.top-bar a, .top-bar span { color: rgba(255,255,255,0.85); transition: all 0.3s ease; text-decoration: none; display: flex; align-items: center; }
.top-bar a:hover { color: #00e6ff; text-shadow: 0 0 8px rgba(0,230,255,0.6); }
.top-bar i { color: #00e6ff; margin-right: 8px; font-size: 1rem; transition: transform 0.3s; }
.top-bar a:hover i { transform: scale(1.2); }

.top-bar-social { display: flex; gap: 16px; }
.top-bar-social a { color: rgba(255,255,255,0.85); font-size: 1.1rem; }
.top-bar-social a:hover { color: #00e6ff; text-shadow: 0 0 10px rgba(0,230,255,0.8); }

.navbar {
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 132, 209, 0.1); transition: all var(--transition-smooth);
  width: 100%;
}
.navbar.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: 0 10px 30px rgba(0,132,209,0.1); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 80px; transition: height var(--transition-smooth); }
.navbar.scrolled .container { height: 75px; }

.nav-logo { display: flex; align-items: center; gap: 4px; }
.nav-logo .logo-icon { height: 60px; width: auto; object-fit: contain; transition: transform var(--transition-spring); filter: brightness(1); }
.nav-logo:hover .logo-icon { transform: scale(1.05); }
.nav-logo .logo-text-wrapper { display: flex; flex-direction: column; justify-content: center; margin-top: 4px; }
.nav-logo .logo-text { font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--text-dark); line-height: 0.9; letter-spacing: -1px; display: flex; align-items: baseline; }
.nav-logo .logo-text .solar { color: var(--text-dark); }
.nav-logo .logo-text .option { color: var(--text-dark); }
.nav-logo .logo-text .i-lightning { position: relative; display: inline-block; padding: 0 2px; }
.nav-logo .logo-text .i-lightning i { position: absolute; top: -0.3em; left: 50%; transform: translateX(-50%); font-size: 0.5em; color: var(--solar-400); filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4)); }
.nav-logo .logo-subtext { font-family: 'Poppins', sans-serif; font-size: 0.65rem; font-weight: 400; color: var(--text-muted); margin-top: 2px; letter-spacing: 0.5px; }

.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-menu a {
  padding: 10px 20px; font-size: 0.95rem; font-weight: 500;
  color: var(--text-muted); transition: all var(--transition-smooth); position: relative;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) scaleX(0);
  width: 20px; height: 3px; background: var(--primary); border-radius: 3px;
  transition: transform var(--transition-spring);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); font-weight: 600; }
.nav-menu a:hover::after, .nav-menu a.active::after { transform: translateX(-50%) scaleX(1); }

/* Mobile Nav Structure */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 8px; position: relative;
  flex-direction: column; justify-content: space-between; align-items: stretch;
  z-index: 1001;
}
.nav-toggle span {
  display: block; width: 100%; height: 3px;
  background: var(--text-dark); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(5px); z-index: 998; opacity: 0; transition: opacity 0.3s ease; }
.nav-overlay.active { display: block; opacity: 1; }

/* ── 7. HERO SECTION (Dark Cinematic Full-Width) ── */
.hero { 
  position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden;
  background: var(--gradient-hero);
  border-bottom: none;
}
.hero::before, .hero::after, .page-hero::before, .page-hero::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  border-radius: 50%; filter: blur(30px);
}
.hero::before, .page-hero::before {
  width: 700px; height: 700px; background: rgba(0, 144, 255, 0.15);
  top: -20%; left: -10%;
}
.hero::after, .page-hero::after {
  width: 600px; height: 600px; background: rgba(0, 229, 118, 0.08);
  bottom: -10%; right: -5%;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(240, 248, 255, 0.85) 0%, rgba(224, 242, 254, 0.6) 50%, rgba(255, 255, 255, 0.8) 100%);
}
.hero-shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: 0.8; }
.shape-circle {
  position: absolute; border-radius: 50%; filter: blur(40px);
  animation: floatOrb 12s ease-in-out infinite alternate;
}
.shape-1 { width: 600px; height: 600px; background: rgba(0, 144, 255, 0.2); top: -15%; left: -8%; }
.shape-2 { width: 500px; height: 500px; background: rgba(245, 158, 11, 0.12); bottom: -15%; right: -5%; animation-delay: -5s; }
.shape-3 { width: 300px; height: 300px; background: rgba(56, 189, 248, 0.15); top: 40%; right: 20%; animation-delay: -3s; }
@keyframes floatOrb { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, -50px) scale(1.1); } }

/* Hero slides — full screen behind everything */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slides::before { content:''; position:absolute; inset:0; background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(240,248,255,0.2)); z-index: 2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; animation: kenBurns 25s ease-in-out infinite alternate; }
@keyframes kenBurns { 0%{transform:scale(1)} 100%{transform:scale(1.12)} }

/* Particles */
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-particles .particle {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(245, 158, 11, 0.6); animation: particleFloat 8s ease-in-out infinite;
}
.hero-particles .particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 7s; }
.hero-particles .particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s; animation-duration: 9s; width: 3px; height: 3px; }
.hero-particles .particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 2s; animation-duration: 6s; background: rgba(56,189,248,0.5); }
.hero-particles .particle:nth-child(4) { left: 60%; top: 70%; animation-delay: 0.5s; animation-duration: 10s; width: 5px; height: 5px; }
.hero-particles .particle:nth-child(5) { left: 75%; top: 15%; animation-delay: 3s; animation-duration: 8s; background: rgba(56,189,248,0.4); }
.hero-particles .particle:nth-child(6) { left: 85%; top: 50%; animation-delay: 1.5s; animation-duration: 7s; }
.hero-particles .particle:nth-child(7) { left: 35%; top: 80%; animation-delay: 4s; animation-duration: 11s; width: 3px; height: 3px; background: rgba(56,189,248,0.3); }
.hero-particles .particle:nth-child(8) { left: 55%; top: 45%; animation-delay: 2.5s; animation-duration: 9s; }
@keyframes particleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(-120px) scale(1.5); opacity: 0.8; }
  90% { opacity: 0.3; }
}

.hero .container { position: relative; z-index: 3; width: 100%; }
/* Floating Status Cards */
.hero-float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 132, 209, 0.1);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 132, 209, 0.1), inset 0 1px 1px rgba(255,255,255,0.8);
  z-index: 10;
  animation: floatUpDown 6s ease-in-out infinite;
  color: var(--text-dark);
}
.hero-float-card.float-1 { top: 15%; right: 6%; animation-delay: 0s; }
.hero-float-card.float-2 { top: 38%; right: 14%; animation-delay: 1.5s; }
.hero-float-card.float-3 { top: 61%; right: 8%; animation-delay: 3s; }
.hero-float-card.float-4 { bottom: 12%; right: 16%; animation-delay: 4.5s; }

.float-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(0,144,255,0.2), rgba(0,144,255,0.05));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--primary);
  border: 1px solid rgba(0,144,255,0.3);
}
.float-text { display: flex; flex-direction: column; gap: 2px; }
.float-val { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.float-desc { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

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

.hero-content { max-width: 700px; padding: 140px 0 180px; position: relative; z-index: 5; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--radius-full);
  padding: 10px 28px; font-size: 0.85rem; font-weight: 700; color: var(--solar-400);
  margin-bottom: 30px; letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.hero-badge i { color: var(--solar-400); }
.hero h1 { font-weight: 800; margin-bottom: 24px; color: var(--text-dark); }
.hero h1 .gradient-text {
  background: linear-gradient(to right, var(--primary) 20%, var(--secondary) 40%, var(--accent) 60%, var(--primary) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmerText 5s linear infinite;
}
@keyframes shimmerText {
  to { background-position: 200% center; }
}
.hero-desc { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 48px; line-height: 1.9; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

/* Scroll indicator */
.hero-indicators { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-indicators .dot {
  width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3);
  border: none; cursor: pointer; transition: all 0.4s ease; padding: 0;
}
.hero-indicators .dot.active { background: var(--solar-400); width: 36px; border-radius: 6px; }

/* Sub-page hero */
.page-hero { padding: 160px 0 100px; text-align: center; position: relative; background: var(--gradient-hero); border-bottom: none; overflow: hidden; }
.page-hero::after {
  content:''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px;
  background: rgba(0, 144, 255, 0.1); border-radius: 50%; filter: blur(40px); z-index: 0;
}
.page-hero::before {
  content:''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px;
  background: rgba(245, 158, 11, 0.08); border-radius: 50%; filter: blur(40px); z-index: 0;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .breadcrumb { margin-bottom: 24px; font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }
.page-hero .breadcrumb a { color: var(--primary); }
.page-hero h1 { margin-bottom: 20px; color: var(--text-dark); }
.page-hero p { max-width: 600px; margin: 0 auto; font-size: 1.15rem; color: var(--text-muted); }

/* ── 8. TRUST BAR (Overlaying Hero) — Glowing Neon Cards ── */
.trust-bar {
  background: var(--bg-white); padding: 56px 32px; position: relative;
  border-radius: var(--radius-xl); box-shadow: 0 20px 60px rgba(0, 132, 209, 0.08);
  z-index: 5; margin-top: -70px;
  border: 1px solid rgba(0, 132, 209, 0.12);
  overflow: hidden;
  contain: content;
}
/* Bottom shimmer bar */
.trust-bar::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--solar-400), var(--primary));
  background-size: 300% 100%; animation: shimmerBar 4s linear infinite;
  will-change: background-position;
}
@keyframes shimmerBar { 0%{background-position:0% 0%} 100%{background-position:300% 0%} }

/* Top shimmer bar (mirror) */
.trust-bar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--solar-400), var(--primary), var(--secondary), var(--solar-400));
  background-size: 300% 100%; animation: shimmerBar 4s linear infinite reverse;
  will-change: background-position;
}

.trust-bar .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative; }

/* ── Electric Line connecting icons ── */
.trust-bar .container::before {
  content: ''; position: absolute; top: 50px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,144,255,0.15), rgba(56,189,248,0.2), rgba(245,158,11,0.15), transparent);
  z-index: 0;
}
.trust-bar .container::after {
  content: ''; position: absolute; top: 49px; left: 12%; 
  width: 40px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 0 12px rgba(0,144,255,0.6), 0 0 24px rgba(0,144,255,0.3);
  animation: electricPulse 3s ease-in-out infinite;
  z-index: 1;
}
@keyframes electricPulse {
  0% { left: 12%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(88% - 40px); opacity: 0; }
}

/* ── Trust Item Card ── */
.trust-item {
  text-align: center; position: relative; padding: 28px 16px 24px;
  border-radius: var(--radius-lg); z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 132, 209, 0.1);
  transition: all var(--transition-spring);
  overflow: hidden;
}
/* Running light border */
.trust-item::before {
  content: ''; position: absolute;
  top: -50%; left: -50%; right: -50%; bottom: -50%;
  z-index: -2; opacity: 0;
  transition: opacity var(--transition-smooth);
}
.trust-item::after {
  content: ''; position: absolute; inset: 2px;
  border-radius: calc(var(--radius-lg) - 2px);
  background: var(--bg-white); z-index: -1;
}
/* Per-card glow colors */
.trust-item:nth-child(1)::before { background: conic-gradient(from 0deg, transparent 60%, #0090ff 100%); animation: spinLight 4s linear infinite; }
.trust-item:nth-child(2)::before { background: conic-gradient(from 0deg, transparent 60%, #10b981 100%); animation: spinLight 4.5s linear infinite; }
.trust-item:nth-child(3)::before { background: conic-gradient(from 0deg, transparent 60%, #f59e0b 100%); animation: spinLight 5s linear infinite; }
.trust-item:nth-child(4)::before { background: conic-gradient(from 0deg, transparent 60%, #8b5cf6 100%); animation: spinLight 3.5s linear infinite; }
/* Show glow on hover */
.trust-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.trust-item:hover::before { opacity: 1; }
/* Divider lines removed — cards handle separation */

/* ── Icon with Pulse Ring ── */
.trust-item .icon {
  width: 76px; height: 76px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; border-radius: 50%; position: relative;
  background: linear-gradient(135deg, var(--bg-soft-blue), rgba(0,144,255,0.12)); 
  color: var(--primary); font-size: 1.8rem;
  transition: all var(--transition-spring); border: 1px solid rgba(0,144,255,0.15);
  z-index: 2;
  box-shadow: 0 0 20px rgba(0,144,255,0.15);
}
/* Pulse ring */
.trust-item .icon::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid transparent; z-index: -1;
  animation: pulseRing 3s ease-in-out infinite;
}
.trust-item:nth-child(1) .icon::before { border-color: rgba(0,144,255,0.3); }
.trust-item:nth-child(2) .icon::before { border-color: rgba(16,185,129,0.3); }
.trust-item:nth-child(3) .icon::before { border-color: rgba(245,158,11,0.3); }
.trust-item:nth-child(4) .icon::before { border-color: rgba(139,92,246,0.3); }
@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 0; }
}
/* Icon-specific idle animations */
.trust-item:nth-child(1) .icon i { animation: wiggle 3s ease-in-out infinite; }
.trust-item:nth-child(2) .icon i { animation: pulseGlow 2.5s ease-in-out infinite; }
.trust-item:nth-child(3) .icon i { animation: shimmerIcon 3s ease-in-out infinite; }
.trust-item:nth-child(4) .icon i { animation: vibrate 2s ease-in-out infinite; }
@keyframes wiggle { 0%,100%{transform:rotate(0)} 25%{transform:rotate(-8deg)} 75%{transform:rotate(8deg)} }
@keyframes pulseGlow { 0%,100%{filter:drop-shadow(0 0 0 transparent)} 50%{filter:drop-shadow(0 0 8px rgba(16,185,129,0.5))} }
@keyframes shimmerIcon { 0%,100%{filter:brightness(1)} 50%{filter:brightness(1.4)} }
@keyframes vibrate { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-2px)} 40%{transform:translateX(2px)} 60%{transform:translateX(-1px)} 80%{transform:translateX(1px)} }

/* Hover state for icon */
.trust-item:hover .icon {
  transform: translateY(-6px) scale(1.15);
  color: #fff; border-color: transparent;
}
.trust-item:nth-child(1):hover .icon { background: linear-gradient(135deg, #0090ff, #38bdf8); box-shadow: 0 0 30px rgba(0,144,255,0.4); }
.trust-item:nth-child(2):hover .icon { background: linear-gradient(135deg, #10b981, #34d399); box-shadow: 0 0 30px rgba(16,185,129,0.4); }
.trust-item:nth-child(3):hover .icon { background: linear-gradient(135deg, #f59e0b, #fbbf24); box-shadow: 0 0 30px rgba(245,158,11,0.4); }
.trust-item:nth-child(4):hover .icon { background: linear-gradient(135deg, #8b5cf6, #a78bfa); box-shadow: 0 0 30px rgba(139,92,246,0.4); }

/* ── Number with gradient text ── */
.trust-item .number {
  font-family: var(--font-en); font-size: 3.4rem; font-weight: 800; 
  line-height: 1.1;
  transition: all var(--transition-smooth);
  background: linear-gradient(135deg, var(--primary) 20%, var(--text-dark) 80%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.trust-item:nth-child(1):hover .number { color: #0090ff; text-shadow: 0 0 20px rgba(0,144,255,0.3); }
.trust-item:nth-child(2):hover .number { color: #10b981; text-shadow: 0 0 20px rgba(16,185,129,0.3); }
.trust-item:nth-child(3):hover .number { color: #f59e0b; text-shadow: 0 0 20px rgba(245,158,11,0.3); }
.trust-item:nth-child(4):hover .number { color: #8b5cf6; text-shadow: 0 0 20px rgba(139,92,246,0.3); }

.trust-item .label { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; margin-top: 8px; }

/* ── 9. CALCULATOR SECTION ── */
.calc-card { 
  padding: 60px; text-align: center; position: relative; z-index: 1; border: 1px solid transparent; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); transition: all var(--transition-smooth); overflow: hidden;
}
.calc-card::before { content:''; position:absolute; top: -50%; left: -50%; right: -50%; bottom: -50%; background: conic-gradient(from 0deg, transparent 70%, var(--secondary) 100%); animation: spinLight 4s linear infinite; opacity: 0.2; z-index:-2; transition: opacity var(--transition-smooth); }
.calc-card::after { content:''; position:absolute; inset: 2px; background: var(--bg-white); border-radius: calc(var(--radius-xl) - 2px); z-index:-1; }
.calc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.calc-card:hover::before { opacity: 1; animation-duration: 2s; }
.calc-card h3 { font-size: 1.8rem; margin-bottom: 12px; }
.calc-card h3 i { color: var(--primary); margin-right: 12px; }
.calc-card .calc-subtitle { color: var(--text-muted); margin-bottom: 48px; font-size: 1.1rem; }

.calc-input-wrap {
  display: inline-flex; align-items: center;
  background: var(--bg-white); border: 2px solid rgba(0, 144, 255, 0.12);
  border-radius: var(--radius-full); overflow: hidden; transition: all var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.calc-input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 6px rgba(0, 144, 255, 0.2), 0 0 15px rgba(0,230,255,0.2); background: rgba(0,144,255,0.05); }
.calc-input-wrap input {
  width: 260px; padding: 20px 28px; border: none; background: transparent;
  font-family: var(--font-en); font-size: 2.2rem; font-weight: 800;
  color: var(--text-dark); text-align: center; outline: none; transition: background 0.3s ease;
}
.calc-input-wrap input:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px #fff inset; -webkit-text-fill-color: var(--text-dark); }
.calc-input-wrap .unit {
  padding: 20px 28px; background: linear-gradient(135deg, rgba(0, 144, 255, 0.04), rgba(0, 144, 255, 0.08)); color: var(--primary);
  font-weight: 700; font-size: 1rem; border-left: 2px solid rgba(0, 144, 255, 0.1);
}

.calc-results {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px;
  transform: translateY(20px); opacity: 0; transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.calc-results.visible { transform: translateY(0); opacity: 1; }
.calc-result-item {
  padding: 32px 20px; border-radius: var(--radius-lg); position: relative;
  background: var(--bg-white); border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--shadow-md); transition: all var(--transition-spring); overflow: hidden;
}
.calc-result-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  border-radius: 3px 3px 0 0;
}
.calc-result-item:nth-child(1)::before { background: linear-gradient(90deg, var(--success), #34d399); }
.calc-result-item:nth-child(2)::before { background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.calc-result-item:nth-child(3)::before { background: linear-gradient(90deg, var(--solar-500), var(--solar-400)); }
.calc-result-item:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-lg); }
.calc-result-item .result-value { font-family: var(--font-en); font-size: 2.8rem; font-weight: 800; line-height: 1; margin-bottom: 12px; }
.calc-result-item .result-value.green { color: var(--success); }
.calc-result-item .result-value.blue { color: var(--primary); }
.calc-result-item .result-value.gold { color: var(--solar-500); }

/* ── 10. PROCESS STEPS ── */
.process-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; position: relative; }
.process-grid::before {
  content: ''; position: absolute; top: 42px; left: 5%; right: 5%;
  height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,144,255,0.2) 20%, #38bdf8 50%, #fff 55%, #38bdf8 60%, rgba(0,144,255,0.2) 80%, transparent 100%);
  background-size: 200% 100%;
  animation: energyFlowX 3s linear infinite;
  z-index: 1;
}
@keyframes energyFlowX {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.process-step { 
  text-align: center; position: relative; z-index: 2; padding: 32px 16px 24px; 
  border-radius: var(--radius-xl); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 132, 209, 0.1); border-top: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.process-step:hover { 
  background: rgba(255, 255, 255, 0.95); transform: translateY(-10px); 
  box-shadow: 0 15px 40px rgba(0,132,209,0.1), 0 0 20px rgba(0,132,209,0.05); 
  border-color: rgba(0, 132, 209, 0.2);
}
.process-step .step-num {
  font-family: var(--font-en); font-size: 5rem; font-weight: 900;
  position: absolute; top: 10px; right: 20px; left: auto; transform: none;
  background: linear-gradient(180deg, rgba(0, 230, 255, 0.2), rgba(0, 230, 255, 0.05));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1; pointer-events: none; transition: all 0.4s ease;
  z-index: 0;
  text-shadow: 0 0 40px rgba(0,230,255,0.15);
}
.process-step:hover .step-num {
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.4), rgba(56, 189, 248, 0.1));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transform: scale(1.1);
}
.process-step .step-icon {
  width: 84px; height: 84px; margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(0,144,255,0.15), rgba(0,230,255,0.08)); border: 2px solid rgba(0,230,255,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--primary);
  box-shadow: 0 0 25px rgba(0,230,255,0.2), inset 0 0 15px rgba(0,230,255,0.08); 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.process-step:hover .step-icon {
  border-color: transparent; box-shadow: 0 0 30px rgba(56,189,248,0.5), inset 0 0 20px rgba(255,255,255,0.2);
  transform: translateY(-10px) scale(1.15); color: #fff; 
  background: linear-gradient(135deg, var(--primary), #38bdf8);
}
.process-step h3 { margin-bottom: 12px; font-size: 1.15rem; color: var(--text-dark); position: relative; z-index: 2; }
.process-step .step-badge {
  display: inline-block; padding: 5px 16px; border-radius: var(--radius-full);
  background: rgba(0,230,255,0.1); color: var(--primary); font-size: 0.8rem; font-weight: 700;
  margin-bottom: 12px; position: relative; z-index: 2; border: 1px solid rgba(0,230,255,0.3);
  box-shadow: 0 0 10px rgba(0,230,255,0.1);
}
.process-step .step-badge.success { background: rgba(16,185,129,0.12); color: #10b981; border-color: rgba(16,185,129,0.3); box-shadow: 0 0 10px rgba(16,185,129,0.1); }
.process-step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; position: relative; z-index: 2; }
.process-step-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px 20px 28px; text-align: center;
  position: relative; z-index: 2; border: 1px solid rgba(0,144,255,0.06);
  box-shadow: var(--shadow-sm); transition: all var(--transition-smooth);
}
.process-step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ── 10b. SOLAR STATS BAR ── */
.solar-stats {
  position: relative; padding: 60px 0; overflow: hidden;
  background: var(--gradient-hero);
}
.solar-stats::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,144,255,0.1), rgba(245,158,11,0.05));
}
.solar-stats .container { position: relative; z-index: 2; }
.solar-stats .stats-header {
  text-align: center; margin-bottom: 40px;
}
.solar-stats .stats-header .eyebrow-dark {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--solar-400); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.solar-stats .stats-header h3 { color: var(--text-dark); font-size: 1.6rem; font-weight: 700; }
.solar-stats .stats-header .date-tag {
  color: var(--text-muted); font-size: 0.85rem; margin-top: 8px;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-card {
  position: relative; overflow: hidden;
  background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 132, 209, 0.1); border-top: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-lg);
  padding: 32px 20px; text-align: center;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0,132,209,0.06);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,144,255,0.15); }

/* Ambient Glow Inside Card */
.stat-card::before {
  content: ''; position: absolute; bottom: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center bottom, rgba(56,189,248,0.15) 0%, transparent 60%);
  z-index: 0; pointer-events: none;
}
.stat-card:nth-child(4)::before {
  background: radial-gradient(circle at center bottom, rgba(251,191,36,0.15) 0%, transparent 60%);
}

.stat-card .stat-value {
  position: relative; z-index: 1;
  font-family: var(--font-en); font-size: 3.2rem; font-weight: 800; line-height: 1.1; margin-bottom: 4px;
  background: linear-gradient(to bottom, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat-card:nth-child(4) .stat-value {
  background: linear-gradient(to bottom, #fff 0%, var(--solar-400) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.stat-card .stat-unit { position: relative; z-index: 1; font-size: 1rem; font-weight: 600; margin-bottom: 12px; color: var(--primary); }
.stat-card:nth-child(4) .stat-unit { color: var(--solar-500); }
.stat-card .stat-label { position: relative; z-index: 1; font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; font-weight: 500; }

/* ── 10c. ADVANCED CALCULATOR 2-PANEL ── */
.calc-panel {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 0;
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08); border: 1px solid rgba(0,144,255,0.06);
}
.calc-left {
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); border-right: 1px solid rgba(0,132,209,0.1); padding: 48px 40px;
}
.calc-right {
  background: var(--gradient-hero);
  padding: 48px 40px; color: var(--text-dark); position: relative; overflow: hidden;
}
.calc-right::before {
  content: ''; position: absolute; top: -40%; right: -20%; width: 300px; height: 300px;
  background: rgba(245,158,11,0.12); border-radius: 50%; filter: blur(30px);
}
.calc-right::after {
  content: ''; position: absolute; bottom: -30%; left: -15%; width: 250px; height: 250px;
  background: rgba(0,144,255,0.1); border-radius: 50%; filter: blur(28px);
}
.calc-left h3 { font-size: 1.4rem; margin-bottom: 32px; color: var(--text-dark); display: flex; align-items: center; gap: 10px; }
.calc-left h3 i { color: var(--primary); }

/* Slider */
.calc-slider-group { margin-bottom: 28px; }
.calc-slider-group label { display: flex; justify-content: space-between; font-size: 0.95rem; color: var(--text-muted); margin-bottom: 12px; font-weight: 500; }
.calc-slider-group label strong { font-family: var(--font-en); font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.calc-slider {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px;
  border-radius: 6px; 
  background: linear-gradient(to right, var(--primary) 0%, var(--secondary) var(--val, 50%), rgba(0,0,0,0.05) var(--val, 50%), rgba(0,0,0,0.05) 100%);
  outline: none; cursor: pointer;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 3px solid var(--primary);
  box-shadow: 0 0 15px rgba(0,144,255,0.5), inset 0 0 5px rgba(0,0,0,0.1); cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: 0 0 25px rgba(0,144,255,0.7); }
.calc-slider:active::-webkit-slider-thumb { transform: scale(1.25); box-shadow: 0 0 35px rgba(0,144,255,0.9); }
.slider-range { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }

/* Toggle buttons */
.calc-toggle-group { margin-bottom: 28px; }
.calc-toggle-group .toggle-label { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; margin-bottom: 10px; }
.calc-toggles { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-toggle {
  padding: 10px 20px; border: 1px solid rgba(0,132,209,0.2); border-radius: var(--radius-full);
  background: rgba(0,132,209,0.05); backdrop-filter: blur(4px);
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); color: var(--text-muted);
}
.calc-toggle.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); 
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 20px rgba(0,144,255,0.6), inset 0 2px 4px rgba(255,255,255,0.3);
  transform: translateY(-2px);
}
.calc-toggle:hover:not(.active) { border-color: var(--primary); color: var(--primary); background: rgba(0,132,209,0.05); box-shadow: 0 0 15px rgba(0,132,209,0.1); }

/* Right panel results */
.calc-right .big-saving {
  font-family: var(--font-en); font-size: 4.5rem; font-weight: 800; line-height: 1;
  margin-bottom: 8px; position: relative; z-index: 2;
  background: linear-gradient(to bottom, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmerText 5s linear infinite;
}
.calc-right .big-saving-label { font-size: 1rem; color: var(--text-muted); margin-bottom: 32px; font-weight: 500; }
.calc-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 32px; position: relative; z-index: 2; }
.calc-stat-box {
  background: rgba(255,255,255,0.6); backdrop-filter: blur(4px);
  border-radius: var(--radius-md); padding: 20px 16px;
  border: 1px solid rgba(0,132,209,0.08);
  border-top: 2px solid var(--secondary);
}
.calc-stat-box i { font-size: 0.9rem; color: var(--secondary); margin-bottom: 8px; display: block; }
.calc-stat-box .stat-val { font-family: var(--font-en); font-size: 1.5rem; font-weight: 800; color: var(--text-dark); }
.calc-stat-box .stat-lbl { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Comparison Chart */
.calc-comparison { position: relative; z-index: 2; }
.calc-comparison h4 { font-size: 0.95rem; margin-bottom: 16px; font-weight: 600; color: var(--text-dark); }
.compare-bar-wrap { margin-bottom: 12px; }
.compare-bar-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.compare-bar-track { height: 28px; border-radius: 14px; background: rgba(0,0,0,0.05); overflow: hidden; position: relative; }
.compare-bar-fill { height: 100%; border-radius: 14px; display: flex; align-items: center; padding: 0 12px; font-size: 0.8rem; font-weight: 700; transition: width 1s cubic-bezier(0.16,1,0.3,1); }
.compare-bar-fill.before { background: linear-gradient(90deg, #ef4444, #f87171); box-shadow: inset -5px 0 10px rgba(0,0,0,0.1); }
.compare-bar-fill.after { background: linear-gradient(90deg, #10b981, #34d399); box-shadow: inset -5px 0 10px rgba(0,0,0,0.1), 0 0 20px rgba(16,185,129,0.2); }
.compare-legend { display: flex; gap: 16px; margin-top: 12px; font-size: 0.8rem; color: var(--text-muted); }
.compare-legend span { display: flex; align-items: center; gap: 6px; }
.compare-legend .dot-red { width: 8px; height: 8px; border-radius: 50%; background: #f87171; }
.compare-legend .dot-green { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); }

/* ── 10d. BRAND TRUST LOGOS ── */
.brand-logos { padding: 60px 0; background: #ffffff; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; overflow: hidden; position: relative; z-index: 2; }
.brand-logos .brand-label { text-align: center; font-size: 1rem; color: #64748b; font-weight: 600; margin-bottom: 32px; letter-spacing: 0.05em; text-transform: uppercase; }
.brand-track {
  display: flex; gap: 60px; animation: scrollLogos 25s linear infinite;
  width: max-content; align-items: center;
}
.brand-track:hover { animation-play-state: paused; }
.brand-track img {
  height: 55px; max-width: 180px; object-fit: contain;
  opacity: 0.8;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.brand-track img:hover {
  opacity: 1;
  transform: scale(1.08);
}
@keyframes scrollLogos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── 10e. WARRANTY BANNER ── */
.warranty-banner {
  position: relative; padding: 100px 0; overflow: hidden;
  background: var(--gradient-hero);
}
.warranty-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(56,189,248,0.2), transparent 70%);
}
.warranty-banner .container { position: relative; z-index: 2; text-align: center; }
.warranty-banner h3 { color: var(--text-dark); font-size: 2.2rem; margin-bottom: 56px; font-weight: 800; text-shadow: none; }
.warranty-banner h3 span { color: var(--primary); text-shadow: none; }
.warranty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.warranty-item {
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border: 1px solid rgba(0,132,209,0.1); border-top: 1px solid rgba(0,132,209,0.15);
  border-radius: var(--radius-xl); padding: 40px 24px; text-align: center; 
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0,132,209,0.06);
  position: relative; overflow: hidden;
}
.warranty-item::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,132,209,0.03), transparent);
  pointer-events: none;
}
.warranty-item:hover { background: #fff; transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,132,209,0.1); border-color: rgba(0,132,209,0.25); }
.warranty-item .warranty-num {
  font-family: var(--font-en); font-size: 4.5rem; font-weight: 900; color: var(--primary);
  line-height: 1; margin-bottom: 8px; text-shadow: none;
}
.warranty-item .warranty-unit { font-size: 1.1rem; color: var(--text-dark); font-weight: 700; margin-bottom: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.warranty-item .warranty-label { font-size: 0.95rem; color: var(--text-muted); line-height: 1.5; }

/* ── 10f. TESTIMONIALS ── */
.testimonials .testimonial-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -ms-overflow-style: none; padding: 10px 0;
}
.testimonials .testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-track { 
  overflow-x: auto !important; 
  overflow-y: visible !important; 
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.testimonial-card {
  flex: 0 0 380px; scroll-snap-align: start;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(6px);
  border-radius: var(--radius-xl); padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(0,144,255,0.05); border: 1px solid rgba(255,255,255,0.8);
  border-top: 1px solid #fff; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 16px; right: 24px;
  font-size: 5rem; font-family: Georgia, serif; color: rgba(0,144,255,0.06); line-height: 1;
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,144,255,0.12); }
.testimonial-stars { color: var(--warning); font-size: 1.15rem; margin-bottom: 20px; letter-spacing: 2px; text-shadow: 0 0 10px rgba(251,191,36,0.5); }
.testimonial-text { font-size: 1.05rem; color: var(--text-dark); line-height: 1.8; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(0, 144, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.testimonial-info .name { font-weight: 700; color: var(--text-dark); font-size: 0.95rem; }
.testimonial-info .location { font-size: 0.8rem; color: var(--text-muted); }
.testimonial-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.testimonial-dots .t-dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(0,144,255,0.15);
  border: none; cursor: pointer; transition: all 0.3s ease; padding: 0;
}
.testimonial-dots .t-dot.active { background: var(--primary); width: 28px; border-radius: 5px; }

/* ── 10g. FAQ ACCORDION ── */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff; border-radius: var(--radius-lg); margin-bottom: 12px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.04);
  overflow: hidden; transition: all 0.3s ease;
}
.faq-item.active {
  box-shadow: var(--shadow-md); border-color: rgba(0,144,255,0.15);
  background: linear-gradient(135deg, #fff 60%, rgba(0,144,255,0.03));
}
.faq-question {
  padding: 24px 28px; font-size: 1.05rem; font-weight: 600; color: var(--text-dark);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; width: 100%; text-align: left; transition: all 0.3s ease;
  font-family: inherit;
}
/* FAQ text on dark glass cards */
.glass-card.faq-item .faq-question { color: var(--text-dark); }
.glass-card.faq-item .faq-question:hover { color: var(--primary); }
.glass-card.faq-item.active .faq-question { color: var(--primary); }
.faq-question:hover { color: var(--primary); }
.faq-question i {
  font-size: 0.85rem; color: var(--primary); transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0; margin-left: 16px;
}
.faq-item.active .faq-question { color: var(--primary); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease, opacity 0.4s ease;
  padding: 0 28px;
  opacity: 0;
}
.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 28px 28px;
  opacity: 1;
}
.faq-answer p {
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.9;
  padding: 16px 20px; background: rgba(0,144,255,0.03);
  border-radius: var(--radius-md); border-left: 3px solid var(--primary);
  margin: 0;
}

/* ── 11. PRODUCT CARDS & GRID ── */
/* Base Product Card (Uses .card-run-light logic natively to ensure perfect stacking) */
.product-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius-xl); 
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,132,209,0.06);
  border: 1px solid rgba(0, 132, 209, 0.1); border-top: 1px solid rgba(0, 132, 209, 0.12);
  transition: box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s; z-index: 1; overflow: hidden;
}

/* The content wrapper must have relative and z-index so absolute children like badge don't get trapped */
.product-card-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }

.product-card .card-img { position: relative; height: 260px; overflow: hidden; border-radius: calc(var(--radius-xl) - 2px) calc(var(--radius-xl) - 2px) 0 0; }
.product-card .card-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,144,255,0.4) 100%);
  opacity: 0; transition: opacity 0.5s ease; mix-blend-mode: overlay; pointer-events: none; z-index: 1;
}
.product-card:hover .card-img::after { opacity: 1; }
.product-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .card-img img { transform: scale(1.05); }
.product-card .badge {
  position: absolute; top: 16px; left: 16px; padding: 6px 16px;
  border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700; z-index: 10;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1); letter-spacing: 0.05em; backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.4);
}
/* Ensure the badge stays absolute and visible */
.badge-popular { background: rgba(255,255,255,0.95); color: var(--primary); }
.badge-recommended { background: var(--primary); color: #fff; }
.badge-promo { background: #ff0055; color: #fff; }

.product-card .card-body { padding: 32px; flex: 1; display: flex; flex-direction: column; z-index: 2; }
.product-card h3 { font-size: 1.45rem; margin-bottom: 16px; }
.product-card .specs { 
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(0,144,255,0.1); 
}
.spec-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,144,255,0.06); color: var(--text-muted);
  padding: 4px 10px; border-radius: 6px; font-size: 0.85rem; font-weight: 600;
  border: 1px solid rgba(0,144,255,0.1); transition: all 0.3s ease;
}
.product-card:hover .spec-pill { background: rgba(0,144,255,0.1); color: var(--primary); }
.spec-pill i { color: var(--primary); }
.product-card .price { 
  font-family: var(--font-en); font-size: 2.2rem; font-weight: 900; margin-bottom: 24px; 
  background: linear-gradient(135deg, var(--text-dark), var(--primary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.product-card .price small { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; -webkit-text-fill-color: initial; }

/* Best Seller Border Glow */
.best-seller-card::before {
  content: ''; position: absolute; inset: -2px; z-index: -1;
  background: linear-gradient(90deg, #38bdf8, var(--primary), #38bdf8, var(--primary));
  background-size: 300% 300%;
  border-radius: calc(var(--radius-xl) + 2px);
  animation: borderGlow 4s linear infinite;
  opacity: 0.8; will-change: background-position; transform: translateZ(0);
}
@keyframes borderGlow { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }


.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.product-carousel { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 0 30px; -ms-overflow-style:none; scrollbar-width:none;}
.product-carousel::-webkit-scrollbar { display:none;}
.product-carousel .product-card { scroll-snap-align: start; flex: 0 0 380px; }

/* ── 12. FILTER TABS & SPEC TABLE ── */
.filter-tabs { display: flex; justify-content: center; gap: 16px; margin-bottom: 56px; flex-wrap: wrap; }
.filter-tab {
  padding: 14px 36px; border-radius: var(--radius-full); font-size: 1.05rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.85); color: var(--text-muted); border: 1px solid rgba(0, 132, 209, 0.2);
  cursor: pointer; transition: all var(--transition-smooth); font-family: var(--font-th); letter-spacing: 0.02em;
  backdrop-filter: blur(4px); box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.filter-tab:hover { background: rgba(0, 132, 209, 0.05); color: var(--primary); transform: translateY(-2px); border-color: rgba(0, 132, 209, 0.4); }
.filter-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; border-color: transparent;
  box-shadow: 0 0 20px rgba(0,132,209,0.3);
}

.spec-table { width: 100%; border-collapse: collapse; border-radius: var(--radius-xl); overflow: hidden; background: #fff; box-shadow: var(--shadow-md); }
.spec-table thead th {
  background: var(--bg-page); color: var(--text-dark); padding: 24px;
  font-weight: 700; font-size: 1rem; text-align: left; border-bottom: 2px solid rgba(0,144,255,0.1);
}
.spec-table tbody td { padding: 24px; font-size: 1rem; border-bottom: 1px solid var(--bg-page); color: var(--text-muted); }
.spec-table tbody tr { transition: all var(--transition-smooth); }
.spec-table tbody tr:hover { background: var(--bg-soft-blue); }
.spec-table tbody tr td:first-child strong { font-family: var(--font-en); font-size: 1.25rem; color: var(--text-dark); font-weight: 800; }

/* ── 13. REVIEWS & PORTFOLIO ── */
.review-summary {
  display: flex; align-items: center; gap: 48px; padding: 48px;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px);
  border-radius: var(--radius-xl); box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  margin-bottom: 64px; border: 1px solid rgba(0,132,209,0.1);
}
.review-summary .big-score { text-align: center; }
.review-summary .score { font-family: var(--font-en); font-size: 5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.review-summary .score-stars { color: var(--warning); font-size: 1.4rem; margin: 12px 0; }
.review-summary .score-count { color: var(--text-muted); font-size: 0.95rem; }
.review-summary .summary-text h3 { color: var(--text-dark); }
.review-summary .summary-text p { color: var(--text-muted) !important; }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.review-card { 
  padding: 40px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 132, 209, 0.1);
  border-radius: var(--radius-xl); box-shadow: 0 15px 35px rgba(0,0,0,0.05); 
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s, border-color 0.4s; 
  position: relative; overflow: hidden; will-change: transform; transform: translateZ(0);
}
.review-card:hover { transform: translateY(-10px); box-shadow: 0 0 30px rgba(0,132,209,0.1), 0 20px 40px rgba(0,0,0,0.05); border-color: rgba(0,132,209,0.3); }
.review-card::before {
  content: '\f10d'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
  position: absolute; top: -10px; right: 20px; font-size: 6rem; color: rgba(0,132,209,0.05); pointer-events: none;
}
.review-card .stars { color: var(--warning); margin-bottom: 24px; font-size: 1.15rem; }
.review-card .review-text { font-size: 1.05rem; line-height: 1.8; margin-bottom: 30px; color: var(--text-muted); font-style: italic; }
.review-card .reviewer { display: flex; align-items: center; gap: 16px; }
.review-card .reviewer .name { font-weight: 700; color: var(--text-dark); font-size: 1.1rem; }
.review-card .reviewer .role { font-size: 0.9rem; color: var(--text-muted); }
.reviewer-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(0,132,209,0.2); box-shadow: 0 0 12px rgba(0,132,209,0.1);
  flex-shrink: 0;
}

/* Filter Pills */
.portfolio-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-pill {
  padding: 10px 28px; border-radius: var(--radius-full); border: 1px solid rgba(0,132,209,0.2);
  background: rgba(255, 255, 255, 0.85); color: var(--text-muted); font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(4px);
}
.filter-pill:hover { border-color: rgba(0,132,209,0.4); color: var(--primary); background: rgba(0,132,209,0.05); }
.filter-pill.active { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; border-color: transparent; box-shadow: 0 0 20px rgba(0,132,209,0.3); }

/* Portfolio Grid - Asymmetrical */
.portfolio-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto; gap: 24px; }
.portfolio-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  cursor: pointer; transition: transform 0.5s ease, box-shadow 0.5s ease, opacity 0.4s ease, border-color 0.4s;
  box-shadow: 0 10px 30px rgba(0,132,209,0.08); border: 1px solid rgba(0,132,209,0.1);
}
.portfolio-card:hover { border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,132,209,0.15); }
.portfolio-card.portfolio-hero { grid-row: span 2; }
.portfolio-card.portfolio-hero img { height: 100%; }
.portfolio-card:not(.portfolio-hero) { aspect-ratio: 16/10; }

/* Glow Reflection (ข้อ 5) */
.portfolio-card::after {
  content: ''; position: absolute; bottom: -30px; left: 10%; right: 10%; height: 30px;
  background: radial-gradient(ellipse at center, rgba(0,144,255,0.15) 0%, transparent 70%);
  filter: blur(8px); opacity: 0; transition: opacity 0.5s ease; z-index: 0;
  pointer-events: none;
}
.portfolio-card:hover::after { opacity: 1; }
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,144,255,0.2); }

.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.portfolio-card:hover img { transform: scale(1.08); }

/* Elegant Hover Overlay (ข้อ 3) */
.portfolio-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  padding: 60px 28px 28px; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  transform: translateY(20px); opacity: 0.7;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.portfolio-card:hover .portfolio-overlay { transform: translateY(0); opacity: 1; }
.portfolio-tag { color: var(--primary); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 6px; text-transform: uppercase; }
.portfolio-overlay h4 { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 12px; }
.portfolio-cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-size: 0.85rem; font-weight: 600;
  padding: 8px 16px; border-radius: var(--radius-full);
  background: rgba(0,132,209,0.05); backdrop-filter: blur(4px);
  border: 1px solid rgba(0,132,209,0.2);
  width: fit-content; transition: all 0.3s;
}
.portfolio-card:hover .portfolio-cta { color: #fff; background: var(--primary); border-color: transparent; }

/* Portfolio Case Study Lightbox (ข้อ 4) */
.portfolio-lightbox {
  position: fixed; inset: 0; z-index: 10001; background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.portfolio-lightbox.active { opacity: 1; visibility: visible; }
.lightbox-close {
  position: absolute; top: 24px; right: 24px; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid rgba(0,132,209,0.2); background: rgba(255,255,255,0.9);
  color: var(--text-dark); font-size: 1.2rem; cursor: pointer; z-index: 10; transition: all 0.3s;
}
.lightbox-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); border-color: transparent; }
.lightbox-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; max-width: 1000px; width: 90%;
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,132,209,0.15); border: 1px solid rgba(0,132,209,0.1);
  transform: scale(0.9) translateY(30px); transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.portfolio-lightbox.active .lightbox-inner { transform: scale(1) translateY(0); }
.lightbox-image { overflow: hidden; }
.lightbox-image img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.lightbox-info {
  background: var(--bg-white);
  padding: 40px 32px; display: flex; flex-direction: column; justify-content: center;
}
.lightbox-tag { color: var(--primary); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 8px; }
.lightbox-info h3 { color: var(--text-dark); font-size: 1.5rem; margin-bottom: 28px; line-height: 1.4; }
.lightbox-specs { display: flex; flex-direction: column; gap: 16px; }
.spec-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: rgba(0,132,209,0.04); border-radius: var(--radius-md);
  border: 1px solid rgba(0,132,209,0.06);
}
.spec-item i { color: var(--primary); font-size: 1.1rem; width: 20px; text-align: center; }
.spec-item div { display: flex; flex-direction: column; gap: 2px; }
.spec-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.spec-val { font-size: 0.95rem; color: var(--text-dark); font-weight: 600; }


/* ── 13b. COVERAGE ZONE MAP ── */
.zone-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: start;
}

/* SVG Map Container */
.zone-map-wrap {
  position: relative;
}
.zone-map-container {
  position: relative;
  background: linear-gradient(135deg, rgba(0,144,255,0.03), rgba(56,189,248,0.06));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,144,255,0.08);
  padding: 32px 24px 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.zone-map-container::before {
  content: ''; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at 70% 30%, rgba(0,144,255,0.06), transparent 60%);
  pointer-events: none;
}

/* SVG Base */
.zone-svg {
  width: 100%; height: auto; max-height: 520px;
  display: block; margin: 0 auto;
}

/* Thailand outline (decorative faint shape) */
.zone-thailand-outline {
  fill: rgba(0,144,255,0.04);
  stroke: rgba(0,144,255,0.12);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
}

/* Zone regions */
.zone-region path {
  fill: rgba(0,144,255,0.08);
  stroke: rgba(0,144,255,0.2);
  stroke-width: 1.5;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.zone-region:hover path,
.zone-region.active path {
  fill: rgba(0,144,255,0.2);
  stroke: var(--primary);
  stroke-width: 2;
  filter: drop-shadow(0 0 12px rgba(0,144,255,0.3));
}
.zone-hq path {
  fill: rgba(245,158,11,0.12);
  stroke: rgba(245,158,11,0.35);
}
.zone-hq:hover path,
.zone-hq.active path {
  fill: rgba(245,158,11,0.25);
  stroke: var(--solar-400);
  filter: drop-shadow(0 0 15px rgba(245,158,11,0.4));
}

/* Zone markers (circles with numbers) */
.zone-marker {
  fill: var(--primary);
  stroke: #fff;
  stroke-width: 2.5;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 2px 6px rgba(0,144,255,0.35));
}
.zone-marker-hq {
  fill: var(--solar-500);
  filter: drop-shadow(0 2px 8px rgba(245,158,11,0.5));
}
.zone-region:hover .zone-marker,
.zone-region.active .zone-marker {
  transform: scale(1.2);
  filter: drop-shadow(0 0 15px rgba(0,144,255,0.6));
}
.zone-region:hover .zone-marker-hq,
.zone-region.active .zone-marker-hq {
  filter: drop-shadow(0 0 20px rgba(245,158,11,0.7));
}

.zone-marker-text {
  fill: #fff; font-size: 11px; font-weight: 700;
  font-family: var(--font-en); text-anchor: middle; pointer-events: none;
}
.zone-marker-text-hq { font-size: 12px; }

.zone-label {
  fill: var(--text-dark); font-size: 11px; font-weight: 600;
  font-family: var(--font-th); text-anchor: middle;
  opacity: 0.7; transition: opacity 0.3s;
}
.zone-label-hq {
  fill: var(--solar-600); font-size: 12px; font-weight: 700; opacity: 1;
}
.zone-region:hover .zone-label,
.zone-region.active .zone-label { opacity: 1; }

/* Pulse rings for HQ */
.zone-pulse-ring {
  fill: none; stroke: var(--solar-400); stroke-width: 2;
  opacity: 0; pointer-events: none;
  animation: zonePulse 3s ease-out infinite;
}
.zone-pulse-ring-2 { animation-delay: 1.5s; }
@keyframes zonePulse {
  0% { r: 22; opacity: 0.6; stroke-width: 2; }
  100% { r: 45; opacity: 0; stroke-width: 0.5; }
}

/* Route lines */
.zone-route {
  stroke: rgba(0,144,255,0.12); stroke-width: 1.5;
  stroke-dasharray: 6 4; pointer-events: none;
}

/* Legend */
.zone-legend {
  display: flex; gap: 20px; justify-content: center;
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(0,144,255,0.06);
}
.zone-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--text-muted); font-weight: 500;
}
.zone-legend-dot {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
}
.zone-legend-gold { background: var(--solar-500); box-shadow: 0 0 8px rgba(245,158,11,0.4); }
.zone-legend-green { background: var(--success); box-shadow: 0 0 8px rgba(16,185,129,0.4); }
.zone-legend-blue { background: var(--primary); box-shadow: 0 0 8px rgba(0,144,255,0.4); }

/* ── Zone Detail Panel ── */
.zone-detail-panel {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0,144,255,0.08);
  box-shadow: var(--shadow-md);
  padding: 36px;
  position: sticky; top: 120px;
  transition: all var(--transition-smooth);
  overflow: hidden;
}
.zone-detail-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--solar-400));
  background-size: 200% 100%;
  animation: shimmerBar 4s linear infinite;
}

.zone-detail-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,144,255,0.06);
}
.zone-detail-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-soft-blue), rgba(0,144,255,0.08));
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.3rem; flex-shrink: 0;
  border: 1px solid rgba(0,144,255,0.08);
  transition: all var(--transition-spring);
}
.zone-detail-panel.zone-active .zone-detail-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; box-shadow: 0 0 25px rgba(0,144,255,0.35);
}
.zone-detail-title {
  font-size: 1.3rem; font-weight: 700; color: var(--text-dark);
  margin: 0 0 4px; transition: color 0.3s;
}
.zone-detail-sub {
  font-size: 0.9rem; color: var(--text-muted); margin: 0; font-weight: 400;
}

/* Default prompt */
.zone-prompt {
  text-align: center; padding: 48px 20px;
  color: var(--text-muted);
}
.zone-prompt i {
  font-size: 3rem; color: rgba(0,144,255,0.15);
  margin-bottom: 16px; display: block;
  animation: floatGently 3s ease-in-out infinite;
}
@keyframes floatGently {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.zone-prompt p { font-size: 0.95rem; line-height: 1.8; }

/* Zone detail stats */
.zone-stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 12px;
}
.zone-stat-row:last-child { grid-template-columns: repeat(2, 1fr); }
.zone-stat-item {
  text-align: center; padding: 20px 12px;
  background: var(--bg-soft-blue);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0,144,255,0.06);
  transition: all var(--transition-smooth);
}
.zone-stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(0,144,255,0.15);
}
.zone-stat-item i {
  font-size: 1.2rem; color: var(--primary); margin-bottom: 8px; display: block;
}
.zone-stat-val {
  font-family: var(--font-en); font-size: 1.6rem; font-weight: 800;
  color: var(--text-dark); line-height: 1.1;
}
.zone-stat-lbl {
  font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; font-weight: 500;
}

/* CTA buttons */
.zone-detail-cta {
  display: flex; gap: 10px; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(0,144,255,0.06);
}
.zone-detail-cta .btn { flex: 1; justify-content: center; }

/* ── Zone Summary Bar ── */
.zone-summary {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-top: 56px;
}
.zone-summary-item {
  text-align: center; padding: 28px 16px;
}
.zone-summary-icon {
  width: 52px; height: 52px; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--bg-soft-blue), rgba(0,144,255,0.08));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.2rem;
  border: 1px solid rgba(0,144,255,0.08);
  transition: all var(--transition-spring);
}
.zone-summary-item:hover .zone-summary-icon {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; transform: translateY(-4px) scale(1.1);
  box-shadow: 0 0 20px rgba(0,144,255,0.3);
}
.zone-summary-val {
  font-family: var(--font-en); font-size: 2.4rem; font-weight: 800;
  color: var(--text-dark); line-height: 1.1; margin-bottom: 6px;
}
.zone-summary-lbl {
  font-size: 0.85rem; color: var(--text-muted); font-weight: 500;
}

/* ── 14. CONTACT SECTION & CARDS ── */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contact-card {
  display: flex; align-items: center; gap: 24px; padding: 32px;
  background: #fff; border: var(--border-subtle);
  border-radius: var(--radius-xl); transition: all var(--transition-smooth); cursor: pointer;
  box-shadow: var(--shadow-sm); relative; z-index: 2;
}
.contact-card:hover { border-color: var(--primary); transform: translateX(10px); box-shadow: var(--shadow-lg); }
.contact-card .card-icon {
  width: 70px; height: 70px; display: flex; align-items: center; justify-content: center;
  border-radius: 20px; font-size: 1.8rem; color: var(--primary); background: var(--bg-soft-blue);
  transition: all var(--transition-spring);
}
.contact-card:hover .card-icon { background: var(--primary); color: #fff; transform: scale(1.1) rotate(5deg); box-shadow: var(--shadow-glow); }
.contact-card h4 { font-size: 1.2rem; margin-bottom: 4px; color: var(--text-dark); }
.contact-card p { font-size: 1.05rem; color: var(--text-muted); }

.hours-card { background: #fff; border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-sm); border: var(--border-subtle); }
.hours-card .status { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text-dark); margin-bottom: 16px; }
.hours-card .status .dot { width: 10px; height: 10px; border-radius: 50%; }
.hours-card .status .dot.open { background: var(--success); box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hours-card li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed rgba(0,0,0,0.05); }
.hours-card li:last-child { border-bottom: none; }
.hours-card .day { color: var(--text-muted); font-weight: 500; }
.hours-card .time { color: var(--text-dark); font-weight: 600; }

.contact-form-card { padding: 48px; background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); } 
/* Applies running light manually for contact form */
.contact-form-card { position: relative; z-index: 1; border: 1px solid transparent; overflow: hidden; }
.contact-form-card::before { content:''; position:absolute; top: -50%; left: -50%; right: -50%; bottom: -50%; background: conic-gradient(from 0deg, transparent 70%, var(--secondary) 100%); animation: spinLight 4s linear infinite; opacity: 0.2; z-index:-2; }
.contact-form-card::after { content:''; position:absolute; inset: 2px; background: var(--bg-white); border-radius: calc(var(--radius-xl) - 2px); z-index:-1; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 24px; position: relative; z-index: 2; }
.form-group label { display: block; font-size: 1rem; font-weight: 600; margin-bottom: 10px; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 16px 24px; border-radius: var(--radius-md);
  font-family: var(--font-th); font-size: 1.05rem; font-weight: 400;
  background: rgba(255, 255, 255, 1); border: 1px solid rgba(0,144,255,0.2); color: var(--text-dark);
  backdrop-filter: blur(4px);
  transition: all var(--transition-smooth); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,144,255,0.2), 0 0 15px rgba(0,230,255,0.3); background: rgba(0,144,255,0.05);
}
.map-wrap { border-radius: var(--radius-xl); overflow: hidden; height: 500px; border: var(--border-subtle); box-shadow: var(--shadow-md); width: 100%; margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ── 15. FOOTER ARCHITECTURE (Ultimate Cyber-Blue) ── */
.footer { 
  background: var(--bg-page); 
  border-top: 1px solid rgba(0, 132, 209, 0.1);
  color: var(--text-muted); 
  font-family: var(--font-en); 
  padding-top: 80px; 
  position: relative;
  overflow: hidden;
}
/* Animated Energy Beam */
.footer::before {
  content: ''; position: absolute; top: 0; left: -100%; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
  width: 200%;
  animation: energyBeam 3s linear infinite;
  box-shadow: 0 0 15px rgba(0,132,209,0.3), 0 0 30px rgba(0,132,209,0.1);
}
@keyframes energyBeam {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.footer-top { padding-bottom: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 40px; }
.footer-col h4 { color: var(--text-dark); font-size: 1.2rem; margin-bottom: 24px; font-family: var(--font-th); letter-spacing: 0.02em; position: relative; display: inline-block; }
.footer-col h4::after {
  content: ''; position: absolute; bottom: -8px; left: 0; width: 30px; height: 2px;
  background: var(--primary); box-shadow: 0 0 10px rgba(0,132,209,0.2); border-radius: 2px;
}
.footer-col p { color: inherit; font-size: 0.95rem; line-height: 1.8; margin-bottom: 20px; font-family: var(--font-th); }
.footer-logo-link { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; transition: transform var(--transition-spring); text-decoration: none; }
.footer-logo-link:hover { transform: scale(1.05); }
.footer-logo-img { height: 72px; width: auto; object-fit: contain; filter: brightness(1.1); }
.footer-logo-link .logo-text .i-lightning i { position: absolute; top: -0.3em; left: 50%; transform: translateX(-50%); font-size: 0.5em; color: #facc15; }
.footer-logo-link .logo-subtext { font-family: 'Poppins', sans-serif; font-size: 0.7rem; font-weight: 400; color: var(--text-muted); margin-top: 2px; letter-spacing: 0.5px; }

.footer-nav li { margin-bottom: 12px; }
.footer-nav a { color: inherit; font-size: 0.95rem; transition: all 0.3s ease; display: inline-block; }
.footer-nav a:hover { color: var(--primary); transform: translateX(8px); }

.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 0.95rem; font-family: var(--font-th); transition: all 0.3s ease; cursor: default; }
.footer-contact li:hover { transform: translateX(8px); }
.footer-contact li:hover span { color: var(--primary); }
.footer-contact i { color: var(--primary); margin-top: 4px; font-size: 1.1rem; transition: transform 0.3s; }
.footer-contact li:hover i { transform: scale(1.2); }
.footer-contact a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
.footer-contact a:hover { color: var(--primary); }

.footer-social { display: flex; gap: 12px; }
.footer-social a { 
  width: 44px; height: 44px; border-radius: 50%; 
  background: rgba(255,255,255,0.8); border: 1px solid rgba(0,132,209,0.2);
  display: flex; align-items: center; justify-content: center; color: var(--text-dark); 
  transition: all 0.3s ease; position: relative; z-index: 2;
}
.footer-social a::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent; z-index: -1;
  transition: all 0.3s;
}
.footer-social a:hover { transform: translateY(-5px); background: transparent; }
.footer-social a:nth-child(1):hover { color: #1877f2; border-color: #1877f2; box-shadow: 0 0 15px rgba(24,119,242,0.4), inset 0 0 10px rgba(24,119,242,0.2); }
.footer-social a:nth-child(1):hover::before { border-color: rgba(24,119,242,0.5); animation: socialRipple 1.5s infinite cubic-bezier(0.2, 0.8, 0.2, 1.2); }
.footer-social a:nth-child(2):hover { color: #00c300; border-color: #00c300; box-shadow: 0 0 15px rgba(0,195,0,0.4), inset 0 0 10px rgba(0,195,0,0.2); }
.footer-social a:nth-child(2):hover::before { border-color: rgba(0,195,0,0.5); animation: socialRipple 1.5s infinite cubic-bezier(0.2, 0.8, 0.2, 1.2); }
.footer-social a:nth-child(3):hover { color: #00e6ff; border-color: #00e6ff; box-shadow: 0 0 15px rgba(0,230,255,0.4), inset 0 0 10px rgba(0,230,255,0.2); }
.footer-social a:nth-child(3):hover::before { border-color: rgba(0,230,255,0.5); animation: socialRipple 1.5s infinite cubic-bezier(0.2, 0.8, 0.2, 1.2); }
@keyframes socialRipple {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Footer Subscribe Box */
.footer-subscribe { margin-top: 20px; }
.footer-subscribe p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px; }
.footer-subscribe form { display: flex; gap: 8px; }
.footer-sub-input {
  flex: 1; padding: 12px 16px; border-radius: var(--radius-md);
  background: var(--bg-white); border: 1px solid rgba(0,132,209,0.2);
  color: var(--text-dark); outline: none; transition: all 0.3s; width: 100%;
}
.footer-sub-input:focus { border-color: var(--primary); background: #fff; box-shadow: inset 0 0 10px rgba(0,132,209,0.05); }
.footer-sub-input::placeholder { color: var(--text-muted); }
.footer-sub-btn {
  padding: 12px 20px; border-radius: var(--radius-md); border: none;
  background: linear-gradient(135deg, #0090ff, #00e6ff); color: #fff; font-weight: 700;
  cursor: pointer; transition: all 0.3s; box-shadow: 0 0 15px rgba(0,230,255,0.3);
}
.footer-sub-btn:hover { transform: translateY(-2px); box-shadow: 0 0 25px rgba(0,230,255,0.5); }

.footer-bottom { border-top: 1px solid rgba(0,132,209,0.1); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ── 16. MODALS & UTILS ── */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(30, 41, 59, 0.8); backdrop-filter: blur(4px);
  z-index: 2000; opacity: 0; pointer-events: none; transition: all 0.4s ease;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }

/* ── Shopee-Style Product Detail Modal ── */
.pd-overlay {
  position: fixed; inset: 0; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(5px);
  z-index: 2000; opacity: 0; pointer-events: none; transition: all 0.35s ease;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.pd-overlay.active { opacity: 1; pointer-events: all; }

.pd-modal {
  background: var(--bg-page); border-radius: var(--radius-xl); width: 100%; max-width: 1000px;
  max-height: 92vh; overflow: hidden; position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25); transform: translateY(30px) scale(0.96);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); display: flex; flex-direction: column;
}
.pd-overlay.active .pd-modal { transform: translateY(0) scale(1); }

.pd-close {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); border: 1px solid rgba(0,0,0,0.06);
  font-size: 1.2rem; cursor: pointer; z-index: 20; color: var(--text-dark);
  transition: all 0.3s ease; display: flex; align-items: center; justify-content: center;
}
.pd-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); border-color: transparent; }

.pd-scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.pd-scroll::-webkit-scrollbar { width: 6px; }
.pd-scroll::-webkit-scrollbar-track { background: transparent; }
.pd-scroll::-webkit-scrollbar-thumb { background: rgba(0,144,255,0.15); border-radius: 3px; }
.pd-scroll::-webkit-scrollbar-thumb:hover { background: rgba(0,144,255,0.3); }

/* Top Section: Image + Info side by side */
.pd-top { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; }

/* Image Gallery */
.pd-gallery { position: relative; background: var(--bg-page); }
.pd-main-img { width: 100%; height: 420px; overflow: hidden; }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pd-main-img:hover img { transform: scale(1.05); }
.pd-badge-wrap { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 5; }
.pd-badge {
  padding: 6px 16px; border-radius: var(--radius-full); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.04em; backdrop-filter: blur(8px); box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.pd-badge-hot { background: rgba(255,0,85,0.9); color: #fff; }
.pd-badge-best { background: rgba(0,144,255,0.9); color: #fff; }
.pd-badge-new { background: rgba(16,185,129,0.9); color: #fff; }

/* Info Panel */
.pd-info { padding: 36px 36px 28px; display: flex; flex-direction: column; }
.pd-category {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600;
  color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px;
}
.pd-category i { font-size: 0.75rem; }
.pd-title { font-size: 1.6rem; font-weight: 800; color: var(--text-dark); margin-bottom: 12px; line-height: 1.3; }
.pd-subtitle { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }

/* Price Block */
.pd-price-block {
  background: linear-gradient(135deg, rgba(0,144,255,0.04), rgba(56,189,248,0.06));
  border: 1px solid rgba(0,144,255,0.08); border-radius: var(--radius-lg);
  padding: 20px 24px; margin-bottom: 24px;
}
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.pd-price {
  font-family: var(--font-en); font-size: 2.4rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pd-price-unit { font-size: 0.9rem; color: var(--text-muted); font-weight: 500; }
.pd-price-note { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.pd-price-note i { color: var(--success); font-size: 0.7rem; }

/* Quick Specs Chips */
.pd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pd-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius-full);
  font-size: 0.82rem; font-weight: 600; color: var(--text-dark);
  transition: all 0.3s ease;
}
.pd-chip i { color: var(--primary); font-size: 0.8rem; }
.pd-chip:hover { border-color: var(--primary); background: rgba(0,144,255,0.04); }

/* Action Buttons */
.pd-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 16px; }
.pd-actions .btn { flex: 1; justify-content: center; font-size: 0.95rem; padding: 14px 20px; }

/* Bottom Sections: Details Tabs */
.pd-details { padding: 0 36px 36px; }

/* Tabs */
.pd-tabs {
  display: flex; gap: 0; border-bottom: 2px solid rgba(0,0,0,0.06);
  margin-bottom: 28px; position: sticky; top: 0; background: var(--bg-page); z-index: 10; padding-top: 20px;
}
.pd-tab {
  padding: 14px 28px; font-size: 0.95rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; border: none; background: none; position: relative;
  transition: all 0.3s ease; font-family: var(--font-th);
}
.pd-tab::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 3px;
  background: var(--primary); border-radius: 3px 3px 0 0; transform: scaleX(0);
  transition: transform 0.3s ease;
}
.pd-tab.active { color: var(--primary); }
.pd-tab.active::after { transform: scaleX(1); }
.pd-tab:hover { color: var(--primary); }

.pd-tab-content { display: none; animation: pdFadeIn 0.4s ease; }
.pd-tab-content.active { display: block; }
@keyframes pdFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Spec Table inside modal */
.pd-spec-table { width: 100%; border-collapse: collapse; }
.pd-spec-table tr { border-bottom: 1px solid rgba(0,0,0,0.04); }
.pd-spec-table tr:last-child { border-bottom: none; }
.pd-spec-table td { padding: 14px 16px; font-size: 0.92rem; vertical-align: top; }
.pd-spec-table td:first-child {
  width: 40%; color: var(--text-muted); font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.pd-spec-table td:first-child i { color: var(--primary); font-size: 0.85rem; width: 20px; text-align: center; }
.pd-spec-table td:last-child { color: var(--text-dark); font-weight: 600; }
.pd-spec-table tr:hover { background: rgba(0,144,255,0.02); }

/* Features Grid */
.pd-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pd-feature {
  display: flex; align-items: flex-start; gap: 14px; padding: 20px;
  background: #fff; border-radius: var(--radius-lg); border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.pd-feature:hover { border-color: rgba(0,144,255,0.12); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pd-feature-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,144,255,0.08), rgba(56,189,248,0.12));
  display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem;
}
.pd-feature h5 { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.pd-feature p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* Warranty Section inside tab */
.pd-warranty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd-warranty-item {
  text-align: center; padding: 24px 16px; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.04); transition: all 0.3s ease;
}
.pd-warranty-item:hover { border-color: rgba(0,144,255,0.12); box-shadow: var(--shadow-sm); }
.pd-warranty-num {
  font-family: var(--font-en); font-size: 2.4rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.pd-warranty-unit { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 6px; }
.pd-warranty-label { font-size: 0.8rem; color: var(--text-muted); }

/* Bottom sticky bar */
.pd-bottom-bar {
  padding: 16px 36px; background: #fff; border-top: 1px solid rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.pd-bottom-price { font-family: var(--font-en); font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.pd-bottom-actions { display: flex; gap: 10px; }

/* Responsive */
@media (max-width: 768px) {
  .pd-modal { max-height: 95vh; border-radius: var(--radius-lg); }
  .pd-top { grid-template-columns: 1fr; }
  .pd-main-img { height: 280px; }
  .pd-info { padding: 24px 20px 20px; }
  .pd-title { font-size: 1.3rem; }
  .pd-price { font-size: 1.8rem; }
  .pd-details { padding: 0 20px 24px; }
  .pd-tabs { overflow-x: auto; gap: 0; padding-top: 12px; }
  .pd-tab { padding: 12px 18px; font-size: 0.85rem; white-space: nowrap; }
  .pd-features { grid-template-columns: 1fr; }
  .pd-warranty-grid { grid-template-columns: 1fr; }
  .pd-actions { flex-direction: column; }
  .pd-bottom-bar { flex-direction: column; padding: 14px 20px; }
  .pd-bottom-price { font-size: 1.3rem; }
  .pd-chips { gap: 6px; }
  .pd-chip { font-size: 0.75rem; padding: 6px 12px; }
}

.floating-line {
  position: fixed; bottom: 30px; right: 30px; width: 64px; height: 64px;
  background: linear-gradient(135deg, #00c300, #00E576); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; box-shadow: 0 10px 25px rgba(0, 229, 118, 0.4); z-index: 1000;
  transition: all var(--transition-spring); animation: floatingPulse 3s ease-in-out infinite;
}
.floating-line::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid rgba(0, 229, 118, 0.3); animation: pulseRing 2s ease-out infinite;
}
@keyframes floatingPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.floating-line:hover { transform: translateY(-8px) scale(1.15); box-shadow: 0 15px 40px rgba(0, 229, 118, 0.5); animation: none; }

/* Preloader */
#preloader { position: fixed; inset: 0; background: var(--bg-dark); z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; transition: opacity 0.3s ease, visibility 0.3s ease; }
.loader-logo { font-size: 2.2rem; font-weight: 800; color: #fff; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 20px rgba(0,144,255,0.6); }
.loader-bar { width: 180px; height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; position: relative; }
.loader-bar::after { content:''; position: absolute; left: 0; top: 0; height: 100%; width: 40%; background: linear-gradient(90deg, var(--primary), #fff); animation: loading 1.2s infinite ease-in-out alternate; border-radius: 2px; box-shadow: 0 0 10px var(--primary); }
@keyframes loading { 0% { left: -40%; } 100% { left: 100%; } }
body.loaded #preloader { opacity: 0; visibility: hidden; pointer-events: none; }

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--primary), var(--solar-400));
  width: 100%; transform-origin: left; transform: scaleX(0); transition: none;
}

/* Animation Utils */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active, .reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── 18. CALL TO ACTION (CTA) SECTION ── */
.cta-section {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, var(--bg-page) 0%, rgba(224,242,254,0.6) 50%, var(--bg-white) 100%);
  background-size: 200% 200%; animation: gradientShift 8s ease infinite;
  color: var(--text-dark);
  text-align: center;
  overflow: hidden;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.cta-section::before {
  content: ''; position: absolute; top: -40%; left: -10%; width: 500px; height: 500px;
  background: rgba(245, 158, 11, 0.15); border-radius: 50%; filter: blur(30px); animation: floatOrb 10s infinite alternate;
}
.cta-section::after {
  content: ''; position: absolute; bottom: -40%; right: -10%; width: 600px; height: 600px;
  background: rgba(0, 132, 209, 0.05); border-radius: 50%; filter: blur(40px); animation: floatOrb 12s infinite alternate-reverse;
}
.cta-section .container { position: relative; z-index: 2; }
.cta-section h2 { color: var(--text-dark); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 20px; font-weight: 800; letter-spacing: -0.02em; text-shadow: none; }
.cta-section p { color: var(--text-muted); font-size: 1.25rem; max-width: 650px; margin: 0 auto 48px; line-height: 1.8; }
.cta-section .btn { padding: 18px 48px; font-size: 1.1rem; border: none; }
.cta-section .btn:first-child { background: var(--primary); color: #fff; box-shadow: 0 10px 30px rgba(0,132,209,0.15); animation: ctaBtnPulse 3s ease-in-out infinite; }
.cta-section .btn:first-child:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,132,209,0.25); animation: none; }
.cta-section .btn-secondary { background: rgba(0, 132, 209, 0.05); color: var(--primary); border: 1px solid rgba(0, 132, 209, 0.2) !important; backdrop-filter: blur(4px); }
.cta-section .btn-secondary:hover { background: rgba(0, 132, 209, 0.1); transform: translateY(-5px); }
@keyframes ctaBtnPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,132,209,0.15); }
  50% { box-shadow: 0 10px 30px rgba(0,132,209,0.15), 0 0 40px rgba(0,132,209,0.2); }
}

/* ── 18b. IMPACT COUNTER SECTION ── */
.impact-section { background: var(--gradient-hero); position: relative; overflow: hidden; }
.impact-section::before {
  content: ''; position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,144,255,0.12) 0%, transparent 70%);
  top: -200px; left: -200px; border-radius: 50%; z-index: 0; pointer-events: none;
  animation: auraDrift 15s ease-in-out infinite;
}
.impact-section::after {
  content: ''; position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 70%);
  bottom: -150px; right: -150px; border-radius: 50%; z-index: 0; pointer-events: none;
  animation: auraDrift 20s ease-in-out infinite reverse;
}
@keyframes auraDrift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}
.impact-section .container { position: relative; z-index: 1; }

.impact-section .section-header .eyebrow { color: var(--primary); }
.impact-section .section-header .eyebrow::before, .impact-section .section-header .eyebrow::after { background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.impact-section .section-header h2 { color: var(--text-dark); }
.impact-section .section-header .desc { color: var(--text-muted); }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.impact-card {
  text-align: center; padding: 45px 24px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,132,209,0.08); border-top: 1px solid rgba(0,132,209,0.12);
  border-radius: var(--radius-xl);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,132,209,0.06);
}
.impact-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 50%, rgba(0,144,255,0.05) 100%);
  transition: opacity 0.5s ease; opacity: 0;
}
.impact-card:hover { 
  transform: translateY(-8px); 
  border-color: rgba(0,132,209,0.2);
  background: #fff;
  box-shadow: 0 20px 40px rgba(0,132,209,0.1);
}
.impact-card:hover::before { opacity: 1; }

.impact-icon {
  width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; position: relative; z-index: 2;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.impact-card:hover .impact-icon { transform: scale(1.15) translateY(-5px); }

.impact-card:nth-child(1) .impact-icon { background: rgba(56,189,248,0.1); color: var(--secondary); box-shadow: 0 0 20px rgba(56,189,248,0.2); }
.impact-card:nth-child(2) .impact-icon { background: rgba(16,185,129,0.1); color: var(--success); box-shadow: 0 0 20px rgba(16,185,129,0.2); }
.impact-card:nth-child(3) .impact-icon { background: rgba(245,158,11,0.1); color: var(--solar-400); box-shadow: 0 0 20px rgba(245,158,11,0.2); }
.impact-card:nth-child(4) .impact-icon { background: rgba(0,144,255,0.1); color: var(--primary); box-shadow: 0 0 20px rgba(0,144,255,0.2); }

.impact-value {
  font-family: var(--font-en); font-size: 3.2rem; font-weight: 800; color: var(--primary);
  line-height: 1.1; position: relative; z-index: 2; margin-bottom: 5px;
  text-shadow: none;
  transition: all 0.4s ease;
}
.impact-card:nth-child(1):hover .impact-value { color: var(--secondary); }
.impact-card:nth-child(2):hover .impact-value { color: var(--success); }
.impact-card:nth-child(3):hover .impact-value { color: var(--solar-400); }
.impact-card:nth-child(4):hover .impact-value { color: var(--primary); }

.impact-unit { font-size: 1rem; font-weight: 600; margin-bottom: 12px; position: relative; z-index: 2; letter-spacing: 0.5px; }
.impact-card:nth-child(1) .impact-unit { color: var(--text-dark); }
.impact-card:nth-child(2) .impact-unit { color: var(--text-dark); }
.impact-card:nth-child(3) .impact-unit { color: var(--text-dark); }
.impact-card:nth-child(4) .impact-unit { color: var(--text-dark); }
.impact-label { font-size: 0.9rem; color: var(--text-muted); position: relative; z-index: 2; line-height: 1.5; }

/* Animation for counter finish */
.impact-value.pop {
  animation: counterPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes counterPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); text-shadow: 0 0 20px rgba(255,255,255,0.8); }
  100% { transform: scale(1); }
}

/* ── 18c. SYSTEM COMPARISON ── */
/* Compare Toggle Switch */
.compare-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 40px; }
.toggle-label { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: color 0.3s; display: flex; align-items: center; gap: 8px; }
.toggle-label.active { color: var(--primary); }
.toggle-switch { width: 56px; height: 30px; background: rgba(0,144,255,0.15); border-radius: 15px; position: relative; cursor: pointer; border: 2px solid rgba(0,144,255,0.2); transition: background 0.3s; }
.toggle-knob { width: 22px; height: 22px; background: var(--primary); border-radius: 50%; position: absolute; top: 2px; left: 2px; transition: transform 0.3s cubic-bezier(0.68,-0.55,0.27,1.55); box-shadow: 0 2px 8px rgba(0,144,255,0.4); }
.toggle-switch.active .toggle-knob { transform: translateX(26px); }

.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.compare-card { position: relative; transition: transform 0.4s ease, box-shadow 0.4s ease; overflow: visible; }
.compare-card:hover { transform: translateY(-8px) !important; box-shadow: 0 20px 50px rgba(0,132,209,0.1); }
.compare-card:hover .compare-header i { animation: spinIcon 0.6s ease; }
.compare-card:hover .compare-price { text-shadow: none; }
@keyframes spinIcon { 0% { transform: rotateY(0); } 100% { transform: rotateY(360deg); } }

.compare-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); z-index: 10;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  padding: 7px 24px; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 800;
  box-shadow: 0 4px 15px rgba(245,158,11,0.4); letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap;
}
@keyframes holoGradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* Animated Gradient Border for Recommended Card */
.compare-recommended { padding: 3px; background: linear-gradient(135deg, #f59e0b, #fbbf24, #f59e0b); background-size: 200% 200%; border-radius: var(--radius-xl); animation: holoGradient 3s ease infinite; overflow: visible; margin-top: 16px; box-shadow: 0 0 25px rgba(245,158,11,0.3), 0 0 50px rgba(245,158,11,0.1); }
.compare-recommended .compare-card-inner { background: #fff; overflow: hidden; }

/* Override card-run-light for compare cards — prevent badge clipping & pseudo-element overlap */
.compare-card.card-run-light { overflow: visible; }
.compare-card.card-run-light::before,
.compare-card.card-run-light::after { display: none; }

.compare-card-inner { position: relative; z-index: 2; height: 100%; border-radius: var(--radius-xl); background: #fff; overflow: hidden; box-shadow: 0 10px 30px rgba(0,132,209,0.08); border: 1px solid rgba(0,132,209,0.12); }
.compare-header {
  padding: 32px 24px; text-align: center; color: var(--text-dark);
  border-radius: calc(var(--radius-xl) - 2px) calc(var(--radius-xl) - 2px) 0 0;
}
.compare-header i { font-size: 2.2rem; margin-bottom: 12px; display: block; opacity: 0.9; transition: transform 0.6s; }
.compare-header h3 { font-size: 1.6rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.compare-price { font-size: 1rem; font-weight: 600; opacity: 0.9; transition: text-shadow 0.3s; }
.compare-body { padding: 28px 24px 32px; }
.compare-body ul { margin-bottom: 24px; }
.compare-body li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.95rem; color: var(--text-dark); font-weight: 500; }
.compare-body li i { font-size: 0.85rem; flex-shrink: 0; }
.compare-body li .fa-check-circle { color: #22c55e; }
.compare-body li.con { color: var(--text-muted); }
.compare-body li.con .fa-times-circle { color: #ef4444; }
.compare-best { padding: 12px 0 0 0; background: none; border: none; border-top: 1px dashed rgba(0,0,0,0.1); font-size: 0.85rem; color: var(--text-muted); font-weight: 500; margin-bottom: 20px; text-align: center; transition: all 0.3s; position: relative; }
.compare-best::before { content: '\f08d'; font-family: 'Font Awesome 5 Free'; font-weight: 900; margin-right: 6px; color: var(--primary); font-size: 0.8rem; }
.compare-body .btn { width: 100%; justify-content: center; }

/* Spotlight effect for quiz result */
.compare-card.spotlight { animation: spotlightPulse 1.5s ease; box-shadow: 0 0 40px rgba(0,144,255,0.5); z-index: 10; }
@keyframes spotlightPulse { 0% { box-shadow: 0 0 0 rgba(0,144,255,0); } 50% { box-shadow: 0 0 60px rgba(0,144,255,0.6); } 100% { box-shadow: 0 0 30px rgba(0,144,255,0.3); } }

/* Action Buttons */
.compare-actions { display: flex; justify-content: center; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.btn-compare-table, .btn-compare-quiz {
  padding: 14px 28px; border-radius: var(--radius-full); font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: all 0.3s; border: none;
}
.btn-compare-table { background: rgba(0,144,255,0.08); color: var(--primary); border: 1px solid rgba(0,144,255,0.2); }
.btn-compare-table:hover { background: rgba(0,144,255,0.15); border-color: var(--primary); }
.btn-compare-quiz { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; box-shadow: 0 4px 15px rgba(0,144,255,0.35); }
.btn-compare-quiz:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,144,255,0.5); }

/* Comparison Table Modal */
.compare-table-modal, .quiz-modal {
  position: fixed; inset: 0; z-index: 10001; background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.4s ease;
}
.compare-table-modal.active, .quiz-modal.active { opacity: 1; visibility: visible; }
.modal-close {
  position: absolute; top: 24px; right: 24px; width: 48px; height: 48px;
  border-radius: 50%; border: 1px solid rgba(0,132,209,0.15); background: rgba(255,255,255,0.9);
  color: var(--text-dark); font-size: 1.2rem; cursor: pointer; z-index: 10; transition: all 0.3s;
}
.modal-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); border-color: transparent; }
.modal-inner, .quiz-inner {
  background: var(--bg-white); border-radius: var(--radius-xl);
  border: 1px solid rgba(0,132,209,0.1); max-width: 800px; width: 90%; padding: 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.1);
  transform: scale(0.9) translateY(30px); transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.compare-table-modal.active .modal-inner, .quiz-modal.active .quiz-inner { transform: scale(1) translateY(0); }
.modal-inner h3, .quiz-inner h3 { color: var(--text-dark); font-size: 1.4rem; margin-bottom: 24px; text-align: center; }
.modal-inner h3 i { color: var(--primary); margin-right: 10px; }
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid rgba(0,0,0,0.05); color: var(--text-dark); font-size: 0.9rem; }
.compare-table th { color: var(--text-dark); font-weight: 700; font-size: 0.95rem; background: rgba(0,132,209,0.04); }
.compare-table th.highlight { color: var(--primary); }
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--text-dark); }
.compare-table td.highlight { color: var(--primary); font-weight: 700; }
.c-yes { color: #22c55e; } .c-no { color: #ef4444; opacity: 0.5; }

/* Smart Quiz */
.quiz-inner { max-width: 520px; text-align: center; }
.quiz-progress { height: 4px; background: rgba(0,132,209,0.1); border-radius: 2px; margin-bottom: 32px; overflow: hidden; }
.quiz-progress-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--solar-400)); border-radius: 2px; transition: width 0.5s ease; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeIn 0.4s ease; }
.quiz-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: rgba(0,144,255,0.1); border: 1px solid rgba(0,144,255,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--primary); }
.quiz-inner h3 { margin-bottom: 28px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: var(--radius-md);
  background: rgba(0,132,209,0.04); border: 1px solid rgba(0,132,209,0.1); color: var(--text-dark);
  font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s; text-align: left;
}
.quiz-opt i { color: var(--primary); width: 24px; text-align: center; }
.quiz-opt:hover { background: rgba(0,132,209,0.1); border-color: rgba(0,132,209,0.3); transform: translateX(6px); }
.quiz-result-name { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin: 16px 0 12px; }
.quiz-result-desc { color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.quiz-restart { margin-top: 16px; background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.9rem; transition: color 0.3s; }
.quiz-restart:hover { color: var(--primary); }


/* ── 18d. CERTIFICATIONS (Ultimate Premium Upgrade) ── */
#certifications {
  position: relative;
  overflow: hidden;
  background: var(--bg-white); /* Deep Slate Navy (Fix for undefined --bg-deep) */
  color: var(--text-dark);
}
#certifications::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 144, 255, 0.15) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
#certifications .section-header h2, 
#certifications .section-header p,
#certifications .section-header .eyebrow span { color: var(--text-dark); }
#certifications .section-header .eyebrow { background: transparent; }
#certifications .container { position: relative; z-index: 1; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert-card {
  position: relative; text-align: center; padding: 40px 24px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 132, 209, 0.2);
  border-radius: var(--radius-lg);
  color: var(--text-dark);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0,132,209,0.06);
}
.cert-card::before {
  content: ''; position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent, rgba(0,144,255,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s;
}
.cert-card:hover {
  background: #fff;
  border-color: rgba(0, 132, 209, 0.25);
  box-shadow: 0 20px 40px rgba(0, 132, 209, 0.1);
  transform: translateY(-6px);
}
.cert-card:hover::before { opacity: 1; }

.cert-watermark {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-15deg);
  font-size: 3rem; font-weight: 900; color: rgba(0, 230, 255, 0.04);
  white-space: nowrap; pointer-events: none; z-index: 0;
  letter-spacing: 0.15em; user-select: none;
}

.cert-card .cert-icon {
  position: relative; z-index: 1;
  width: 88px; height: 88px; margin: 0 auto 24px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,230,255,0.15), rgba(0,144,255,0.08));
  color: var(--primary); font-size: 2.2rem; 
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,144,255,0.1);
}
.cert-card .cert-icon::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(to bottom right, rgba(255,255,255,0) 40%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 60%);
  transform: rotate(45deg) translate(-100%, -100%);
  animation: metallicSheen 3s infinite;
}
@keyframes metallicSheen {
  0% { transform: rotate(45deg) translate(-100%, -100%); }
  20%, 100% { transform: rotate(45deg) translate(100%, 100%); }
}

.cert-card:hover .cert-icon {
  transform: scale(1.15);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; box-shadow: 0 0 25px rgba(0,132,209,0.3);
}
.cert-card h4 { position: relative; z-index: 1; font-size: 1.15rem; margin-bottom: 12px; color: var(--text-dark); font-weight: 700; transition: color 0.3s; }
.cert-card p { position: relative; z-index: 1; font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; transition: color 0.3s; }
.cert-card:hover h4 { color: var(--primary); }
.cert-card:hover p { color: var(--text-dark); }

/* ── 18e. BACK TO TOP BUTTON ── */
.back-to-top {
  position: fixed; bottom: 100px; right: 24px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(0,144,255,0.3);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all 0.4s ease;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,144,255,0.5); }

/* ── 18f. MOBILE STICKY CALL BAR ── */
.mobile-call-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(8px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 10px 16px; gap: 10px;
}
.mobile-call-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 16px; border-radius: var(--radius-full); font-size: 1rem; font-weight: 700;
  text-decoration: none; transition: all 0.3s ease;
}
.mobile-call-btn.call { background: var(--primary); color: #fff; }
.mobile-call-btn.line { background: #00c300; color: #fff; }

/* ── 18g. COOKIE CONSENT ── */
.cookie-consent {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  padding: 20px 24px; transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  border-top: 1px solid rgba(0,132,209,0.1);
}
.cookie-consent.visible { transform: translateY(0); }
.cookie-content {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-icon { font-size: 2rem; color: var(--solar-400); flex-shrink: 0; }
.cookie-content p { flex: 1; min-width: 300px; color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.cookie-content p strong { color: var(--text-dark); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions .btn { padding: 10px 24px; font-size: 0.9rem; }

/* ── 19. RESPONSIVE DESIGN (The Safe Grid Restorations) ── */
@media (max-width: 1024px) {
  .product-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-card.portfolio-hero { grid-row: span 1; }
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-panel { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 320px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .compare-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .compare-card { transform: scale(1) !important; }
  .compare-recommended { padding: 3px; }
  .compare-actions { flex-direction: column; align-items: center; }
  .quiz-inner, .modal-inner { padding: 28px 20px; width: 95%; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .zone-layout { gap: 24px; }
  .zone-summary { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .top-bar { display: none; }
  .navbar .container { height: 70px; }
  .navbar.scrolled .container { height: 60px; }
  
  /* Mobile Nav Menu */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: min(280px, 80vw); height: 100vh;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(8px);
    flex-direction: column; align-items: stretch; padding: 90px 24px 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: right 0.4s ease, opacity 0.4s ease, visibility 0.4s ease; z-index: 999;
    overflow-y: auto;
    visibility: hidden; opacity: 0; pointer-events: none;
  }
  .nav-menu.active { right: 0; visibility: visible; opacity: 1; pointer-events: auto; }
  .nav-menu a { font-size: 1.1rem; padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); }
  .nav-menu .nav-cta { margin-top: 20px; width: 100%; border-bottom: none; }
  .nav-menu .nav-cta a {
    display: inline-flex; justify-content: center; align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff !important; padding: 14px 24px; border-radius: var(--radius-full);
    border-bottom: none; font-weight: 700; box-shadow: 0 6px 18px rgba(0,144,255,0.25);
  }
  /* Logo: keep readable on mobile, leave room for hamburger */
  .navbar .container { padding: 0 16px; height: 76px; }
  .navbar.scrolled .container { height: 66px; }
  .nav-logo .logo-icon { height: 54px; }
  .nav-logo .logo-text { font-size: 1.6rem; }
  .nav-logo .logo-subtext { font-size: 0.62rem; }
  
  .hero { min-height: 85vh; }
  .hero-content { padding: 80px 0 60px; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-float-card { display: none; }
  .hero-slides { opacity: 0.3; }
  
  .trust-bar { margin-top: 0; border-radius: 0; border-left: none; border-right: none; padding: 40px 16px; }
  .trust-bar .container { grid-template-columns: 1fr 1fr; }
  .trust-bar .container::before, .trust-bar .container::after { display: none; }
  .trust-item { padding: 20px 12px 16px; }
  
  .calc-card, .contact-form-card { padding: 30px 20px; }
  .calc-input-wrap { width: 100%; flex-direction: column; background: transparent; border: none; box-shadow: none; }
  .calc-input-wrap input { width: 100%; border: 2px solid rgba(0,144,255,0.2); border-radius: var(--radius-lg); margin-bottom: 10px; background: #fff; }
  .calc-input-wrap .unit { width: 100%; border-radius: var(--radius-lg); border-left: none; border: 2px solid rgba(0,144,255,0.15); }
  
  .calc-panel { grid-template-columns: 1fr; }
  .calc-left, .calc-right { padding: 30px 20px; }
  .calc-right .big-saving { font-size: 3rem; }
  .calc-stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  
  .calc-results { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; padding-left: 20px; }
  .process-grid::before { 
    display: block; width: 4px; height: 100%; top: 0; left: 35px; right: auto;
    background: linear-gradient(180deg, transparent 0%, rgba(0,144,255,0.2) 20%, #38bdf8 50%, #fff 55%, #38bdf8 60%, rgba(0,144,255,0.2) 80%, transparent 100%);
    background-size: 100% 200%;
    animation: energyFlowY 3s linear infinite;
    z-index: 1;
  }
  @keyframes energyFlowY {
    0% { background-position: 0 200%; }
    100% { background-position: 0 -200%; }
  }
  .process-step { border: 1px solid rgba(255,255,255,0.8); text-align: left; padding: 24px 20px 24px 60px; margin-left: 15px; margin-bottom: 20px; }
  .process-step .step-icon { margin: 0; width: 50px; height: 50px; font-size: 1.2rem; position: absolute; left: -25px; top: 50%; transform: translateY(-50%); }
  .process-step:hover .step-icon { transform: translateY(-50%) scale(1.15); }
  .process-step .step-num { display: none; }
  
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .warranty-grid { grid-template-columns: 1fr; max-width: 320px; }
  .warranty-item .warranty-num { font-size: 3rem; }
  .testimonial-card { flex: 0 0 280px; padding: 28px 24px; }
  
  .product-grid, .review-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card.portfolio-hero { grid-row: span 1; }
  .portfolio-card:not(.portfolio-hero) { aspect-ratio: 4/3; }
  .lightbox-inner { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
  .lightbox-image img { min-height: 200px; max-height: 250px; }
  
  /* Zone Map — Mobile Stack */
  .zone-layout { grid-template-columns: 1fr; gap: 24px; }
  .zone-detail-panel { position: static; }
  .zone-map-container { padding: 20px 16px 12px; }
  .zone-svg { max-height: 400px; }
  .zone-legend { flex-wrap: wrap; gap: 12px; }
  .zone-summary { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
  .zone-summary-item { padding: 20px 12px; }
  .zone-summary-val { font-size: 1.8rem; }
  .zone-stat-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .zone-stat-row:last-child { grid-template-columns: repeat(2, 1fr); }
  .zone-stat-item { padding: 14px 8px; }
  .zone-stat-val { font-size: 1.3rem; }
  .zone-detail-cta { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-call-bar { display: flex; }
  .floating-line { bottom: 80px; }
  .back-to-top { bottom: 140px; }
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .impact-card { padding: 30px 15px; }
  .impact-icon { width: 56px; height: 56px; font-size: 1.4rem; margin-bottom: 16px; }
  .impact-value { font-size: 2.2rem; }
  .impact-unit { font-size: 0.9rem; margin-bottom: 8px; }
  .impact-label { font-size: 0.8rem; }
  .cert-grid { grid-template-columns: 1fr; }
  .cookie-content { flex-direction: column; text-align: center; }
  .cookie-content p { min-width: 0; }
}

@media (max-width: 480px) {
}

/* -- PREMIUM AESTHETIC ENHANCEMENTS -- */

/* 1. Glass Edge Highlight for Cards */
.product-card, .calc-card, .contact-card { position: relative; }
.product-card::after, .calc-card::after, .contact-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, rgba(0,144,255,0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.5; transition: opacity 0.4s ease; z-index: 10;
}
.product-card:hover::after, .calc-card:hover::after, .contact-card:hover::after {
  opacity: 1;
}

/* 2. Tech Grid Background */
.section-light, .section { position: relative; z-index: 1; }
.section-light::before, .section-white::before, .trust-bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(0,144,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,144,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}


/* Watermark Icons for Stat Cards */
.stat-watermark {
  position: absolute;
  bottom: -5%; right: -5%;
  font-size: 7rem;
  color: rgba(0, 132, 209, 0.05);
  z-index: 1;
  transform: rotate(-15deg);
  pointer-events: none;
  transition: all var(--transition-smooth);
}
.stat-card:hover .stat-watermark {
  color: rgba(56,189,248,0.15);
  transform: rotate(0deg) scale(1.1);
}
.stat-card:nth-child(4):hover .stat-watermark {
  color: rgba(251,191,36,0.15);
}


.product-card:hover { box-shadow: 0 20px 40px rgba(0,132,209,0.1); border-color: var(--primary); }

/* ── 20. ULTIMATE CTA & LINE QR (The Final Touch) ── */

/* Ultimate CTA Section */
.cta-section {
  position: relative; overflow: hidden;
  padding: 100px 0;
  background: var(--bg-page);
  color: var(--text-dark); text-align: center;
}
.cta-flare {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% -20%, rgba(56, 189, 248, 0.4) 0%, transparent 60%);
  pointer-events: none; z-index: 1;
  animation: ctaPulse 4s ease-in-out infinite alternate;
}
@keyframes ctaPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}
.cta-section h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 16px; text-shadow: 0 0 30px rgba(56,189,248,0.4); }
.cta-section p { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 30px; }

/* Pulse Buttons */
.btn-pulse {
  position: relative; z-index: 2; overflow: visible;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 20px rgba(0,144,255,0.4);
  color: var(--bg-page) !important;
  font-weight: 700;
}
.btn-pulse::after {
  content: ''; position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: var(--radius-full); z-index: -1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  filter: blur(10px); opacity: 0.7;
  animation: pulseGlow 2s infinite alternate;
}
.btn-pulse-sec {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.3);
  position: relative; z-index: 2; overflow: visible;
}
.btn-pulse-sec:hover { background: rgba(255,255,255,0.2); }
@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1.05); opacity: 0.9; }
}

/* Ultimate LINE QR Block */
.premium-glass {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 195, 0, 0.2) !important;
  box-shadow: 0 30px 60px rgba(0,0,0,0.05), inset 0 0 0 1px rgba(0,195,0,0.1);
}
.btn-pulse-line {
  background: #00c300; position: relative; overflow: visible;
  box-shadow: 0 0 20px rgba(0,195,0,0.4); border: none;
}
.btn-pulse-line::after {
  content: ''; position: absolute; inset: -4px; border-radius: var(--radius-full); z-index: -1;
  background: #00c300; filter: blur(12px); opacity: 0.6;
  animation: pulseGlow 2s infinite alternate;
}
.btn-pulse-line:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(0,195,0,0.6); }

/* QR Scanner Effect */
.premium-qr {
  position: relative; display: inline-block;
  background: #fff !important;
  padding: 16px !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 0 40px rgba(0,195,0,0.2), inset 0 0 0 2px rgba(0,195,0,0.5) !important;
  overflow: hidden;
}
.premium-qr img { position: relative; z-index: 1; border-radius: var(--radius-md) !important; display: block; margin: 0 auto !important; }
.premium-qr .line-id { position: relative; z-index: 2; display: block; font-size: 1.1rem; font-weight: 800; color: #00c300; margin-top: 16px; letter-spacing: 1px; }

.scanner-line {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: #00c300;
  box-shadow: 0 0 15px 4px rgba(0,195,0,0.6);
  z-index: 5;
  animation: scanAction 3s ease-in-out infinite;
}
@keyframes scanAction {
  0% { top: 5%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 95%; opacity: 0; }
}

/* ── 21. PHASE 1 ULTIMATE UPGRADE (Hero & Trust Bar) ── */

/* Hero Glass & Particles */
.hero-premium-glass {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 132, 209, 0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.05);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.hero-particles .particle {
  position: absolute; width: 4px; height: 4px; background: rgba(56, 189, 248, 0.8);
  border-radius: 50%; box-shadow: 0 0 10px 2px rgba(56, 189, 248, 0.5);
  animation: floatUp 10s infinite linear;
}
.hero-particles .particle:nth-child(1) { left: 10%; animation-duration: 8s; animation-delay: 0s; width: 6px; height: 6px; }
.hero-particles .particle:nth-child(2) { left: 30%; animation-duration: 12s; animation-delay: 2s; }
.hero-particles .particle:nth-child(3) { left: 50%; animation-duration: 9s; animation-delay: 4s; width: 8px; height: 8px; }
.hero-particles .particle:nth-child(4) { left: 70%; animation-duration: 15s; animation-delay: 1s; }
.hero-particles .particle:nth-child(5) { left: 85%; animation-duration: 11s; animation-delay: 3s; width: 5px; height: 5px; }
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(-100px) scale(1.5); opacity: 0; }
}

/* Magnetic Hover Button Style (requires JS for full magnetic effect, CSS handles transition) */
.magnetic-btn { transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s !important; }

/* Premium Trust Bar */
.trust-bar { 
  background: var(--bg-white) !important; 
  border: none !important; 
  box-shadow: 0 20px 60px rgba(0,132,209,0.08) !important; 
  position: relative; 
  z-index: 10; 
  margin-top: -40px; 
  padding: 80px 0 60px 0 !important;
  border-radius: 0 !important; 
}
.trust-bar .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: transparent !important; padding: 0 !important; box-shadow: none !important; border: none !important;
}
.trust-item.premium-glass-sm {
  background: rgba(255, 255, 255, 0.9) !important; backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 132, 209, 0.1) !important;
  border-radius: var(--radius-lg); padding: 30px 20px;
  box-shadow: 0 10px 30px rgba(0,132,209,0.06);
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.trust-item.premium-glass-sm::before,
.trust-item.premium-glass-sm::after {
  display: none !important;
}
.trust-item.premium-glass-sm:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 132, 209, 0.25) !important;
  box-shadow: 0 20px 40px rgba(0,132,209,0.1) !important;
}
.trust-item.premium-glass-sm .icon { background: rgba(0, 132, 209, 0.05); color: var(--secondary); border: 1px solid rgba(0,132,209,0.1); }
.trust-item.premium-glass-sm .number { color: var(--text-dark) !important; text-shadow: none; }
.trust-item.premium-glass-sm .label { color: var(--text-muted) !important; }

/* ── 22. PHASE 2 ULTIMATE UPGRADE (Why Solar & Process Laser) ── */

/* Hide old static process line */
.process-grid::before { display: none !important; }

/* Desktop Laser (Horizontal) */
@media(min-width: 992px) {
  .process-laser-track {
    position: absolute; top: 60px; left: 10%; right: 10%; height: 4px;
    background: rgba(255,255,255,0.1); border-radius: 4px; z-index: 1;
  }
  .process-laser-beam {
    position: absolute; top: 0; left: 0; height: 100%; width: 0%;
    background: linear-gradient(90deg, #0090ff, #38bdf8, #fff);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(0,144,255,0.6), 0 0 30px rgba(56,189,248,0.4);
    transition: width 0.3s ease-out;
  }
  .process-grid { padding-top: 40px; }
}

/* Mobile Laser (Vertical) */
@media(max-width: 991px) {
  .process-laser-track, .process-laser-beam {
    display: none !important; /* User requested removal of lines */
  }
  .process-step { z-index: 2; position: relative; }
  .process-step.premium-glass-sm { padding-left: 80px !important; margin-left: 0; }
}

/* ── 23. PHASE 3 ULTIMATE UPGRADE (Map, Testimonials, FAQ) ── */

/* Base Premium Glass Class for ALL cards */
.premium-glass-sm {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 144, 255, 0.2) !important;
  border-radius: var(--radius-lg);
  color: var(--text-dark);
}

/* General fix for text inside premium glass */
.premium-glass-sm h3, .premium-glass-sm .faq-question, .premium-glass-sm .testimonial-text, .premium-glass-sm .name { color: var(--text-dark) !important; }
.premium-glass-sm p, .premium-glass-sm .faq-answer-inner p, .premium-glass-sm .location, .premium-glass-sm .step-badge, .premium-glass-sm .stat-label, .premium-glass-sm .impact-label, .premium-glass-sm .warranty-label { color: var(--text-muted) !important; }
.process-step.premium-glass-sm .step-num { color: rgba(0, 0, 0, 0.05) !important; }

/* Coverage Map Radar Sweep */
.zone-map-container { position: relative; overflow: hidden; background: #fff !important; border: 1px solid rgba(0, 144, 255, 0.2) !important; }
.radar-sweep {
  position: absolute; top: 50%; left: 50%; width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 70%, rgba(0, 144, 255, 0.1) 95%, rgba(0, 144, 255, 0.8) 100%);
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: 50% 50%;
  animation: radarSpin 4s linear infinite;
  border-radius: 50%;
  pointer-events: none; z-index: 1;
}
@keyframes radarSpin {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Map Markers (Ping) */
.zone-svg { position: relative; z-index: 2; }
.zone-marker { fill: var(--primary); opacity: 0.8; }
.zone-marker-hq { fill: var(--solar-400); opacity: 1; }
.zone-pulse-ring {
  fill: none; stroke: var(--primary); stroke-width: 2px;
  animation: pingRing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  transform-origin: center;
}
.zone-pulse-ring-2 { animation-delay: 1s; stroke: var(--solar-400); }
@keyframes pingRing {
  0% { transform: scale(1); opacity: 0.8; stroke-width: 2px; }
  100% { transform: scale(3); opacity: 0; stroke-width: 0px; }
}

/* FAQ Neon Border when active */
.faq-item.premium-glass-sm.active {
  border-color: var(--primary) !important;
  box-shadow: 0 0 20px rgba(0,144,255,0.3), inset 0 0 10px rgba(0,144,255,0.1) !important;
}
.faq-item.premium-glass-sm .faq-question i { color: var(--primary); }

/* Testimonial Stars */
.testimonial-stars i { color: var(--solar-400); text-shadow: 0 0 8px rgba(251, 191, 36, 0.6); margin-right: 2px; }

/* Impact Odometer fix */
.impact-card.premium-glass-sm .impact-value { color: var(--primary) !important; text-shadow: 0 0 15px rgba(0, 144, 255, 0.4); }
.impact-card.premium-glass-sm .impact-icon { color: var(--primary) !important; }

/* ── ULTIMATE CYBER-BLUE GIMMICKS ── */

/* 1. Laser Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-page); border-left: 1px solid rgba(0,230,255,0.1); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #0090ff, #00e6ff); border-radius: 4px; box-shadow: inset 0 0 6px rgba(0,230,255,0.5); }
::-webkit-scrollbar-thumb:hover { background: #00e6ff; }

/* 2. Neon Text Selection */
::selection { background: var(--primary); color: #fff; text-shadow: none; }
::-moz-selection { background: var(--primary); color: #fff; text-shadow: none; }

/* 3. Scroll Progress Beam */
#cyber-progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, #0090ff, #00e6ff, #fff);
  box-shadow: 0 0 10px rgba(0,230,255,0.8), 0 0 20px rgba(0,230,255,0.4);
  z-index: 9999; width: 0%; transition: width 0.1s ease-out;
  pointer-events: none;
}

/* 4. Tech Grid Watermark */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: 
    linear-gradient(rgba(0, 230, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 230, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

/* 5. Cyber Glow Cursor */
#cyber-cursor-glow {
  position: fixed; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,230,255,0.15) 0%, rgba(0,230,255,0) 70%);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%); transition: opacity 0.3s; opacity: 0;
  mix-blend-mode: screen;
}

/* 6. Universal Glass Card (Hologram Base) */
.glass-card {
  background: var(--bg-white) !important;
  border: 1px solid rgba(0, 132, 209, 0.15) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
  transition: box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s !important;
  border-radius: var(--radius-xl); overflow: hidden; position: relative;
}
.glass-card:hover {
  border-color: var(--primary) !important;
  box-shadow: 0 20px 40px rgba(0, 132, 209, 0.2) !important;
}

/* ── STAGGER REVEAL (lightweight CSS-only entrance animation) ── */
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.visible.reveal-delay-1 { transition-delay: 0.1s; }
.reveal.visible.reveal-delay-2 { transition-delay: 0.2s; }
.reveal.visible.reveal-delay-3 { transition-delay: 0.25s; }
.reveal.visible.reveal-delay-4 { transition-delay: 0.3s; }

/* ── HOVER CARD GLOW (lightweight replacement for 3D Tilt) ── */
.glass-card, .impact-card, .product-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* ── PERFORMANCE: will-change hints ── */
.card-run-light::before { will-change: transform; }
.hero-slide { will-change: opacity; }
.process-laser-beam { will-change: width, height; }

/* ── PERFORMANCE: contain for sections ── */
.section, .solar-stats, .impact-section, .cta-section { contain: layout style; }

/* ── QUICK CONTACT FORM on Homepage ── */
.quick-contact-section {
  position: relative; padding: 100px 0;
  background: var(--bg-page);
}
.quick-contact-card {
  max-width: 700px; margin: 0 auto;
  padding: 48px 40px; border-radius: var(--radius-xl);
  background: var(--bg-white);
  border: 1px solid rgba(0, 132, 209, 0.1);
  box-shadow: var(--shadow-md);
}
.quick-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 20px;
}
.quick-form-grid .form-group { display: flex; flex-direction: column; }
.quick-form-grid label {
  font-size: 0.85rem; font-weight: 600; color: var(--text-dark);
  margin-bottom: 6px;
}
.quick-form-grid input, .quick-form-grid select {
  padding: 14px 16px; border-radius: var(--radius-md);
  border: 1px solid rgba(0,144,255,0.15); background: var(--bg-page);
  color: var(--text-dark); font-family: var(--font-th); font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.quick-form-grid input::placeholder { color: var(--text-muted); }
.quick-form-grid input:focus, .quick-form-grid select:focus {
  border-color: var(--primary); box-shadow: 0 0 15px rgba(0,132,209,0.15);
}
.quick-form-grid select option { background: #fff; color: var(--text-dark); }
.quick-form-full { grid-column: 1 / -1; }

/* ── ABOUT SECTION on Homepage ── */
.about-preview {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.about-content { position: relative; z-index: 2; }
.about-content h2 { margin-bottom: 24px; }
.about-content .about-desc { font-size: 1.1rem; line-height: 1.9; color: var(--text-muted); margin-bottom: 32px; }
.about-stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px;
}
.about-stat {
  text-align: center; padding: 20px 12px;
  background: rgba(0,144,255,0.05); border-radius: var(--radius-lg);
  border: 1px solid rgba(0,144,255,0.1);
}
.about-stat .stat-num {
  font-family: var(--font-en); font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--solar-400));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.about-stat .stat-txt { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.about-image-wrap {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid rgba(0,230,255,0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.about-image-wrap img { width: 100%; height: auto; display: block; }
.about-image-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
  padding: 12px 20px; border-radius: var(--radius-lg);
  border: 1px solid rgba(0,132,209,0.2);
  display: flex; align-items: center; gap: 12px;
  color: var(--text-dark); font-weight: 600; font-size: 0.9rem;
}
.about-image-badge i { color: var(--primary); font-size: 1.2rem; }

@media(max-width:768px){
  .about-preview { grid-template-columns: 1fr; gap: 32px; }
  .about-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .about-stat .stat-num { font-size: 1.6rem; }
  .quick-form-grid { grid-template-columns: 1fr; }
  .quick-contact-card { padding: 32px 20px; }
}


/* -- 21. ULTIMATE REVIEWS & PORTFOLIO -- */

/* Radar Scan Background */
.radar-scan-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.radar-scan-bg::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 70%, rgba(0, 230, 255, 0.4) 100%);
  border-radius: 50%; transform-origin: center;
  animation: radarSpin 4s linear infinite;
  transform: translate(-50%, -50%);
}
.radar-scan-bg::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
  background: radial-gradient(circle, transparent 40%, rgba(255, 255, 255, 0.9) 80%);
  transform: translate(-50%, -50%);
}
@keyframes radarSpin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

/* Hologram Targeting Reticle */
.targeting-reticle {
  position: absolute; inset: 10px; border: 1px solid transparent; pointer-events: none; z-index: 5;
  transition: all 0.3s ease; opacity: 0; transform: scale(0.9);
}
.portfolio-card:hover .targeting-reticle {
  opacity: 1; transform: scale(1); border-color: rgba(0, 230, 255, 0.4);
}
.targeting-reticle::before, .targeting-reticle::after {
  content: ""; position: absolute; width: 20px; height: 20px; border: 2px solid #00e6ff; transition: all 0.3s;
}
.targeting-reticle::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.targeting-reticle::after { bottom: 0; right: 0; border-left: none; border-top: none; }
.portfolio-card:hover .targeting-reticle::before { top: -5px; left: -5px; }
.portfolio-card:hover .targeting-reticle::after { bottom: -5px; right: -5px; }

/* Holographic Lightbox Override */
.lightbox-overlay {
  background: rgba(255, 255, 255, 0.85) !important; backdrop-filter: blur(4px);
}
.lightbox-overlay img {
  box-shadow: 0 0 50px rgba(0, 230, 255, 0.3), 0 0 100px rgba(0, 144, 255, 0.2);
  border: 1px solid rgba(0, 230, 255, 0.3); border-radius: 8px;
}

/* ── FIX: Hybrid Compare Card White Background ── */
.compare-recommended .compare-card-inner {
  background: var(--bg-white) !important;
}
.compare-card-inner {
  background: var(--bg-white) !important;
}
.compare-body {
  background: transparent !important;
}

/* ── FIX: Stats Header Date Tag gray bar ── */
.solar-stats .stats-header .date-tag {
  display: inline-block;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  background: rgba(0, 132, 209, 0.05) !important;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 12px;
  border: 1px solid rgba(0, 132, 209, 0.1);
}

/* ════════════════════════════════════════════
   MOBILE — Clean & Professional (Final)
   Standard mobile sizing following modern design conventions
   (Stripe/Linear/Vercel/Apple scale)
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Base: 16px body, generous line-height for Thai */
  body { font-size: 1rem; }
  p { font-size: 1rem; line-height: 1.7; }

  /* Container */
  .container { padding: 0 20px; }

  /* ── NAVBAR ── */
  .navbar .container { padding: 0 16px; height: 80px; }
  .navbar.scrolled .container { height: 75px; }
  .nav-logo { flex-direction: column !important; justify-content: center; align-items: flex-start; gap: 2px; }
  .nav-logo .logo-icon { height: 36px; }
  .nav-logo .logo-text-wrapper { display: flex; flex-direction: column; align-items: flex-start; margin-top: 0; }
  .nav-logo .logo-text { font-size: 1.15rem; }
  .nav-logo .logo-subtext { font-size: 0.6rem; display: none; }
  .nav-toggle { width: 40px; height: 40px; padding: 10px; }
  .nav-toggle span { height: 2.5px; }
  .nav-menu { padding: 80px 24px 24px; width: min(300px, 82vw); }
  .nav-menu a { font-size: 1.05rem; padding: 14px 0; font-weight: 500; }
  .nav-menu a::after { left: 0; transform: scaleX(0); transform-origin: left; width: 40px; }
  .nav-menu a:hover::after, .nav-menu a.active::after { transform: scaleX(1); }
  .nav-menu .nav-cta { margin-top: 16px; }
  .nav-menu .nav-cta a { padding: 14px 22px; font-size: 0.95rem; }

  /* ── HERO ── */
  .hero { min-height: auto; }
  .hero-content { padding: 48px 0 56px; text-align: center; max-width: 100%; display: flex; flex-direction: column; align-items: center; }
  .hero h1 { font-size: clamp(1.9rem, 7.5vw, 2.4rem); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 16px; }
  /* .hero-br { display: none; } removed to allow balanced centered text on mobile */
  .hero-desc { font-size: 1rem; line-height: 1.7; margin-bottom: 28px; color: var(--text-muted); }
  .hero-badge { font-size: 0.75rem; padding: 8px 16px; margin-bottom: 16px; letter-spacing: 0.04em; }
  .hero-buttons { gap: 10px; justify-content: center; flex-direction: column; align-items: stretch; width: 100%; }
  .hero-buttons .btn-lg { padding: 14px 24px; font-size: 0.98rem; min-width: 0; width: 100%; }
  .hero-premium-glass { padding: 0; background: transparent !important; border: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-indicators { position: relative; bottom: auto; margin-top: 20px; }
  .hero-indicators .dot { width: 8px; height: 8px; }
  .hero-indicators .dot.active { width: 24px; }

  /* ── SECTIONS ── */
  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: clamp(1.5rem, 5.5vw, 1.85rem); line-height: 1.25; margin-bottom: 12px; }
  .section-header .desc { font-size: 0.98rem; line-height: 1.7; }
  .section-header .eyebrow { font-size: 0.72rem; margin-bottom: 14px; }
  .section-header .eyebrow::before, .section-header .eyebrow::after { width: 24px; }

  /* ── BUTTONS (global) ── */
  .btn { padding: 12px 24px; font-size: 0.95rem; font-weight: 600; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
  .btn-sm { padding: 9px 18px; font-size: 0.85rem; }

  /* ── TRUST BAR ── */
  .trust-bar { margin-top: 0; padding: 40px 0 32px 0 !important; }
  .trust-bar .container { gap: 12px; grid-template-columns: 1fr 1fr; }
  .trust-item.premium-glass-sm { padding: 20px 14px; }
  .trust-item .icon { font-size: 1.4rem; margin-bottom: 10px; }
  .trust-item .number { font-size: 1.65rem !important; line-height: 1; }
  .trust-item .label { font-size: 0.82rem; margin-top: 6px; }

  /* ── SOLAR STATS ── */
  .solar-stats { padding: 56px 0 !important; }
  .solar-stats .stats-header { margin-bottom: 32px !important; }
  .solar-stats .stats-header h3 { font-size: 1.5rem !important; }
  .solar-stats .stat-card { padding: 24px 16px; }
  .solar-stats .stat-card .stat-value { font-size: 2.1rem; }
  .solar-stats .stat-card .stat-unit { font-size: 0.9rem; }
  .solar-stats .stat-card .stat-label { font-size: 0.82rem; }

  /* ── CALCULATOR ── */
  .calc-card, .contact-form-card { padding: 24px 18px; }
  .calc-left, .calc-right { padding: 28px 20px; }
  .calc-left h3 { font-size: 1.2rem; margin-bottom: 22px; }
  .calc-slider-group label { font-size: 0.9rem; }
  .calc-slider-group label strong { font-size: 1.1rem; }
  .calc-toggles { flex-wrap: wrap; overflow: visible; padding-bottom: 4px; gap: 8px; justify-content: center; }
  /* .calc-toggles::-webkit-scrollbar { display: none; } */
  .calc-toggle { flex: 0 0 auto; white-space: nowrap; padding: 9px 16px; font-size: 0.85rem; }
  .calc-right .big-saving { font-size: 2.4rem; }
  .calc-right .big-saving-label { font-size: 0.9rem; margin-bottom: 22px; }
  .calc-stats-grid { gap: 10px; }
  .calc-stat-box { padding: 16px 12px; }
  .calc-stat-box .stat-val { font-size: 1.1rem; }
  .calc-stat-box .stat-lbl { font-size: 0.75rem; }
  .calc-comparison h4 { font-size: 0.92rem; }
  .compare-bar-fill { font-size: 0.75rem; padding: 0 10px; }

  /* ── BRAND LOGOS ── */
  .brand-logos { padding: 36px 0; }
  .brand-logos .brand-label { font-size: 0.82rem; margin-bottom: 18px; }
  .brand-track { gap: 36px; }
  .brand-track img { height: 36px; max-width: 110px; }

  /* ── PROCESS ── */
  .process-step { padding: 22px 18px 22px 56px !important; margin-bottom: 14px; }
  .process-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
  .process-step p { font-size: 0.92rem; line-height: 1.65; }
  .process-step .step-icon { width: 42px !important; height: 42px !important; font-size: 1rem !important; left: -21px !important; }

  /* ── WARRANTY ── */
  .warranty-banner { padding: 56px 0; }
  .warranty-banner h3 { font-size: 1.5rem; margin-bottom: 32px; }
  .warranty-grid { gap: 16px; }
  .warranty-item .warranty-num { font-size: 2.6rem; }
  .warranty-item .warranty-unit { font-size: 0.95rem; }
  .warranty-item .warranty-label { font-size: 0.88rem; }

  /* ── IMPACT ── */
  .impact-card { padding: 24px 14px; }
  .impact-icon { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 14px; }
  .impact-value { font-size: 1.9rem; }
  .impact-unit { font-size: 0.85rem; margin-bottom: 6px; }
  .impact-label { font-size: 0.78rem; }

  /* ── TESTIMONIALS ── */
  .testimonial-card { flex: 0 0 80%; max-width: 320px; padding: 24px 22px; }
  .testimonial-text { font-size: 0.95rem; line-height: 1.7; }
  .testimonial-stars { font-size: 1rem; margin-bottom: 14px; }
  .testimonial-info .name { font-size: 0.92rem; }
  .testimonial-info .location { font-size: 0.78rem; }

  /* ── PRODUCT CARDS ── */
  .product-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
  .product-card .card-body { padding: 20px 18px; }
  .product-card .card-img { height: 180px; }
  .spec-pill { font-size: 0.78rem; padding: 4px 10px; }

  /* ── FAQ ── */
  .faq-question { padding: 18px 20px; font-size: 0.98rem; }
  .faq-answer p { font-size: 0.92rem; line-height: 1.7; padding: 14px 16px; }
  .faq-item.active .faq-answer { padding: 0 20px 20px; }

  /* ── CTA ── */
  .cta-section { padding: 56px 0; }
  .cta-section h2 { font-size: 1.6rem; line-height: 1.25; margin-bottom: 12px; }
  .cta-section p { font-size: 0.98rem; margin-bottom: 28px; }
  .cta-section .btn { width: 100%; max-width: 320px; padding: 14px 24px; font-size: 1rem; }

  /* ── QUICK CONTACT ── */
  .quick-contact-section { padding: 56px 0; }
  .quick-contact-card { padding: 24px 18px; }
  .quick-form-grid label { font-size: 0.82rem; margin-bottom: 5px; }
  .quick-form-grid input, .quick-form-grid select { padding: 12px 14px; font-size: 0.95rem; }

  /* ── FOOTER ── */
  .footer { padding-top: 48px; }
  .footer-grid { gap: 28px; }
  .footer-col h4 { font-size: 1rem; margin-bottom: 14px; }
  .footer-col ul li a, .footer-contact li { font-size: 0.92rem; }
  .footer-bottom { font-size: 0.82rem; padding: 18px 0; }

  /* ── FLOATING BUTTONS & MOBILE CALL BAR ── */
  .floating-line { width: 52px; height: 52px; font-size: 1.5rem; right: 14px; bottom: 78px; box-shadow: 0 8px 22px rgba(0, 229, 118, 0.35); }
  .back-to-top { width: 42px; height: 42px; font-size: 0.95rem; right: 14px; bottom: 138px; }
  .mobile-call-bar { padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-call-btn { padding: 12px 14px; font-size: 0.95rem; font-weight: 700; }

  /* ── COOKIE BANNER ── */
  .cookie-consent { padding: 14px 16px; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .cookie-content { gap: 10px; }
  .cookie-content p { font-size: 0.85rem; min-width: 0; }
  .cookie-actions { width: 100%; justify-content: center; gap: 8px; }
  .cookie-actions .btn { padding: 9px 18px; font-size: 0.82rem; }

  /* Homepage spacing for fixed bottom bar */
  body:has(.mobile-call-bar) { padding-bottom: 64px; }

  /* ── PRELOADER ── */
  .loader-logo { font-size: 1.5rem; }
}

/* Slightly smaller phones */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2rem); }
  .section-header h2 { font-size: clamp(1.35rem, 6vw, 1.65rem); }
  .nav-logo .logo-subtext { display: none; }
  .nav-logo .logo-text { font-size: 1.15rem; }
  .nav-logo .logo-icon { height: 36px; }
  .trust-bar .container { grid-template-columns: 1fr 1fr; }
  .trust-item .number { font-size: 1.45rem !important; }
}



/* =========================================
   Mobile UI & Layout Fixes
   ========================================= */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: flex-start; }
.review-summary { display: flex; align-items: center; gap: 24px; }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .review-summary { flex-direction: column; text-align: center; }
  .floating-line { width: 50px; height: 50px; font-size: 1.4rem; bottom: 85px; right: 15px; }
  .mobile-call-bar { padding: 8px 12px; }
  .mobile-call-btn { padding: 12px 14px; font-size: 0.95rem; }
  .calc-card { padding: 24px 15px; }
  .calc-stats-grid { gap: 8px; }
  .cta-section { padding: 60px 0; }
  .cta-section .btn { width: 100%; justify-content: center; }
}


@media (max-width: 768px) {
  .cookie-consent { bottom: 60px; z-index: 9998; border-bottom: 1px solid rgba(0,132,209,0.1); border-radius: 12px 12px 0 0; }
}

/* Further Mobile Fixes */
@media (max-width: 768px) {
  .calc-results { padding-bottom: 24px !important; }
  .calc-left, .calc-right { padding-bottom: 30px !important; }
}
@media (max-width: 991px) {
  /* CRITICAL BULLETPROOF MATH FOR TIMELINE (SEPARATED PREMIUM DESIGN) */
  .process-grid { padding-left: 0 !important; position: relative !important; }
  .process-laser-track { display: none !important; }
  .process-step { 
    margin-left: 60px !important; 
    padding: 24px 20px !important; 
    width: auto !important; 
    overflow: visible !important; 
  }
  .process-step .step-icon { left: -59px !important; }
}

/* Extra Mobile Polish */
@media (max-width: 768px) {
  #kw-toggles, .filter-container, .brand-track { flex-wrap: nowrap !important; overflow-x: auto; padding-bottom: 10px; -webkit-overflow-scrolling: touch; }
  .calc-toggle, .filter-pill { flex-shrink: 0; }
  .summary-text { width: 100%; }
}

/* ═══════════════════════════════════════════════
   FORCE: Hero center on mobile/tablet (override everything)
   ═══════════════════════════════════════════════ */
@media (max-width: 991px) {
  .hero .container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }
  .hero-content,
  .hero-content.hero-premium-glass {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  .hero-content .hero-badge,
  .hero-content h1,
  .hero-content .hero-desc {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }
  .hero-content .hero-buttons {
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 320px !important;
  }
  .hero-content .hero-buttons .btn {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ═══════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Product Carousel — Stack cards vertically on mobile */
  .product-carousel-wrap { overflow: visible; }
  .product-carousel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: visible;
  }
  .product-card {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
  .product-card .card-img { height: 200px; }
  .product-card .card-body { padding: 20px; }
  .product-card .card-body h3 { font-size: 1.1rem; }
  .product-card .card-body .specs { font-size: 0.85rem; margin-bottom: 8px; }
  .product-card .card-body .price { font-size: 1.3rem; margin-bottom: 14px; }

  /* Calculator — better spacing */
  .calc-comparison { margin-top: 24px; }
  .calc-comparison h4 { font-size: 0.88rem; line-height: 1.4; }
  .compare-bar-label { font-size: 0.78rem; }
  .compare-legend { flex-wrap: wrap; gap: 8px; font-size: 0.78rem; }
  .compare-legend span[id] { width: 100%; text-align: center; margin-left: 0 !important; }

  /* Zone Map — tighter spacing */
  .zone-detail-header { gap: 12px; }
  .zone-detail-header h3 { font-size: 1.1rem; }
  .zone-detail-icon { width: 44px; height: 44px; font-size: 1.1rem; }

  /* Portfolio — equal height cards */
  .portfolio-card { min-height: 220px; }
  .portfolio-card img { height: 100%; object-fit: cover; }
  .portfolio-overlay h4 { font-size: 0.95rem; }

  /* Warranty — center on mobile */
  .warranty-grid { margin: 0 auto; }
  .warranty-banner h3 span { display: inline; }

  /* Footer fine-tuning */
  .footer-col { text-align: center; }
  .footer-col ul { display: flex; flex-direction: column; align-items: center; }
  .footer-contact { align-items: center; }
  .footer-social { justify-content: center; }
  .footer-bottom .container { flex-direction: column; text-align: center; gap: 12px; }
  .footer-logo-link { 
    display: flex !important; 
    flex-direction: column !important; 
    align-items: center !important; 
    justify-content: center !important; 
    text-align: center !important; 
    gap: 8px !important; 
  }
  .footer-logo-link .logo-text-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Page Hero — sub-pages */
  .page-hero { padding: 120px 0 60px; }
  .page-hero h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .page-hero p { font-size: 0.98rem; }
  .page-hero .breadcrumb { font-size: 0.85rem; }

  /* Stats cards fine-tuning */
  .stat-card .stat-value { font-size: 2.2rem; }
  .stat-card .stat-unit { font-size: 0.85rem; }

  /* CTA section */
  .cta-section h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .cta-section p { font-size: 1rem; margin-bottom: 28px; }
  .cta-section .hero-buttons,
  .cta-section .cta-buttons { flex-direction: column; align-items: stretch; gap: 12px; }

  /* Ensure full-width buttons don't overflow */
  .btn { max-width: 100%; white-space: normal; word-wrap: break-word; }

  /* Contact page grid */
  .contact-grid { gap: 20px; }
  .contact-card { padding: 24px 18px; }
  .contact-card h3 { font-size: 1.15rem; }

  /* Review cards */
  .review-card { padding: 20px 16px; }
  .review-header { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
}

/* Tablet specific */
@media (min-width: 769px) and (max-width: 991px) {
  .hero-content { padding: 100px 0 80px; }
  .hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
  .hero-float-card { display: none; }
  .product-carousel { gap: 16px; }
  .product-card { flex: 0 0 calc(50% - 8px); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}
