/* ===== DESIGN TOKENS ===== */
:root {
  --blue: #0F62FE;
  --blue-dark: #0043ce;
  --blue-light: #4589ff;
  --green: #6DC74B;
  --green-light: #78EA5A;
  --dark: #050a14;
  --dark-2: #0d1526;
  --dark-3: #162038;
  --card-bg: #111827;
  --gray-light: #f0f0f0;
  --gray-mid: #868686;
  --border: rgba(255,255,255,0.08);
  --white: #ffffff;
  --font: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --transition: 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--dark); color: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; outline: none; }
input, textarea, select { font-family: var(--font); }

/* ===== UTILITY ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-light { background: var(--gray-light); color: #111; }
.section-dark { background: var(--dark-2); }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-label.green { color: var(--green); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 44px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,98,254,0.4); }
.btn-outline { border: 2px solid rgba(255,255,255,0.3); color: white; background: transparent; }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); transform: translateY(-2px); }
.btn-white { background: white; color: var(--blue); font-weight: 700; }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); }
.btn-white-outline { border: 2px solid rgba(255,255,255,0.5); color: white; background: transparent; }
.btn-white-outline:hover { border-color: white; background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}
.navbar.scrolled {
  background: rgba(5,10,20,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-img { height: 34px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  padding: 7px 13px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover { color: white; background: rgba(255,255,255,0.07); }
.nav-links a.active { color: var(--blue-light); }

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

.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 3px;
}
.lang-btn {
  padding: 5px 11px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.45);
  background: transparent;
  transition: var(--transition);
}
.lang-btn.active { background: var(--blue); color: white; }

.nav-cta { padding: 9px 18px; font-size: 13px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  padding: 80px 24px 40px;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 16px 16px; font-size: 17px; font-weight: 600; color: rgba(255,255,255,0.8); border-bottom: 1px solid var(--border); }
.nav-mobile a:hover { color: var(--blue-light); }
.nav-mobile .close-btn { position: absolute; top: 20px; right: 24px; background: none; color: white; font-size: 28px; line-height: 1; }
.nav-mobile .lang-toggle { margin-top: 16px; width: fit-content; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #050a14 0%, #0c1930 55%, #050a14 100%);
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(15,98,254,0.13) 0%, transparent 65%);
  top: 50%; left: 40%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(109,199,75,0.07) 0%, transparent 65%);
  bottom: 10%; right: 5%;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  padding: 80px 0 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(15,98,254,0.12);
  border: 1px solid rgba(15,98,254,0.28);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.8); }
}
.hero-title {
  margin-bottom: 20px;
  background: linear-gradient(140deg, #fff 30%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.6); margin-bottom: 36px; max-width: 460px; line-height: 1.75; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 24px 64px rgba(15,98,254,0.18));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

/* ===== STATS BAR ===== */
.stats-bar { background: var(--blue); padding: 28px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}
.stat-divider { border-right: 1px solid rgba(255,255,255,0.2); }
.stat-divider:last-child { border-right: none; }
.stat-num { font-size: 34px; font-weight: 800; color: white; line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.72); margin-top: 5px; font-weight: 500; }

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 12px; }
.section-header h2 { margin-top: 8px; }
.section-header p { font-size: 17px; color: rgba(255,255,255,0.55); margin-top: 12px; max-width: 560px; }
.section-header.light p { color: #555; }

/* ===== PRODUCTS GRID (dark) ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(15,98,254,0.35); box-shadow: 0 20px 56px rgba(0,0,0,0.4); }
.product-img-wrap { background: #f7f7f7; padding: 28px; height: 220px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-img-wrap img { max-height: 164px; width: auto; object-fit: contain; transition: transform 0.4s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-info { padding: 22px; }
.product-tag {
  display: inline-block;
  padding: 3px 9px;
  background: rgba(15,98,254,0.13);
  color: var(--blue-light);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-name { font-size: 19px; font-weight: 700; margin-bottom: 4px; color: white; }
.product-capacity { font-size: 13px; color: var(--green); font-weight: 700; margin-bottom: 10px; }
.product-desc { font-size: 13.5px; color: rgba(255,255,255,0.5); line-height: 1.65; margin-bottom: 16px; }
.product-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.spec-chip { padding: 3px 9px; background: rgba(255,255,255,0.06); border-radius: 4px; font-size: 11px; color: rgba(255,255,255,0.55); }
.product-action { display: flex; gap: 8px; }
.btn-inquire {
  flex: 1; text-align: center; padding: 10px 14px;
  background: var(--blue); color: white; border-radius: 6px;
  font-size: 13px; font-weight: 600; transition: var(--transition);
}
.btn-inquire:hover { background: var(--blue-dark); }
.btn-details {
  padding: 10px 14px; border: 1px solid var(--border); color: rgba(255,255,255,0.65);
  border-radius: 6px; font-size: 13px; font-weight: 500; transition: var(--transition);
  background: transparent;
}
.btn-details:hover { border-color: rgba(255,255,255,0.4); color: white; }

/* Products page 6-grid (light bg) */
.products-page-section { background: var(--gray-light); }
.products-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}
.product-card-light {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card-light:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); border-color: var(--blue); }
.product-card-light .product-name { color: #111; }
.product-card-light .product-desc { color: #666; }
.product-card-light .spec-chip { background: #f0f0f0; color: #555; }
.product-card-light .product-tag { background: rgba(15,98,254,0.08); color: var(--blue); }
.product-card-light .btn-inquire { background: var(--blue); }
.product-card-light .btn-details { border-color: #d1d5db; color: #374151; }
.product-card-light .btn-details:hover { border-color: #374151; color: #111; }

/* ===== WHY HITHIUM ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  padding: 30px 22px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: rgba(15,98,254,0.35); transform: translateY(-4px); }
.feature-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(15,98,254,0.18), rgba(109,199,75,0.08));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
}
.feature-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; color: white; }
.feature-desc { font-size: 13.5px; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* ===== APPLICATIONS ===== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.app-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: flex-end;
}
.app-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  transition: transform 0.4s ease;
}
.app-card:hover .app-bg { transform: scale(1.06); }
.app-card.residential .app-bg { background: linear-gradient(135deg, #1a2a4a 0%, #0d1a3a 100%); }
.app-card.commercial .app-bg { background: linear-gradient(135deg, #102a20 0%, #0a1f15 100%); }
.app-card.offgrid .app-bg { background: linear-gradient(135deg, #2a1a1a 0%, #1a0d0d 100%); }
.app-overlay {
  position: relative;
  z-index: 1;
  padding: 26px;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
}
.app-tag { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.app-title { font-size: 21px; font-weight: 700; color: white; margin-bottom: 5px; }
.app-desc { font-size: 13px; color: rgba(255,255,255,0.6); }

/* ===== ABOUT TEASER ===== */
.about-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-teaser-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.about-teaser-text h2 { margin-bottom: 16px; }
.about-teaser-text p { color: rgba(255,255,255,0.6); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.about-stat { text-align: center; padding: 20px 12px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); }
.about-stat .num { font-size: 26px; font-weight: 800; color: var(--blue); }
.about-stat .label { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #0043ce 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  top: -250px; right: -100px;
}
.cta-banner::after {
  content: ''; position: absolute;
  width: 350px; height: 350px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  bottom: -180px; left: -60px;
}
.cta-banner h2 { color: white; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,0.78); font-size: 18px; margin-bottom: 36px; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ===== FOOTER ===== */
.footer { background: #020710; padding: 64px 0 32px; border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 13.5px; margin-top: 14px; line-height: 1.75; max-width: 270px; }
.footer-heading { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 18px; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 13px; font-size: 13.5px; color: rgba(255,255,255,0.5); }
.footer-contact-item .icon { color: var(--blue); flex-shrink: 0; margin-top: 2px; font-size: 15px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.3); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45); font-size: 14px;
  transition: var(--transition);
}
.social-link:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 150px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.page-hero .glow {
  position: absolute;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(15,98,254,0.1) 0%, transparent 70%);
  top: 0; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.55); max-width: 560px; margin: 0 auto; }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 16px; justify-content: center; }
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.65); }

/* ===== ABOUT PAGE ===== */
.about-section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-section-grid.reverse { direction: rtl; }
.about-section-grid.reverse > * { direction: ltr; }
.about-section-text h2 { margin-bottom: 16px; }
.about-section-text p { font-size: 15.5px; line-height: 1.8; margin-bottom: 14px; }
.about-section-text p.dark { color: #555; }
.about-section-text p.light { color: rgba(255,255,255,0.6); }
.about-img-frame img { width: 100%; border-radius: var(--radius-lg); }
.about-img-frame.dark-shadow img { box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.cert-card { text-align: center; padding: 24px 14px; background: white; border-radius: var(--radius); border: 1px solid #e5e7eb; }
.cert-icon { font-size: 32px; margin-bottom: 10px; }
.cert-name { font-size: 12px; font-weight: 700; color: #111; }
.cert-sub { font-size: 11px; color: #888; margin-top: 3px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.team-card { text-align: center; padding: 28px 20px; background: white; border-radius: var(--radius-lg); border: 1px solid #e5e7eb; }
.team-avatar { width: 64px; height: 64px; background: linear-gradient(135deg, var(--blue), var(--green)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 14px; }
.team-name { font-size: 15px; font-weight: 700; color: #111; }
.team-role { font-size: 13px; color: #6b7280; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px; margin-top: 48px; }
.contact-info-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; height: fit-content; }
.contact-info-card h3 { margin-bottom: 24px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.contact-detail:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-icon { width: 42px; height: 42px; background: rgba(15,98,254,0.13); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--blue); flex-shrink: 0; }
.contact-detail-text .label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gray-mid); margin-bottom: 4px; }
.contact-detail-text .value { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.contact-detail-text .value a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.contact-detail-text .value a:hover { color: var(--blue-light); }

/* ===== FORMS ===== */
.form-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.form-card h3 { margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.65); margin-bottom: 7px; letter-spacing: 0.3px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 7px; color: white; font-size: 14.5px;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--blue); background: rgba(15,98,254,0.05); }
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group select option { background: #1a2035; color: white; }
.btn-submit { width: 100%; padding: 13px; background: var(--blue); color: white; font-size: 15px; font-weight: 600; border-radius: 7px; transition: var(--transition); }
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* Light form */
.form-card-light { background: white; border: 1px solid #e5e7eb; }
.form-card-light h3 { color: #111; }
.form-card-light .form-group label { color: #374151; }
.form-card-light .form-group input,
.form-card-light .form-group textarea,
.form-card-light .form-group select { background: #f9fafb; border-color: #d1d5db; color: #111; }
.form-card-light .form-group input:focus,
.form-card-light .form-group textarea:focus,
.form-card-light .form-group select:focus { border-color: var(--blue); background: white; }
.form-card-light .form-group select option { background: white; color: #111; }

/* ===== DEALER PAGE ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.benefit-card { background: white; border-radius: var(--radius-lg); padding: 30px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border: 1px solid #e5e7eb; transition: transform 0.3s, box-shadow 0.3s; }
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.benefit-icon { font-size: 38px; margin-bottom: 14px; }
.benefit-title { font-size: 17px; font-weight: 700; color: #111; margin-bottom: 10px; }
.benefit-desc { font-size: 14px; color: #555; line-height: 1.65; }
.dealer-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; position: relative; }
.dealer-steps::before { content: ''; position: absolute; top: 24px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border); z-index: 0; }
.step-card { text-align: center; padding: 24px 16px; position: relative; z-index: 1; }
.step-num { width: 48px; height: 48px; background: var(--blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; margin: 0 auto 16px; box-shadow: 0 0 0 4px var(--dark-2); }
.step-title { font-size: 14px; font-weight: 700; color: white; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* ===== CALCULATOR ===== */
.calc-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; margin-top: 48px; }
.calc-panel { background: white; border-radius: var(--radius-lg); padding: 28px; border: 1px solid #e5e7eb; }
.calc-panel h3 { font-size: 18px; font-weight: 700; color: #111; margin-bottom: 20px; }
.calc-table-header {
  display: grid; grid-template-columns: 1fr 80px 80px;
  gap: 12px; padding: 8px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #9ca3af;
}
.appliance-list { display: flex; flex-direction: column; gap: 8px; }
.appliance-row {
  display: grid; grid-template-columns: 1fr 80px 80px;
  align-items: center; gap: 12px;
  padding: 10px 14px;
  background: #f9fafb; border-radius: 8px; border: 1px solid #e5e7eb;
}
.appliance-info .appliance-name { font-size: 13.5px; font-weight: 600; color: #111; }
.appliance-info .appliance-watts { font-size: 11px; color: #9ca3af; }
.num-input, .hours-input {
  width: 100%; padding: 6px 8px;
  border: 1px solid #d1d5db; border-radius: 6px;
  text-align: center; font-size: 14px; color: #111;
  background: white;
}
.num-input:focus, .hours-input:focus { outline: none; border-color: var(--blue); }
.result-panel { background: var(--dark-2); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); position: sticky; top: 90px; }
.result-panel h3 { color: white; margin-bottom: 20px; font-size: 18px; }
.result-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.result-stat { text-align: center; padding: 20px 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: var(--radius); }
.result-stat .num { font-size: 36px; font-weight: 800; color: white; line-height: 1; }
.result-stat .unit { font-size: 14px; color: var(--blue); font-weight: 700; }
.result-stat .desc { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 6px; }
.result-recommendation { background: rgba(15,98,254,0.1); border: 1px solid rgba(15,98,254,0.25); border-radius: var(--radius); padding: 18px; }
.rec-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-light); margin-bottom: 10px; }
.rec-product { font-size: 17px; font-weight: 700; color: white; margin-bottom: 5px; }
.rec-reason { font-size: 12.5px; color: rgba(255,255,255,0.5); line-height: 1.6; }
.calc-cta { margin-top: 18px; width: 100%; text-align: center; padding: 12px; display: block; background: var(--blue); color: white; border-radius: 7px; font-size: 14px; font-weight: 600; transition: var(--transition); }
.calc-cta:hover { background: var(--blue-dark); }
.calc-note { font-size: 11.5px; color: rgba(255,255,255,0.3); margin-top: 14px; text-align: center; line-height: 1.6; }
.calc-divider { border: none; border-top: 1px solid #e5e7eb; margin: 16px 0; }
.category-header { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); padding: 8px 4px 4px; }

/* ===== SCROLL ANIMATION ===== */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }
.fade-up:nth-child(6) { transition-delay: 0.40s; }

/* ===== MAP EMBED ===== */
.map-frame { border-radius: var(--radius-lg); overflow: hidden; height: 300px; margin-top: 24px; border: 1px solid var(--border); }
.map-frame iframe { width: 100%; height: 100%; border: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .dealer-steps { grid-template-columns: repeat(2, 1fr); }
  .dealer-steps::before { display: none; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-page-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 0; }
  .hero-content { grid-template-columns: 1fr; gap: 36px; padding: 60px 0 40px; }
  .hero-image { order: -1; }
  .hero-image img { max-height: 260px; width: auto; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-divider:nth-child(2) { border-right: none; }
  .products-grid { grid-template-columns: 1fr; }
  .products-page-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .about-teaser-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-section-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-section-grid.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .calc-layout { grid-template-columns: 1fr; }
  .result-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .team-grid { grid-template-columns: 1fr; }
  .result-stats { grid-template-columns: 1fr; }
}
