:root {
  /* Dark theme (default) */
  --bg-primary: #12161A;
  --bg-panel-company: radial-gradient(circle at 50% 50%, rgba(16, 177, 110, 0.08), transparent 30%), #12161A;
  --bg-panel-features: radial-gradient(circle at 50% 10%, rgba(16, 177, 110, 0.05), transparent 25%), #12161A;
  --bg-panel-statement: #12161A;
  --bg-panel-statement-alt: radial-gradient(circle at 50% 55%, rgba(16, 177, 110, 0.09), transparent 30%), #12161A;
  --bg-panel-hero: radial-gradient(circle at 50% 42%, rgba(16, 177, 110, 0.11), transparent 28%), radial-gradient(circle at 50% 50%, #181E24 0%, #12161A 68%);
  --bg-panel-location: radial-gradient(circle at 45% 50%, rgba(16, 177, 110, 0.13), transparent 32%), linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  --bg-panel-product: radial-gradient(circle at 75% 50%, rgba(16, 177, 110, 0.1), transparent 32%), #12161A;
  --bg-panel-next-aha: radial-gradient(circle at 50% 60%, rgba(16, 177, 110, 0.14), transparent 32%), #12161A;
  --bg-panel-testimonials: radial-gradient(circle at 50% 50%, rgba(16, 177, 110, 0.07), transparent 35%), #12161A;
  --bg-panel-contact: linear-gradient(180deg, #12161A, #0E1114);
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-topbar: rgba(18, 22, 26, 0.4);
  --bg-topbar-scrolled: rgba(18, 22, 26, 0.85);
  --bg-mobile-menu: rgba(18, 22, 26, 0.95);
  
  --text-primary: #FFFFFF;
  --text-muted: #D9D9D9;
  --line: rgba(255, 255, 255, 0.095);
  
  --black: #12161A;
  --green: #10B16E;
  --white: #FFFFFF;
  --muted: #D9D9D9;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-logo: "Michroma", var(--font-body);
  --scroll-y: 0;
}

.light-theme {
  --bg-primary: #F6F9F7;
  --bg-panel-company: radial-gradient(circle at 50% 50%, rgba(16, 177, 110, 0.05), transparent 40%), #F6F9F7;
  --bg-panel-features: radial-gradient(circle at 50% 10%, rgba(16, 177, 110, 0.03), transparent 35%), #EFF3F0;
  --bg-panel-statement: #F6F9F7;
  --bg-panel-statement-alt: radial-gradient(circle at 50% 55%, rgba(16, 177, 110, 0.06), transparent 35%), #F6F9F7;
  --bg-panel-hero: radial-gradient(circle at 50% 42%, rgba(16, 177, 110, 0.08), transparent 32%), radial-gradient(circle at 50% 50%, #E6EFEA 0%, #F6F9F7 68%);
  --bg-panel-location: radial-gradient(circle at 45% 50%, rgba(16, 177, 110, 0.08), transparent 38%), linear-gradient(145deg, rgba(11, 16, 22, 0.015), rgba(11, 16, 22, 0.005));
  --bg-panel-product: radial-gradient(circle at 75% 50%, rgba(16, 177, 110, 0.06), transparent 38%), #F6F9F7;
  --bg-panel-next-aha: radial-gradient(circle at 50% 60%, rgba(16, 177, 110, 0.08), transparent 38%), #F6F9F7;
  --bg-panel-testimonials: radial-gradient(circle at 50% 50%, rgba(16, 177, 110, 0.05), transparent 40%), #F6F9F7;
  --bg-panel-contact: linear-gradient(180deg, #F6F9F7, #E6EFEA);
  --bg-card: rgba(16, 177, 110, 0.03);
  --bg-topbar: rgba(246, 249, 247, 0.4);
  --bg-topbar-scrolled: rgba(246, 249, 247, 0.85);
  --bg-mobile-menu: rgba(246, 249, 247, 0.96);
  
  --text-primary: #12161A;
  --text-muted: #4F565E;
  --line: rgba(18, 22, 26, 0.065);
  --white: #12161A;
}

body.theme-transitioning,
body.theme-transitioning *,
body.theme-transitioning *::before,
body.theme-transitioning *::after {
  transition: background 0.8s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), color 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

*{box-sizing:border-box;margin:0;padding:0}
html.lenis,html.lenis body{height:auto}
.lenis-smooth{scroll-behavior:auto!important}
.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis-stopped{overflow:hidden}
.lenis-scrolling iframe{pointer-events:none}
body{background:var(--bg-primary);color:var(--text-primary);font-family:var(--font-body);-webkit-font-smoothing:antialiased;overflow-x:hidden;cursor:crosshair;touch-action:manipulation}
a, button, [role="button"], label, .theme-toggle, .mobile-product-link, .submit-btn, .journey-btn, .map-art circle, .audience-card, .benefit-card { cursor: pointer; }
input[type="text"], input[type="email"], input[type="tel"], textarea { cursor: text; }
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.18);border:2.5px solid transparent;background-clip:padding-box;border-radius:99px;transition:background .3s}
::-webkit-scrollbar-thumb:hover{background:var(--green)}
html{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,0.18) transparent}

/* Light theme scrollbar overrides */
html:has(body.light-theme)::-webkit-scrollbar-thumb,
html:has(body.light-theme) ::-webkit-scrollbar-thumb,
body.light-theme::-webkit-scrollbar-thumb,
.light-theme ::-webkit-scrollbar-thumb {
  background: rgba(18,22,26,0.18);
}
html:has(body.light-theme)::-webkit-scrollbar-thumb:hover,
html:has(body.light-theme) ::-webkit-scrollbar-thumb:hover,
body.light-theme::-webkit-scrollbar-thumb:hover,
.light-theme ::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}
html:has(body.light-theme) {
  scrollbar-color: rgba(18,22,26,0.18) transparent;
}
/* Accessibility - keyboard focus styles */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.grain{position:fixed;inset:0;pointer-events:none;z-index:100;opacity:.045;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E")}
.topbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - clamp(30px, 6vw, 120px));
  max-width: 1200px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 4vw, 48px);
  background: var(--bg-topbar);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 var(--line);
  transition: 
    top 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  
}
.topbar.is-scrolled {
  top: 12px;
  padding: 12px clamp(20px, 4vw, 40px);
  background: var(--bg-topbar-scrolled);
  border-color: rgba(16, 177, 110, 0.28);
  box-shadow: 0 10px 30px rgba(11, 16, 22, 0.6), 0 0 20px rgba(16, 177, 110, 0.06);
}
.topbar-clip-container {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform-origin: left;
  transform: scaleX(0);
  box-shadow: 0 0 10px var(--green);
  z-index: 10;
  
}
.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:var(--text-primary);transition:transform 0.4s cubic-bezier(0.16,1,0.3,1),opacity 0.4s cubic-bezier(0.16,1,0.3,1)}.brand:hover{transform:scale(1.02)}.brand:hover .brand-mark-svg{transform:rotateY(180deg);filter:drop-shadow(0 0 10px rgba(16,177,110,0.6));color:#12cc7f}.brand-word,footer span:first-child{font-family:var(--font-logo);letter-spacing:.22em;font-size:13px}
.brand-mark-svg,.wolf-svg{display:block;color:var(--green);transition:transform 0.6s cubic-bezier(0.16,1,0.3,1),filter 0.6s cubic-bezier(0.16,1,0.3,1),color 0.6s;}.brand-mark-svg{width:27px;height:25px;filter:drop-shadow(0 0 5px rgba(16,177,110,0.38))}.wolf-svg{width:clamp(120px, 16vw, 180px);height:auto;filter:drop-shadow(0 0 32px rgba(16,177,110,0.55))}
.desktop-nav{display:flex;gap:30px}.desktop-nav a{color:var(--text-muted);text-decoration:none;font-size:13px;letter-spacing:.04em;text-transform:uppercase;transition:color 0.3s cubic-bezier(0.16,1,0.3,1),transform 0.3s cubic-bezier(0.16,1,0.3,1);display:inline-block}.desktop-nav a:hover{color:var(--green);transform:translateY(-1px);text-shadow:0 0 8px rgba(16,177,110,0.4)}
.panel{min-height:100vh;padding:120px clamp(22px,6vw,96px);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden;border-bottom:1px solid var(--line)}
.hero{background:var(--bg-panel-hero);perspective:1000px}.hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:60px 60px;background-position:center;mask-image:radial-gradient(circle at 50% 42%,black 30%,transparent 70%);-webkit-mask-image:radial-gradient(circle at 50% 42%,black 30%,transparent 70%);z-index:0;pointer-events:none;transform:translateY(calc(var(--scroll-y,0)*0.18px));}.hero-inner{text-align:center;position:relative;z-index:2}.logo-xl{display:flex;flex-direction:column;align-items:center;gap:32px;transition:transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;}
h1{font-family:var(--font-logo);font-weight:400;font-size:clamp(3.1rem,8vw,6.8rem);letter-spacing:.26em;margin-right:-.26em}.hero-tag{margin-top:32px;font-size:clamp(1.4rem,3vw,2.2rem);color:var(--green);font-weight:700;letter-spacing:.12em;text-transform:uppercase;transition:transform 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s,opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s,letter-spacing 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;}

.kicker{color:var(--green);text-transform:uppercase;letter-spacing:.22em;font-size:.78rem;font-weight:800;margin-bottom:28px}
h2{font-size:clamp(2.6rem,7vw,7.8rem);line-height:1.02;letter-spacing:-.075em;font-weight:800;text-align:center}h2 span,.do span{color:var(--green)}
.statement{background:var(--bg-panel-statement)}.statement.alt{background:var(--bg-panel-statement-alt)}
.narrow{max-width:760px;margin:42px auto 0;text-align:center;color:var(--text-muted);font-size:clamp(1.05rem,1.8vw,1.35rem);line-height:1.75}
.aha-do{background:var(--bg-panel-company);text-align:center}.aha-stack{display:flex;flex-direction:column;align-items:center;font-weight:900;font-size:clamp(5rem,12vw,13rem);line-height:.92;letter-spacing:-.07em}.aha-stack > div,.aha-stack i{transition:transform 0.4s cubic-bezier(0.16,1,0.3,1);display:block}.aha-stack > div:last-child span{display:inline-block;transition:transform 0.4s cubic-bezier(0.16,1,0.3,1);}.aha-stack i{width:48px;height:48px;border-right:8px solid var(--green);border-bottom:8px solid var(--green);transform:rotate(45deg);margin:34px 0 44px}.aha-do p{color:var(--text-muted);margin-top:40px;font-size:clamp(1.05rem,2vw,1.45rem);letter-spacing:.08em}
.intro{background:var(--bg-panel-company)}
#intro {
  padding-top: 170px;
}
@media (max-width: 620px) {
  #intro {
    padding-top: 130px;
  }
}
.sentra-word{font-family:var(--font-logo);font-weight:400;letter-spacing:.24em;margin-right:-.24em;font-size:clamp(3rem,9vw,8rem)}.everything{background:var(--bg-panel-features)}
.everything-image-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 12px;
  box-shadow: 0 40px 100px rgba(18, 22, 26, 0.5);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  
}
.everything-image-container:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 50px 120px rgba(18, 22, 26, 0.65);
}
.everything-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}
.sentra-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.sentra-by {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sentra-divider {
  width: 32px;
  height: 1px;
  background: var(--line);
  flex-shrink: 0;
}
.sentra-product-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(16, 177, 110, 0.35);
  border-radius: 999px;
  padding: 4px 12px;
  background: rgba(16, 177, 110, 0.07);
}
.sentra-tagline {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-primary);
  margin-top: 24px;
  letter-spacing: .01em;
  line-height: 1.6;
  text-align: center;
}
.sentra-tagline strong {
  color: var(--green);
  font-weight: 700;
}
.sentra-desc {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin-top: 20px;
  max-width: 680px;
  line-height: 1.8;
  text-align: center;
}
.location{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:center}.location h2,.location p,.product h2,.product p{text-align:left}.location-copy p:last-child{max-width:620px;color:var(--text-muted);font-size:1.2rem;line-height:1.75;margin-top:26px}
.map-art{width:100%;height:min(560px,60vh);border:1px solid var(--line);border-radius:36px;background:var(--bg-panel-location);box-shadow:0 40px 120px rgba(18,22,26,.6);overflow:hidden;transition:transform 0.4s cubic-bezier(0.16,1,0.3,1);position:relative}.map-art svg{width:100%;height:100%}.map-art path{fill:none;stroke:rgba(16, 177, 110,.72);stroke-width:3;stroke-dasharray:900;stroke-dashoffset:900;animation:draw 4s ease forwards infinite alternate}.map-art circle{fill:var(--green);filter:drop-shadow(0 0 8px var(--green));transition:r 0.35s cubic-bezier(0.16,1,0.3,1),fill 0.35s,filter 0.35s;cursor:pointer}.map-art circle:hover{r:12;fill:#12cc7f;filter:drop-shadow(0 0 15px #12cc7f)}@keyframes draw{to{stroke-dashoffset:0}}
.pulse-node {
  fill: var(--green);
  opacity: 0;
  pointer-events: none;
  animation: pulse-radius 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  transform-origin: center;
}
@keyframes pulse-radius {
  0% {
    r: 6;
    opacity: 0.8;
  }
  100% {
    r: 28;
    opacity: 0;
  }
}
.map-tooltip{position:absolute;display:none;opacity:0;pointer-events:none;z-index:100;background:var(--bg-primary);border:1px solid var(--line);border-radius:12px;padding:10px 14px;box-shadow:0 10px 30px rgba(0,0,0,.3);font-family:var(--font-body);max-width:240px;transition:opacity .2s ease,transform .2s ease;transform:translate(-50%,-100%) translateY(-12px);backdrop-filter:blur(8px)}.map-tooltip strong{display:block;color:var(--green);font-size:.85rem;text-transform:uppercase;letter-spacing:.05em;margin-bottom:2px}.map-tooltip span{display:block;color:var(--text-muted);font-size:.8rem;line-height:1.3}
.product{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:center;background:var(--bg-panel-product)}.product-copy{justify-self:start}

/* Device Showcase */
.device-showcase {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.device-img {
  position: absolute;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  
  max-height: 100%;
}
.device-laptop {
  width: 85%;
  z-index: 1;
  transform: translateZ(0);
  filter: drop-shadow(0 20px 40px rgba(18, 22, 26, 0.45));
}
.device-tablet {
  width: 44%;
  left: -2%;
  bottom: -4%;
  z-index: 2;
  transform: translateZ(20px) rotate(-1.5deg);
  filter: drop-shadow(0 15px 30px rgba(18, 22, 26, 0.45));
}
.device-phone {
  width: 20%;
  right: 2%;
  bottom: -8%;
  z-index: 3;
  transform: translateZ(40px) rotate(1.5deg);
  filter: drop-shadow(0 15px 30px rgba(18, 22, 26, 0.5));
}
.device-showcase:hover .device-laptop {
  transform: translateZ(10px) scale(1.01);
  filter: drop-shadow(0 25px 50px rgba(18, 22, 26, 0.5));
}
.device-showcase:hover .device-tablet {
  transform: translate3d(-15px, -10px, 40px) rotate(-3deg);
  filter: drop-shadow(0 20px 40px rgba(18, 22, 26, 0.5));
}
.device-showcase:hover .device-phone {
  transform: translate3d(15px, -15px, 70px) rotate(3deg);
  filter: drop-shadow(0 20px 40px rgba(18, 22, 26, 0.55));
}
.next-aha{background:var(--bg-panel-next-aha)}.future{width:min(980px,100%);display:grid;grid-template-columns:1fr 1fr;gap:18px}.future div{border:1px solid var(--line);border-radius:28px;padding:42px;background:var(--bg-card)}.future small{display:block;color:var(--green);text-transform:uppercase;letter-spacing:.18em;font-weight:800;margin-bottom:18px}.future strong{display:block;font-size:clamp(2.2rem,4vw,3.6rem);letter-spacing:-.06em}

/* Future bullet points styling */
.future-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}
.future-list li {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 12px;
}
.future-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--green);
  box-shadow: 0 0 8px var(--green);
  flex-shrink: 0;
}

/* Lifecycle Marquee Track */
.lifecycle-track {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  max-width: 760px;
  margin: 40px auto 0;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.lifecycle-track-inner {
  display: inline-flex;
  gap: 32px;
  align-items: center;
  animation: marquee 20s linear infinite;
}
.lifecycle-track span {
  font-family: var(--font-logo);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
  font-weight: 600;
}
.lifecycle-track i {
  color: var(--green);
  font-style: normal;
  font-weight: 900;
  font-size: 1.1rem;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.closing{background:var(--bg-primary)}.closing h2{font-size:clamp(3rem,8vw,9rem);line-height:1.05;margin:12px 0 0}.closing i{width:110px;height:5px;background:var(--green);border-radius:999px;margin:48px 0}.closing p{margin-top:64px;text-align:center;font-family:var(--font-logo);letter-spacing:.25em}.closing small{display:block;margin-top:14px;font-family:var(--font-body);letter-spacing:.22em;text-transform:uppercase;color:var(--text-muted)}
.closing-tagline{font-size:clamp(1.8rem,5vw,4.2rem);text-transform:uppercase;letter-spacing:.15em;font-weight:300;color:var(--text-muted);margin:0}
.contact{padding:120px clamp(22px,6vw,96px);text-align:center;background:var(--bg-panel-contact)}.contact h2{max-width:1000px;margin:0 auto;font-size:clamp(2.1rem,5vw,5.8rem)}.contact a{display:inline-flex;margin-top:42px;min-height:56px;padding:0 30px;border-radius:999px;align-items:center;justify-content:center;text-decoration:none;color:#12161A;background:var(--green);font-weight:800;box-shadow:0 0 50px rgba(16, 177, 110,.22);transition:transform 0.4s cubic-bezier(0.16,1,0.3,1),box-shadow 0.4s cubic-bezier(0.16,1,0.3,1),background-color 0.4s cubic-bezier(0.16,1,0.3,1);}.contact a:hover{transform:translateY(-4px) scale(1.03);box-shadow:0 0 60px rgba(16, 177, 110, 0.45),0 0 20px rgba(16, 177, 110, 0.25);background-color:#12cc7f}.contact a:active{transform:translateY(-1px) scale(0.98)}
.reveal{opacity:0;transform:translateY(40px) scale(0.96) rotateX(10deg);transform-origin:bottom center;perspective:1000px;transition:opacity 1.4s cubic-bezier(.16,1,.3,1),transform 1.4s cubic-bezier(.16,1,.3,1);}.reveal.in-view{opacity:1;transform:translateY(0) scale(1) rotateX(0deg)}.delay-1{transition-delay:.16s}.delay-2{transition-delay:.32s}.delay-3{transition-delay:.52s}
.journey-btn {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  background: var(--bg-topbar-scrolled);
  border: 1px solid rgba(16, 177, 110, 0.5);
  color: var(--text-primary);
  padding: 14px 28px 14px 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 1px rgba(16, 177, 110, 0.12),
    0 8px 32px rgba(18, 22, 26, 0.5),
    0 0 20px rgba(16, 177, 110, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition:
    background-color .4s cubic-bezier(0.16,1,0.3,1),
    border-color .4s cubic-bezier(0.16,1,0.3,1),
    box-shadow .4s cubic-bezier(0.16,1,0.3,1),
    transform .4s cubic-bezier(0.16,1,0.3,1),
    padding .5s cubic-bezier(0.16,1,0.3,1),
    opacity 1.2s cubic-bezier(0.16,1,0.3,1) 0.6s;
  
  animation: journey-pulse 2.5s ease-in-out infinite;
}
@keyframes journey-pulse {
  0%, 100% { 
    box-shadow: 0 0 0 1px rgba(16,177,110,0.12), 0 8px 32px rgba(18, 22, 26, 0.5), 0 0 20px rgba(16,177,110,0.12), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateX(-50%) scale(1);
  }
  50% { 
    box-shadow: 0 0 0 1px rgba(16,177,110,0.35), 0 8px 32px rgba(18, 22, 26, 0.5), 0 0 35px rgba(16,177,110,0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateX(-50%) scale(1.03);
  }
}
.journey-btn:hover {
  background: var(--green);
  color: #12161A;
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(16,177,110,0.6), 0 12px 40px rgba(16,177,110,0.25), 0 0 35px rgba(16,177,110,0.22);
  transform: translateX(-50%) translateY(-3px);
  animation: none;
}
.journey-btn:hover .journey-arrow svg {
  transform: translateY(3px);
}
.journey-btn:active { transform: translateX(-50%) translateY(0); animation: none; }
.journey-text { max-width: 250px; overflow: hidden; white-space: nowrap; transition: max-width .5s cubic-bezier(0.16,1,0.3,1), opacity .35s ease; display: inline-block; }
.journey-arrow { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; }
.journey-arrow svg { width: 16px; height: 16px; transition: transform .4s cubic-bezier(0.16,1,0.3,1); }
.journey-btn.is-scrolled { padding: 10px 18px; gap: 8px; }
.journey-btn.is-scrolled .journey-text { max-width: 80px; opacity: 0.85; }
.journey-btn.is-end .journey-arrow svg { transform: rotate(180deg); }
.journey-btn.is-end:hover .journey-arrow svg { transform: rotate(180deg) translateY(-3px); }

/* Burger Button */
.burger-btn{display:none;background:none;border:none;cursor:pointer;width:32px;height:32px;position:relative;z-index:30;padding:0;margin-right:-4px}
.burger-btn span{position:absolute;left:4px;width:24px;height:2px;background:var(--text-primary);border-radius:999px;transition:transform .4s cubic-bezier(.16,1,.3,1),opacity .3s ease,background-color .4s;}
.burger-btn span:nth-child(1){top:7px}
.burger-btn span:nth-child(2){top:15px;width:18px;right:4px;left:auto}
.burger-btn span:nth-child(3){bottom:7px}
.burger-btn.is-active span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.burger-btn.is-active span:nth-child(2){opacity:0;transform:translateX(-10px)}
.burger-btn.is-active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
.burger-btn.is-active span{background-color:var(--green)}

/* Mobile Menu Overlay */
.mobile-menu{position:fixed;inset:0;background:var(--bg-mobile-menu);backdrop-filter:blur(24px);z-index:18;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .5s cubic-bezier(.16,1,.3,1);}
.mobile-menu.is-active{opacity:1;pointer-events:auto}
.mobile-nav{display:flex;flex-direction:column;align-items:center;gap:36px}
.mobile-nav a{color:var(--text-muted);text-decoration:none;font-size:clamp(1.8rem,6vw,3.2rem);font-weight:900;letter-spacing:.06em;text-transform:uppercase;transition:color .3s,transform .4s cubic-bezier(.16,1,.3,1),opacity .5s cubic-bezier(.16,1,.3,1);opacity:0;transform:translateY(30px);display:inline-block}
.mobile-menu.is-active .mobile-nav > *{opacity:1;transform:translateY(0)}
.mobile-menu.is-active .mobile-nav > *:nth-child(1){transition-delay:.1s}
.mobile-menu.is-active .mobile-nav > *:nth-child(2){transition-delay:.2s}
.mobile-menu.is-active .mobile-nav > *:nth-child(3){transition-delay:.3s}
.mobile-menu.is-active .mobile-nav > *:nth-child(4){transition-delay:.4s}
.mobile-menu.is-active .mobile-nav > *:nth-child(5){transition-delay:.5s}
.mobile-menu.is-active .mobile-nav > *:nth-child(6){transition-delay:.6s}
.mobile-nav a:hover{color:var(--green);transform:scale(1.05);text-shadow:0 0 15px rgba(16,177,110,0.4)}

.desktop-nav a.is-active, .mobile-nav a.is-active{color:var(--green);text-shadow:0 0 10px rgba(16,177,110,0.5);font-weight:700}

/* Yritys Section Styles */
.company {
  background: var(--bg-panel-company);
}

/* Features Grid */
.features {
  background: var(--bg-panel-features);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: min(1200px, 100%);
  margin-top: 64px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s, box-shadow 0.5s;
  position: relative;
  overflow: hidden;
  
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(16, 177, 110, 0.05), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(16, 177, 110, 0.3);
  box-shadow: 0 20px 40px rgba(11, 16, 22, 0.4), 0 0 25px rgba(16, 177, 110, 0.08);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(16, 177, 110, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 24px;
  border: 1px solid rgba(16, 177, 110, 0.15);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.5s;
}
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background-color: rgba(16, 177, 110, 0.12);
  box-shadow: 0 0 15px rgba(16, 177, 110, 0.2);
}
.feature-icon svg {
  width: 26px;
  height: 26px;
}
.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.feature-content {
  flex: 1;
}


/* Target Audience / Kohderyhmät */
.target-audience {
  background: var(--bg-primary);
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: min(1200px, 100%);
  margin-top: 60px;
}
.audience-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  transition: border-color 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
}
.card-glow {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(16, 177, 110, 0.05), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.audience-card:hover {
  border-color: rgba(16, 177, 110, 0.2);
  transform: translateY(-4px);
}
.audience-card:hover .card-glow {
  opacity: 1;
}
.audience-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.audience-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Testimonials / Käyttäjäpalautteet */
.testimonials {
  background: var(--bg-panel-testimonials);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  width: min(1200px, 100%);
  margin-top: 60px;
}
.testimonial-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 42px 42px 36px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  
}
.testimonial-card:hover {
  border-color: rgba(16, 177, 110, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}
.testimonial-card:hover .card-glow {
  opacity: 1;
}
.testimonial-text {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.7;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  font-style: italic;
  letter-spacing: -0.01em;
}
.testimonial-text::before {
  content: "“";
  display: block;
  font-family: "Georgia", serif;
  font-size: 3.8rem;
  line-height: 1;
  color: var(--green);
  margin-top: -10px;
  margin-bottom: 4px;
  opacity: 0.8;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 2;
}
.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 177, 110, 0.22), rgba(16, 177, 110, 0.05));
  border: 1px solid rgba(16, 177, 110, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-logo);
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 900;
  text-shadow: 0 0 12px rgba(16, 177, 110, 0.35);
  flex-shrink: 0;
}
.author-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  font-style: normal;
  letter-spacing: -0.01em;
}
.author-role {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Benefits Section / Liiketoimintahyödyt */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: min(1200px, 100%);
  margin-top: 60px;
}
.benefit-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  transition: border-color 0.4s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.benefit-card:hover {
  border-color: rgba(16, 177, 110, 0.2);
  transform: translateY(-4px);
}
.benefit-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0;
}
.benefit-card h3 span {
  color: var(--green);
}
.benefit-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* Premium Contact Form */
.contact-form {
  width: min(700px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.05rem;
  outline: none;
  transition: border-color 0.4s, background-color 0.4s, box-shadow 0.4s;
}
.form-group input:hover,
.form-group textarea:hover {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.15);
}
.light-theme .form-group input:hover,
.light-theme .form-group textarea:hover {
  background: rgba(18, 22, 26, 0.015);
  border-color: rgba(18, 22, 26, 0.15);
}
.form-group input:focus,
.form-group textarea:focus {
  background: var(--bg-card);
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 177, 110, 0.16);
}
.form-group label {
  position: absolute;
  left: 20px;
  top: 18px;
  color: var(--text-muted);
  font-size: 1.05rem;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s, font-size 0.3s;
  transform-origin: left top;
}
.form-group textarea ~ label {
  top: 18px;
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  transform: translateY(-34px) scale(0.82);
  color: var(--green);
}
.focus-line {
  display: none;
}
.submit-btn {
  display: inline-flex;
  margin: 16px auto 0;
  min-height: 58px;
  padding: 0 42px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #12161A;
  background: var(--green);
  font-weight: 800;
  font-family: var(--font-body);
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 40px rgba(16, 177, 110, .2);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s cubic-bezier(0.16,1,0.3,1), background-color 0.4s cubic-bezier(0.16,1,0.3,1);
  
}
.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(16, 177, 110, 0.4), 0 0 15px rgba(16, 177, 110, 0.2);
  background-color: #12cc7f;
}
.submit-btn:active {
  transform: translateY(-1px);
}
.submit-btn:disabled {
  background-color: rgba(217, 217, 217, 0.05);
  color: rgba(217, 217, 217, 0.3);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.btn-arrow {
  width: 18px;
  height: 18px;
  margin-left: 10px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}
.form-status {
  min-height: 0;
  height: 0;
  opacity: 0;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s, margin 0.4s;
  overflow: hidden;
  text-align: center;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-status.active {
  height: 52px;
  opacity: 1;
  margin-top: 16px;
}
.form-status.error {
  background: rgba(255, 68, 68, 0.1);
  color: #ff5555;
  border: 1px solid rgba(255, 68, 68, 0.2);
}
.form-status.success {
  background: rgba(16, 177, 110, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(16, 177, 110, 0.25);
}
.success-message {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Theme Toggle Button Styles */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s, transform 0.3s, border-color 0.3s, opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--line);
  background: var(--bg-card);
  margin-left: auto;
  margin-right: 12px;
  z-index: 21;
}
.theme-toggle:hover {
  background: rgba(16, 177, 110, 0.08);
  transform: scale(1.05);
  color: var(--green);
  border-color: rgba(16, 177, 110, 0.3);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  position: absolute;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s;
  
}
.theme-toggle .moon-icon {
  transform: translateY(30px) rotate(45deg);
  opacity: 0;
}
.theme-toggle .sun-icon {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}
.light-theme .theme-toggle .moon-icon {
  transform: translateY(0) rotate(0deg);
  opacity: 1;
}
.light-theme .theme-toggle .sun-icon {
  transform: translateY(-30px) rotate(-45deg);
  opacity: 0;
}
@media (min-width: 981px) {
  .theme-toggle {
    margin-left: 20px;
    margin-right: 0;
  }
}

/* Media Queries (Overrides) */
@media(max-width:980px){
  .desktop-nav{display:none}
  .burger-btn{display:flex}
  .location,.product{grid-template-columns:1fr}
  .location h2,.location p,.product h2,.product p{text-align:center}
  .product-copy{justify-self:center}
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 48px;
  }
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 44px;
  }
  .contact-form {
    gap: 24px;
  }
  .device-showcase {
    aspect-ratio: 16 / 11;
  }
  .future{grid-template-columns:1fr}
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 44px;
  }
}
@media(max-width:620px){
  .topbar{
    width: 100%;
    max-width: 100%;
    left: 0;
    transform: none;
    top: 0;
    border-radius: 0 0 16px 16px;
    border-left: none;
    border-right: none;
    border-top: none;
    padding:10px 16px;
  }
  .topbar.is-scrolled{
    top: 0;
    padding:10px 16px;
    border-radius: 0 0 16px 16px;
  }
  .brand-word{font-size:12px;letter-spacing:.16em}
  .panel{padding:100px 20px}
  h1{font-size:3.1rem;letter-spacing:.18em;margin-right:-.18em}
  h2{font-size: clamp(1.8rem, 7.5vw, 2.6rem); line-height: 1.1;}
  .sentra-word{font-size:2.8rem;letter-spacing:.16em;margin-right:-.16em}
  .aha-stack{font-size:5.8rem}
  .map-art{height:420px;border-radius:24px}
  .device-showcase {
    height: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    perspective: none;
    margin-top: 30px;
  }
  .device-img {
    position: relative;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    filter: drop-shadow(0 10px 20px rgba(18, 22, 26, 0.3)) !important;
  }
  .device-laptop {
    width: 100% !important;
  }
  .device-tablet {
    width: 75% !important;
  }
  .device-phone {
    width: 45% !important;
  }
  .device-showcase:hover .device-laptop,
  .device-showcase:hover .device-tablet,
  .device-showcase:hover .device-phone {
    transform: none !important;
  }
  footer{flex-direction:column;text-align:center}
  .form-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-card {
    padding: 30px 24px;
  }
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .benefit-card {
    padding: 28px 20px;
  }
  .audience-card {
    padding: 28px 20px;
  }
  .testimonial-card {
    padding: 28px 20px;
  }
  .submit-btn {
    width: 100%;
  }
}

/* Offset-tilat ennen sivun latautumista (loaded) */
body:not(.loaded) .topbar {
  transform: translateX(-50%) translateY(-100px);
  opacity: 0;
}
body:not(.loaded) .journey-btn {
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
}
body:not(.loaded) .logo-xl {
  transform: scale(0.9) translateY(40px);
  opacity: 0;
}
body:not(.loaded) .hero-tag {
  transform: translateY(20px);
  opacity: 0;
  letter-spacing: 0.18em;
}

/* Custom View Transition styles for circular theme sweep */
::view-transition-image-pair(root) {
  isolation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation: none;
  mix-blend-mode: normal;
}

::view-transition-old(root) {
  z-index: 1;
}

::view-transition-new(root) {
  z-index: 2;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* Legal Pages (Tietosuojaseloste) */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 180px 24px 100px;
  color: var(--text-primary);
  line-height: 1.8;
  font-size: 1.1rem;
}
.legal-container h1 {
  font-family: var(--font-logo);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  text-align: left;
  font-weight: 400;
}
.legal-container .last-updated {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 60px;
  display: block;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.legal-container h2 {
  font-size: 1.8rem;
  margin-top: 60px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-align: left;
}
.legal-container p, .legal-container ul {
  color: var(--text-muted);
  margin-bottom: 20px;
}
.legal-container ul {
  padding-left: 24px;
  margin-bottom: 24px;
}
.legal-container li {
  margin-bottom: 10px;
}
.legal-container a {
  color: var(--green);
  text-decoration: none;
  transition: opacity 0.3s;
}
.legal-container a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .legal-container {
    padding: 120px 20px 80px;
    font-size: 1rem;
    line-height: 1.75;
  }
  .legal-container h2 {
    font-size: 1.3rem;
    margin-top: 40px;
    margin-bottom: 14px;
  }
  .legal-container .last-updated {
    margin-bottom: 40px;
  }
  .legal-container ul {
    padding-left: 18px;
  }
}

@media (max-width: 480px) {
  .legal-container {
    padding: 100px 16px 60px;
    font-size: 0.95rem;
  }
  .legal-container h2 {
    font-size: 1.15rem;
    margin-top: 32px;
  }
}

/* ============================================================
   Founder Story – Miksi Ahado?
   ============================================================ */

/* Roolit-lista */
.founder-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.founder-roles span {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text-muted);
  background: transparent;
  transition: border-color 0.3s, color 0.3s;
}
.founder-roles span:hover {
  border-color: var(--green);
  color: var(--green);
}

/* Lainaus */
.founder-quote {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.55;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  opacity: 0.95;
  margin-bottom: 36px;
  padding-left: 20px;
  border-left: 3px solid var(--green);
}

/* Leipäteksti */
.founder-body {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Oivallus-kortti */
.founder-insight {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(16, 177, 110, 0.06);
  border: 1px solid rgba(16, 177, 110, 0.2);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 32px 0;
}
.founder-insight svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--green);
  margin-top: 2px;
}
.founder-insight p {
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}
.founder-insight p strong {
  color: var(--text);
}

/* Allekirjoitus */
.founder-sig {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
}
.founder-sig strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.founder-sig span {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

@media (max-width: 600px) {
  .founder-quote {
    padding-left: 14px;
  }
  .founder-insight {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
}

/* Expanded Premium Footer Styles */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 120px;
  background: var(--bg-primary);
  border-top: 1px solid var(--line);
  gap: 24px;
  width: 100%;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  text-decoration: none;
}
.footer-logo svg {
  width: 24px;
  height: 22px;
  color: var(--green);
}
.footer-logo span {
  font-family: var(--font-logo);
  letter-spacing: .22em;
  font-size: 14px;
  font-weight: 400;
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  font-weight: 300;
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  margin-top: 12px;
}
.light-theme .footer-bottom {
  color: rgba(11, 16, 22, 0.65);
}
.footer-divider {
  width: 1px;
  height: 12px;
  background-color: currentColor;
  opacity: 0.5;
}
@media (max-width: 768px) {
  footer {
    padding-bottom: 160px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-divider {
    display: none;
  }
  .footer-link {
    padding: 14px 16px;
    margin: 0 -16px;
  }
}
.footer-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 12px 8px;
  margin: -12px -8px;
}
.footer-link:hover {
  color: var(--green);
}

/* Problem Cards Grid */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 48px auto;
  width: 100%;
}
.problem-card {
  background: rgba(18, 22, 26, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 156, 18, 0.25); /* Subtle warm warning glow */
  box-shadow: 0 12px 30px rgba(243, 156, 18, 0.05);
}
.problem-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(243, 156, 18, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f39c12; /* Warm amber/orange color */
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.1);
  transition: transform 0.3s ease;
}
.problem-card:hover .problem-icon-wrapper {
  transform: scale(1.08) rotate(5deg);
  background: rgba(243, 156, 18, 0.15);
  box-shadow: 0 0 15px rgba(243, 156, 18, 0.2);
}
.problem-icon {
  width: 20px;
  height: 20px;
}
.problem-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
  transition: color 0.3s;
}
.problem-card:hover p {
  color: var(--text-primary);
}

/* Light theme overrides for problem cards */
body.light-theme .problem-card {
  background: rgba(246, 249, 247, 0.6);
  border-color: rgba(18, 22, 26, 0.05);
}
body.light-theme .problem-card:hover {
  border-color: rgba(243, 156, 18, 0.35);
  box-shadow: 0 12px 30px rgba(18, 22, 26, 0.04);
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 32px auto;
  }
  .problem-card {
    padding: 20px;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .problem-icon-wrapper {
    flex-shrink: 0;
  }
}


/* Page transitions & View Transitions API */
@view-transition {
  navigation: auto;
}
main, footer {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1);
  opacity: 1;
  
}
body.page-loading main,
body.page-loading footer {
  transform: scale(0.96);
  opacity: 0;
}
body.page-loading .topbar {
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
body.page-loading .journey-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.topbar {
  view-transition-name: topbar;
}
.theme-toggle {
  view-transition-name: theme-toggle;
}
.brand {
  view-transition-name: brand;
}

/* Header Dropdown Menu (Products) */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-trigger {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dropdown-trigger:hover,
.nav-dropdown:hover .dropdown-trigger {
  color: var(--green);
}
.dropdown-arrow {
  width: 10px;
  height: 10px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-primary);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px 20px;
  min-width: 260px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 100;
  margin-top: 12px;
}
.light-theme .dropdown-menu {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--line);
}
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  width: 100%;
  transition: background-color 0.3s, border-color 0.3s;
}
.dropdown-item:hover {
  background: rgba(16, 177, 110, 0.06);
}
.dropdown-item-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(16, 177, 110, 0.08);
  border: 1px solid rgba(16, 177, 110, 0.15);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.dropdown-item-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 12px;
}
.dropdown-item-logo {
  width: 28px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(16, 177, 110, 0.35));
}
.dropdown-item-title {
  color: var(--text-primary);
  font-family: var(--font-logo);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.18em;
  margin-right: -0.18em;
}
.dropdown-item:hover .dropdown-item-title,
.dropdown-item.is-active .dropdown-item-title {
  color: var(--green);
}
.dropdown-trigger.is-active {
  color: var(--green);
  font-weight: 700;
}

/* Mobile Submenu & Kickers */
.mobile-section-header {
  color: var(--text-muted);
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .5s cubic-bezier(.16,1,.3,1);
  opacity: 0;
  transform: translateY(30px);
  
  display: inline-block;
  margin-top: 10px;
}
.mobile-menu.is-active .mobile-nav .mobile-section-header {
  opacity: 0.55;
}
.mobile-product-link {
  color: var(--green);
  text-decoration: none;
  font-size: clamp(1.15rem, 4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(16, 177, 110, 0.05);
  border: 1px solid rgba(16, 177, 110, 0.22);
  border-radius: 999px;
  padding: 8px 28px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(30px);
  
  display: inline-block;
  box-shadow: 0 4px 15px rgba(16, 177, 110, 0.03);
  margin-top: -12px;
  margin-bottom: 8px;
}
.mobile-menu.is-active .mobile-product-link {
  opacity: 1;
}
.mobile-product-link:hover,
.mobile-product-link.is-active {
  background: rgba(16, 177, 110, 0.12);
  border-color: rgba(16, 177, 110, 0.45);
  transform: scale(1.03) translateY(-1px);
  box-shadow: 0 8px 24px rgba(16, 177, 110, 0.12);
  color: var(--green);
}

/* Product Sub-header (Combined inside .topbar.has-subbar) */
.topbar.has-subbar {
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  border-radius: 28px;
  padding: 16px clamp(20px, 4vw, 40px) 14px;
  transition: 
    gap 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    border-radius 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    top 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.topbar.has-subbar.is-scrolled {
  gap: 10px;
  border-radius: 24px;
  padding: 12px clamp(20px, 4vw, 32px) 10px;
}

/* Pääheaderin piilotussäännöt scrollatessa alaspäin */
.topbar.has-subbar.hide-main-header {
  gap: 0;
  padding: 10px clamp(20px, 4vw, 32px) 10px;
}
.topbar.has-subbar.hide-main-header .topbar-main-row {
  max-height: 0;
  opacity: 0;
  transform: translateY(-20px);
  margin-bottom: -10px; /* Poistetaan gap-tila */
  pointer-events: none;
  overflow: hidden;
}
.topbar.has-subbar.hide-main-header .topbar-sub-row {
  border-top-color: transparent;
}

.topbar-main-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-height: 80px;
  opacity: 1;
  transform: translateY(0);
  transition: 
    max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    opacity 0.3s ease, 
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    margin-bottom 0.4s ease;
  position: relative;
  z-index: 20;
}

.topbar-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  position: relative;
  z-index: 1;
  transition: 
    padding-top 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    border-color 0.4s ease, 
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.topbar.is-scrolled .topbar-sub-row {
  padding-top: 8px;
}

.product-subbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-subbar-title {
  font-family: var(--font-logo);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--text-primary);
  font-weight: 400;
  transition: font-size 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}
.topbar.is-scrolled .product-subbar-title {
  font-size: 11.5px;
}

.product-subbar-nav {
  display: flex;
  gap: 24px;
  transition: gap 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.topbar.is-scrolled .product-subbar-nav {
  gap: 18px;
}

.product-subbar-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  transition: 
    color 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    font-size 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  opacity: 0.8;
  position: relative;
  padding-bottom: 6px;
}
.product-subbar-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 14px;
  height: 2px;
  background-color: var(--green);
  border-radius: 99px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px var(--green);
}
.topbar.is-scrolled .product-subbar-link {
  font-size: 11px;
}

.product-subbar-link:hover,
.product-subbar-link.is-active {
  color: var(--green);
  opacity: 1;
  transform: translateY(-0.5px);
  text-shadow: 0 0 8px rgba(16, 177, 110, 0.4);
}
.product-subbar-link.is-active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Sentra logo ja brändi-ikonin tyylittelyt */
.sentra-hero-logo-svg {
  width: clamp(120px, 16vw, 180px);
  height: auto;
  filter: drop-shadow(0 0 32px rgba(16, 177, 110, 0.55));
  display: block;
  color: var(--green);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
}
.sentra-hero-logo-svg:hover {
  transform: rotate(5deg) scale(1.02);
}
.product-subbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-subbar-brand:hover {
  transform: scale(1.02);
}
.product-subbar-logo-svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.topbar.is-scrolled .product-subbar-logo-svg {
  width: 17px;
  height: 17px;
}

@media (max-width: 980px) {
  .topbar.has-subbar {
    max-width: 480px;
    padding: 12px 24px 10px;
  }
  .topbar.has-subbar.is-scrolled {
    padding: 10px 20px 8px;
  }
  .product-subbar-title {
    font-size: 11px;
  }
  .topbar.is-scrolled .product-subbar-title {
    font-size: 10px;
  }
  .product-subbar-nav {
    gap: 16px;
  }
  .topbar.is-scrolled .product-subbar-nav {
    gap: 12px;
  }
  .product-subbar-link {
    font-size: 11px;
    flex-shrink: 0;
  }
  .topbar.is-scrolled .product-subbar-link {
    font-size: 10px;
    flex-shrink: 0;
  }

  /* Kun mobiilivalikko on auki, piilotetaan headerin tausta ja muut osat paitsi sulkunappi */
  .mobile-menu.is-active ~ .topbar {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .mobile-menu.is-active ~ .topbar .brand,
  .mobile-menu.is-active ~ .topbar .theme-toggle,
  .mobile-menu.is-active ~ .topbar .topbar-sub-row,
  .mobile-menu.is-active ~ .topbar .topbar-clip-container {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-8px);
  }
}

@media (max-width: 620px) {
  .topbar.has-subbar {
    max-width: 100%;
    width: 100%;
    left: 0;
    transform: none;
    top: 0;
    border-radius: 0 0 16px 16px;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 10px 16px 8px;
  }
  .topbar.has-subbar.is-scrolled {
    top: 0;
    padding: 10px 16px 8px;
    border-radius: 0 0 16px 16px;
  }
  .topbar.has-subbar.hide-main-header {
    gap: 0;
    padding: 10px 16px;
  }
  .topbar.has-subbar.hide-main-header .topbar-main-row {
    margin-bottom: -8px;
  }
  .topbar.is-scrolled .topbar-sub-row {
    padding-top: 10px;
  }
  .topbar.is-scrolled .product-subbar-logo-svg {
    width: 20px;
    height: 20px;
  }
  .product-subbar-title {
    font-size: 10px;
    letter-spacing: 0.15em;
  }
  .product-subbar-nav {
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: 16px;
    min-width: 0;
  }
  .product-subbar-nav::-webkit-scrollbar {
    display: none;
  }
  .product-subbar-link {
    font-size: 10.5px;
    flex-shrink: 0;
  }
  .topbar.is-scrolled .product-subbar-title {
    font-size: 10px;
  }
  .topbar.is-scrolled .product-subbar-nav {
    gap: 14px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: 14px;
    min-width: 0;
  }
  .topbar.is-scrolled .product-subbar-link {
    font-size: 10px;
    flex-shrink: 0;
  }
}

@media (min-width: 769px) {
  .grid-span-2 {
    grid-column: span 2;
  }

/* Custom Glowing Cursor Followers (Only for Desktop / Hover-supported screens) */
@media (hover: hover) and (pointer: fine) {
  body, html {
    cursor: none !important;
  }
  a, button, [role="button"], label, input, textarea, select, .map-art circle, .audience-card, .benefit-card {
    cursor: none !important;
  }
  .custom-cursor {
    width: 20px;
    height: 20px;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, left, top;
  }
  .custom-cursor::before,
  .custom-cursor::after {
    content: "";
    position: absolute;
    background: var(--green);
    box-shadow: 0 0 6px var(--green), 0 0 12px var(--green);
    transition: background-color 0.3s, box-shadow 0.3s;
  }
  /* Horizontal */
  .custom-cursor::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
  }
  /* Vertical */
  .custom-cursor::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
  }
  .custom-cursor.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
  }
  .custom-cursor.cursor-hover::before,
  .custom-cursor.cursor-hover::after {
    background: #12cc7f;
    box-shadow: 0 0 10px #12cc7f, 0 0 20px #12cc7f;
  }
}

/* Interactive Click Ping Effect (Geospatial Radar style) */
.click-ping {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  animation: ping-expand 0.75s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
  box-shadow: 0 0 8px var(--green);
}
.click-ping::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  animation: ping-ring 0.75s cubic-bezier(0.1, 0.8, 0.3, 1) forwards;
}

@keyframes ping-expand {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(2);
    opacity: 0;
  }
}
@keyframes ping-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(5);
    opacity: 0;
  }
}


.side-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  padding: 24px 10px;
  background: rgba(18, 22, 26, 0.25);
  border: 1px solid var(--line);
  border-radius: 99px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.side-nav::before {
  content: "";
  position: absolute;
  right: 0;
  top: -20px;
  bottom: -20px;
  width: 200px;
  background: transparent;
  pointer-events: none;
  z-index: -1;
}
.side-nav:hover::before {
  pointer-events: auto;
}
body.light-theme .side-nav {
  background: rgba(246, 249, 247, 0.45);
  box-shadow: 0 20px 40px rgba(18, 22, 26, 0.08);
}
.side-nav-dot-wrapper {
  position: relative;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.side-nav-dot {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.side-nav-dot-wrapper:hover .side-nav-dot {
  background: var(--green);
  transform: scale(1.4);
  box-shadow: 0 0 8px var(--green);
}
.side-nav-dot-wrapper.is-active .side-nav-dot {
  background: var(--green);
  width: 8px;
  height: 8px;
  box-shadow: 0 0 10px var(--green), 0 0 20px var(--green);
}
.side-nav-tooltip {
  position: absolute;
  right: 34px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
body.light-theme .side-nav-tooltip {
  background: var(--bg-primary);
}
.side-nav:hover .side-nav-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Side Navigation Dot Tracker (Only for Desktop) */
@media (max-width: 980px) {
  .side-nav {
    display: none !important;
  }
}
.map-art,
.device-showcase {
  
}
}

/* Dynamic will-change rules during active scrolling */
body.is-scrolling .hero::before,
body.is-scrolling .scroll-progress,
body.is-scrolling .map-art,
body.is-scrolling .device-showcase,
body.is-scrolling .device-img,
body.is-scrolling .aha-stack > div,
body.is-scrolling .aha-stack i,
body.is-scrolling .aha-stack > div:last-child span {
  will-change: transform;
}
body.is-scrolling .topbar {
  will-change: transform, top, padding, background-color, border-color, box-shadow;
}
