/* ═══════════════════════════════════════════════════════════
   IoTFIY PoleKit — Storm Sentinel Theme
   Steel navy · alert red · safe green · Exo 2 + Source Sans 3
   Distinct from Easy Solar / Sales Hub / Gateway / Ecosystem
   ═══════════════════════════════════════════════════════════ */

.polekit-page {
  --pk-bg: #070d14;
  --pk-panel: #0e1620;
  --pk-panel-2: #15202c;
  --pk-border: rgba(34, 211, 238, 0.16);
  --pk-cyan: #22d3ee;
  --pk-cyan-dim: #0891b2;
  --pk-alert: #ef4444;
  --pk-warn: #f59e0b;
  --pk-safe: #22c55e;
  --pk-text: #c5d0db;
  --pk-muted: #6b7c8f;
  --pk-heading: #eef4f8;
  --background-color: var(--pk-bg);
  --default-color: var(--pk-text);
  --heading-color: var(--pk-heading);
  --surface-color: var(--pk-panel-2);
  --accent-color: var(--pk-cyan-dim);
  --contrast-color: #070d14;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  background: var(--pk-bg);
  color: var(--pk-text);
  -webkit-font-smoothing: antialiased;
}

.polekit-page h1,
.polekit-page h2,
.polekit-page h3 {
  font-family: 'Exo 2', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pk-heading);
}

.polekit-page h4,
.polekit-page h5 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  color: var(--pk-heading);
}

.polekit-page .header {
  background: rgba(7, 13, 20, 0.92) !important;
  backdrop-filter: blur(18px) !important;
  border-bottom: 1px solid var(--pk-border) !important;
}

.polekit-page .header .logo img {
  max-height: 34px;
  filter: brightness(0) invert(1);
}

.polekit-page .header .navmenu > ul > li > a {
  color: rgba(238, 244, 248, 0.88) !important;
}

.polekit-page .header .navmenu > ul > li > a.active,
.polekit-page .header .navmenu > ul > li > a:hover {
  color: var(--pk-cyan) !important;
}

.polekit-page .header .btn-getstarted {
  background: linear-gradient(135deg, var(--pk-cyan-dim), #0e7490) !important;
  border: none !important;
  border-radius: 8px !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(8, 145, 178, 0.35) !important;
}

.polekit-page .header .mobile-nav-toggle { display: none !important; }
.polekit-page .main { padding-top: 0; }

.pk-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pk-btn--cyan {
  background: linear-gradient(135deg, var(--pk-cyan), var(--pk-cyan-dim));
  color: #042f2e;
  box-shadow: 0 10px 28px rgba(8, 145, 178, 0.3);
}

.pk-btn--cyan:hover { transform: translateY(-2px); color: #042f2e; }

.pk-btn--alert {
  background: linear-gradient(135deg, #f87171, var(--pk-alert));
  color: #fff;
}

.pk-btn--ghost {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--pk-border);
  color: var(--pk-cyan);
}

.pk-btn--ghost:hover { color: var(--pk-cyan); background: rgba(34, 211, 238, 0.14); }

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

.pk-btn--outline:hover { border-color: var(--pk-cyan); color: var(--pk-cyan); }

.pk-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid var(--pk-border);
  color: var(--pk-cyan);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pk-section { padding: clamp(4rem, 8vw, 6rem) 0; }
.pk-section--panel { background: var(--pk-panel); }

.pk-head { max-width: 680px; margin-bottom: 2.75rem; }
.pk-head--center { text-align: center; margin-left: auto; margin-right: auto; }

.pk-head h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.pk-head h2 em {
  font-style: normal;
  color: var(--pk-cyan);
}

.pk-head p {
  color: var(--pk-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0;
}

.pk-sidenav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  flex-direction: column;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 12px;
  background: rgba(7, 13, 20, 0.95);
  border: 1px solid var(--pk-border);
}

.pk-sidenav a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--pk-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.pk-sidenav a:hover,
.pk-sidenav a.active {
  color: var(--pk-cyan);
  background: rgba(34, 211, 238, 0.12);
}

/* Hero — full bleed */
.pk-hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #041018;
}

.pk-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pk-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transform: scale(1.04);
  animation: pk-ken 20s ease-in-out infinite alternate;
}

@keyframes pk-ken {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.1) translate(-1%, 1%); }
}

.pk-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 16, 24, 0.94) 0%, rgba(4, 16, 24, 0.7) 42%, rgba(4, 16, 24, 0.25) 70%, rgba(4, 16, 24, 0.55) 100%),
    linear-gradient(180deg, rgba(4, 16, 24, 0.4) 0%, transparent 30%, transparent 50%, rgba(4, 16, 24, 0.88) 100%);
  pointer-events: none;
}

.pk-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(120px, 14vw, 160px) 0 clamp(56px, 8vw, 88px);
}

.pk-hero__copy { max-width: 580px; }

.pk-hero__brand {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pk-cyan);
  margin: 0 0 1rem;
}

.pk-hero__copy h1 {
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 1.15rem;
  font-weight: 800;
  color: #fff;
}

.pk-hero__lead {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  max-width: 460px;
  color: rgba(238, 244, 248, 0.78);
  margin: 0 0 1.75rem;
}

.pk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pk-hero__actions .pk-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Live Grid Simulator */
.pk-sim {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  align-items: stretch;
}

.pk-sim__map {
  position: relative;
  min-height: 480px;
  border-radius: 16px;
  overflow: hidden;
  background: #0a1219;
  border: 1px solid var(--pk-border);
}

.pk-sim__map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.pk-sim__map-svg {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.85;
}

.pk-sim__map-fade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, transparent 20%, rgba(7, 13, 20, 0.45) 100%),
    linear-gradient(180deg, rgba(7, 13, 20, 0.25), rgba(7, 13, 20, 0.55));
  pointer-events: none;
}

.pk-sim__rain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background-image: repeating-linear-gradient(
    -75deg,
    transparent,
    transparent 8px,
    rgba(148, 163, 184, 0.1) 8px,
    rgba(148, 163, 184, 0.1) 9px
  );
  animation: pk-rain 0.6s linear infinite;
}

.pk-sim__rain.is-on { opacity: 1; }

@keyframes pk-rain {
  from { background-position: 0 0; }
  to { background-position: 20px 40px; }
}

.pk-pole {
  position: absolute;
  transform: translate(-50%, -88%);
  cursor: pointer;
  z-index: 3;
  border: none;
  background: none;
  padding: 0;
  width: 44px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s, filter 0.2s;
}

.pk-pole:hover,
.pk-pole.is-active {
  transform: translate(-50%, -88%) scale(1.12);
  z-index: 5;
}

.pk-pole__svg {
  width: 44px;
  height: 72px;
  display: block;
  overflow: visible;
}

.pk-pole__glow {
  fill: var(--pk-safe);
  opacity: 0.35;
  transition: fill 0.25s;
  transform-origin: center;
  transform-box: fill-box;
}

.pk-pole__status {
  fill: var(--pk-safe);
  transition: fill 0.25s;
}

.pk-pole.is-warn .pk-pole__glow,
.pk-pole.is-warn .pk-pole__status { fill: var(--pk-warn); }

.pk-pole.is-alert .pk-pole__glow,
.pk-pole.is-alert .pk-pole__status { fill: var(--pk-alert); }

.pk-pole.is-warn .pk-pole__glow,
.pk-pole.is-alert .pk-pole__glow {
  animation: pk-glow-pulse 1s ease infinite;
}

.pk-pole.is-active .pk-pole__ring {
  stroke: var(--pk-cyan);
  stroke-opacity: 0.9;
}

@keyframes pk-glow-pulse {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.25); }
}

.pk-pole__label {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pk-heading);
  background: rgba(7, 13, 20, 0.92);
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid var(--pk-border);
  pointer-events: none;
}

.pk-pole.is-alert .pk-pole__label {
  border-color: rgba(239, 68, 68, 0.45);
  color: #fecaca;
}

.pk-sim__legend {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(7, 13, 20, 0.88);
  border: 1px solid var(--pk-border);
  font-size: 0.6875rem;
  font-weight: 600;
}

.pk-sim__legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.pk-sim__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.pk-sim__dot--safe { background: var(--pk-safe); }
.pk-sim__dot--warn { background: var(--pk-warn); }
.pk-sim__dot--alert { background: var(--pk-alert); }

.pk-sim__side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pk-sim__card {
  padding: 1.15rem;
  border-radius: 14px;
  background: var(--pk-panel-2);
  border: 1px solid var(--pk-border);
}

.pk-sim__card h4 {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pk-sim__card h4 i { color: var(--pk-cyan); }

.pk-sim__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.pk-sim__stat {
  padding: 10px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.05);
  text-align: center;
}

.pk-sim__stat strong {
  display: block;
  font-family: 'Exo 2', sans-serif;
  font-size: 1.25rem;
  color: var(--pk-heading);
}

.pk-sim__stat span {
  font-size: 0.6875rem;
  color: var(--pk-muted);
}

.pk-sim__readings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.pk-sim__readings div {
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
}

.pk-sim__readings strong {
  display: block;
  font-size: 1.0625rem;
  color: var(--pk-cyan);
  font-family: 'Exo 2', sans-serif;
}

.pk-sim__status {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--pk-safe);
}

.pk-sim__status.is-warn {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.3);
  color: var(--pk-warn);
}

.pk-sim__status.is-alert {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--pk-alert);
}

.pk-sim__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--pk-border);
  background: rgba(34, 211, 238, 0.05);
  color: var(--pk-heading);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}

.pk-sim__toggle.is-on {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(56, 189, 248, 0.12);
}

.pk-sim__toggle-switch {
  width: 42px;
  height: 24px;
  border-radius: 100px;
  background: #334155;
  position: relative;
  flex-shrink: 0;
}

.pk-sim__toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}

.pk-sim__toggle.is-on .pk-sim__toggle-switch {
  background: var(--pk-cyan-dim);
}

.pk-sim__toggle.is-on .pk-sim__toggle-switch::after {
  transform: translateX(18px);
}

.pk-sim__feed {
  max-height: 140px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pk-sim__feed-item {
  font-size: 0.75rem;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--pk-cyan);
  color: var(--pk-muted);
}

.pk-sim__feed-item.is-alert { border-left-color: var(--pk-alert); color: #fecaca; }
.pk-sim__feed-item.is-warn { border-left-color: var(--pk-warn); color: #fde68a; }
.pk-sim__feed-item strong { color: var(--pk-heading); }

/* Features */
.pk-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pk-feature {
  padding: 1.5rem;
  border-radius: 14px;
  background: var(--pk-panel-2);
  border: 1px solid var(--pk-border);
  transition: transform 0.2s, border-color 0.2s;
}

.pk-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, 0.35);
}

.pk-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 211, 238, 0.1);
  color: var(--pk-cyan);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.pk-feature h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  font-family: 'Exo 2', sans-serif;
}

.pk-feature p {
  font-size: 0.875rem;
  color: var(--pk-muted);
  margin: 0;
  line-height: 1.55;
}

/* Split */
.pk-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.pk-split:last-child { margin-bottom: 0; }
.pk-split:nth-child(even) .pk-split__visual { order: -1; }

.pk-split__visual {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pk-border);
  background: var(--pk-panel-2);
}

.pk-split__visual img { width: 100%; display: block; }

.pk-split__copy h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 1rem;
}

.pk-split__copy p {
  color: var(--pk-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.pk-split__copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pk-split__copy li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
}

.pk-split__copy li i { color: var(--pk-safe); margin-top: 3px; }

/* VS */
.pk-vs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pk-vs__col {
  padding: 1.75rem;
  border-radius: 14px;
}

.pk-vs__col--bad {
  background: rgba(239, 68, 68, 0.06);
  border: 1px dashed rgba(239, 68, 68, 0.3);
}

.pk-vs__col--good {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.pk-vs__col h3 {
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}

.pk-vs__col ul { list-style: none; padding: 0; margin: 0; }

.pk-vs__col li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  display: flex;
  gap: 8px;
}

/* Cases */
.pk-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pk-case {
  padding: 1.35rem;
  border-radius: 14px;
  background: var(--pk-panel-2);
  border: 1px solid var(--pk-border);
}

.pk-case i {
  font-size: 1.5rem;
  color: var(--pk-cyan);
  margin-bottom: 10px;
  display: block;
}

.pk-case h4 { font-size: 0.9375rem; margin-bottom: 6px; }

.pk-case p {
  font-size: 0.8125rem;
  color: var(--pk-muted);
  margin: 0;
  line-height: 1.5;
}

.pk-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 2rem;
}

.pk-gallery img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--pk-border);
  display: block;
}

/* Roles */
.pk-roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.pk-role {
  padding: 1.5rem;
  border-radius: 14px;
  background: var(--pk-panel-2);
  border: 1px solid var(--pk-border);
}

.pk-role h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: var(--pk-cyan);
}

.pk-role ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pk-role li {
  font-size: 0.8125rem;
  color: var(--pk-muted);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* CTA */
.pk-cta {
  text-align: center;
  padding: 5rem 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(8, 145, 178, 0.2), transparent),
    var(--pk-panel);
  border-top: 1px solid var(--pk-border);
}

.pk-cta h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.pk-cta p {
  max-width: 540px;
  margin: 0 auto 2rem;
  color: var(--pk-muted);
  line-height: 1.65;
}

.pk-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.pk-cta__contact {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--pk-muted);
}

.pk-cta__contact a { color: var(--pk-cyan); }

/* Mobile dock + nav */
.pk-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  display: none;
  justify-content: space-around;
  padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
  background: rgba(7, 13, 20, 0.96);
  border-top: 1px solid var(--pk-border);
}

.pk-dock a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--pk-muted);
  text-decoration: none;
}

.pk-dock a i { font-size: 1.125rem; }
.pk-dock a.active { color: var(--pk-cyan); }

.polekit-page .mobile-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10050;
  display: block;
  background: rgba(7, 13, 20, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pk-border);
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.polekit-page .mobile-nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}

.polekit-page .mobile-logo {
  display: flex;
  align-items: center;
  min-width: 0;
}

.polekit-page .mobile-logo img {
  max-height: 30px;
  width: auto;
  max-width: min(132px, 42vw);
  filter: brightness(0) invert(1);
}

.polekit-page .mobile-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.polekit-page .mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pk-cyan), var(--pk-cyan-dim));
  color: #042f2e !important;
  text-decoration: none;
  white-space: nowrap;
}

.polekit-page .mobile-menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--pk-border);
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.1);
  color: #eef4f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  font-size: 1.25rem;
}

.polekit-page .mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10055;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.polekit-page.mobile-menu-open .mobile-menu-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.polekit-page .mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  background: var(--pk-panel);
  border-left: 1px solid var(--pk-border);
  z-index: 10060;
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  pointer-events: none;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.45);
}

.polekit-page .mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}

.polekit-page .mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 18px 16px;
  border-bottom: 1px solid var(--pk-border);
}

.polekit-page .mobile-menu-header span {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.2rem;
  color: var(--pk-heading);
  display: block;
}

.polekit-page .mobile-menu-header small {
  display: block;
  margin-top: 4px;
  font-size: 0.6875rem;
  color: var(--pk-cyan);
  font-weight: 700;
}

.polekit-page .mobile-menu-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--pk-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #eef4f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.polekit-page .mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 14px;
}

.polekit-page .mobile-menu ul li a {
  display: block;
  padding: 14px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: var(--pk-panel-2);
  border: 1px solid rgba(34, 211, 238, 0.08);
  color: var(--pk-text);
  text-decoration: none;
  font-weight: 600;
}

.polekit-page.mobile-menu-open { overflow: hidden; }

.polekit-page .footer {
  background: var(--pk-bg) !important;
  border-top: 1px solid var(--pk-border);
}

.polekit-page .footer h4,
.polekit-page .footer .sitename { color: var(--pk-heading) !important; }

.polekit-page .footer p,
.polekit-page .footer .footer-contact p { color: var(--pk-muted) !important; }

.polekit-page .footer .footer-newsletter .newsletter-form {
  background: var(--pk-panel-2) !important;
  border: 1px solid var(--pk-border) !important;
}

.polekit-page .footer .footer-newsletter .newsletter-form input[type=email] {
  background: transparent !important;
  color: var(--pk-text) !important;
}

.polekit-page .footer .footer-newsletter .newsletter-form input[type=submit] {
  background: linear-gradient(135deg, var(--pk-cyan-dim), #0e7490) !important;
  color: #fff !important;
}

.polekit-page .footer .footer-links ul a,
.polekit-page .footer .footer-links ul i { color: var(--pk-muted) !important; }

.polekit-page .footer .footer-links ul a:hover { color: var(--pk-cyan) !important; }

.polekit-page .footer .footer-contact a { color: var(--pk-cyan) !important; }

.polekit-page .footer .social-links a {
  background: var(--pk-panel-2) !important;
  border: 1px solid var(--pk-border);
  color: var(--pk-muted) !important;
}

.polekit-page .footer .copyright { border-top: 1px solid var(--pk-border); }

.polekit-page .scroll-top {
  background: linear-gradient(135deg, var(--pk-cyan-dim), #0e7490) !important;
  border: none;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

.polekit-page .scroll-top i { color: #fff !important; }

@media (max-width: 1199px) {
  .polekit-page #header { display: none !important; }
  .polekit-page .mobile-navbar { display: block !important; }
  .polekit-page .mobile-menu.d-xl-none,
  .polekit-page .mobile-menu-backdrop.d-xl-none { display: block !important; }
  .pk-dock { display: flex; }
  .pk-sidenav { display: none !important; }
  .polekit-page .main {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 1200px) {
  .polekit-page .mobile-navbar,
  .polekit-page .mobile-menu,
  .polekit-page .mobile-menu-backdrop {
    display: none !important;
  }
  .pk-dock { display: none !important; }
  .polekit-page .scroll-top { bottom: 24px; }
}

@media (max-width: 991px) {
  .pk-sim,
  .pk-split,
  .pk-vs {
    grid-template-columns: 1fr;
  }

  .pk-split:nth-child(even) .pk-split__visual { order: 0; }
  .pk-features { grid-template-columns: 1fr 1fr; }
  .pk-cases { grid-template-columns: 1fr 1fr; }
  .pk-roles { grid-template-columns: 1fr; }
  .pk-gallery { grid-template-columns: 1fr; }

  .pk-hero {
    min-height: min(100svh, 780px);
  }

  .pk-hero__media img {
    animation: none;
    object-position: 65% center;
  }

  .pk-hero__shade {
    background:
      linear-gradient(180deg, rgba(4, 16, 24, 0.45) 0%, rgba(4, 16, 24, 0.35) 35%, rgba(4, 16, 24, 0.9) 100%),
      linear-gradient(90deg, rgba(4, 16, 24, 0.6), transparent 70%);
  }

  .pk-hero__content { padding: 100px 0 48px; }
}

@media (max-width: 575px) {
  .pk-features,
  .pk-cases { grid-template-columns: 1fr; }
  .pk-sim__stats { grid-template-columns: 1fr 1fr; }
  .pk-hero__copy h1 { font-size: 2.1rem; }
}
