/* ═══════════════════════════════════════════════════════════════
   Sun Power Solution — Design System
   "The Power of Nature"
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy-900: #081729;
  --navy-800: #0b1f3a;
  --navy-700: #122c50;
  --navy-600: #1c3f73;
  --amber-400: #fdb813;
  --amber-500: #f59e0b;
  --amber-600: #f2720c;
  --green-500: #22c55e;
  --sky-400: #38bdf8;
  --ink: #16233a;
  --ink-soft: #4b5b74;
  --paper: #f7f9fc;
  --paper-tint: #eef3f9;
  --card: #ffffff;
  --line: #dfe7f0;
  --grad-sun: linear-gradient(135deg, var(--amber-400), var(--amber-600));
  --shadow-sm: 0 2px 8px rgba(8, 23, 41, 0.08);
  --shadow-md: 0 10px 30px rgba(8, 23, 41, 0.12);
  --shadow-lg: 0 24px 60px rgba(8, 23, 41, 0.18);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --hero-hill-1: #0e2745;
  --hero-hill-2: #0b1f3a;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container-narrow { width: min(880px, 92%); margin-inline: auto; }
.container-xnarrow { width: min(460px, 92%); margin-inline: auto; }
.center { text-align: center; }
.center-actions { justify-content: center; }

.grad-text {
  background: var(--grad-sun);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 0.6rem;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.78rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--grad-sun);
  color: var(--navy-900);
  box-shadow: 0 6px 20px rgba(242, 114, 12, 0.35);
}
.btn-primary:hover { box-shadow: 0 10px 28px rgba(242, 114, 12, 0.5); }
.btn-dark { background: var(--navy-800); color: #fff; }
.btn-dark:hover { background: var(--navy-700); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.btn-ghost-dark { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-ghost-dark:hover { background: var(--navy-800); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-outline-light:hover { background: #fff; color: var(--navy-800); }
.btn-lg { padding: 0.95rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.15rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ─── Reveal animations ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease var(--d, 0s), transform 0.7s ease var(--d, 0s); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { --d: 0.12s; } .delay-2 { --d: 0.24s; } .delay-3 { --d: 0.36s; } .delay-4 { --d: 0.48s; }

/* ─── Navbar ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: rgba(8, 23, 41, 0.45);
  backdrop-filter: blur(14px);
}
.navbar.scrolled { background: rgba(8, 23, 41, 0.92); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-rays { transform-origin: 32px 32px; animation: spin 40s linear infinite; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; color: #fff; }
.brand-text strong em { font-style: normal; color: var(--amber-400); }
.brand-text small { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.65); }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links > a { color: rgba(255, 255, 255, 0.85); font-weight: 500; font-size: 0.95rem; position: relative; padding: 0.3rem 0; }
.nav-links > a::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--grad-sun); transition: width 0.25s ease; border-radius: 2px;
}
.nav-links > a:hover::after, .nav-links > a.active::after { width: 100%; }
.nav-links > a.active { color: #fff; }
.nav-cta { color: var(--navy-900) !important; }
.nav-cta::after { display: none; }

.nav-dropdown { position: relative; }
.nav-drop-btn {
  background: none; border: none; cursor: pointer; font: inherit; font-weight: 500;
  color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; display: flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0;
}
.nav-dropdown.active .nav-drop-btn { color: #fff; }
.caret { font-size: 0.7rem; transition: transform 0.2s; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 0.5rem;
  display: flex; flex-direction: column; min-width: 250px;
  opacity: 0; visibility: hidden; transition: all 0.22s ease;
}
.nav-dropdown:hover .nav-drop-menu, .nav-dropdown:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown:hover .caret { transform: rotate(180deg); }
.nav-drop-menu a { padding: 0.65rem 0.9rem; border-radius: 10px; font-size: 0.94rem; color: var(--ink); font-weight: 500; }
.nav-drop-menu a:hover { background: var(--paper-tint); color: var(--amber-600); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #071627 0%, #0b2340 45%, #123058 100%);
  overflow: hidden;
  color: #fff;
}
.hero-sky { position: absolute; inset: 0; pointer-events: none; }

.hero-sun { position: absolute; top: 14%; right: 12%; width: 180px; height: 180px; }
.sun-core {
  position: absolute; inset: 25%;
  border-radius: 50%;
  background: var(--grad-sun);
  box-shadow: 0 0 60px rgba(253, 184, 19, 0.7);
  animation: breathe 5s ease-in-out infinite;
}
.sun-rays { position: absolute; inset: 0; animation: spin 30s linear infinite; }
.sun-rays::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg,
      rgba(253, 184, 19, 0.9) 0deg 4deg,
      transparent 4deg 30deg);
  -webkit-mask: radial-gradient(circle, transparent 34%, #000 36%, #000 48%, transparent 50%);
  mask: radial-gradient(circle, transparent 34%, #000 36%, #000 48%, transparent 50%);
}
.sun-glow {
  position: absolute; inset: -55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 184, 19, 0.35), transparent 65%);
  animation: breathe 5s ease-in-out infinite reverse;
}

.cloud { position: absolute; background: rgba(255, 255, 255, 0.09); border-radius: 999px; filter: blur(2px); }
.cloud::before, .cloud::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.cloud-1 { width: 180px; height: 42px; top: 20%; left: -200px; animation: drift 55s linear infinite; }
.cloud-1::before { width: 70px; height: 70px; top: -32px; left: 30px; }
.cloud-1::after { width: 52px; height: 52px; top: -22px; left: 90px; }
.cloud-2 { width: 130px; height: 34px; top: 34%; left: -160px; animation: drift 75s linear 8s infinite; }
.cloud-2::before { width: 52px; height: 52px; top: -24px; left: 24px; }
.cloud-2::after { width: 40px; height: 40px; top: -16px; left: 66px; }
.cloud-3 { width: 220px; height: 48px; top: 10%; left: -260px; animation: drift 90s linear 20s infinite; }
.cloud-3::before { width: 84px; height: 84px; top: -40px; left: 40px; }
.cloud-3::after { width: 60px; height: 60px; top: -26px; left: 116px; }

.hero-birds { position: absolute; top: 24%; left: 16%; }
.hero-birds span {
  position: absolute; width: 22px; height: 8px;
  border-top: 2.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50% 50% 0 0;
  animation: flap 3.5s ease-in-out infinite, glide 26s linear infinite;
}
.hero-birds span:nth-child(2) { left: 36px; top: 14px; animation-delay: 0.4s, 0.6s; }
.hero-birds span:nth-child(3) { left: -26px; top: 22px; animation-delay: 0.8s, 1.2s; }

.hero-hills { position: absolute; bottom: 0; left: 0; width: 100%; height: 26%; }

.hero-panels { position: absolute; bottom: 4%; right: 6%; display: flex; gap: 14px; transform: perspective(600px) rotateX(18deg); }
.hpanel {
  width: 92px; height: 64px;
  background:
    linear-gradient(rgba(255,255,255,0.12), rgba(255,255,255,0) 30%),
    repeating-linear-gradient(90deg, #1c3f73 0 21px, #0a1830 21px 23px),
    repeating-linear-gradient(0deg, transparent 0 19px, #0a1830 19px 21px),
    #16345f;
  border: 3px solid #97a9c4;
  border-radius: 4px;
  transform: skewX(-8deg);
  opacity: 0;
  animation: panelIn 0.8s ease var(--d, 0s) forwards;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.35);
}
.hpanel::after { content: ''; display: block; width: 10px; height: 26px; background: #97a9c4; margin: 64px auto 0; }

.hero-content { position: relative; z-index: 2; padding: 140px 0 120px; max-width: 760px; }
.hero-eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.85rem;
  color: var(--amber-400); background: rgba(253, 184, 19, 0.12);
  padding: 0.45rem 1.1rem; border-radius: 999px; border: 1px solid rgba(253, 184, 19, 0.35);
  margin-bottom: 1.4rem;
}
.hero h1 { color: #fff; margin-bottom: 1.3rem; }
.hero-sub { font-size: 1.18rem; color: rgba(255, 255, 255, 0.82); max-width: 560px; margin-bottom: 2.2rem; }
.hero-sub strong { color: var(--amber-400); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.4rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.75); }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 999px; z-index: 2;
}
.hero-scroll span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 10px; margin-left: -2px;
  background: var(--amber-400); border-radius: 2px; animation: scrollHint 1.8s ease-in-out infinite;
}

/* ─── Stats band ──────────────────────────────────────────── */
.stats { background: var(--navy-800); color: #fff; padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stat-value { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; color: var(--amber-400); }
.stat-unit { font-size: 0.6em; font-weight: 600; }
.stat-label { color: rgba(255, 255, 255, 0.72); font-size: 0.94rem; margin-top: 0.2rem; }

/* ─── Sections ────────────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-tint { background: var(--paper-tint); }
.section-dark { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3.2rem; }
.section-sub { color: var(--ink-soft); margin-top: 0.8rem; }
.section-dark .section-sub { color: rgba(255, 255, 255, 0.7); }
.section .center { margin-top: 2.6rem; }

/* ─── Solution cards ──────────────────────────────────────── */
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; }
.solutions-grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.solution-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.7rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--amber-400); }
.solution-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.7rem; background: linear-gradient(135deg, rgba(253,184,19,0.16), rgba(242,114,12,0.16));
}
.solution-card p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.solution-stats { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.85rem; color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: 0.8rem; }
.solution-stats strong { color: var(--amber-600); }
.card-link { font-family: var(--font-display); font-weight: 600; color: var(--amber-600); font-size: 0.94rem; }

/* ─── Energy flow diagram ─────────────────────────────────── */
.energy-flow { display: flex; align-items: stretch; gap: 0; margin: 0 auto; }
.flow-node {
  flex: 1; text-align: center; padding: 1.4rem 1rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
}
.flow-node h4 { margin: 0.8rem 0 0.4rem; font-size: 1rem; }
.flow-node p { font-size: 0.86rem; color: rgba(255, 255, 255, 0.68); }
.flow-icon {
  width: 62px; height: 62px; margin: 0 auto; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem;
  background: rgba(253, 184, 19, 0.14); border: 1px solid rgba(253, 184, 19, 0.4);
}
.flow-sun { animation: breathe 4s ease-in-out infinite; }
.flow-wire { position: relative; width: 60px; align-self: center; height: 3px; background: rgba(253, 184, 19, 0.25); flex-shrink: 0; }
.flow-wire .pulse {
  position: absolute; top: 50%; left: 0; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 50%; background: var(--amber-400);
  box-shadow: 0 0 12px var(--amber-400);
  animation: wirePulse 2.2s linear infinite;
}
.energy-flow .flow-wire:nth-of-type(4) .pulse { animation-delay: 0.7s; }
.energy-flow .flow-wire:nth-of-type(6) .pulse { animation-delay: 1.4s; }

/* ─── Product cards ───────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.7rem; }
.product-card {
  background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--navy-800); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--grad-sun); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 700; font-size: 0.74rem;
  padding: 0.3rem 0.8rem; border-radius: 999px; letter-spacing: 0.04em;
}
.product-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-cat { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-600); }
.product-body p { color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.product-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); padding-top: 0.9rem; margin-top: 0.4rem; }
.product-price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--navy-800); }
.product-price small { font-weight: 500; color: var(--ink-soft); font-size: 0.78rem; }

/* ─── Why cards ───────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.why-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 1.9rem 1.6rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.why-icon { font-size: 1.9rem; margin-bottom: 0.9rem; }
.why-card p { color: var(--ink-soft); font-size: 0.93rem; margin-top: 0.4rem; }

/* ─── Testimonials ────────────────────────────────────────── */
.testimonial-slider { max-width: 780px; margin: 0 auto; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1); }
.testimonial {
  flex: 0 0 100%; padding: 2.4rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg); text-align: center;
}
.testimonial-stars { color: var(--amber-400); letter-spacing: 4px; margin-bottom: 1.1rem; font-size: 1.1rem; }
.testimonial blockquote { font-size: 1.12rem; color: rgba(255, 255, 255, 0.9); font-style: italic; margin-bottom: 1.6rem; }
.testimonial figcaption { display: flex; align-items: center; justify-content: center; gap: 0.9rem; text-align: left; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-sun); color: var(--navy-900);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
}
.testimonial figcaption strong { display: block; font-family: var(--font-display); }
.testimonial figcaption span { font-size: 0.84rem; color: rgba(255, 255, 255, 0.65); }
.testimonial-tag {
  margin-left: auto; background: rgba(253, 184, 19, 0.14); color: var(--amber-400);
  border: 1px solid rgba(253, 184, 19, 0.4); padding: 0.25rem 0.8rem; border-radius: 999px;
  font-size: 0.76rem !important; font-weight: 600;
}
.slider-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 1.6rem; }
.slider-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.3); transition: 0.25s;
}
.slider-dots button.active { background: var(--amber-400); transform: scale(1.3); }

/* ─── Blog cards ──────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.7rem; }
.blog-card {
  background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--navy-800); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.blog-cat {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--amber-600); background: rgba(242, 114, 12, 0.1); padding: 0.25rem 0.7rem; border-radius: 999px;
}
.blog-card-body p { color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.blog-meta { font-size: 0.8rem; color: var(--ink-soft); }

/* ─── CTA band ────────────────────────────────────────────── */
.cta-band {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
    var(--grad-sun);
  color: var(--navy-900); padding: 3.6rem 0;
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--navy-900); margin-bottom: 0.4rem; }
.cta-band p { font-weight: 500; }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-band .btn-outline-light { border-color: var(--navy-900); color: var(--navy-900); }
.cta-band .btn-outline-light:hover { background: var(--navy-900); color: #fff; }

/* ─── Footer ──────────────────────────────────────────────── */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.75); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.6rem; padding-bottom: 3rem; }
.footer h4 { color: #fff; margin-bottom: 1.1rem; font-size: 1rem; }
.footer-grid > div > a { display: block; padding: 0.3rem 0; font-size: 0.93rem; transition: color 0.2s; }
.footer-grid > div > a:hover { color: var(--amber-400); }
.footer-brand p { font-size: 0.92rem; margin: 1rem 0 1.2rem; }
.brand-footer .brand-text strong { color: #fff; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); transition: 0.25s;
}
.footer-social a:hover { background: var(--grad-sun); color: var(--navy-900); transform: translateY(-3px); }
.footer-newsletter p { font-size: 0.9rem; margin-bottom: 0.9rem; }
.newsletter-form { display: flex; gap: 0.6rem; }
.newsletter-form input {
  flex: 1; min-width: 0; padding: 0.7rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07); color: #fff; font: inherit; font-size: 0.92rem;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter-form input:focus { outline: 2px solid var(--amber-400); border-color: transparent; }
.newsletter-msg { font-size: 0.85rem; min-height: 1.4em; margin-top: 0.5rem; color: var(--green-500); }
.newsletter-msg.error { color: #f87171; }
.footer address { font-style: normal; display: flex; flex-direction: column; gap: 0.35rem; margin-top: 1.2rem; font-size: 0.88rem; }
.footer address a:hover { color: var(--amber-400); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 1.4rem 0; font-size: 0.85rem;
}
.footer-links-inline a:hover { color: var(--amber-400); }

/* ─── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background:
    radial-gradient(circle at 82% 30%, rgba(253, 184, 19, 0.22), transparent 42%),
    linear-gradient(180deg, #071627, var(--navy-800));
  color: #fff; padding: calc(var(--nav-h) + 4.5rem) 0 4.5rem; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero-sub { max-width: 640px; margin: 1.1rem auto 0; color: rgba(255, 255, 255, 0.78); font-size: 1.08rem; }
.page-hero-sub a { color: var(--amber-400); text-decoration: underline; }
.page-hero .hero-actions { justify-content: center; margin-top: 2rem; }

/* ─── Filter chips ────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-bottom: 2.8rem; }
.filter-chip {
  padding: 0.55rem 1.3rem; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  background: var(--card); border: 1.5px solid var(--line); color: var(--ink-soft); transition: 0.25s;
}
.filter-chip:hover { border-color: var(--amber-400); color: var(--amber-600); }
.filter-chip.active { background: var(--grad-sun); border-color: transparent; color: var(--navy-900); }
.empty-state { text-align: center; color: var(--ink-soft); padding: 3rem 0; }
.empty-state a { color: var(--amber-600); text-decoration: underline; }

/* ─── Product detail ──────────────────────────────────────── */
.product-detail { padding-top: calc(var(--nav-h) + 3rem); }
.breadcrumb { font-size: 0.86rem; color: var(--ink-soft); margin-bottom: 2rem; }
.breadcrumb a:hover { color: var(--amber-600); }
.breadcrumb span { color: var(--ink); font-weight: 500; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-detail-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.product-tagline { color: var(--ink-soft); font-size: 1.08rem; margin: 0.7rem 0 1.4rem; }
.product-price-box {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--paper-tint); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; margin-bottom: 1.4rem;
}
.price-big { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--navy-800); display: block; }
.product-price-box small { color: var(--ink-soft); }
.warranty-pill {
  background: rgba(34, 197, 94, 0.12); color: #15803d; font-weight: 600; font-size: 0.88rem;
  padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid rgba(34, 197, 94, 0.3);
}
.product-desc { color: var(--ink-soft); margin-bottom: 1.4rem; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.4rem; margin-bottom: 1.8rem; }
.feature-list li { font-size: 0.94rem; }
.product-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.spec-table { margin-top: 4rem; }
.spec-table h2, .related h2 { margin-bottom: 1.4rem; }
.spec-table table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .spec-table td { padding: 0.95rem 1.3rem; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; background: var(--paper-tint); font-family: var(--font-display); font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.related { margin-top: 4rem; }

/* ─── Calculator ──────────────────────────────────────────── */
.calc-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 2.2rem;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.calc-card label { font-family: var(--font-display); font-weight: 600; display: block; margin-bottom: 0.8rem; }
.calc-input-row { display: flex; gap: 0.8rem; align-items: stretch; }
.calc-currency {
  display: grid; place-items: center; padding: 0 1.1rem; background: var(--paper-tint);
  border: 1.5px solid var(--line); border-radius: 12px; font-weight: 700; font-family: var(--font-display);
}
.calc-input-row input[type='number'] {
  flex: 1; min-width: 0; font: inherit; font-size: 1.3rem; font-weight: 600; padding: 0.7rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: 12px;
}
.calc-input-row input:focus { outline: 2px solid var(--amber-400); border-color: transparent; }
input[type='range'] { width: 100%; margin-top: 1.4rem; accent-color: var(--amber-500); }
.calc-hint { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.6rem; }
.calc-results { margin-top: 2.4rem; }
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.calc-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1rem; text-align: center; box-shadow: var(--shadow-sm);
  animation: tileIn 0.5s ease both;
}
.calc-tile:nth-child(2) { animation-delay: 0.05s; } .calc-tile:nth-child(3) { animation-delay: 0.1s; }
.calc-tile:nth-child(4) { animation-delay: 0.15s; } .calc-tile:nth-child(5) { animation-delay: 0.2s; }
.calc-tile:nth-child(6) { animation-delay: 0.25s; } .calc-tile:nth-child(7) { animation-delay: 0.3s; }
.calc-tile:nth-child(8) { animation-delay: 0.35s; } .calc-tile:nth-child(9) { animation-delay: 0.4s; }
.calc-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--navy-800); }
.calc-lbl { font-size: 0.82rem; color: var(--ink-soft); }
.calc-tile-hero { background: var(--grad-sun); border: none; }
.calc-tile-hero .calc-num, .calc-tile-hero .calc-lbl { color: var(--navy-900); }
.calc-tile-green { background: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.3); }
.calc-tile-green .calc-num { color: #15803d; }
.calc-note { font-size: 0.84rem; color: var(--ink-soft); margin-top: 1.4rem; text-align: center; }

/* ─── Accordion ───────────────────────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: 0.9rem; }
.accordion-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color 0.25s;
}
.accordion-item[open] { border-color: var(--amber-400); }
.accordion-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.acc-icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-tint); color: var(--amber-600); font-weight: 700; transition: 0.25s;
}
.accordion-item[open] .acc-icon { transform: rotate(45deg); background: var(--grad-sun); color: var(--navy-900); }
.accordion-item p { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); }

/* ─── Contact ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 2.4rem; align-items: start; }
.contact-form-wrap { background: var(--card); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.45rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; font-size: 0.96rem; padding: 0.75rem 1rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: 2px solid var(--amber-400); border-color: transparent; }
.form-field textarea { resize: vertical; }
.form-privacy { font-size: 0.82rem; color: var(--ink-soft); text-align: center; }
.form-error {
  background: rgba(248, 113, 113, 0.12); border: 1px solid rgba(248, 113, 113, 0.4); color: #b91c1c;
  padding: 0.8rem 1.1rem; border-radius: 12px; margin-bottom: 1.2rem; font-size: 0.92rem;
}
.form-success { text-align: center; padding: 2rem 1rem; }
.success-icon {
  width: 76px; height: 76px; margin: 0 auto 1.2rem; border-radius: 50%;
  background: var(--grad-sun); display: grid; place-items: center; font-size: 2.2rem;
  animation: breathe 3s ease-in-out infinite;
}
.form-success p { color: var(--ink-soft); margin: 0.8rem 0 1.6rem; }
.contact-aside { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 1.8rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.contact-card h3 { margin-bottom: 1rem; }
.contact-card p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.contact-card a { color: var(--amber-600); font-weight: 600; }
.contact-card-dark { background: var(--navy-800); color: rgba(255, 255, 255, 0.8); border: none; }
.contact-card-dark h3 { color: #fff; }
.contact-card-dark ol { padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.93rem; }

/* ─── Article ─────────────────────────────────────────────── */
.article { padding-top: calc(var(--nav-h) + 3rem); }
.article h1 { margin: 0.8rem 0 0.6rem; }
.article-meta { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.8rem; }
.article-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 2.4rem; }
.article-body { font-size: 1.05rem; color: #2b3a52; }
.article-body h3 { margin: 2rem 0 0.7rem; }
.article-body p { margin-bottom: 1.1rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.45rem; }
.article-body a { color: var(--amber-600); text-decoration: underline; }
.article-cta {
  margin-top: 3rem; background: var(--paper-tint); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2.2rem; text-align: center;
}
.article-cta p { color: var(--ink-soft); margin: 0.5rem 0 1.4rem; }
.article-cta .hero-actions { justify-content: center; }

/* ─── About extras ────────────────────────────────────────── */
.about-story { margin-bottom: 3rem; }
.about-story h2 { margin-bottom: 1rem; }
.about-story p { color: var(--ink-soft); margin-bottom: 1rem; font-size: 1.04rem; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.process-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; counter-reset: step; }
.process-list li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.5rem; box-shadow: var(--shadow-sm); color: var(--ink-soft);
}
.process-list li strong { color: var(--ink); font-family: var(--font-display); }

/* ─── 404 ─────────────────────────────────────────────────── */
.notfound { padding-top: calc(var(--nav-h) + 5rem); padding-bottom: 6rem; }
.notfound-sun { font-size: 4.5rem; animation: spin 14s linear infinite; display: inline-block; }
.notfound h1 { font-size: clamp(4rem, 10vw, 7rem); background: var(--grad-sun); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.notfound h2 { margin-bottom: 0.6rem; }
.notfound p { color: var(--ink-soft); margin-bottom: 2rem; }
.notfound .hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ─── Admin ───────────────────────────────────────────────── */
.admin { padding-top: calc(var(--nav-h) + 3rem); }
.admin-login { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 6rem; }
.admin-login h1 { font-size: 1.8rem; }
.admin-login-sub { color: var(--ink-soft); margin: 0.4rem 0 1.4rem; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.admin-sub { color: var(--ink-soft); display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; }
.db-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.db-on { background: var(--green-500); box-shadow: 0 0 8px var(--green-500); }
.db-off { background: var(--amber-500); box-shadow: 0 0 8px var(--amber-500); }
.admin-stats { grid-template-columns: repeat(5, 1fr); margin-bottom: 2.6rem; }
.admin-section-title { font-size: 1.3rem; margin: 2.2rem 0 1rem; }
.table-wrap { overflow-x: auto; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 760px; }
.admin-table th { text-align: left; background: var(--paper-tint); font-family: var(--font-display); padding: 0.85rem 1rem; }
.admin-table td { padding: 0.85rem 1rem; border-top: 1px solid var(--line); vertical-align: top; }
.admin-table a { color: var(--amber-600); }
.lead-msg { max-width: 260px; color: var(--ink-soft); font-size: 0.84rem; }
.lead-tag { padding: 0.2rem 0.65rem; border-radius: 999px; font-size: 0.76rem; font-weight: 600; background: var(--paper-tint); text-transform: capitalize; }
.lead-irrigation { background: rgba(34, 197, 94, 0.14); color: #15803d; }
.lead-residential { background: rgba(56, 189, 248, 0.14); color: #0369a1; }
.lead-university { background: rgba(168, 85, 247, 0.14); color: #7e22ce; }
.lead-commercial { background: rgba(245, 158, 11, 0.16); color: #b45309; }
.status-form select { font: inherit; font-size: 0.84rem; padding: 0.35rem 0.5rem; border-radius: 8px; border: 1.5px solid var(--line); }

/* Product CRUD */
.btn-danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn-danger:hover { background: #b91c1c; border-color: #b91c1c; }
.admin-actions { display: flex; gap: 0.5rem; align-items: center; white-space: nowrap; }
.admin-actions form { margin: 0; }
.admin-form { max-width: 720px; }
.admin-form label small { color: var(--ink-soft); font-weight: 400; }
.admin-form textarea { font: inherit; width: 100%; padding: 0.7rem 0.85rem; border-radius: 10px; border: 1.5px solid var(--line); resize: vertical; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-checks { display: flex; gap: 1.8rem; margin: 0.4rem 0 0.6rem; }
.check-inline { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.check-inline input { width: auto; }
.admin-form-actions { display: flex; gap: 0.8rem; align-items: center; margin-top: 1.4rem; }
.admin-form textarea.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85rem; }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* ─── Admin panel shell ───────────────────────────────────── */
.admin-body { background: var(--paper-tint); }
.admin-nav { background: var(--ink, #0b1f3a); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.admin-nav-inner { display: flex; align-items: center; gap: 1.2rem; min-height: 60px; flex-wrap: wrap; }
.admin-brand { color: #fff; font-family: var(--font-display); font-size: 1.05rem; white-space: nowrap; }
.admin-brand strong { color: var(--amber-400, #fbbf24); }
.admin-nav-links { display: flex; gap: 0.3rem; flex: 1; flex-wrap: wrap; }
.admin-nav-links a { color: rgba(255,255,255,0.78); padding: 0.45rem 0.85rem; border-radius: 8px; font-size: 0.92rem; font-weight: 500; }
.admin-nav-links a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.admin-nav-links a.active { background: var(--amber-500, #f59e0b); color: #1a1205; font-weight: 600; }
.admin-nav-right { display: flex; align-items: center; gap: 0.9rem; }
.admin-nav-view { color: rgba(255,255,255,0.72); font-size: 0.88rem; white-space: nowrap; }
.admin-nav-view:hover { color: #fff; }
.admin-logout { margin: 0; }

.admin-flash { margin: 1.2rem 0 -0.6rem; padding: 0.85rem 1.15rem; border-radius: 10px; font-weight: 500; font-size: 0.92rem; }
.admin-flash-success { background: rgba(34,197,94,0.14); color: #15803d; border: 1px solid rgba(34,197,94,0.3); }
.admin-flash-error { background: rgba(220,38,38,0.1); color: #b91c1c; border: 1px solid rgba(220,38,38,0.3); }

.admin-count { display: inline-block; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); background: var(--paper-tint); border: 1px solid var(--line); border-radius: 999px; padding: 0.1rem 0.6rem; vertical-align: middle; margin-left: 0.4rem; }
.admin-stat-link { text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.admin-stat-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md, 0 8px 24px rgba(0,0,0,0.1)); }
.admin-stats { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 900px) { .admin-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .admin-stats { grid-template-columns: repeat(2, 1fr); } }

.status-pill { display: inline-block; padding: 0.18rem 0.6rem; border-radius: 999px; font-size: 0.76rem; font-weight: 600; text-transform: capitalize; background: var(--paper-tint); }
.status-new { background: rgba(56,189,248,0.16); color: #0369a1; }
.status-contacted { background: rgba(245,158,11,0.18); color: #b45309; }
.status-quoted { background: rgba(168,85,247,0.16); color: #7e22ce; }
.status-won { background: rgba(34,197,94,0.16); color: #15803d; }
.status-lost { background: rgba(148,163,184,0.22); color: #475569; }
.muted { color: var(--ink-soft); }

/* ─── Localization ────────────────────────────────────────── */
html[lang="bn"] {
  --font-display: 'Noto Sans Bengali', 'Outfit', system-ui, sans-serif;
  --font-body: 'Noto Sans Bengali', 'Inter', system-ui, sans-serif;
}
html[lang="bn"] h1 { letter-spacing: 0; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 3px;
}
.navbar.scrolled .lang-switch, .navbar-light .lang-switch { border-color: rgba(255, 255, 255, 0.25); }
.lang-switch a {
  padding: 0.22rem 0.68rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  color: rgba(255, 255, 255, 0.8); line-height: 1.4;
}
.lang-switch a.active { background: var(--grad-sun); color: var(--navy-900); }
@media (max-width: 1080px) {
  .lang-switch { margin: 1rem 0.4rem 0; width: max-content; }
}

/* ═══════════════════════════════════════════════════════════════
   PREMIUM LAYER — motion, light & depth
   ═══════════════════════════════════════════════════════════════ */

/* Page entrance */
body { animation: pageIn 0.6s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* Selection & scrollbar */
::selection { background: var(--amber-400); color: var(--navy-900); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--amber-400), var(--amber-600)); border-radius: 8px; border: 3px solid var(--navy-900); }
::-webkit-scrollbar-thumb:hover { background: var(--amber-400); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad-sun); z-index: 120;
  box-shadow: 0 0 10px rgba(253, 184, 19, 0.7);
}

/* Navbar: hide on scroll down, reveal on scroll up */
.navbar { transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.35s ease; }
.navbar.nav-hidden { transform: translateY(-100%); }

/* Shimmering gradient text */
.grad-text {
  background: linear-gradient(110deg, var(--amber-400) 20%, #ffe9b0 40%, var(--amber-600) 60%, var(--amber-400) 80%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

/* Button shine sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%; z-index: -1;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg); transition: left 0.55s ease; pointer-events: none;
}
.btn:hover::before { left: 130%; }

/* Star field & shooting star */
.hero-stars, .hero-stars::after {
  content: ''; position: absolute; inset: 0 0 30% 0; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 22%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(1px 1px at 24% 8%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1.5px 1.5px at 37% 30%, rgba(255,255,255,0.8), transparent 60%),
    radial-gradient(1px 1px at 52% 12%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 66% 26%, rgba(255,255,255,0.75), transparent 60%),
    radial-gradient(1px 1px at 15% 44%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 45% 46%, rgba(255,255,255,0.65), transparent 60%),
    radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1.4px 1.4px at 96% 12%, rgba(255,255,255,0.8), transparent 60%);
  animation: twinkle 4.5s ease-in-out infinite;
}
.hero-stars::after {
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 60%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1.3px 1.3px at 30% 18%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 58% 36%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1.3px 1.3px at 76% 8%, rgba(255,255,255,0.8), transparent 60%),
    radial-gradient(1px 1px at 84% 52%, rgba(255,255,255,0.45), transparent 60%);
  animation: twinkle 4.5s ease-in-out 2.2s infinite;
}
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.shooting-star {
  position: absolute; top: 12%; left: 4%; width: 130px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.95), transparent);
  border-radius: 2px; opacity: 0; transform: rotate(18deg);
  animation: shoot 8s ease-in 3s infinite;
}
@keyframes shoot {
  0% { opacity: 0; transform: rotate(18deg) translateX(0); }
  3% { opacity: 1; }
  9% { opacity: 0; transform: rotate(18deg) translateX(52vw) translateY(0); }
  100% { opacity: 0; transform: rotate(18deg) translateX(52vw); }
}

/* Aurora glow drifting behind hero content */
.hero-aurora {
  position: absolute; left: -12%; top: 30%; width: 62vw; height: 55vh; pointer-events: none;
  background:
    radial-gradient(40% 55% at 30% 50%, rgba(34, 197, 94, 0.12), transparent 70%),
    radial-gradient(45% 60% at 70% 40%, rgba(253, 184, 19, 0.10), transparent 70%);
  filter: blur(40px);
  animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6vw, -5vh, 0) scale(1.15); }
}

/* Card tilt + cursor spotlight */
.tilt { will-change: transform; }
.tilt::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(253, 184, 19, 0.14), transparent 45%);
  opacity: 0; transition: opacity 0.3s ease;
}
.tilt:hover::after { opacity: 1; }
.product-card, .solution-card, .why-card, .blog-card, .calc-tile { position: relative; }

/* Product image shine sweep */
.product-img::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -75%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-18deg); transition: left 0.65s ease; pointer-events: none;
}
.product-card:hover .product-img::after { left: 130%; }

/* Badge glow pulse */
.product-badge { animation: badgePulse 3s ease-in-out infinite; }
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(253, 184, 19, 0.45); }
  50% { box-shadow: 0 0 0 7px rgba(253, 184, 19, 0); }
}

/* Achievements marquee */
.marquee {
  background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden; padding: 1.05rem 0; position: relative;
}
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy-900), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy-900), transparent); }
.marquee-track {
  display: flex; gap: 3.2rem; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75); white-space: nowrap; letter-spacing: 0.02em;
}
.marquee-track span em { font-style: normal; color: var(--amber-400); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Testimonial decorative quote */
.testimonial { position: relative; }
.testimonial::before {
  content: '“'; position: absolute; top: 0.4rem; left: 1.4rem;
  font-family: Georgia, serif; font-size: 5.5rem; line-height: 1;
  color: rgba(253, 184, 19, 0.18); pointer-events: none;
}

/* Accordion content fade (JS-assisted) */
.accordion-item p { transform-origin: top; }

/* Footer social lift already present; add nav CTA glow */
.nav-cta { box-shadow: 0 0 18px rgba(253, 184, 19, 0.35); }

/* ─── Keyframes ───────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(115vw); } }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.55) translateY(2px); } }
@keyframes glide { from { transform: translateX(0); } to { transform: translateX(38vw) translateY(-30px); } }
@keyframes scrollHint { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: skewX(-8deg) translateY(40px); } to { opacity: 1; transform: skewX(-8deg) translateY(0); } }
@keyframes wirePulse { 0% { left: -6px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 6px); opacity: 0; } }
@keyframes tileIn { from { opacity: 0; transform: translateY(16px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1020px) {
  .energy-flow { flex-direction: column; gap: 0; align-items: center; }
  .flow-node { width: min(440px, 100%); }
  .flow-wire { width: 3px; height: 46px; }
  .flow-wire .pulse { animation-name: wirePulseV; left: 50%; margin-left: -6px; top: -6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .admin-stats { grid-template-columns: repeat(3, 1fr); }
}
@keyframes wirePulseV { 0% { top: -6px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 6px); opacity: 0; } }

/* Collapse the nav early enough that 8 links + CTA never overflow (tablets & small laptops) */
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(8, 23, 41, 0.98); backdrop-filter: blur(14px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 5%; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
    padding-block: 0;
  }
  .nav-links.open { max-height: calc(100dvh - var(--nav-h)); padding-block: 1rem; overflow-y: auto; }
  .nav-links > a { padding: 0.85rem 0.4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-links > a::after { display: none; }
  .nav-dropdown { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: 0.85rem 0.4rem; }
  .nav-drop-menu {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    background: transparent; min-width: 0; padding: 0 0 0.6rem 0.8rem; display: none;
  }
  .nav-dropdown.open .nav-drop-menu { display: flex; }
  .nav-drop-menu a { color: rgba(255, 255, 255, 0.85); }
  .nav-drop-menu a:hover { background: rgba(255, 255, 255, 0.06); color: var(--amber-400); }
  .nav-cta { margin: 1rem 0.4rem 0.4rem; justify-content: center; }
}

@media (max-width: 860px) {
  .hero-sun { width: 120px; height: 120px; right: 7%; top: 12%; }
  .hero-panels { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .calc-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .calc-num { font-size: 1.25rem; }
  .calc-input-row { flex-wrap: wrap; }
  .calc-input-row .btn { width: 100%; }
  .section { padding: 4rem 0; }
  .section-head { margin-bottom: 2.2rem; }

  .hero-sun { width: 92px; height: 92px; right: 5%; top: 9%; }
  .hero-content { padding: calc(var(--nav-h) + 4.5rem) 0 90px; }
  .hero-sub { font-size: 1.05rem; }
  .hero-actions .btn-lg { width: 100%; }
  .hero-trust { gap: 0.6rem 1.2rem; font-size: 0.86rem; margin-top: 1.8rem; }
  .page-hero { padding: calc(var(--nav-h) + 3rem) 0 3.2rem; }
  .page-hero .hero-actions .btn-lg { width: min(100%, 320px); }

  .testimonial { padding: 1.6rem 1.3rem; }
  .testimonial blockquote { font-size: 1.02rem; }
  .testimonial figcaption { flex-direction: column; text-align: center; gap: 0.6rem; }
  .testimonial-tag { margin-left: 0; }

  .product-price-box { flex-direction: column; align-items: flex-start; }
  .product-actions .btn { width: 100%; }
  .breadcrumb { font-size: 0.8rem; }
  .spec-table th { width: 44%; }
  .contact-form-wrap { padding: 1.5rem 1.2rem; }
  .calc-card { padding: 1.6rem 1.3rem; }
  .cta-band-actions { width: 100%; }
  .cta-band-actions .btn { flex: 1; min-width: 0; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }
  .filter-bar { gap: 0.5rem; }
  .filter-chip { padding: 0.45rem 1rem; font-size: 0.84rem; }
  }

/* Ultra-small phones */
@media (max-width: 380px) {
  h1 { font-size: 2rem; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { font-size: 0.58rem; }
  .stats-grid { gap: 1.2rem; }
}

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