:root {
  --body-bg: #05070e;
  --body-bg-deep: #030408;
  --surface-dark: #0b0f1d;
  --surface-glass: rgba(12, 17, 34, 0.76);
  --text-white: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.74);
  --text-muted: rgba(255, 255, 255, 0.48);
  --text-dim: rgba(255, 255, 255, 0.14);
  --penta-purple: #1d4ed8;
  --penta-indigo: #0ea5e9;
  --penta-cyan: #d6a449;
  --borsa-gold: #d6a449;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-bright: rgba(255, 255, 255, 0.24);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-brand: 'Orbitron', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-penta: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--body-bg);
  color: var(--text-white);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--body-bg);
  color: var(--text-white);
  overflow-x: clip;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Cursor Ambient Spotlight */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.13) 0%, rgba(214, 164, 73, 0.06) 40%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: transform 0.12s ease-out;
}

.penta-wrapper {
  width: min(1560px, calc(100% - 64px));
  margin: 0 auto;
}

.penta-ref-wrapper {
  width: min(1380px, calc(100% - 64px));
}

/* ==========================================================================
   1. BORSANET MINIMAL FLOATING HEADER
   ========================================================================== */
.penta-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 90;
  padding: 28px 0;
  transition: padding 0.35s var(--ease-penta), background 0.35s var(--ease-penta), backdrop-filter 0.35s var(--ease-penta);
}

.penta-header.scrolled {
  padding: 16px 0;
  background: rgba(5, 7, 14, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.penta-header-inner {
  width: min(1680px, calc(100% - 64px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.penta-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.penta-logo-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid rgba(214, 164, 73, 0.75);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 24px rgba(214, 164, 73, 0.22);
}

.penta-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.penta-wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.penta-wordmark-main {
  font-family: var(--font-brand);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
  line-height: 1;
}

.penta-wordmark-sub {
  font-size: 0.56rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(214, 164, 73, 0.85);
}

.penta-header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

.penta-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s ease;
}

.penta-phone-link:hover {
  color: #ffffff;
}

.penta-icon-trigger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.penta-icon-trigger:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(214, 164, 73, 0.5);
}

/* BorsaNET Glowing Sapphire-Gold Pill Button */
.penta-cta-pill {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #0284c7 100%);
  border: 1px solid rgba(214, 164, 73, 0.45);
  box-shadow:
    0 0 28px 0 rgba(37, 99, 235, 0.5),
    inset 0 2px 10px rgba(255, 255, 255, 0.18);
  overflow: hidden;
  transition: transform 0.35s var(--ease-penta), box-shadow 0.35s var(--ease-penta), border-color 0.35s ease;
}

.penta-cta-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #b47d24, #d6a449, #2563eb);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s ease;
}

.penta-cta-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 164, 73, 0.85);
  box-shadow: 0 0 46px 0 rgba(214, 164, 73, 0.45);
}

.penta-cta-pill:hover::before {
  opacity: 1;
}

.penta-cta-lg {
  height: 60px;
  padding: 0 46px;
  font-size: 1.05rem;
}

.penta-ghost-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
  color: #ffffff;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.penta-ghost-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
}

/* Circular 2-line Menu Button (=) */
.penta-menu-trigger {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.penta-menu-trigger .line {
  width: 22px;
  height: 1.6px;
  background: rgba(255, 255, 255, 0.78);
  transition: transform 0.3s ease, background 0.3s ease;
}

.penta-menu-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  transform: scale(1.04);
}

.penta-menu-trigger:hover .line {
  background: #ffffff;
}

/* ==========================================================================
   2. PENTA BOTTOM-UP CURVED SVG WAVE DRAWERS (Menu & Call-To-Action)
   ========================================================================== */
.wave-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.wave-drawer.active {
  pointer-events: auto;
  visibility: visible;
}

.wave-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 12, 0.68);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.55s var(--ease-penta);
}

.wave-drawer.active .wave-drawer-backdrop {
  opacity: 1;
}

.wave-drawer-sheet {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 78vh;
  background: #080912;
  transform: translateY(115%);
  transition: transform 0.65s var(--ease-penta);
  display: flex;
  flex-direction: column;
}

.wave-drawer.active .wave-drawer-sheet {
  transform: translateY(0%);
}

.wave-top-arch {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 68px;
  display: grid;
  grid-template-columns: 1fr 360px 1fr;
  transform: translateY(1px);
  pointer-events: none;
}

.wave-side {
  background: #080912;
  width: 100%;
  height: 100%;
}

.wave-svg {
  width: 100%;
  height: 100%;
  fill: #080912;
  transform: scaleX(1.04);
}

.wave-close-btn {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -45%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #0b0d19;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.6);
  transition: color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.wave-close-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translate(-50%, -45%) rotate(90deg);
}

.wave-drawer-body {
  width: min(1560px, calc(100% - 64px));
  margin: auto;
  padding: 36px 0;
}

.menu-drawer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 64px;
}

.penta-overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.overlay-nav-item {
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.46);
  letter-spacing: -0.02em;
  line-height: 1.15;
  transition: color 0.3s ease, transform 0.3s ease;
  width: fit-content;
}

.overlay-nav-item sup {
  font-size: 0.95rem;
  color: #a78bfa;
  margin-left: 6px;
}

.overlay-nav-item:hover {
  color: #ffffff;
  transform: translateX(14px);
}

.overlay-nav-admin {
  color: var(--borsa-gold);
}

.overlay-sub-info {
  display: grid;
  gap: 24px;
}

.overlay-sub-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.overlay-sub-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.45);
}

.overlay-sub-link {
  text-align: left;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.overlay-sub-link:hover {
  color: #a78bfa;
  transform: translateX(6px);
}

.overlay-big-phone {
  font-size: 2rem;
  font-weight: 300;
  color: #ffffff;
}

.overlay-email {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
}

.overlay-actions-row {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

/* CTA Drawer ("Siz mi Ararsınız? / Biz mi Arayalım?") */
.cta-drawer-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1fr;
  align-items: center;
  gap: 48px;
}

.cta-giant-title {
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-quote {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 28px;
}

.cta-quote span {
  opacity: 0.55;
}

.cta-direct-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-direct-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 1.65rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.25s ease;
}

.cta-direct-item:hover {
  color: #ffffff;
}

.cta-line-split {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  width: 100%;
}

.cta-col-center {
  display: flex;
  justify-content: center;
}

.cta-orb-emblem {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(96, 23, 153, 0.35), rgba(60, 67, 221, 0.08) 70%);
  pointer-events: none;
}

.cta-orb-emblem img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  z-index: 2;
}

.cta-orb-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  animation: spinSlow 24s linear infinite;
  pointer-events: none;
}

.cta-orb-ring.ring-2 {
  inset: -32px;
  border-style: solid;
  border-color: rgba(96, 23, 153, 0.25);
  animation-direction: reverse;
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

.penta-minimal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.penta-minimal-form input,
.penta-minimal-form select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding: 16px 4px;
  font-size: 1.05rem;
  color: #ffffff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.25s ease;
}

.penta-minimal-form select option {
  background: #0d0f1a;
  color: #ffffff;
}

.penta-minimal-form input:focus,
.penta-minimal-form select:focus {
  border-bottom-color: #8b5cf6;
}

.penta-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.kvkk-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.42);
}

.penta-submit-pill {
  height: 54px;
  padding: 0 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  color: #ffffff;
  font-size: 1rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.penta-submit-pill:hover {
  background: #ffffff;
  color: #07080e;
}

.drawer-form-feedback {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
  font-size: 0.92rem;
}

/* ==========================================================================
   3. SECTION 1: PINNED 3D HERO + SCROLL-EXPANDING LAPTOP PORTAL
      (Matches penta-00-hero.jpg -> penta-01.jpg -> penta-02.jpg)
   ========================================================================== */
.hero-scroll-track {
  position: relative;
  height: 215vh;
}

.hero-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-nebula-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 72% 52%, rgba(49, 46, 129, 0.24) 0%, transparent 70%),
    radial-gradient(45% 35% at 62% 28%, rgba(56, 189, 248, 0.11) 0%, transparent 65%),
    linear-gradient(180deg, #06070d 0%, #080a14 78%, #07080e 100%);
}

.nebula-flare {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
}

.nebula-flare.flare-1 {
  width: 520px;
  height: 520px;
  right: 8%;
  top: 18%;
  background: radial-gradient(circle, rgba(96, 23, 153, 0.28), transparent 70%);
}

.nebula-flare.flare-2 {
  width: 420px;
  height: 260px;
  left: 38%;
  bottom: 6%;
  background: radial-gradient(circle, rgba(23, 114, 153, 0.26), transparent 72%);
}

.nebula-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24vh;
  background:
    radial-gradient(75% 100% at 50% 100%, rgba(30, 58, 138, 0.32) 0%, rgba(7, 8, 14, 0.95) 75%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-container {
  position: relative;
  z-index: 5;
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: 56px;
  padding-top: 42px;
}

.hero-copy-col {
  will-change: transform, opacity;
  transition: transform 0.08s linear, opacity 0.08s linear;
}

/* Thin iridescent subtitle exactly like Penta's "Profesyonel Web Tasarım Ajansı" */
.hero-thin-kicker {
  font-size: clamp(1.2rem, 1.7vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  background: linear-gradient(90deg, #f3ca6b 0%, #60a5fa 52%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Massive, clean, tight-tracking geometric headline with "_" cursor */
.hero-typewriter-box {
  min-height: 3.25em;
  font-size: clamp(3.1rem, 5.1vw, 5.1rem);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.typewriter-cursor {
  display: inline-block;
  color: #f3ca6b;
  font-weight: 300;
  margin-left: 4px;
  animation: cursorBlink 0.95s steps(2, start) infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtle-lead {
  margin-top: 24px;
  max-width: 610px;
  font-size: 1.04rem;
  font-weight: 300;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.62);
}

.hero-subtle-lead strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.hero-quick-buttons {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-showreel-trigger {
  height: 48px;
  padding: 0 22px 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.85), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(214, 164, 73, 0.48);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.55), 0 0 25px rgba(214, 164, 73, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-showreel-trigger:hover {
  transform: translateY(-2px);
  border-color: #f3ca6b;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.4), 0 0 30px rgba(214, 164, 73, 0.32);
}

.hero-play-pulse {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d6a449, #f3ca6b);
  color: #090d16;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-outline-trigger {
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-outline-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.36);
}

/* 3D Angled Floating Laptop Rig with Real Showreel Video Inside */
.hero-laptop-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1800px;
}

.laptop-3d-rig {
  position: relative;
  width: 580px;
  transform-style: preserve-3d;
  transform: rotateY(-19deg) rotateX(8deg) rotateZ(-4deg);
  will-change: transform;
  transition: transform 0.08s linear;
}

.laptop-lid {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.15;
  background: linear-gradient(180deg, #161f33 0%, #0b101d 100%);
  border-radius: 20px 20px 4px 4px;
  padding: 13px 13px 20px;
  border: 1.5px solid rgba(203, 213, 225, 0.36);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.88),
    0 0 65px rgba(37, 99, 235, 0.26),
    0 0 32px rgba(214, 164, 73, 0.16),
    inset 0 1px 1px rgba(255, 255, 255, 0.28);
  z-index: 3;
}

.laptop-camera-notch {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 5px;
  border-radius: 999px;
  background: #050811;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.laptop-camera-notch span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1e3a8a;
  box-shadow: 0 0 4px #38bdf8;
}

.laptop-lid-brand {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display, 'Orbitron', sans-serif);
  font-size: 0.52rem;
  letter-spacing: 0.28em;
  color: rgba(203, 213, 225, 0.48);
  pointer-events: none;
}

.laptop-screen-bezel {
  width: 100%;
  height: 100%;
  border-radius: 10px 10px 4px 4px;
  overflow: hidden;
  background: #050914;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.laptop-screen-content {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #050914;
}

.portal-showreel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: saturate(1.06) contrast(1.03);
}

.portal-white-intro {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(6, 11, 25, 0.18) 0%, rgba(6, 11, 25, 0.56) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 2;
  transition: opacity 0.25s ease;
}

.portal-live-pill {
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(8, 13, 28, 0.86);
  border: 1px solid rgba(214, 164, 73, 0.58);
  color: #f3ca6b;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.portal-live-pill .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
}

.portal-play-badge {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 164, 73, 0.92), rgba(37, 99, 235, 0.82));
  border: 1.5px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.portal-play-badge:hover {
  transform: scale(1.08);
}

.portal-expanded-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  padding: 11px 16px;
  border-radius: 14px;
  background: rgba(6, 10, 22, 0.86);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(214, 164, 73, 0.36);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 3;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.22s ease;
}

.portal-tag {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  color: #f3ca6b;
  display: block;
}

.portal-expanded-overlay strong {
  font-size: 0.86rem;
  color: #ffffff;
}

.portal-fullscreen-btn {
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d6a449, #b47d24);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #070a12;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

/* Machined Hinge Barrel Physically Joining Lid & Base */
.laptop-hinge {
  position: relative;
  width: 78%;
  height: 10px;
  margin: -3px auto 0;
  background: linear-gradient(180deg, #090d16 0%, #334155 48%, #0f172a 100%);
  border-radius: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
  z-index: 4;
  transition: opacity 0.2s ease;
}

/* Realistic Machined Space-Gray Aluminum Laptop Base & Keyboard Deck */
.laptop-base {
  position: relative;
  width: 112%;
  height: 118px;
  margin-left: -6%;
  margin-top: -2px;
  background: linear-gradient(180deg, #94a3b8 0%, #64748b 58%, #334155 100%);
  border-radius: 4px 4px 22px 22px;
  transform-origin: top center;
  transform: perspective(900px) rotateX(66deg);
  box-shadow:
    0 24px 36px rgba(0, 0, 0, 0.88),
    0 6px 0 #1e293b,
    inset 0 2px 3px rgba(255, 255, 255, 0.62);
  padding: 10px 34px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  transition: opacity 0.2s ease;
}

.laptop-keyboard {
  width: 100%;
  height: 58px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 11px),
    repeating-linear-gradient(90deg, #0f131d 0px, #0f131d 18px, #262e3d 18px, #262e3d 20px),
    linear-gradient(180deg, #0b0e16, #171c28);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

.laptop-trackpad {
  width: 30%;
  height: 30px;
  margin: 0 auto;
  border-radius: 5px;
  background: linear-gradient(180deg, rgba(100, 116, 139, 0.85), rgba(71, 85, 105, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.laptop-front-lip {
  width: 18%;
  height: 4px;
  margin: 0 auto -6px;
  border-radius: 999px;
  background: #0f172a;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.laptop-shadow {
  position: absolute;
  bottom: -24px;
  left: 2%;
  width: 96%;
  height: 42px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.88) 0%, rgba(37, 99, 235, 0.16) 45%, transparent 74%);
  filter: blur(14px);
  z-index: 1;
  transition: opacity 0.2s ease;
}

/* Scroll Down Mouse Indicator */
.penta-scroll-mouse {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.penta-scroll-mouse:hover {
  color: #ffffff;
}

.mouse-shell {
  width: 20px;
  height: 30px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.mouse-wheel {
  width: 2px;
  height: 6px;
  border-radius: 999px;
  background: #ffffff;
  animation: mouseScroll 1.6s ease-in-out infinite;
}

@keyframes mouseScroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ==========================================================================
   4. SECTION 2: PINNED CORE STAGE & WORD-BY-WORD SCROLL MANIFESTO
      (Matches penta-02.jpg -> penta-03.jpg -> penta-04.jpg -> penta-05.jpg)
   ========================================================================== */
.manifesto-scroll-track {
  position: relative;
  height: 220vh;
  background: var(--body-bg);
}

.manifesto-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-visual-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.15s linear, transform 0.15s linear;
}

.electric-floor-grid {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 120%;
  height: 58%;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(37, 99, 235, 0.36) 0%, rgba(214, 164, 73, 0.14) 38%, transparent 70%),
    repeating-linear-gradient(90deg, rgba(59, 130, 246, 0.08) 0px, rgba(59, 130, 246, 0.08) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(0deg, rgba(214, 164, 73, 0.12) 0px, rgba(214, 164, 73, 0.12) 2px, transparent 2px, transparent 48px);
  transform: perspective(600px) rotateX(68deg) rotateZ(-8deg);
  filter: drop-shadow(0 0 24px rgba(37, 99, 235, 0.45));
}

.core-reactor-orb {
  position: relative;
  width: 300px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reactor-glass {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.24), rgba(37, 99, 235, 0.3) 45%, rgba(6, 10, 22, 0.94) 80%);
  border: 1.5px solid rgba(214, 164, 73, 0.36);
  box-shadow:
    0 0 80px rgba(37, 99, 235, 0.55),
    inset 0 0 40px rgba(214, 164, 73, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(8deg);
}

.reactor-glass img {
  width: 118px;
  height: 118px;
  object-fit: contain;
}

.holo-chip {
  position: absolute;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(10, 16, 32, 0.78);
  border: 1px solid rgba(214, 164, 73, 0.24);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  animation: floatHolo 4s ease-in-out infinite alternate;
}

.holo-chip small {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: #f3ca6b;
}

.holo-chip strong {
  font-size: 0.92rem;
  color: #ffffff;
}

.holo-chip.chip-1 { left: -180px; top: 18px; animation-delay: 0s; }
.holo-chip.chip-2 { left: -160px; bottom: 34px; animation-delay: 0.6s; }
.holo-chip.chip-3 { right: -185px; top: 32px; animation-delay: 1.1s; }
.holo-chip.chip-4 { right: -165px; bottom: 28px; animation-delay: 1.6s; }

@keyframes floatHolo {
  from { transform: translateY(-6px); }
  to { transform: translateY(8px); }
}

.manifesto-text-layer {
  position: relative;
  z-index: 4;
  width: min(1320px, calc(100% - 64px));
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.manifesto-statement {
  font-size: clamp(2.2rem, 4.1vw, 4.2rem);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -0.025em;
  max-width: 1220px;
}

.manifesto-statement .m-word {
  color: rgba(255, 255, 255, 0.13);
  transition: color 0.12s ease;
}

.manifesto-statement .m-word.lit {
  color: #ffffff;
}

#manifesto-statement-2 {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   5. SECTION 3: MINIMALIST DARK-GLASS HORIZONTAL SERVICES STRIP
   ========================================================================== */
.penta-services-section {
  position: relative;
  padding: 130px 0 110px;
  overflow: hidden;
}

.services-ambient-glow {
  position: absolute;
  left: 18%;
  top: 12%;
  width: 580px;
  height: 360px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2), rgba(214, 164, 73, 0.08) 50%, transparent 72%);
  filter: blur(60px);
  pointer-events: none;
}

.penta-center-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}

.penta-pill-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f3ca6b;
  background: rgba(30, 58, 138, 0.35);
  border: 1px solid rgba(214, 164, 73, 0.34);
  margin-bottom: 18px;
}

.penta-center-head h2 {
  font-size: clamp(2.4rem, 3.6vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 18px;
}

.penta-center-head p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

/* Five expertise cards share one row on desktop. */
.penta-services-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.penta-service-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  min-height: 360px;
  border-radius: 24px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    radial-gradient(90% 90% at var(--mx) var(--my), rgba(37, 99, 235, 0.2), rgba(255, 255, 255, 0.01) 70%),
    rgba(10, 14, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.35s ease, transform 0.35s var(--ease-penta);
}

/* Ambient Sphere in top-right that slides in on hover */
.penta-service-card::before {
  content: '';
  position: absolute;
  top: -35%;
  right: -35%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45) 0%, rgba(214, 164, 73, 0.22) 55%, transparent 72%);
  opacity: 0.25;
  transform: translate(25%, -25%);
  transition: transform 0.5s var(--ease-penta), opacity 0.5s ease;
  pointer-events: none;
}

.penta-service-card:hover {
  border-color: rgba(214, 164, 73, 0.42);
  transform: translateY(-6px);
}

.penta-service-card:hover::before {
  opacity: 0.78;
  transform: translate(5%, -5%);
}

.service-icon-circle {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(217, 217, 217, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.4s var(--ease-penta), background 0.4s ease;
}

.penta-service-card:hover .service-icon-circle {
  background: rgba(37, 99, 235, 0.36);
}

.penta-service-card h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 10px;
}

.penta-service-card p {
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.62);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease-penta), opacity 0.35s ease, margin-top 0.35s ease;
}

.penta-service-card:hover p {
  max-height: 140px;
  opacity: 1;
  margin-top: 6px;
}

/* ==========================================================================
   6. SECTION 4: PINNED SCROLL-STACKING FULL-VIEWPORT CARDS
   ========================================================================== */
.stack-cards-track {
  position: relative;
  height: 320vh;
  padding: 20px 0;
}

.stack-cards-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.stack-cards-inner {
  position: relative;
  width: min(1620px, calc(100% - 48px));
  height: 82vh;
  max-height: 790px;
}

.penta-stack-card {
  position: absolute;
  inset: 0;
  border-radius: 40px;
  overflow: hidden;
  padding: clamp(36px, 4.5vw, 72px);
  display: flex;
  align-items: center;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.65);
  transform-origin: top center;
  will-change: transform, filter;
}

/* Card 1: BorsaNET Royal Sapphire & Bullion Gold Accent */
.stack-card-purple {
  z-index: 1;
  background:
    radial-gradient(65% 85% at 92% 85%, rgba(214, 164, 73, 0.38) 0%, transparent 60%),
    radial-gradient(50% 60% at 8% 12%, rgba(56, 189, 248, 0.42) 0%, transparent 55%),
    linear-gradient(135deg, #0f2454 0%, #1d3b8b 52%, #1e40af 100%);
}

/* Card 2: Deep Financial Cyber Teal & Cobalt */
.stack-card-royal {
  z-index: 2;
  background:
    radial-gradient(60% 75% at 14% 20%, rgba(16, 185, 129, 0.36) 0%, transparent 60%),
    radial-gradient(65% 75% at 85% 50%, rgba(15, 23, 42, 0.85) 0%, transparent 70%),
    linear-gradient(135deg, #0b3b5e 0%, #0f296b 48%, #111c4e 100%);
  transform: translateY(108%);
}

/* Card 3: Bright Platinum & Champagne Contrast Card */
.stack-card-ice {
  z-index: 3;
  background:
    radial-gradient(55% 65% at 82% 22%, rgba(255, 255, 255, 0.94) 0%, transparent 65%),
    radial-gradient(65% 75% at 20% 80%, rgba(254, 243, 199, 0.72) 0%, transparent 65%),
    linear-gradient(135deg, #e0f2fe 0%, #f8fafc 52%, #fef3c7 100%);
  color: #0f2454;
  transform: translateY(108%);
}

.stack-card-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}

.stack-card-royal .stack-card-grid,
.stack-card-ice .stack-card-grid {
  grid-template-columns: 1.15fr 1fr;
}

.stack-text-col h3 {
  font-size: clamp(2rem, 3.1vw, 3.1rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.stack-split {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  margin: 26px 0;
}

.ice-split {
  background: rgba(25, 50, 168, 0.16);
}

.stack-lead {
  font-size: 1.08rem;
  font-weight: 500;
  color: #ffffff;
}

.stack-body-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.9);
}

.stack-stat-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 1.05rem;
}

.stack-stat-line strong {
  font-size: 1.45rem;
  font-weight: 600;
}

.stack-two-col-copy {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.stack-two-col-copy h4 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  font-weight: 500;
  line-height: 1.24;
}

.stack-two-col-copy p {
  font-size: 0.98rem;
  line-height: 1.65;
  opacity: 0.92;
}

.stack-card-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.stack-pill-btn {
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.stack-pill-btn:hover {
  background: #ffffff;
  color: #1e1b4b;
  transform: translateY(-2px);
}

.stack-ghost-link {
  font-size: 0.94rem;
  text-decoration: underline;
  text-underline-offset: 5px;
  opacity: 0.85;
}

/* Stack Card 1 Visuals */
.stack-laptop-composition {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0;
}

.stack-device-frame {
  width: 88%;
  border-radius: 18px;
  overflow: hidden;
  border: 2.5px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 28px 65px rgba(5, 8, 22, 0.65);
  transform: perspective(1100px) rotateY(10deg) rotateX(3deg) translateX(-16px);
  z-index: 2;
}

.stack-secondary-desktop {
  position: absolute;
  left: -14px;
  bottom: -24px;
  width: 56%;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(214, 164, 73, 0.65);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.72);
  transform: perspective(900px) rotateY(8deg);
  z-index: 3;
}

.stack-phone-overlay {
  position: absolute;
  right: -8px;
  bottom: -20px;
  width: 28%;
  border-radius: 20px;
  overflow: hidden;
  border: 2.5px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.68);
  z-index: 4;
}

.floating-torus {
  position: absolute;
  border-radius: 50%;
  border: 14px solid rgba(56, 189, 248, 0.45);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.5), 0 16px 32px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.torus-left {
  width: 110px;
  height: 110px;
  left: -18px;
  top: -26px;
  transform: rotate(-28deg);
}

.torus-right {
  width: 74px;
  height: 74px;
  right: 12%;
  top: -18px;
  transform: rotate(22deg);
}

/* Stack Card 2 Cyber Shield & Gauges (penta-08.jpg) */
.cyber-shield-composition {
  position: relative;
  height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.white-gauge-card {
  position: absolute;
  background: #ffffff;
  color: #0f172a;
  border-radius: 18px;
  padding: 14px 20px;
  display: flex;
  gap: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38);
  z-index: 4;
}

.gauge-top {
  top: 0;
  right: 16px;
}

.gauge-bottom {
  bottom: 12px;
  right: 8px;
}

.gauge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.circular-chart {
  width: 58px;
  height: 58px;
}

.circle-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 3.2;
}

.circle {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
}

.circular-chart.blue .circle { stroke: #2563eb; }
.circular-chart.green .circle { stroke: #10b981; }
.circular-chart.red .circle { stroke: #ef4444; }

.gauge-val {
  position: absolute;
  top: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}

.gauge-item small {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 4px;
}

.cyber-browser-pill {
  position: absolute;
  top: 98px;
  right: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cyber-shield-box {
  position: relative;
  width: 82%;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 65px rgba(56, 189, 248, 0.3);
}

.cyber-shield-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px;
  border-radius: 14px;
  background: rgba(8, 14, 32, 0.85);
  border: 1px solid rgba(214, 164, 73, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
}

/* Stack Card 3 Bright Sky-Ice Styles (penta-09.jpg & penta-10.jpg) */
.ice-badges-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ice-circle-badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1.5px solid rgba(25, 50, 168, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(255, 255, 255, 0.35);
}

.ice-circle-badge strong {
  font-size: 1rem;
  font-weight: 700;
  color: #162d9c;
}

.ice-circle-badge span {
  font-size: 0.72rem;
  color: rgba(22, 45, 156, 0.78);
}

.ice-pedestal-composition {
  position: relative;
  height: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.ice-rating-pill {
  position: absolute;
  top: 12px;
  left: 18px;
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(22, 45, 156, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 4;
}

.ice-rating-pill strong {
  color: #0f172a;
}

.ice-rating-pill span {
  color: #f59e0b;
  letter-spacing: 2px;
}

.ice-rating-pill small {
  color: #64748b;
  font-size: 0.76rem;
}

.ice-pedestal-laptop {
  width: 92%;
  border-radius: 16px;
  overflow: hidden;
  border: 4px solid #1e3a8a;
  box-shadow: 0 24px 50px rgba(22, 45, 156, 0.28);
  transform: perspective(1000px) rotateY(-16deg) rotateX(6deg);
  z-index: 2;
}

.ice-pedestal-block {
  width: 88%;
  height: 90px;
  margin-top: -18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 60%, #1e3a8a 100%);
  transform: perspective(800px) rotateY(-16deg);
  box-shadow: 0 24px 48px rgba(29, 78, 216, 0.35);
}

/* ==========================================================================
   7. SECTION 5: INTERACTIVE PRODUCT TOUR (3 Flagship Software Products)
   ========================================================================== */
.product-tour-section {
  padding: 120px 0 90px;
}

.product-tour-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 38px;
}

.tour-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
  transition: all 0.3s var(--ease-penta);
}

.tour-tab img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px;
  flex-shrink: 0;
}

.tour-tab div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tour-tab span {
  font-size: 0.96rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
}

.tour-tab small {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.54);
}

.tour-tab.active {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.72), rgba(214, 164, 73, 0.25));
  border-color: rgba(214, 164, 73, 0.65);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.65), 0 0 28px rgba(214, 164, 73, 0.22);
}

.product-tour-stage {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 28px;
  background: rgba(13, 15, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 32px;
  padding: 32px;
}

.tour-module-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tour-module-btn {
  text-align: left;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s ease;
}

.tour-module-btn small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #a78bfa;
  margin-bottom: 4px;
}

.tour-module-btn strong {
  display: block;
  font-size: 0.98rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.tour-module-btn span {
  display: block;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
}

.tour-module-btn.active,
.tour-module-btn:hover {
  background: rgba(108, 53, 178, 0.18);
  border-color: rgba(167, 139, 250, 0.45);
}

.tour-screen-viewer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #070912;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.tour-browser-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.tour-dots {
  display: flex;
  gap: 7px;
}

.tour-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.tour-dots i:nth-child(1) { background: #ef4444; }
.tour-dots i:nth-child(2) { background: #f59e0b; }
.tour-dots i:nth-child(3) { background: #10b981; }

.tour-url {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.tour-zoom-btn {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #ffffff;
}

.tour-image-canvas {
  position: relative;
  aspect-ratio: 16 / 9.4;
  background: #05060b;
  overflow: hidden;
  cursor: zoom-in;
}

.tour-image-canvas img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tour-caption-bar {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ==========================================================================
   8. SECTION 6: PENTA'S SIGNATURE STAGGERED 2-COLUMN REFERENCE GRID
      (Matches penta-11.jpg -> penta-17.jpg: Referanslarımız)
   ========================================================================== */
.penta-references-section {
  position: relative;
  padding: 120px 0 110px;
}

.references-ambient-glow {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 360px;
  background: radial-gradient(circle, rgba(96, 23, 153, 0.25) 0%, rgba(60, 67, 221, 0.08) 55%, transparent 72%);
  filter: blur(65px);
  pointer-events: none;
}

.penta-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.penta-filter-btn {
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: all 0.3s ease;
}

.penta-filter-btn span {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.penta-filter-btn.active,
.penta-filter-btn:hover {
  color: #ffffff;
  background: linear-gradient(45deg, #601799, #3c43dd);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 28px rgba(108, 53, 178, 0.45);
}

/* Staggered 2-Column Grid (exact match to penta-11.jpg - penta-17.jpg) */
.penta-ref-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  row-gap: 72px;
  align-items: start;
}

/* Right column staggered offset like Penta */
.penta-ref-item:nth-child(even) {
  margin-top: 84px;
}

.penta-ref-card {
  --rx: 50%;
  --ry: 50%;
  position: relative;
  display: block;
  cursor: pointer;
}

.penta-ref-visual {
  position: relative;
  aspect-ratio: 31 / 27;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #101322;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.55s var(--ease-penta), border-color 0.4s ease, box-shadow 0.55s var(--ease-penta);
}

.penta-ref-card:hover .penta-ref-visual {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.72), 0 0 45px rgba(96, 23, 153, 0.28);
}

.ref-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.75s var(--ease-penta), filter 0.5s ease;
  filter: brightness(0.84) contrast(1.04);
}

.penta-ref-card:hover .ref-cover-img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

/* Dark vignette + Top-centered Brand Logo Overlay (like sahibinden, TCDD, OYAK in penta-11..15) */
.ref-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 7, 14, 0.65) 0%, rgba(6, 7, 14, 0.15) 40%, rgba(6, 7, 14, 0.75) 100%);
  pointer-events: none;
}

.ref-brand-crest {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 14px;
  background: rgba(7, 8, 14, 0.76);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.ref-brand-crest img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  border-radius: 6px;
}

.ref-brand-crest span {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: #ffffff;
  white-space: nowrap;
}

/* Floating mobile preview on card bottom-right if mobile screenshots exist */
.ref-mobile-peek {
  position: absolute;
  right: 22px;
  bottom: -16px;
  width: 24%;
  max-width: 145px;
  border-radius: 16px;
  overflow: hidden;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.75);
  z-index: 3;
  transition: transform 0.5s var(--ease-penta);
}

.penta-ref-card:hover .ref-mobile-peek {
  transform: translateY(-14px) scale(1.04);
}

/* Hover action bar inside visual */
.ref-hover-actions {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 4;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease-penta);
}

.penta-ref-card:hover .ref-hover-actions {
  opacity: 1;
  transform: translateY(0);
}

.ref-action-pill {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(7, 8, 14, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.ref-action-pill.primary {
  background: linear-gradient(45deg, #601799, #3c43dd);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Below-Card Clean Typography (Exact match to penta-12.jpg - penta-17.jpg) */
.penta-ref-meta {
  padding-top: 22px;
}

.penta-ref-title {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 6px;
}

.penta-ref-category {
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   9. SECTION 7: FLOATING BRAND LOGOS CLOUD + STORY MANIFESTO
      (Matches penta-18.jpg)
   ========================================================================== */
.penta-customer-story {
  position: relative;
  padding: 150px 0 180px;
  overflow: hidden;
}

.floating-logos-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cloud-logo {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: 0.14;
  filter: grayscale(1);
  transition: transform 0.2s ease-out;
}

.cloud-logo img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.cloud-logo span {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.cloud-logo.pos-1 { left: 6%; top: 24%; }
.cloud-logo.pos-2 { left: 14%; top: 58%; }
.cloud-logo.pos-3 { left: 26%; bottom: 16%; }
.cloud-logo.pos-4 { right: 7%; top: 22%; }
.cloud-logo.pos-5 { right: 15%; top: 54%; }
.cloud-logo.pos-6 { right: 24%; bottom: 18%; }

.customer-story-center {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 780px;
}

.customer-story-center h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.customer-story-center h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.3rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
}

.customer-story-center p {
  font-size: 1.04rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 38px;
}

.customer-story-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.penta-underline-link {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ==========================================================================
   10. SECTION 8: PENTA GIANT COUNTERS & ECOSYSTEM MAP
   ========================================================================== */
.penta-map-counters {
  padding: 110px 0 130px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.map-counters-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.counters-col h2 {
  font-size: clamp(2.4rem, 3.8vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.counters-lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin-bottom: 52px;
}

.penta-counter-table {
  max-width: 720px;
}

.penta-counter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.penta-counter-cell {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.penta-giant-num {
  font-size: clamp(3.6rem, 5.8vw, 5.6rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.penta-giant-num small {
  font-size: 2rem;
}

.penta-counter-label {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.72);
  padding-bottom: 8px;
}

.penta-counter-split {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 32px 0;
}

.network-radar-map {
  position: relative;
  aspect-ratio: 1;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(23, 114, 153, 0.22) 0%, rgba(96, 23, 153, 0.08) 55%, transparent 72%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.radar-circle.c1 { width: 42%; height: 42%; }
.radar-circle.c2 { width: 72%; height: 72%; }
.radar-circle.c3 { width: 98%; height: 98%; border-style: solid; border-color: rgba(255, 255, 255, 0.06); }

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
}

.pin-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  display: block;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.15), 0 0 24px #38bdf8;
}

.pin-card {
  margin-top: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(12, 15, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.pin-card strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
}

.pin-card small {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.58);
}

/* ==========================================================================
   11. PENTA FOOTER & FLOATING BOTTOM-RIGHT ORB
   ========================================================================== */
.penta-footer {
  padding: 90px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #05060b;
}

.penta-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand-block p {
  margin-top: 20px;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.56);
  max-width: 420px;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-col h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-links-col a,
.footer-link-btn,
.footer-links-col span {
  text-align: left;
  font-size: 0.94rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.58);
  transition: color 0.2s ease;
}

.footer-links-col a:hover,
.footer-link-btn:hover {
  color: #ffffff;
}

.footer-phone {
  font-size: 1.25rem !important;
  color: #ffffff !important;
}

.penta-footer-bottom {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.42);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

/* Floating BorsaNET Sapphire-Gold Action Orb in Bottom-Right */
.penta-floating-orb {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 95;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  border: 1.5px solid rgba(214, 164, 73, 0.55);
  color: #f3ca6b;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.55);
  transition: transform 0.3s var(--ease-penta), box-shadow 0.3s ease;
}

.penta-floating-orb:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 16px 45px rgba(214, 164, 73, 0.45);
}

.story-video-btn {
  margin-left: 10px;
  background: rgba(214, 164, 73, 0.14);
  border-color: rgba(214, 164, 73, 0.45);
  color: #f3ca6b;
}

/* ==========================================================================
   12. CASE MODAL, VIDEO SHOWREEL MODAL & LIGHTBOX
   ========================================================================== */
.case-modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.case-modal.active,
.lightbox.active {
  pointer-events: auto;
  opacity: 1;
}

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 14, 0.86);
  backdrop-filter: blur(16px);
}

.case-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 40px));
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 32px;
  background: #080d1a;
  border: 1px solid rgba(214, 164, 73, 0.24);
  padding: 44px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.85);
}

.video-modal-dialog {
  width: min(1180px, calc(100% - 40px));
  padding: 28px 34px 30px;
}

.video-modal-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  padding-right: 56px;
  flex-wrap: wrap;
}

.video-modal-kicker {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #f3ca6b;
  margin-bottom: 4px;
}

.video-modal-title {
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  font-weight: 500;
  color: #ffffff;
}

.video-modal-active-project {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.active-scene-badge {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(214, 164, 73, 0.14);
  border: 1px solid rgba(214, 164, 73, 0.42);
  color: #f3ca6b;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
}

.video-inspect-btn {
  height: 38px !important;
  padding: 0 18px !important;
  font-size: 0.82rem !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
  background: rgba(30, 58, 138, 0.38) !important;
}

.video-modal-frame {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(214, 164, 73, 0.35);
  background: #040711;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.video-modal-player {
  width: 100%;
  max-height: 55vh;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  background: #040711;
}

.video-modal-chapters {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 8px;
}

.video-chapter-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.8rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: all 0.22s ease;
}

.video-chapter-pill .chap-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #f3ca6b;
  background: rgba(214, 164, 73, 0.14);
  padding: 3px 7px;
  border-radius: 6px;
}

.video-chapter-pill .chap-text {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.video-chapter-pill:hover,
.video-chapter-pill.active {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.65), rgba(214, 164, 73, 0.22));
  border-color: rgba(214, 164, 73, 0.68);
  color: #ffffff;
  transform: translateY(-1px);
}

.case-modal-close,
.lightbox-close {
  position: sticky;
  top: 0;
  float: right;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.1rem;
  z-index: 10;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.case-modal-close:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(214, 164, 73, 0.65);
}

.case-modal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  margin-top: 24px;
}

.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.case-gallery-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #070810;
  cursor: zoom-in;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.case-gallery-item:hover {
  transform: translateY(-3px);
  border-color: rgba(214, 164, 73, 0.45);
}

.case-gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.case-gallery-item div {
  padding: 12px 16px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Fullscreen Multi-Image Slider Lightbox */
.lightbox {
  background: rgba(4, 6, 14, 0.96);
  backdrop-filter: blur(20px);
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 32px 24px;
}

.lightbox-topbar {
  width: min(1480px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.lightbox-counter {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(214, 164, 73, 0.18);
  border: 1px solid rgba(214, 164, 73, 0.52);
  color: #f3ca6b;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
}

.lightbox-caption {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
}

.lightbox-close {
  position: static;
  float: none;
  flex-shrink: 0;
}

.lightbox-stage {
  position: relative;
  width: min(1540px, 100%);
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.lightbox-img-wrap {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.lightbox-img-wrap img {
  max-width: 86vw;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
}

.lightbox-nav {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.82);
  border: 1.5px solid rgba(214, 164, 73, 0.48);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(37, 99, 235, 0.78);
  border-color: #f3ca6b;
  transform: scale(1.08);
}

.lightbox-thumbs {
  width: min(1360px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 8px;
}

.lightbox-thumb-btn {
  width: 96px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: #080c18;
  opacity: 0.55;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lightbox-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  border-radius: 0;
}

.lightbox-thumb-btn.active,
.lightbox-thumb-btn:hover {
  opacity: 1;
  border-color: #f3ca6b;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1180px) {
  .hero-container,
  .stack-card-grid,
  .stack-card-royal .stack-card-grid,
  .stack-card-ice .stack-card-grid,
  .product-tour-tabs,
  .product-tour-stage,
  .map-counters-grid,
  .menu-drawer-grid,
  .cta-drawer-grid,
  .penta-footer-top,
  .case-modal-grid {
    grid-template-columns: 1fr;
  }

  .video-modal-chapters {
    grid-template-columns: repeat(2, 1fr);
  }

  .penta-services-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .penta-ref-grid {
    grid-template-columns: 1fr;
  }

  .penta-ref-item:nth-child(even) {
    margin-top: 0;
  }

  .stack-cards-track {
    height: auto;
  }

  .stack-cards-sticky {
    position: relative;
    height: auto;
  }

  .stack-cards-inner {
    height: auto;
    max-height: none;
    display: grid;
    gap: 28px;
  }

  .penta-stack-card {
    position: relative;
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .penta-phone-link span {
    display: none;
  }

  .penta-services-row,
  .case-gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   v4 — NATIVE RETINA LIVE SHOWREEL STAGE (HTML/CSS, zero video blur)
   Typography scales with container width (cqw) so the same markup looks
   crisp in the small laptop portal and in the fullscreen theater modal.
   ========================================================================== */
.live-reel-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  container-type: size;
  background: radial-gradient(120% 90% at 80% 10%, #0f1a3a 0%, #060a17 55%, #04060e 100%);
  color: #fff;
}

.modal-reel-stage {
  position: relative;
  inset: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 64vh;
}

.reel-slides-container {
  position: absolute;
  inset: 0;
}

.reel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}

.reel-slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0s;
  z-index: 2;
}

.reel-slide-bg {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  filter: blur(28px) saturate(1.25) brightness(0.32);
  transform: scale(1.08);
}

.reel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 15% 50%, rgba(4, 6, 14, 0.85) 0%, transparent 70%),
    linear-gradient(180deg, transparent 70%, rgba(4, 6, 14, 0.75) 100%);
  pointer-events: none;
}

.reel-slide-grid {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 0.92fr 1.35fr;
  align-items: center;
  gap: 3cqw;
  padding: 5cqh 4.5cqw 9cqh;
}

.reel-copy-pane {
  display: flex;
  flex-direction: column;
  gap: 1.6cqh;
  min-width: 0;
}

.reel-scene-pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8cqw;
  font-family: var(--font-mono);
  font-size: clamp(6px, 1.05cqw, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reel-scene-num {
  padding: 0.5cqh 0.9cqw;
  border-radius: 999px;
  background: var(--scene-accent, #d6a449);
  color: #0a0d18;
  font-weight: 600;
}

.reel-scene-kicker {
  color: var(--scene-accent, #f3ca6b);
}

.reel-scene-title {
  font-size: clamp(10px, 2.75cqw, 34px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: #fff;
}

.reel-scene-sub {
  font-size: clamp(7px, 1.25cqw, 15px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.reel-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7cqw;
  margin-top: 0.6cqh;
}

.reel-chip {
  padding: 0.7cqh 1cqw;
  border-radius: 999px;
  font-size: clamp(6px, 1cqw, 12px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}

.reel-visual-pane {
  position: relative;
  height: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reel-main-window {
  position: relative;
  width: 100%;
  border-radius: clamp(6px, 1.1cqw, 14px);
  overflow: hidden;
  background: #0b1020;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.6), 0 0 0 1px color-mix(in srgb, var(--scene-accent, #d6a449) 35%, transparent);
  transform: perspective(1400px) rotateY(-5deg);
  transform-origin: left center;
}

.reel-win-bar {
  display: flex;
  align-items: center;
  gap: 1cqw;
  padding: 0.9cqh 1.2cqw;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: clamp(6px, 0.9cqw, 11px);
}

.win-dots {
  display: inline-flex;
  gap: 0.4cqw;
}

.win-dots i {
  width: clamp(4px, 0.7cqw, 9px);
  height: clamp(4px, 0.7cqw, 9px);
  border-radius: 50%;
  background: #ef4444;
}
.win-dots i:nth-child(2) { background: #f59e0b; }
.win-dots i:nth-child(3) { background: #10b981; }

.win-url {
  flex: 1;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.win-live {
  color: #34d399;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.reel-main-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  image-rendering: -webkit-optimize-contrast;
}

.reel-slide.active .reel-main-img {
  animation: reelKenBurns 4.2s ease-out both;
}

@keyframes reelKenBurns {
  from { transform: scale(1.04); }
  to { transform: scale(1); }
}

.reel-sec-window {
  position: absolute;
  left: -6%;
  bottom: 2%;
  width: 38%;
  border-radius: clamp(4px, 0.8cqw, 10px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 1.5cqw 4cqw rgba(0, 0, 0, 0.7);
  background: #0b1020;
}

.reel-sec-window img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.reel-mob-window {
  position: absolute;
  right: -2%;
  bottom: -2%;
  width: 17%;
  aspect-ratio: 9 / 19.5;
  border-radius: clamp(8px, 1.6cqw, 22px);
  padding: clamp(2px, 0.35cqw, 5px);
  background: linear-gradient(145deg, #2a3045, #10131f);
  box-shadow: 0 2cqw 4cqw rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.reel-mob-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: clamp(6px, 1.3cqw, 18px);
  display: block;
}

.reel-slide.active .reel-sec-window,
.reel-slide.active .reel-mob-window {
  animation: reelFloatIn 0.7s var(--ease-penta) both;
}
.reel-slide.active .reel-mob-window { animation-delay: 0.12s; }

@keyframes reelFloatIn {
  from { opacity: 0; transform: translateY(14%); }
  to { opacity: 1; transform: translateY(0); }
}

.reel-hud-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 4px;
}

.reel-progress-track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
}

.reel-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #d6a449, #f3ca6b);
  box-shadow: 0 0 12px rgba(214, 164, 73, 0.7);
}

.reel-nav-arrow {
  position: absolute;
  bottom: calc(50cqh - 22px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(6, 10, 22, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.reel-nav-arrow:hover { background: rgba(214, 164, 73, 0.3); border-color: rgba(214, 164, 73, 0.6); }
.reel-nav-arrow.prev { left: 14px; }
.reel-nav-arrow.next { right: 14px; }

/* Small portal (laptop lid): keep it clean — hide secondary copy */
@container (max-width: 520px) {
  .reel-scene-sub,
  .reel-chip-row,
  .reel-sec-window { display: none; }
  .reel-slide-grid { grid-template-columns: 0.85fr 1.3fr; padding: 6cqh 4cqw 10cqh; }
}

.video-ctrl-btn {
  height: 38px !important;
  padding: 0 16px !important;
  font-size: 0.82rem !important;
}

.video-chapter-pill.active,
.video-chapter-pill:hover {
  border-color: rgba(214, 164, 73, 0.6);
  background: rgba(214, 164, 73, 0.12);
  color: #fff;
}

/* ==========================================================================
   v4 — HEADER TOP NAVIGATION (multi-page)
   ========================================================================== */
.penta-top-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.penta-top-nav-link {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.penta-top-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.penta-top-nav-link.active {
  color: #0a0d18;
  background: linear-gradient(135deg, #f3ca6b, #d6a449);
}

/* ==========================================================================
   v4 — HOME → ALL PROJECTS CTA BANNER
   ========================================================================== */
.penta-filter-link {
  text-decoration: none;
  border-color: rgba(214, 164, 73, 0.45) !important;
  color: #f3ca6b !important;
}

.penta-all-projects-cta {
  margin-top: 72px;
}

.all-projects-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 48px;
  border-radius: 28px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(214, 164, 73, 0.18), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(37, 99, 235, 0.2), transparent 60%),
    rgba(10, 14, 26, 0.85);
  border: 1px solid rgba(214, 164, 73, 0.25);
}

.all-projects-banner h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.all-projects-banner p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 640px;
  line-height: 1.6;
}

.all-projects-banner .penta-cta-pill {
  flex-shrink: 0;
  text-decoration: none;
}

/* ==========================================================================
   v4 — /PROJELER ARCHIVE PAGE
   ========================================================================== */
.projects-archive-main {
  padding-top: 120px;
}

.projects-archive-hero {
  position: relative;
  padding: 60px 0 30px;
  text-align: center;
}

.projects-archive-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 900px;
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), rgba(214, 164, 73, 0.08) 50%, transparent 72%);
  filter: blur(60px);
  pointer-events: none;
  z-index: -1;
}

.projects-archive-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.projects-archive-hero > .penta-wrapper > p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.archive-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.archive-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.archive-breadcrumb a:hover { color: #f3ca6b; }
.archive-breadcrumb strong { color: #fff; font-weight: 500; }

.archive-controls-bar {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.archive-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 320px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s ease;
}

.archive-search-box:focus-within {
  border-color: rgba(214, 164, 73, 0.6);
}

.archive-search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
}

.archive-search-box input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   v4 — RESPONSIVE ADDITIONS
   ========================================================================== */
@media (max-width: 1360px) {
  .penta-top-nav-link { padding: 8px 12px; font-size: 0.82rem; }
}

@media (max-width: 1180px) {
  .penta-top-nav { display: none; }
  .all-projects-banner { flex-direction: column; align-items: flex-start; padding: 32px; }
  .archive-controls-bar { justify-content: center; }
}

@media (max-width: 720px) {
  .archive-search-box { min-width: 0; width: 100%; }
  .reel-slide-grid { grid-template-columns: 1fr; }
  .reel-copy-pane { display: none; }
  .video-modal-chapters { grid-template-columns: 1fr 1fr; }
  .projects-archive-main { padding-top: 96px; }
}

/* Delivery pass: readable layouts from phones to wide desktop screens. */
html { overflow-x: clip; scroll-padding-top: 110px; }
body.has-overlay { overflow: hidden; }
.lightbox { z-index: 280; }
.penta-brand, .penta-header-tools { flex-shrink: 0; }
.penta-wordmark-sub, .penta-phone-link, .penta-header-tools .penta-cta-pill { white-space: nowrap; }
.penta-wordmark-sub { letter-spacing: .12em; }
.penta-header-inner { gap: 18px; }
.hero-container > *, .product-tour-stage > *, .stack-card-grid > *, .map-counters-grid > *, .penta-footer-top > * { min-width: 0; }
.penta-ref-card:focus-visible, .case-gallery-item:focus-visible, button:focus-visible, a:focus-visible { outline: 2px solid #f3ca6b; outline-offset: 5px; }
.case-modal:not(.active), .lightbox:not(.active) { visibility: hidden; }
.case-modal.active, .lightbox.active { visibility: visible; }
.modal-reel-stage .reel-slide { transition: none; }
.case-modal-dialog { overscroll-behavior: contain; }
.lightbox-thumbs { justify-content: flex-start; }
.reel-main-img { object-fit: contain; background: #101626; }
.hero-laptop-col .laptop-3d-rig { width: min(580px, 100%); }
.hero-typewriter-box { white-space: normal; }
#typewriter-text { white-space: pre-line; }
.product-tour-tabs { grid-template-columns: repeat(2, minmax(0,1fr)); }
.product-tour-stage { align-items: start; }
.tour-module-list { max-height: 660px; overflow-y: auto; padding-right: 6px; overscroll-behavior: contain; }
.tour-screen-viewer { position: sticky; top: 110px; min-width: 0; }

@media (max-width: 1360px) {
  .penta-phone-link { display: none; }
}
@media (max-width: 1180px) {
  .hero-scroll-track { height: auto; }
  .hero-sticky-stage { position: relative; height: auto; min-height: 100svh; padding: 150px 0 90px; }
  .hero-container { padding-top: 0; gap: 54px; max-width: 820px; }
  .hero-copy-col { transform: none !important; opacity: 1 !important; }
  .hero-typewriter-box { font-size: clamp(38px, 6.5vw, 70px); min-height: 3.4em; }
  .hero-subtle-lead { max-width: 720px; }
  .hero-laptop-col { padding: 12px 0 45px; }
  .laptop-3d-rig { transform: rotateY(-8deg) rotateX(4deg) rotateZ(-2deg) !important; }
  .hero-scroll-indicator { display: none; }
  .product-tour-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tour-screen-frame { width: 100%; max-width: 100%; }
  .stack-card-grid { gap: 30px; }
  .penta-stack-card { height: auto; min-height: 0; }
  .stack-cards-inner { width: 100%; }
  .wave-drawer-body { max-height: calc(100svh - 100px); overflow: auto; }
}
@media (max-width: 720px) {
  .penta-wrapper, .penta-ref-wrapper, .hero-container { width: calc(100% - 40px); }
  .penta-header { padding: 16px 0; background: rgba(5,7,14,.9); backdrop-filter: blur(16px); }
  .penta-header-inner { width: calc(100% - 32px); gap: 12px; }
  .penta-brand { gap: 10px; }
  .penta-logo-box { width: 38px; height: 38px; flex-shrink: 0; }
  .penta-wordmark-main { font-size: 17px; letter-spacing: .12em; }
  .penta-wordmark-sub { font-size: 7px; }
  .penta-header-tools { gap: 10px; }
  .penta-header-tools .penta-phone-link, .penta-header-tools .penta-icon-trigger, .penta-header-tools .penta-cta-pill { display: none; }
  .penta-menu-trigger { width: 44px; height: 44px; }
  .hero-sticky-stage { padding: 120px 0 55px; }
  .hero-container { gap: 32px; }
  .hero-thin-kicker { font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
  .hero-typewriter-box { font-size: clamp(29px, 8.4vw, 47px); line-height: 1.13; min-height: 0; }
  .hero-subtle-lead { font-size: 14px; line-height: 1.8; margin-top: 22px; }
  .hero-quick-buttons { gap: 12px; margin-top: 24px; }
  .hero-quick-buttons .penta-cta-pill, .hero-quick-buttons .penta-ghost-pill { padding: 0 18px; min-height: 46px; font-size: 12px; }
  .hero-laptop-col { padding: 16px 8px 32px; }
  .laptop-lid { border-radius: 12px 12px 3px 3px; padding: 7px 7px 13px; }
  .portal-white-intro { gap: 12px; }
  .portal-live-pill { max-width: 90%; font-size: 7px; letter-spacing: .08em; }
  .portal-play-badge { width: 48px; height: 48px; }
  .hero-scroll-indicator { display: none; }
  .penta-stack-card { border-radius: 24px; padding: 32px 22px; }
  .stack-card-grid { padding: 0; }
  .stack-card-title { font-size: clamp(30px, 8.5vw, 44px); }
  .stack-card-visual { min-height: 280px; }
  .stack-card-visual img { max-width: 100%; }
  .product-tour-tabs { grid-template-columns: 1fr; }
  .product-tour-stage { gap: 24px; }
  .product-tour-stage { display: flex; flex-direction: column; padding: 18px; }
  .tour-screen-viewer { order: 0; position: static; width: 100%; }
  .tour-module-list { order: 1; width: 100%; flex-direction: row; overflow-x: auto; overflow-y: hidden; max-height: none; padding: 0 0 12px; }
  .tour-module-btn { flex: 0 0 220px; padding: 14px; }
  .tour-module-btn span { display: none; }
  .tour-module-btn strong { font-size: 13px; }
  .tour-browser-top { padding: 10px 12px; gap: 10px; }
  .tour-dots { display: none; }
  .tour-zoom-btn { font-size: 10px; flex-shrink: 0; padding: 8px; }
  .tour-caption-bar { padding: 16px; flex-direction: column; align-items: stretch; gap: 18px; }
  .tour-caption-bar > div:last-child { justify-content: flex-start; }
  .stack-two-col-copy { grid-template-columns: 1fr; gap: 18px; }
  .stack-stat-line { flex-wrap: wrap; }
  .stack-split { margin: 20px 0; }
  .tour-content-panel { padding: 24px 20px; }
  .tour-screen-shell, .tour-screen-frame { max-width: 100%; width: 100%; }
  .tour-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 65vw; }
  .penta-section-title { font-size: 34px; }
  .penta-ref-visual { min-height: 260px; }
  .ref-brand-crest { max-width: 90%; }
  .ref-brand-crest span { font-size: 12px; }
  .ref-hover-actions { flex-wrap: wrap; }
  .ref-mobile-peek { width: 19%; }
  .penta-ref-item { min-width: 0; }
  .ref-action-pill { font-size: 10px; padding: 9px 12px; }
  .penta-filter-row { flex-wrap: wrap; }
  .archive-controls-bar { margin-top: 28px; }
  .archive-search-box input { min-width: 0; }
  .all-projects-banner { padding: 26px 22px; }
  .penta-footer { padding-top: 60px; }
  .penta-footer-top { gap: 32px; }
  .penta-footer-bottom { flex-wrap: wrap; gap: 16px; }
  .wave-drawer-body { padding: 28px 22px 50px; }
  .wave-top-arch { grid-template-columns: 1fr 180px 1fr; }
  .wave-svg { width: 180px; }
  .overlay-nav-item { font-size: clamp(25px, 7vw, 38px); }
  .cta-drawer-grid { gap: 32px; }
  .overlay-large-phone { font-size: 28px; }
  .cta-form-row { grid-template-columns: 1fr; }
  .penta-floating-orb { width: 48px; height: 48px; right: 20px; bottom: 20px; }
  .case-modal-dialog { width: calc(100% - 24px); padding: 22px 18px; border-radius: 22px; max-height: 94svh; }
  .video-modal-header { gap: 14px; flex-direction: column; align-items: stretch; padding-right: 0; }
  .video-modal-title { font-size: 21px; }
  .video-modal-active-project { align-items: flex-start; }
  .video-modal-active-project > div { flex-wrap: wrap; }
  .video-modal-chapters { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .video-chapter-pill { min-width: 0; padding: 10px 8px; gap: 6px; font-size: 10px; }
  .modal-reel-stage { aspect-ratio: 4 / 3; }
  .reel-slide-grid { grid-template-columns: 1fr; padding: 6cqh 6cqw 10cqh; }
  .reel-copy-pane { display: none; }
  .reel-main-window { transform: none; }
  .reel-main-img { aspect-ratio: 16 / 10; }
  .reel-mob-window { width: 22%; right: 1%; }
  .lightbox { padding: 14px 12px; }
  .lightbox-caption { font-size: 12px; }
  .lightbox-stage { gap: 6px; }
  .lightbox-nav { width: 34px; height: 44px; }
  .lightbox-img-wrap { min-width: 0; }
  .lightbox-img-wrap img { max-width: 100%; max-height: 65svh; }
  .lightbox-thumb-btn { width: 64px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
