/* ============================================================
   Anttek — Design System & Animation Engine
   Palette: Vibrant Green #6AA84F · Deep Green #3D712C · Highlight #FFC400
   ============================================================ */

:root {
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --primary: #6aa84f;
  --primary-rgb: 106, 168, 79;
  --accent: #3d712c;
  --accent-rgb: 61, 113, 44;
  --accent-deep: #2c5320;
  --highlight: #ffc400;
  --ink: #14241a;
  --muted: #5b6b60;
  --paper: #f6faf4;
  --card: #ffffff;
  --ring: rgba(106, 168, 79, 0.35);
  --shadow-sm: 0 4px 14px rgba(20, 36, 26, 0.06);
  --shadow-md: 0 18px 40px -12px rgba(20, 36, 26, 0.18);
  --shadow-lg: 0 40px 80px -24px rgba(20, 36, 26, 0.28);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* in-page anchors must clear the 80px sticky header, or the target
   heading lands hidden behind it (#specifications, #contact-section, ...) */
[id] { scroll-margin-top: 96px; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  background-color: var(--paper);
  color: var(--ink);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv02', 'cv03', 'cv11'; /* Inter: open a, g, single-storey y */
}

/* ---------- Typographic hierarchy ---------- */
h1, h2, h3, h4, .reason-num, .stat-num, .connect-value, .cta-eyebrow {
  font-family: var(--font-display);
}
h1, h2 { letter-spacing: -0.025em; text-wrap: balance; }
h3, h4 { letter-spacing: -0.01em; }
p { text-wrap: pretty; }
/* fluid section headings — smoother than fixed Tailwind steps */
main h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 2.6rem); line-height: 1.15; }
main h3 { line-height: 1.3; }
/* eyebrow labels above section headings */
.section-eyebrow {
  display: block; font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary); margin-bottom: 0.6rem;
}

::selection { background: rgba(var(--primary-rgb), 0.25); color: var(--accent-deep); }

/* Themed utility classes (kept from original markup) */
.primary-bg { background-color: var(--primary); }
.primary-text { color: var(--primary); }
.accent-bg { background-color: var(--accent); }
.accent-text { color: var(--accent); }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--highlight));
  z-index: 100; transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.7);
}

/* ---------- Cursor glow ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.10), transparent 60%);
  transform: translate(-50%, -50%); transition: opacity 0.4s ease; opacity: 0;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) { .cursor-glow { opacity: 1; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(20, 36, 26, 0.06);
  transition: box-shadow 0.4s ease, background 0.4s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.9); }
.logo-img {
  height: 58px; width: auto; border-radius: 12px;
  box-shadow: 0 4px 14px rgba(20, 36, 26, 0.18);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.4s ease;
}
.logo-link:hover .logo-img { transform: scale(1.06) rotate(-2deg); box-shadow: var(--shadow-md); }
@media (max-width: 480px) { .logo-img { height: 48px; } }

/* logo in the dark footer */
.footer-logo { height: 72px; width: auto; border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,0.3); }

.nav-link { position: relative; transition: color 0.3s; }
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--highlight));
  transition: width 0.35s var(--ease-out);
}
.nav-link:hover::after, .nav-link.active-link::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 120% at 50% 120%, rgba(106, 168, 79, 0.35), transparent 60%),
    linear-gradient(168deg, #16300e 0%, var(--accent-deep) 48%, var(--accent) 100%);
  color: #fff;
}
/* Three.js particle field sits between the gradient and the copy */
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 1; pointer-events: none;
}
.hero-ghost-link {
  color: rgba(255, 255, 255, 0.85); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35); padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.hero-ghost-link:hover { color: #fff; border-color: var(--highlight); }
.hero-aurora {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(255, 196, 0, 0.35), transparent 60%),
    radial-gradient(45% 55% at 80% 25%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(50% 60% at 60% 90%, rgba(44, 83, 32, 0.5), transparent 60%);
  filter: blur(20px); animation: aurora 18s ease-in-out infinite alternate; z-index: 0;
}
@keyframes aurora {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(3%, -2%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, 2%, 0) scale(1.04); }
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  animation: gridpan 30s linear infinite;
}
@keyframes gridpan { to { background-position: 56px 56px; } }

/* Floating energy orbs */
.orb { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,196,0,0.25) 45%, transparent 70%);
  filter: blur(0.5px); animation: float 12s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-28px) translateX(14px); }
}

.hero-content { position: relative; z-index: 2; }

/* slow-rotating sun glow behind hero */
.sun {
  position: absolute; z-index: 0; pointer-events: none; border-radius: 50%;
  width: 260px; height: 260px; top: -70px; right: -40px;
  background: radial-gradient(circle, rgba(255,196,0,0.55), rgba(255,196,0,0.12) 45%, transparent 68%);
}
.sun-rays {
  position: absolute; inset: -40%; background:
    repeating-conic-gradient(from 0deg, rgba(255,196,0,0.18) 0deg 4deg, transparent 4deg 14deg);
  border-radius: 50%; animation: spin 60s linear infinite;
  mask-image: radial-gradient(circle, #000 30%, transparent 62%);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 62%);
}

/* parallax layers — JS sets --px / --py (px). Only on transform-free layers. */
[data-parallax] {
  transform: translate3d(calc(var(--px,0) * 1px), calc(var(--py,0) * 1px), 0);
  transition: transform 0.25s ease-out; will-change: transform;
}

/* word-by-word headline reveal */
.reveal-word { display: inline-block; opacity: 0; transform: translateY(28px) rotate(2deg);
  animation: wordIn 0.8s var(--ease-out) forwards; }
@keyframes wordIn { to { opacity: 1; transform: translateY(0) rotate(0); } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600; border-radius: 0.9rem; overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease;
  will-change: transform;
}
.btn::before {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
  transition: transform 0.7s ease;
}
.btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: var(--shadow-md); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(-1px) scale(0.99); }
.btn-arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(5px); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(34px); filter: blur(7px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out), filter 0.8s var(--ease-out);
  transition-delay: var(--delay, 0ms); will-change: transform, opacity, filter;
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"]  { transform: scale(0.9); }
[data-reveal].in { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-aurora, .hero-grid, .orb, .reveal-word, .cta-panel::before, .cta-panel::after,
  .cta-spark, .shimmer, .btn-glow, .fab::before, .pulse-dot, .sun-rays, .nav-cta {
    animation: none !important; opacity: 1 !important;
  }
  .reveal-word { transform: none !important; }
  .shimmer { color: #fff !important; }
}

/* ---------- Cards ---------- */
.tilt-card {
  position: relative; background: var(--card); border: 1px solid rgba(20,36,26,0.07);
  border-radius: 1.25rem; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
  transform-style: preserve-3d; will-change: transform; overflow: hidden;
}
.tilt-card::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--primary-rgb), 0.12), transparent 45%);
}
.tilt-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(var(--primary-rgb), 0.4); }
.tilt-card:hover::after { opacity: 1; }

.icon-badge {
  width: 3.25rem; height: 3.25rem; border-radius: 1rem; display: flex;
  align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 18px -6px rgba(var(--accent-rgb), 0.6);
  transition: transform 0.5s var(--ease-spring);
}
.tilt-card:hover .icon-badge { transform: rotate(-8deg) scale(1.1); }
.icon-badge svg { transition: transform 0.5s var(--ease-spring); }
.tilt-card:hover .icon-badge svg { transform: scale(1.1); }

/* numbered "why" items */
.reason {
  position: relative; text-align: center; padding: 1.75rem 1rem;
  border-radius: 1rem; background: var(--card); border: 1px solid rgba(20,36,26,0.06);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.reason::before {
  content: ''; position: absolute; left: 0; top: 12%; bottom: 12%; width: 4px; border-radius: 4px;
  background: linear-gradient(var(--primary), var(--highlight)); transform: scaleY(0);
  transform-origin: top; transition: transform 0.5s var(--ease-out);
}
.reason:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(var(--primary-rgb),0.3); }
.reason:hover::before { transform: scaleY(1); }
.reason-num {
  font-size: 2.5rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* counter chips */
.stat-num { font-variant-numeric: tabular-nums; }

/* marquee */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: scrollX 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollX { to { transform: translateX(-50%); } }
.chip {
  white-space: nowrap; padding: 0.6rem 1.2rem; border-radius: 999px;
  background: var(--card); border: 1px solid rgba(var(--primary-rgb),0.25);
  color: var(--accent); font-weight: 600; box-shadow: var(--shadow-sm);
}

/* section heading underline grow */
.heading-underline { position: relative; display: inline-block; }
.heading-underline::after {
  content: ''; position: absolute; left: 50%; bottom: -10px; width: 0; height: 4px; border-radius: 4px;
  transform: translateX(-50%); background: linear-gradient(90deg, var(--primary), var(--highlight));
  transition: width 0.7s var(--ease-out);
}
.heading-underline.in::after { width: 64px; }

/* ============================================================
   THE CTA — centerpiece of the site
   ============================================================ */
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent) 42%, var(--primary));
  color: #fff; border-radius: 1.75rem;
  box-shadow: inset 0 0 130px rgba(0,0,0,0.28), var(--shadow-lg);
}
/* soft static halo */
.cta-panel::before {
  content: ''; position: absolute; z-index: 0; inset: 0;
  background: radial-gradient(60% 90% at 50% 0%, rgba(255, 196, 0, 0.18), transparent 65%);
}
/* drifting aurora blobs */
.cta-panel::after {
  content: ''; position: absolute; z-index: 0; inset: 0;
  background: radial-gradient(42% 52% at 24% 28%, rgba(255,196,0,0.4), transparent 60%),
              radial-gradient(46% 56% at 80% 78%, rgba(255,255,255,0.24), transparent 60%);
  animation: aurora 14s ease-in-out infinite alternate;
}
.cta-panel > * { position: relative; z-index: 2; }
@keyframes spin { to { transform: rotate(360deg); } }

/* floating energy sparks inside CTA */
.cta-spark {
  position: absolute; z-index: 1; bottom: -10%; border-radius: 50%;
  background: radial-gradient(circle, #fff, rgba(255,196,0,0.6) 50%, transparent 70%);
  opacity: 0; animation: rise var(--dur, 7s) ease-in infinite; animation-delay: var(--d, 0s);
}
@keyframes rise {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  15% { opacity: 0.9; }
  85% { opacity: 0.7; }
  100% { transform: translateY(-340px) scale(1.1); opacity: 0; }
}

/* eyebrow badge */
.cta-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  background: rgba(255,255,255,0.14); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3); letter-spacing: 0.02em;
}

/* shimmering gradient headline */
.shimmer {
  background: linear-gradient(100deg, #fff 30%, var(--highlight) 50%, #fff 70%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  color: transparent; animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: -200% center; } }

/* big glowing primary button */
.btn-glow {
  background: #fff; color: var(--accent-deep); font-weight: 700;
  box-shadow: 0 0 0 0 rgba(255,196,0,0.7), var(--shadow-md);
  animation: glowPulse 2.6s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,196,0,0.55), 0 18px 40px -12px rgba(0,0,0,0.45); }
  50% { box-shadow: 0 0 0 14px rgba(255,196,0,0), 0 22px 48px -12px rgba(0,0,0,0.5); }
}
.btn-glow:hover { color: var(--accent-deep); }

/* click ripple */
.ripple { position: absolute; border-radius: 50%; transform: scale(0); pointer-events: none;
  background: rgba(255,255,255,0.5); animation: rippleOut 0.6s ease-out forwards; }
@keyframes rippleOut { to { transform: scale(2.6); opacity: 0; } }

/* ============================================================
   CONNECT cards (Instagram / WhatsApp / Email) — about page
   ============================================================ */
.connect-card {
  position: relative; display: flex; align-items: center; gap: 1rem; overflow: hidden;
  padding: 1.25rem 1.4rem; border-radius: 1.25rem; color: #fff;
  box-shadow: var(--shadow-md); text-decoration: none;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease;
  will-change: transform;
}
.connect-card::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: transform 0.8s ease;
}
.connect-card:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-lg); }
.connect-card:hover::after { transform: translateX(120%); }
.connect-card:hover .connect-go { transform: translateX(6px); }
.connect-ig { background: linear-gradient(135deg, #833ab4, #fd1d1d 55%, #fcb045); }
.connect-wa { background: linear-gradient(135deg, #128c7e, #25d366); }
.connect-mail { background: linear-gradient(135deg, var(--accent), var(--primary)); }
.connect-icon {
  width: 3rem; height: 3rem; flex-shrink: 0; border-radius: 0.9rem; display: flex;
  align-items: center; justify-content: center; background: rgba(255,255,255,0.2);
  transition: transform 0.5s var(--ease-spring);
}
.connect-card:hover .connect-icon { transform: rotate(-8deg) scale(1.08); }
.connect-go { margin-left: auto; font-size: 1.4rem; transition: transform 0.35s var(--ease-out); }
.connect-label { font-size: 0.8rem; opacity: 0.9; }
.connect-value { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }

/* ============================================================
   Floating action button (all pages)
   ============================================================ */
.fab {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.3rem; border-radius: 999px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 14px 30px -8px rgba(var(--accent-rgb), 0.7);
  text-decoration: none; opacity: 0; transform: translateY(28px) scale(0.85);
  pointer-events: none; transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-spring);
}
.fab.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab::before {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.6); animation: glowPulse 2.4s ease-in-out infinite;
}
@media (max-width: 480px) { .fab span.fab-text { display: none; } .fab { padding: 0.9rem; } }

/* contact rows */
.contact-row { transition: background 0.3s, transform 0.3s; border-radius: 0.75rem; }
.contact-row:hover { background: rgba(var(--primary-rgb), 0.08); transform: translateX(6px); }

/* footer link hover */
.foot-link { position: relative; transition: color 0.3s, padding-left 0.3s; }
.foot-link:hover { color: #fff; padding-left: 6px; }

/* mobile menu animation */
#mobile-menu { transition: max-height 0.45s var(--ease-out), opacity 0.35s ease; max-height: 0; opacity: 0; overflow: hidden; }
#mobile-menu.open { max-height: 380px; opacity: 1; }
/* 44px minimum touch target without shifting layout */
#mobile-menu-button { padding: 8px; margin: -8px; }
#mobile-menu-button .menu-icon { transition: transform 0.35s var(--ease-spring); }
#mobile-menu-button[aria-expanded="true"] .menu-icon { transform: rotate(90deg); }
.menu-icon path { transition: d 0.3s ease; }

/* page load fade */
.page-fade { animation: pageIn 0.6s ease both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* badge pulse for partner tag */
.pulse-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--highlight);
  box-shadow: 0 0 0 0 rgba(255,196,0,0.7); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,196,0,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255,196,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,196,0,0); }
}

/* ============================================================
   Accessibility — visible keyboard focus
   ============================================================ */
:focus-visible { outline: 3px solid var(--highlight); outline-offset: 2px; border-radius: 6px; }
a:focus-visible, button:focus-visible, .btn:focus-visible, .connect-card:focus-visible, .fab:focus-visible {
  outline: 3px solid var(--highlight); outline-offset: 3px;
}

/* ============================================================
   Navbar CTA — the high-intent action
   ============================================================ */
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff; box-shadow: 0 6px 16px -4px rgba(var(--accent-rgb), 0.5);
}
.nav-cta:hover { color: #fff; }

/* ============================================================
   Testimonials (social proof)
   ============================================================ */
.quote-card { position: relative; background: var(--card); border: 1px solid rgba(20,36,26,0.07);
  border-radius: 1.25rem; padding: 1.75rem; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s; }
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote-mark { font-family: Georgia, serif; font-size: 3.5rem; line-height: 0.6; color: var(--primary);
  opacity: 0.25; }
.stars { color: var(--highlight); letter-spacing: 2px; }
.avatar { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent)); }

/* map embed */
.map-frame { border: 0; width: 100%; height: 100%; min-height: 220px; border-radius: 1rem;
  filter: saturate(1.05); }

/* partner badge */
.partner-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem;
  border-radius: 999px; font-size: 0.8rem; font-weight: 700; background: rgba(var(--primary-rgb),0.12);
  color: var(--accent-deep); border: 1px solid rgba(var(--primary-rgb),0.3); }

/* ============================================================
   HOMEPAGE PILLARS & SECTION BANDS
   ============================================================ */
.pillar { text-decoration: none; color: inherit; }
.pillar-link {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--accent); transition: color 0.3s;
}
.pillar:hover .pillar-link { color: var(--primary); }
.section-tint { background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.07), rgba(var(--primary-rgb), 0.02)); }
.product-grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); max-width: 64rem; margin: 0 auto; }

/* ============================================================
   PRODUCT SHOWCASE — real catalogue items with studio photos
   ============================================================ */
.product-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.product-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid rgba(20, 36, 26, 0.07);
  border-radius: 1.25rem; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.product-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.4);
}
.product-media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; background: #fff; display: flex; align-items: center;
  justify-content: center; padding: 1.4rem; border-bottom: 1px solid rgba(20, 36, 26, 0.06);
}
/* light sweep across the photo on hover */
.product-media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  transform: translateX(-130%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transition: transform 0.9s ease;
}
.product-card:hover .product-media::after { transform: translateX(130%) skewX(-18deg); }
.product-media img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  transition: transform 0.6s var(--ease-out);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-body { padding: 1.15rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.product-tag {
  align-self: flex-start; font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
  background: rgba(var(--primary-rgb), 0.12); border: 1px solid rgba(var(--primary-rgb), 0.25);
  padding: 0.22rem 0.65rem; border-radius: 999px;
}
.product-name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.product-desc { font-size: 0.9rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .product-media { padding: 0.9rem; }
  .product-body { padding: 0.85rem 0.95rem 1.05rem; }
  .product-name { font-size: 0.98rem; }
  .product-desc { font-size: 0.82rem; }
}

/* ============================================================
   PRODUCT: interactive card, badges, spec trigger
   ============================================================ */
.product-card.is-interactive { cursor: pointer; }
.product-card.is-interactive:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; }
/* a card that is itself a link */
a.product-card { text-decoration: none; color: inherit; }
a.product-card:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; }

/* "New" / highlight ribbon on a card */
.product-badge {
  position: absolute; top: 0.85rem; left: 0.85rem; z-index: 3;
  font-family: var(--font-display); font-size: 0.66rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  padding: 0.3rem 0.7rem; border-radius: 999px;
  box-shadow: 0 6px 14px -4px rgba(var(--accent-rgb), 0.65);
}

/* button that opens the spec sheet */
.spec-btn {
  margin-top: 0.85rem; align-self: flex-start; display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.86rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border: 0; border-radius: 0.7rem; padding: 0.6rem 1.05rem; cursor: pointer;
  box-shadow: 0 8px 18px -8px rgba(var(--accent-rgb), 0.75);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, filter 0.3s;
}
.spec-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); filter: brightness(1.06); }
.spec-btn svg { transition: transform 0.35s var(--ease-out); }
.spec-btn:hover svg { transform: translateX(3px); }

/* full-width feature card on narrow screens */
@media (max-width: 640px) { .product-card--wide { grid-column: 1 / -1; } }

/* portrait product shots (tall fixtures) need a taller frame than the 4:3 default */
.product-media--tall { aspect-ratio: 3 / 4; background: linear-gradient(180deg, #fbfdfa, #eef5ea); }
.product-media--tall img { max-height: 100%; }

/* ---- Flagship feature block: portrait photo beside the details ---- */
.product-feature {
  display: grid; gap: 1.6rem; align-items: center; grid-template-columns: 1fr;
  background: var(--card); border: 1px solid rgba(20, 36, 26, 0.07);
  border-radius: 1.5rem; box-shadow: var(--shadow-sm); padding: 1.4rem; cursor: pointer;
  color: inherit; text-decoration: none;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s;
}
.product-feature:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-lg);
  border-color: rgba(var(--primary-rgb), 0.4);
}
.product-feature:focus-visible { outline: 3px solid var(--highlight); outline-offset: 3px; }
@media (min-width: 768px) {
  .product-feature { grid-template-columns: 0.8fr 1.2fr; gap: 2.4rem; padding: 2rem; }
}
.product-feature__media {
  position: relative; overflow: hidden; border-radius: 1.1rem; padding: 1.2rem;
  background: linear-gradient(180deg, #fbfdfa, #edf4e9);
  display: flex; align-items: center; justify-content: center;
}
.product-feature__media img {
  max-width: 100%; max-height: 400px; width: auto; height: auto; object-fit: contain;
  transition: transform 0.6s var(--ease-out);
}
.product-feature:hover .product-feature__media img { transform: scale(1.045); }
@media (max-width: 767px) { .product-feature__media img { max-height: 300px; } }

/* ---- Standalone product page (QR landing target) ---- */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem;
  font-size: 0.85rem; color: var(--muted); margin-bottom: 1.1rem;
}
.breadcrumb a { color: var(--accent); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--muted); font-weight: 500; }

.spec-panel {
  background: var(--card); border: 1px solid rgba(20, 36, 26, 0.07);
  border-radius: 1.5rem; box-shadow: var(--shadow-sm); padding: 1.5rem;
}
@media (min-width: 768px) { .spec-panel { padding: 2rem; } }

/* one-tap jump to the spec table (QR scanners come here to read specs) */
.jump-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  color: var(--accent); border-bottom: 2px solid rgba(var(--primary-rgb), 0.45);
  padding-bottom: 2px; transition: color 0.3s, border-color 0.3s, gap 0.3s;
}
.jump-link:hover { color: var(--accent-deep); border-color: var(--highlight); gap: 0.6rem; }

/* scan-confirmation strip: reassures the visitor the QR matched this unit */
.scan-note {
  display: flex; align-items: flex-start; gap: 0.65rem; padding: 0.85rem 1.1rem;
  border-radius: 0.9rem; background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid rgba(var(--primary-rgb), 0.25); color: var(--accent-deep);
  font-size: 0.9rem; margin-bottom: 1.5rem;
}

/* quick-scan spec chips */
.spec-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.9rem 0 0.2rem; }
.spec-chip {
  font-family: var(--font-display); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--accent); background: rgba(var(--primary-rgb), 0.11);
  border: 1px solid rgba(var(--primary-rgb), 0.28); padding: 0.3rem 0.7rem; border-radius: 999px;
}

/* photo panel inside the spec sheet */
.spec-figure {
  border-radius: 1rem; overflow: hidden; background: linear-gradient(180deg, #fbfdfa, #eef5ea);
  border: 1px solid rgba(20, 36, 26, 0.08); padding: 1rem; margin-bottom: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.spec-figure img { max-width: 100%; max-height: 340px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 719px) { .spec-figure img { max-height: 260px; } }

/* ============================================================
   SPEC MODAL — technical specifications sheet
   ============================================================ */
.spec-modal {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  padding: 1rem; opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.spec-modal.open { opacity: 1; pointer-events: auto; }
.spec-backdrop {
  position: absolute; inset: 0; background: rgba(10, 20, 13, 0.68);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.spec-dialog {
  position: relative; z-index: 1; width: min(920px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--card); border-radius: 1.5rem; box-shadow: var(--shadow-lg);
  transform: translateY(28px) scale(0.96); transition: transform 0.45s var(--ease-spring);
  -webkit-overflow-scrolling: touch;
}
.spec-modal.open .spec-dialog { transform: none; }

.spec-head {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem 1.6rem; border-bottom: 1px solid rgba(20, 36, 26, 0.1);
  background: linear-gradient(135deg, var(--accent-deep), var(--accent) 55%, var(--primary));
  color: #fff; border-radius: 1.5rem 1.5rem 0 0;
}
.spec-head h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; line-height: 1.25; }
.spec-model {
  display: inline-block; margin-top: 0.35rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.2rem 0.6rem; border-radius: 999px;
}
.spec-close {
  margin-left: auto; flex-shrink: 0; width: 2.4rem; height: 2.4rem; border: 0; cursor: pointer;
  border-radius: 50%; background: rgba(255, 255, 255, 0.18); color: #fff; font-size: 1.35rem;
  line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, transform 0.3s;
}
.spec-close:hover { background: rgba(255, 255, 255, 0.32); transform: rotate(90deg); }
.spec-body { padding: 1.5rem 1.6rem 1.8rem; }
.spec-section-title {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: var(--accent);
  margin: 0 0 0.75rem; display: flex; align-items: center; gap: 0.5rem;
}
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table th, .spec-table td {
  text-align: left; padding: 0.62rem 0.85rem; vertical-align: top;
  border-bottom: 1px solid rgba(20, 36, 26, 0.08);
}
.spec-table th { width: 42%; color: var(--muted); font-weight: 600; }
.spec-table td { color: var(--ink); font-weight: 600; }
.spec-table tr:nth-child(odd) { background: rgba(var(--primary-rgb), 0.045); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

.spec-features { list-style: none; display: grid; gap: 0.6rem; margin-top: 0.25rem; }
.spec-features li { display: flex; gap: 0.6rem; font-size: 0.92rem; color: var(--ink); line-height: 1.5; }
.spec-features li::before {
  content: '✓'; flex-shrink: 0; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.15); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 800;
}
.spec-cta {
  margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(20, 36, 26, 0.1);
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
}
@media (min-width: 720px) { .spec-grid-2 { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.8rem; align-items: start; } }
@media (max-width: 719px) { .spec-features { margin-top: 1.4rem; } }
@media (max-width: 520px) {
  .spec-dialog { max-height: 92vh; border-radius: 1.1rem; }
  .spec-head { padding: 1.1rem 1.1rem; border-radius: 1.1rem 1.1rem 0 0; }
  .spec-head h3 { font-size: 1.12rem; }
  .spec-body { padding: 1.15rem 1.1rem 1.5rem; }
  .spec-table { font-size: 0.84rem; }
  .spec-table th, .spec-table td { padding: 0.5rem 0.5rem; }
  .spec-table th { width: 46%; }
}
body.modal-open { overflow: hidden; }

/* ============================================================
   HERO secondary button — "Browse Products"
   ============================================================ */
.btn-hero-outline {
  color: #fff; font-weight: 700;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.6);
}
.btn-hero-outline:hover {
  color: #fff; background: rgba(255, 255, 255, 0.22);
  border-color: var(--highlight);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.65), 0 0 0 4px rgba(255, 196, 0, 0.16);
}
.hero-inline-link {
  color: var(--highlight); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid rgba(255, 196, 0, 0.5); transition: border-color 0.3s, color 0.3s;
}
.hero-inline-link:hover { color: #fff; border-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .spec-dialog, .spec-modal, .spec-close, .spec-btn { transition: none !important; }
  .spec-modal.open .spec-dialog { transform: none; }
}

/* ============================================================
   PROCESS STEPS — end-to-end solar journey (from brochure)
   ============================================================ */
.step-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
  counter-reset: step;
}
@media (min-width: 640px)  { .step-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .step-grid { grid-template-columns: repeat(6, 1fr); } }
.step {
  position: relative; text-align: center; padding: 1.6rem 1rem 1.4rem;
  background: var(--card); border: 1px solid rgba(20, 36, 26, 0.07);
  border-radius: 1.1rem; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(var(--primary-rgb), 0.35); }
.step-num {
  counter-increment: step; display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; margin-bottom: 0.8rem; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 8px 18px -6px rgba(var(--accent-rgb), 0.6);
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step-num { transition: transform 0.5s var(--ease-spring), box-shadow 0.4s ease; }
.step:hover .step-num { transform: scale(1.14) rotate(-8deg); box-shadow: 0 12px 24px -6px rgba(var(--accent-rgb), 0.7); }
.step-title { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.step-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin-top: 0.3rem; }

/* ============================================================
   TIMELINE — company journey (from brochure)
   ============================================================ */
.timeline { position: relative; max-width: 40rem; margin: 0 auto; padding-left: 2rem; }
.timeline::before {
  content: ''; position: absolute; left: 0.5rem; top: 0.4rem; bottom: 0.4rem; width: 3px;
  border-radius: 3px; background: linear-gradient(var(--primary), var(--highlight));
  transform: scaleY(0); transform-origin: top;
  transition: transform 1.6s var(--ease-out) 0.15s;
}
.timeline.in::before { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) { .timeline::before { transform: none !important; } }
.timeline-item { position: relative; padding: 0 0 1.6rem 1rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -1.98rem; top: 0.38rem; width: 1rem; height: 1rem;
  border-radius: 50%; background: var(--card); border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.18);
}
.timeline-year {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--accent); letter-spacing: 0.04em;
}
.timeline-text { font-size: 1.05rem; font-weight: 600; color: var(--ink); }

/* ============================================================
   CLICK FIX — decorative overlays must never eat pointer events
   ============================================================ */
.btn::before, .connect-card::after, .tilt-card::after,
.cta-panel::before, .cta-panel::after, .cta-spark,
.fab::before, .hero-aurora, .hero-grid, .sun, .sun-rays, .orb,
.scroll-progress, .cursor-glow, .ripple { pointer-events: none; }
/* keep the actual content/links above decorative layers */
.connect-card > *, .btn > *, .fab > * { position: relative; z-index: 2; }

/* ============================================================
   RESPONSIVE / FLUID — works from 320px to ultrawide
   ============================================================ */
img, svg, video { max-width: 100%; height: auto; }

/* fluid headings replace fixed Tailwind sizes for smooth scaling */
.hero h1 { font-size: clamp(2.1rem, 6.4vw, 4.5rem); line-height: 1.08; }
.cta-panel h2 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1; }

/* tablet and below */
@media (max-width: 1024px) {
  .cursor-glow { display: none; }            /* no hover pointer → skip glow */
}

/* small tablets / large phones */
@media (max-width: 768px) {
  .sun { width: 200px; height: 200px; top: -50px; right: -34px; }
  .cta-panel { padding: 2.75rem 1.5rem; }
  /* battery savers: park the always-running background effects on mobile GPUs */
  .hero-aurora { animation: none; filter: blur(14px); }
  .hero-grid { animation: none; }
  .sun-rays { animation-duration: 120s; }
  .cta-panel::before { animation-duration: 28s; }
  .orb { filter: none; }
}

/* phones */
@media (max-width: 640px) {
  .sun { width: 150px; height: 150px; top: -36px; right: -28px; }
  .tilt-card { transform: none !important; }  /* disable 3-D tilt on touch */
  .connect-card { padding: 1rem 1.1rem; gap: 0.85rem; }
  .connect-icon { width: 2.6rem; height: 2.6rem; }
  .connect-value { font-size: 0.98rem; }
  .reason-num { font-size: 2.1rem; }
  .icon-badge { width: 2.9rem; height: 2.9rem; }
}

/* very small phones */
@media (max-width: 380px) {
  .connect-value { font-size: 0.9rem; }
  .connect-label { font-size: 0.74rem; }
  .cta-panel { padding: 2.25rem 1.1rem; }
}

/* taller touch targets for accessibility on touch devices */
@media (hover: none) {
  .nav-link, .foot-link, .contact-row, .connect-card, .btn { -webkit-tap-highlight-color: transparent; }
}
