:root {
  --bg-main: #060913;
  --bg-card: rgba(13, 22, 44, 0.7);
  --bg-card-hover: rgba(20, 34, 68, 0.85);
  --bg-card-border: rgba(0, 229, 153, 0.15);
  --bg-card-border-active: rgba(0, 229, 153, 0.5);
  --primary: #00E599;
  --primary-glow: rgba(0, 229, 153, 0.35);
  --primary-hover: #00ffaa;
  --secondary: #00D2FF;
  --secondary-glow: rgba(0, 210, 255, 0.3);
  --accent-amber: #FFB300;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dark: #0F172A;
  --nav-bg: rgba(6, 9, 19, 0.85);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 0%, #0d1b38 0%, #060913 60%);
  min-height: 100vh;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #060913;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Background Canvas */
#energyCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography & Utilities */
h1, h2, h3, h4 {
  color: #FFFFFF;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--primary) 65%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-green {
  color: var(--primary);
}

.highlight-blue {
  color: var(--secondary);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 229, 153, 0.1);
  border: 1px solid rgba(0, 229, 153, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 680px;
  margin-bottom: 48px;
}

.text-center {
  text-align: center;
}
.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #05140d;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 30px rgba(0, 229, 153, 0.55);
  transform: translateY(-2px);
}

/* WhatsApp Buttons */
.btn-whatsapp {
  background: #25D366;
  color: #031409 !important;
  font-weight: 700;
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  color: #010a05 !important;
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.65);
  transform: translateY(-2px);
}

.btn-whatsapp svg,
.btn-whatsapp-outline svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-whatsapp-outline {
  background: rgba(37, 211, 102, 0.08);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.45);
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp-outline:hover {
  background: rgba(37, 211, 102, 0.18);
  border-color: #25D366;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
  background: rgba(0, 229, 153, 0.15);
  box-shadow: 0 0 15px var(--primary-glow);
}

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

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--bg-card-border-active);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 229, 153, 0.1);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--primary-glow);
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: #05140d;
}

.brand-badge {
  font-size: 0.65rem;
  background: rgba(0, 229, 153, 0.15);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 153, 0.4);
  margin-left: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-actions .btn {
  padding: 10px 20px;
  font-size: 0.88rem;
  border-radius: 50px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 153, 0.12) 0%, rgba(0, 210, 255, 0.04) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 50px;
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.15);
  backdrop-filter: blur(10px);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
  animation: pulseDot 1.5s infinite;
}

.hero-title {
  font-size: clamp(2.6rem, 4.8vw, 3.9rem);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: 1.18rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

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

.stat-item .stat-value {
  font-size: 1.85rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.2;
}

.counter-highlight {
  background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-item p {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* Hero Interactive Visualizer Card */
.hero-visual {
  position: relative;
}

.hero-display-card {
  background: linear-gradient(165deg, rgba(16, 28, 56, 0.85) 0%, rgba(7, 13, 27, 0.95) 100%);
  border: 1px solid rgba(0, 229, 153, 0.35);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 229, 153, 0.18);
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-display-card:hover {
  border-color: rgba(0, 229, 153, 0.6);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.7), 0 0 45px rgba(0, 229, 153, 0.25);
}

.display-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live-dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary);
  animation: pulseDot 1.4s infinite ease-in-out;
}

.live-title {
  font-size: 0.86rem;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.header-tags {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-status {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-status.online {
  color: var(--primary);
  background: rgba(0, 229, 153, 0.12);
  border: 1px solid rgba(0, 229, 153, 0.3);
}

.badge-rate {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
}

/* Energy Flow Wave / Meter */
.energy-flow-meter {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.flow-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.flow-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.flow-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: 10px;
  box-shadow: 0 0 12px var(--primary-glow);
  transition: width 0.5s ease;
}

.flow-pulse-point {
  position: absolute;
  top: 0;
  left: 88%;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff, 0 0 20px var(--primary);
  animation: pulsePoint 1.2s infinite alternate;
}

@keyframes pulsePoint {
  from { transform: scale(0.8); opacity: 0.6; }
  to { transform: scale(1.4); opacity: 1; }
}

/* Rack Graphics */
.bess-rack-graphic {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
}

.rack-row {
  display: flex;
  gap: 12px;
}

.battery-module {
  flex: 1;
  min-height: 56px;
  background: rgba(0, 229, 153, 0.06);
  border: 1px solid rgba(0, 229, 153, 0.22);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.battery-module:hover {
  border-color: var(--primary);
  background: rgba(0, 229, 153, 0.12);
}

.battery-module::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--charge-pct, 85%);
  background: linear-gradient(90deg, rgba(0, 229, 153, 0.15), rgba(0, 210, 255, 0.3));
  z-index: 0;
  transition: width 0.6s ease;
}

.module-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}

.module-name {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.module-temp {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.module-status-group {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.module-soc {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.module-indicator {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: pulseDot 1.5s infinite;
}

/* Telemetry Grid */
.live-telemetry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: rgba(0, 0, 0, 0.35);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.02);
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.tele-label {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.tele-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.card-footer-action {
  margin-top: 14px;
  text-align: center;
}

.card-hint {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Section Common Spacing */
.section {
  padding: 110px 0;
  position: relative;
}

/* Architecture & Technology Section */
.arch-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.arch-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.arch-tab-btn:hover {
  border-color: var(--primary);
  color: #fff;
}

.arch-tab-btn.active {
  background: var(--primary);
  color: #060913;
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.arch-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

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

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

.arch-info h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.arch-info p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: #E2E8F0;
}

.feature-checklist li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 2px;
}

.arch-diagram-card {
  background: linear-gradient(135deg, rgba(16, 28, 56, 0.9) 0%, rgba(7, 13, 26, 0.95) 100%);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
}

.diagram-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diagram-node {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
}

.diagram-node:hover {
  border-color: var(--secondary);
  background: rgba(0, 210, 255, 0.08);
}

.diagram-node-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 229, 153, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.diagram-node-text h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.diagram-node-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Services Grid (EPC & Turnkey) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, rgba(0, 229, 153, 0.15) 0%, rgba(0, 210, 255, 0.15) 100%);
  border: 1px solid rgba(0, 229, 153, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.service-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--text-muted);
}

/* Interactive BESS Sizing Calculator */
.calc-wrapper {
  background: linear-gradient(145deg, #0c152a 0%, #060b17 100%);
  border: 1px solid rgba(0, 229, 153, 0.3);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 30px rgba(0, 229, 153, 0.08);
}

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

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.application-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.app-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.app-option:hover {
  border-color: var(--secondary);
}

.app-option.selected {
  background: rgba(0, 229, 153, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.range-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.range-val-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.range-val-header span:last-child {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #1e293b;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-glow);
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.duration-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.duration-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.duration-btn.selected {
  background: var(--secondary);
  color: #060913;
  border-color: var(--secondary);
}

/* Calc Results Panel */
.calc-results-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-results-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
}
.calc-results-header h4 {
  font-size: 1.3rem;
  color: var(--primary);
}

.results-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.metric-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: var(--radius-sm);
}

.metric-box .metric-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.metric-box .metric-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
}

.results-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: rgba(0, 229, 153, 0.05);
  border-left: 3px solid var(--primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Use Cases / Market Applications */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-smooth);
}

.usecase-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.usecase-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.usecase-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.usecase-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Safety & Bankability Section */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.standard-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
}

.standard-badge {
  color: var(--primary);
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.standard-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* RFQ / Contact Form */
.rfq-container {
  background: linear-gradient(135deg, rgba(14, 25, 52, 0.95) 0%, rgba(6, 11, 24, 0.98) 100%);
  border: 1px solid rgba(0, 229, 153, 0.4);
  border-radius: var(--radius-xl);
  padding: 56px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
}

.rfq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}

.rfq-info h3 {
  font-size: 2.2rem;
  margin-bottom: 18px;
}

.rfq-info p {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.contact-direct-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.contact-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 229, 153, 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #E2E8F0;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
}

.form-field select option {
  background: #0f172a;
  color: #fff;
}

/* Footer */
footer {
  background: #03050a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 32px 0;
}

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

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: #fff;
}

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

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

.footer-col ul a:hover {
  color: var(--primary);
}

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

/* Modal Feedback */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #0c1427;
  border: 1px solid var(--primary);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 229, 153, 0.3);
}

/* Quem Somos / About Us Section */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  margin-top: 48px;
  margin-bottom: 28px;
}

.about-story-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-badge-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.about-story-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #fff;
}

.about-story-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.about-story-card p strong {
  color: #fff;
}

.about-story-card p em {
  color: var(--primary);
  font-style: normal;
}

.about-pillars-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.about-pillar-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  font-size: 1.6rem;
  background: rgba(0, 229, 153, 0.1);
  border: 1px solid rgba(0, 229, 153, 0.25);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-pillar-item h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px;
}

.about-pillar-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-diff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.diff-card {
  padding: 24px;
  text-align: left;
}

.diff-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.diff-card h4 {
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: 10px;
}

.diff-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CTA Banner Section */
.section-cta-banner {
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.cta-banner-glass {
  background: linear-gradient(135deg, rgba(13, 26, 56, 0.9) 0%, rgba(7, 43, 30, 0.8) 100%);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 211, 102, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.cta-banner-glass::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-banner-content {
  max-width: 650px;
}

.cta-banner-content h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-banner-content p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
}

.cta-banner-actions {
  flex-shrink: 0;
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.floating-whatsapp-btn {
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.floating-whatsapp-btn svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

.floating-whatsapp-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: waPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.floating-whatsapp:hover .floating-whatsapp-btn {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.65);
}

.floating-whatsapp-label {
  background: rgba(8, 14, 28, 0.95);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.floating-whatsapp-label .online-badge {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 8px #25D366;
}

/* Contact item WhatsApp highlight */
.contact-direct-item.wa-item {
  border: 1px solid rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: all var(--transition-smooth);
}

.contact-direct-item.wa-item:hover {
  background: rgba(37, 211, 102, 0.16);
  border-color: #25D366;
  transform: translateX(4px);
}

.contact-direct-item.wa-item a {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

/* Responsive */
@media (max-width: 1140px) {
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 0.84rem;
  }
  .nav-actions .btn {
    padding: 9px 16px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    background: rgba(6, 9, 19, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid rgba(0, 229, 153, 0.25);
    gap: 18px;
  }
  .nav-links.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-grid,
  .arch-content.active,
  .calc-grid,
  .rfq-grid,
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .standards-grid,
  .about-diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-banner-glass {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-actions .btn-rfq {
    display: none;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .calc-wrapper, .rfq-container {
    padding: 24px;
  }
  .standards-grid,
  .about-diff-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-whatsapp-label {
    display: none;
  }
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
  }
}
