/* ==========================================================================
   TECNAL UP — OFFICIAL BRAND DESIGN SYSTEM
   Cyber Lime (#C6FF00) + Matte Black (#0A0A0A) + Crisp White (#FFFFFF)
   Revvi Studios Trend: Punchy Typography, Pill Islands, -rotate-2 Tags & 3D Cards
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,800;1,900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Signature Brand Palette: Cyber Lime */
  --color-accent: #C6FF00;
  --color-accent-hover: #d5ff33;
  --color-accent-light: #f7ffe0;
  --color-accent-glow: rgba(198, 255, 0, 0.45);
  --color-accent-text: #000000;
  --color-tag-bg: #C6FF00;
  --color-tag-text: #000000;

  --color-black: #0A0A0A;
  --color-black-pure: #000000;
  --color-dark-card: #141416;
  --color-dark-card-hover: #1b1b1e;
  
  --color-white: #FFFFFF;
  --color-gray-100: #F4F4F6;
  --color-gray-200: #E5E5E9;
  --color-gray-400: #9E9EA7;
  --color-gray-600: #55555E;

  /* Typography */
  --font-punch: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1360px;
  --radius-full: 9999px;
  --radius-3xl: 28px;
  --radius-2xl: 20px;
  --radius-xl: 14px;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #0A0A0A;
}
::-webkit-scrollbar-thumb {
  background: #2a2a2e;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

::selection {
  background: var(--color-accent);
  color: #000000;
}

/* Subtle Grid Background Pattern */
.bg-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   REVVI SIGNATURE ELEMENTS (ACCENT STICKERS, PILLS & BADGES)
   ========================================================================== */

/* The Famous Rotated Accent Highlight Tag */
.accent-tag {
  display: inline-block;
  background-color: var(--color-accent);
  color: #000000;
  font-weight: 900;
  padding: 0.06em 0.28em;
  border-radius: 6px;
  transform: rotate(-2deg);
  line-height: 1.05;
  box-shadow: 0 4px 14px var(--color-accent-glow);
}

.black-tag {
  display: inline-block;
  background-color: var(--color-black-pure);
  color: var(--color-accent);
  font-weight: 900;
  padding: 0.06em 0.28em;
  border-radius: 6px;
  transform: rotate(-2deg);
  line-height: 1.05;
}

.text-accent {
  color: var(--color-accent) !important;
}

/* Category Pill Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  backdrop-filter: blur(8px);
}

.pill-badge-black {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: var(--color-black);
}

.dot-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-accent);
}

/* ==========================================================================
   BUTTONS (REVVI PILL STYLE)
   ========================================================================== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.4rem;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background-color 0.25s ease;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-pill:hover {
  transform: scale(1.03);
}

/* Cyber Lime Main Button with Inside Black Circle Arrow */
.btn-accent {
  background-color: var(--color-accent);
  color: #000000;
  padding-left: 1.5rem;
  padding-right: 0.45rem;
  box-shadow: 0 8px 24px var(--color-accent-glow);
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 12px 30px var(--color-accent-glow);
}

.btn-arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #000000;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-pill:hover .btn-arrow-circle {
  transform: translateX(3px);
}

/* Dark Pill Button with Inside Lime Circle Arrow */
.btn-dark {
  background-color: var(--color-black-pure);
  color: var(--color-white);
  padding-left: 1.5rem;
  padding-right: 0.45rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-dark:hover {
  background-color: #1a1a1e;
}

.btn-dark .btn-arrow-circle {
  background-color: var(--color-accent);
  color: #000000;
}

.btn-outline-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  backdrop-filter: blur(10px);
  padding: 0.85rem 1.6rem;
}

.btn-outline-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* ==========================================================================
   NAVIGATION (FLOATING PILL ISLAND)
   ========================================================================== */
.site-nav-island {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
}

.nav-island-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.brand-revvi-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-punch);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--color-white);
  text-decoration: none;
}

.brand-revvi-badge {
  background-color: var(--color-accent);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  transform: rotate(-3deg);
  display: inline-block;
}

/* Centered Pill Bar */
.nav-pill-bar {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(20, 20, 24, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.35rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-pill-item {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-pill-item:hover, .nav-pill-item.active {
  color: #000000;
  background-color: var(--color-white);
}

.nav-pill-item.active {
  font-weight: 700;
}

/* Mobile Toggle */
.mobile-nav-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #000000;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--color-accent-glow);
}

/* ==========================================================================
   HERO SECTION (REVVI VIBE & INTERACTIVE 3D AVATAR VIDEO STAGE)
   ========================================================================== */
.hero-revvi {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(7.5rem, 15vh, 10.5rem);
  padding-bottom: 3.5rem;
  background: radial-gradient(circle at 50% 30%, var(--color-accent-glow) 0%, transparent 60%), #0A0A0A;
  overflow: hidden;
}

.hero-revvi.hero-video-mode {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: clamp(7.5rem, 15vh, 10.5rem);
  padding-bottom: 3.5rem;
  background: #0A0A0A;
  overflow: hidden;
}

.hero-video-top-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 13vh;
  min-height: 88px;
  max-height: 130px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, #0A0A0A 0%, #0A0A0A 72%, rgba(10, 10, 10, 0) 100%);
  background-size: 64px 64px, 64px 64px, 100% 100%;
}

.hero-video-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-stage-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  user-select: none;
}

.hero-overlay-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
}

/* Gigantic Studio Monogram / Mask */
.hero-brand-marquee {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0 2.5rem 0;
  position: relative;
}

.hero-giant-letters {
  font-family: var(--font-punch);
  font-size: clamp(3.8rem, 13.5vw, 11rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
  text-align: center;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.25);
  position: relative;
  user-select: none;
}

.hero-giant-letters .solid-up {
  color: var(--color-accent);
  -webkit-text-stroke: 0;
  display: inline-block;
  transform: rotate(-3deg);
  text-shadow: 0 0 40px var(--color-accent-glow);
}

/* Hero Punchy Headline & Content */
.hero-revvi-bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 992px) {
  .hero-revvi-bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.hero-main-claim {
  max-width: 32ch;
  font-family: var(--font-punch);
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--color-white);
}

.hero-service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.service-chip {
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.hero-actions-cluster {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 540px) {
  .hero-actions-cluster {
    flex-direction: row;
    align-items: center;
  }
}

/* ==========================================================================
   SWISS TELEMETRY STRIP (ARCHITECTURAL METRICS BAR)
   ========================================================================== */
.swiss-telemetry-bar {
  background-color: #070709;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 5;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .telemetry-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.telemetry-cell {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: background-color 0.3s ease;
}

@media (min-width: 1024px) {
  .telemetry-cell {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
  .telemetry-cell:last-child {
    border-right: none;
  }
}

.telemetry-cell:hover {
  background-color: rgba(198, 255, 0, 0.03);
}

.telemetry-index {
  font-family: monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  opacity: 0.85;
}

.telemetry-value {
  font-family: var(--font-punch);
  font-size: clamp(2.2rem, 3.5vw, 3.1rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-white);
}

.telemetry-unit {
  font-size: 1.25rem;
  color: var(--color-accent);
  margin-left: 2px;
}

.telemetry-label {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ==========================================================================
   EDITORIAL SECTION HEADERS & SWISS KICKERS
   ========================================================================== */
.revvi-section-title {
  font-family: var(--font-punch);
  font-size: clamp(2.2rem, 5.2vw, 4.1rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.editorial-section-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 992px) {
  .editorial-section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.editorial-head-left {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.swiss-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.editorial-head-right {
  max-width: 44ch;
}

.editorial-lead-copy {
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
  display: inline-block;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.65; }
}

/* ==========================================================================
   SERVICES SECTION: ASYMMETRIC BENTO GRID + SWISS ACCORDION
   ========================================================================== */
.services-bento-section {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  background-color: var(--color-black);
  position: relative;
}

.tecnal-bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .tecnal-bento-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
  }
  .bento-span-7 { grid-column: span 7; }
  .bento-span-5 { grid-column: span 5; }
  .bento-span-4 { grid-column: span 4; }
}

.bento-card {
  background: linear-gradient(165deg, #141418 0%, #0D0D10 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(198, 255, 0, 0.4);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(198, 255, 0, 0.08);
}

.bento-featured-lime {
  background:
    radial-gradient(circle at 100% 0%, rgba(198, 255, 0, 0.14) 0%, transparent 55%),
    linear-gradient(165deg, #16171B 0%, #0E0E12 100%);
  border-color: rgba(198, 255, 0, 0.28);
}

.bento-cta-card {
  background: var(--color-accent);
  color: #000000;
  border-color: var(--color-accent);
}

.bento-cta-card:hover {
  box-shadow: 0 24px 50px var(--color-accent-glow);
}

.bento-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.bento-tag-pill {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--color-white);
}

.bento-live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
}

.bento-mono-code {
  font-family: monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.bento-title-lg {
  font-family: var(--font-punch);
  font-size: clamp(1.65rem, 2.6vw, 2.3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
  color: var(--color-white);
}

.bento-title-md {
  font-family: var(--font-punch);
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  color: var(--color-white);
}

.bento-title-sm {
  font-family: var(--font-punch);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.bento-desc {
  font-size: 0.94rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

/* PageSpeed 100/100 Benchmark Widget inside Bento 01 */
.pagespeed-benchmark-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pagespeed-scores-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 540px) {
  .pagespeed-scores-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ps-gauge-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
}

.ps-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-punch);
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--color-accent);
  box-shadow: inset 0 0 8px rgba(198, 255, 0, 0.25);
  flex-shrink: 0;
}

.ps-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.speed-comparison-bars {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.speed-bar-row {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.speed-bar-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.speed-brand-highlight {
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.04em;
}

.speed-time-accent {
  font-weight: 800;
  color: var(--color-accent);
}

.speed-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.speed-fill {
  height: 100%;
  border-radius: var(--radius-full);
}

.speed-fill-lime {
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
}

.speed-fill-muted {
  background: rgba(255, 255, 255, 0.25);
}

/* Architecture Nodes inside Bento 02 */
.system-architecture-diagram {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.arch-node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.arch-node {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.arch-node.active {
  border-color: rgba(198, 255, 0, 0.4);
  background: rgba(198, 255, 0, 0.05);
}

.arch-node-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent);
  margin-top: 5px;
  flex-shrink: 0;
}

.arch-node strong {
  display: block;
  font-size: 0.78rem;
  color: var(--color-white);
}

.arch-node small {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

.arch-connector {
  color: var(--color-accent);
  font-weight: 900;
  font-size: 1rem;
}

.arch-terminal-line {
  background: #08080A;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.72rem;
  color: var(--color-accent);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Brand Swatches inside Bento 03 */
.brand-tokens-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.token-swatch {
  padding: 0.75rem 0.65rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--font-punch);
}

.token-swatch span {
  font-size: 0.85rem;
  font-weight: 900;
}

.token-swatch small {
  font-family: var(--font-body);
  font-size: 0.68rem;
  opacity: 0.75;
}

.swatch-lime {
  background: var(--color-accent);
  color: #000000;
}

.swatch-dark {
  background: #070709;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.swatch-light {
  background: #FFFFFF;
  color: #000000;
}

/* SEO Tags inside Bento 04 */
.seo-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.seo-check-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  background: rgba(198, 255, 0, 0.08);
  border: 1px solid rgba(198, 255, 0, 0.25);
  color: var(--color-accent);
}

/* Swiss Grid Specifications Accordion */
.swiss-specs-accordion {
  margin-top: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: #0D0D10;
}

.swiss-specs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
}

.swiss-accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.swiss-accordion-item:last-child {
  border-bottom: none;
}

.swiss-acc-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--color-white);
  padding: 1.35rem 1.5rem;
  display: grid;
  grid-template-columns: 40px 1fr auto 32px;
  align-items: center;
  gap: 1rem;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.swiss-acc-trigger:hover {
  background: rgba(255, 255, 255, 0.03);
}

.acc-num {
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
}

.acc-title {
  font-family: var(--font-punch);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 800;
}

.acc-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  display: none;
}

@media (min-width: 768px) {
  .acc-meta {
    display: inline-block;
  }
}

.acc-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-accent);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.swiss-accordion-item.active .acc-icon {
  transform: rotate(45deg);
  background: var(--color-accent);
  color: #000000;
  border-color: var(--color-accent);
}

.swiss-acc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0, 0, 0, 0.35);
}

.swiss-accordion-item.active .swiss-acc-content {
  max-height: 320px;
}

.acc-content-grid {
  padding: 0 1.5rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.acc-content-grid p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 68ch;
}

.acc-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.acc-deliverables span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
}

/* ==========================================================================
   PROJECTS SECTION: EDITORIAL SPLIT-SCREEN SHOWCASE
   ========================================================================== */
.projects-editorial-section {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  background-color: #08080A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.portfolio-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.portfolio-filter-btn.active,
.portfolio-filter-btn:hover {
  background: var(--color-accent);
  color: #000000;
  border-color: var(--color-accent);
}

.editorial-cases-stack {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.case-editorial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(165deg, #131317 0%, #0C0C0F 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-3xl);
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.case-editorial-row:hover {
  border-color: rgba(198, 255, 0, 0.38);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
}

@media (min-width: 992px) {
  .case-editorial-row {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
  }
  .case-editorial-row.case-row-reversed {
    grid-template-columns: 7fr 5fr;
  }
  .case-editorial-row.case-row-reversed .case-editorial-info {
    order: 2;
  }
  .case-editorial-row.case-row-reversed .case-editorial-viewport {
    order: 1;
  }
}

.case-editorial-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.case-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

.case-index-number {
  font-family: var(--font-punch);
  font-size: 0.875rem;
  font-weight: 900;
  color: #000000;
  background: var(--color-accent);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.case-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(198, 255, 0, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.3);
  color: var(--color-accent);
}

.case-sector-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-editorial-title {
  font-family: var(--font-punch);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.case-editorial-narrative {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.case-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.case-stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.case-stat-box strong {
  font-family: var(--font-punch);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-accent);
}

.case-stat-box span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.case-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.case-tech-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
}

/* Upright Cinema Browser Viewport (Replaces tilted Revvi mockup) */
.case-editorial-viewport,
.dual-case-viewport {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #070709;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease;
}

.case-editorial-viewport:hover,
.dual-case-viewport:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}

.viewport-browser-bar {
  height: 40px;
  background: #121216;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.browser-dots span:first-child {
  background: var(--color-accent);
}

.browser-url-bar {
  font-family: monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.45);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-action-badge {
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
}

.viewport-screen-wrap {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.viewport-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-editorial-viewport:hover .viewport-screen-img,
.dual-case-panel:hover .viewport-screen-img {
  transform: scale(1.04);
}

/* Secondary Swiss-Grid Dual Showcase (Cases 03 & 04) */
.editorial-dual-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 992px) {
  .editorial-dual-showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dual-case-panel {
  background: linear-gradient(165deg, #131317 0%, #0C0C0F 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  transition: border-color 0.35s ease, transform 0.35s ease;
}

.dual-case-panel:hover {
  border-color: rgba(198, 255, 0, 0.35);
  transform: translateY(-5px);
}

.dual-case-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.dual-case-title {
  font-family: var(--font-punch);
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--color-white);
  margin-top: 0.2rem;
}

.dual-metric-badge {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(198, 255, 0, 0.12);
  border: 1px solid rgba(198, 255, 0, 0.3);
  color: var(--color-accent);
  white-space: nowrap;
}

.dual-case-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   INTERACTIVE SCOPE SIMULATOR & UP AI TECH TERMINAL
   ========================================================================== */
.up-lab-section {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  background-color: var(--color-black);
  position: relative;
}

.up-lab-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .up-lab-grid {
    grid-template-columns: 6fr 6fr;
  }
}

/* Left Panel: Scope Simulator */
.scope-simulator-panel {
  background: linear-gradient(165deg, #141418 0%, #0D0D10 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-2xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.lab-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lab-panel-badge {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
}

.lab-panel-status {
  font-family: monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.sim-step-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sim-step-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
}

.sim-type-grid {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sim-type-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sim-type-btn strong {
  font-family: var(--font-punch);
  font-size: 1rem;
  color: var(--color-white);
}

.sim-type-btn span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.sim-type-btn.active,
.sim-type-btn:hover {
  background: rgba(198, 255, 0, 0.08);
  border-color: var(--color-accent);
}

.sim-type-btn.active strong {
  color: var(--color-accent);
}

.sim-addons-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sim-addon-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-addon-chip.active,
.sim-addon-chip:hover {
  background: var(--color-accent);
  color: #000000;
  border-color: var(--color-accent);
}

.sim-output-Blueprint {
  background: #08080A;
  border: 1px solid rgba(198, 255, 0, 0.28);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.blueprint-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bp-label {
  display: block;
  font-family: monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.2rem;
}

.bp-value {
  font-family: var(--font-punch);
  font-size: 1.05rem;
  color: var(--color-white);
}

.blueprint-detail p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
}

/* Right Panel: UP AI Tech Terminal */
.up-terminal-panel {
  background: #0C0C0F;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.terminal-top-bar {
  height: 46px;
  background: #141419;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-title {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.terminal-online-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
}

.terminal-body {
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.35rem;
  flex: 1;
}

.terminal-agent-greeting {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.1rem;
}

.terminal-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--color-accent);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(198, 255, 0, 0.25);
}

.terminal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.terminal-sender {
  display: block;
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.3rem;
}

.terminal-bubble p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.terminal-response-card {
  background: rgba(198, 255, 0, 0.06);
  border: 1px solid var(--color-accent);
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
}

.terminal-response-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.45rem;
}

#ai-response-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--color-white);
}

.terminal-prompts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

@media (min-width: 540px) {
  .terminal-prompts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.prompt-pill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
}

.prompt-pill-card:hover {
  background: rgba(198, 255, 0, 0.07);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.prompt-cmd {
  display: block;
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--color-accent);
  margin-bottom: 0.2rem;
}

.prompt-question {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
}

.terminal-input-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #15151B;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.5rem 0.4rem 1.1rem;
}

.terminal-input-bar:focus-within {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.12);
}

.terminal-prompt-symbol {
  font-family: monospace;
  font-weight: 700;
  color: var(--color-accent);
}

.up-ai-input {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
}

.up-ai-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.up-ai-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #000000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.up-ai-send-btn:hover {
  transform: scale(1.06);
}

/* ==========================================================================
   FOUNDERS DUO SECTION (BOUTIQUE STUDIO LEADERSHIP)
   ========================================================================== */
.team-revvi-section {
  padding: clamp(5.5rem, 11vw, 8.5rem) 0;
  background-color: #08080A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.team-revvi-section::before {
  content: '';
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
  opacity: 0.14;
  pointer-events: none;
  filter: blur(90px);
}

.founders-duo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .founders-duo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .founders-duo-grid.single-founder-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .founder-profile-card.founder-featured-card {
    display: grid;
    grid-template-columns: minmax(300px, 440px) 1fr;
    align-items: center;
    gap: clamp(2rem, 4vw, 3.25rem);
  }

  .founder-profile-card.founder-featured-card .founder-body-info {
    margin-top: 0;
  }
}

.founder-profile-card {
  position: relative;
  background: linear-gradient(180deg, #151518 0%, #0F0F12 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-3xl);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.founder-profile-card:hover {
  transform: translateY(-8px);
  border-color: rgba(198, 255, 0, 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 30px rgba(198, 255, 0, 0.12);
}

.founder-portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background-color: #0E0E11;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.founder-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.founder-profile-card:hover .founder-portrait-img {
  transform: scale(1.04);
}

.founder-status-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  font-weight: 700;
  color: #FFFFFF;
  z-index: 2;
}

.founder-role-tagline {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: var(--color-accent);
  color: #000000;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  z-index: 2;
}

.founder-body-info {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.founder-title-name {
  font-family: var(--font-punch);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  line-height: 1.1;
}

.founder-official-role {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.founder-bio-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.founder-skills-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.founder-skill-chip {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.boutique-duo-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .boutique-duo-pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.duo-pillar-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: all 0.3s ease;
}

.duo-pillar-box:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(198, 255, 0, 0.3);
  transform: translateY(-3px);
}

.pillar-num {
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
}

.pillar-title {
  font-family: var(--font-punch);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
}

.pillar-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.5;
}

/* ==========================================================================
   CONTACT SECTION (DARK GLASSMORPHISM MONOLITH — NO REVVI AIRPLANE)
   ========================================================================== */
.contact-architectural-section {
  padding: clamp(5rem, 9vw, 7.5rem) 0;
  background-color: var(--color-black);
}

.contact-dark-monolith {
  position: relative;
  border-radius: 32px;
  background:
    radial-gradient(circle at 0% 0%, rgba(198, 255, 0, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(198, 255, 0, 0.1) 0%, transparent 50%),
    #0E0E12;
  border: 1px solid rgba(198, 255, 0, 0.28);
  padding: clamp(1.75rem, 4.5vw, 4rem);
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}

.contact-monolith-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .contact-monolith-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.contact-monolith-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.availability-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(198, 255, 0, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.3);
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  width: fit-content;
}

.contact-monolith-title {
  font-family: var(--font-punch);
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--color-white);
}

.contact-monolith-lead {
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 44ch;
}

.architectural-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.arch-step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.arch-step-index {
  font-family: var(--font-punch);
  font-size: 0.85rem;
  font-weight: 900;
  background: var(--color-accent);
  color: #000000;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.arch-step-item strong {
  display: block;
  font-family: var(--font-punch);
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 0.15rem;
}

.arch-step-item p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.62);
}

.direct-channels-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 540px) {
  .direct-channels-strip {
    grid-template-columns: 1fr 1fr;
  }
}

.channel-glass-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.25s ease;
}

.channel-glass-card:hover {
  border-color: var(--color-accent);
  background: rgba(198, 255, 0, 0.08);
  transform: translateY(-2px);
}

.channel-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  flex-shrink: 0;
}

.channel-glass-card span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.channel-glass-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-white);
}

/* Right Column: Dark Glass Form Card */
.contact-glass-form-wrap {
  background: rgba(18, 18, 23, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.form-glass-header {
  margin-bottom: 1.5rem;
}

.form-glass-title {
  font-family: var(--font-punch);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-white);
  margin: 0.35rem 0 0.25rem 0;
}

.form-glass-sub {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.form-field-group {
  margin-bottom: 1.25rem;
}

.form-label-dark {
  display: block;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.45rem;
}

.glass-input {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.45);
  padding: 0 1.15rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-white);
  outline: none;
  transition: all 0.2s ease;
}

.glass-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.glass-input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(198, 255, 0, 0.15);
}

.interactive-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-btn {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip-btn.selected,
.chip-btn:hover {
  background-color: var(--color-accent);
  color: #000000;
  border-color: var(--color-accent);
  font-weight: 700;
}

.form-privacy-note {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

/* ==========================================================================
   ARCHITECTURAL FOOTER
   ========================================================================== */
.footer-architectural {
  padding: 4.5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #060608;
}

.footer-swiss-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .footer-swiss-grid {
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 36ch;
  line-height: 1.55;
}

.footer-system-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col-title {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.footer-nav-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-nav-col a:hover {
  color: var(--color-accent);
}

.footer-copy-email {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.footer-copy-email:hover {
  border-color: var(--color-accent);
}

.footer-monumental-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-giant-watermark {
  font-family: var(--font-punch);
  font-size: clamp(2rem, 7vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.08);
  user-select: none;
}

.back-to-top-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.back-to-top-circle:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #000000;
  transform: translateY(-3px);
}

.footer-bottom-legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 768px) {
  .footer-bottom-legal {
    flex-direction: row;
    align-items: center;
  }
}

/* Mobile Menu Fullscreen Drawer */
.mobile-drawer-revvi {
  position: fixed;
  inset: 0;
  background-color: #000000;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6rem 2rem 3rem 2rem;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-drawer-revvi.open {
  transform: translateY(0);
}

.mobile-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #18181C;
  color: var(--color-white);
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-link-item {
  font-family: var(--font-punch);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-white);
  text-decoration: none;
}

@media (max-width: 860px) {
  .nav-pill-bar {
    display: none;
  }
  .mobile-nav-btn {
    display: flex;
  }
}


/* ==========================================================================
   REACT 18 BIG-TECH ENGINEERING DESIGN SYSTEM (.rx-*)
   Mouse-Tracking Spotlights, Live IDE, Stress-Tester, Device Switcher & AI OS
   ========================================================================== */

.rx-app-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #060608;
}

/* Interactive Neural Mesh Canvas Backdrop */
.rx-canvas-backdrop {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.42;
}

/* Linear / Vercel Style Mouse-Tracking Spotlight Card */
.rx-spotlight-card {
  --mouse-x: 50%;
  --mouse-y: 50%;
  position: relative;
  background: linear-gradient(165deg, rgba(20, 20, 26, 0.92) 0%, rgba(11, 11, 15, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.rx-spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    550px circle at var(--mouse-x) var(--mouse-y),
    rgba(198, 255, 0, 0.11),
    transparent 45%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 1;
}

.rx-spotlight-card:hover::before {
  opacity: 1;
}

.rx-spotlight-card:hover {
  border-color: rgba(198, 255, 0, 0.42);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.7), 0 0 35px rgba(198, 255, 0, 0.08);
}

.rx-card-inner {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Top React Status Bar */
.rx-status-ribbon {
  background: rgba(10, 10, 14, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 0;
  position: relative;
  z-index: 4;
}

.rx-status-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.rx-status-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.rx-pill-tech {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(198, 255, 0, 0.1);
  border: 1px solid rgba(198, 255, 0, 0.3);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.72rem;
}

/* ==========================================================================
   LIVE IDE & ARCHITECTURE PLAYGROUND
   ========================================================================== */
.rx-engineering-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 1080px) {
  .rx-engineering-grid {
    grid-template-columns: 5.5fr 6.5fr;
  }
}

.rx-layer-selector {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rx-layer-btn {
  width: 100%;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 1.15rem 1.35rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  color: var(--color-white);
}

.rx-layer-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.22);
}

.rx-layer-btn.active {
  background: linear-gradient(90deg, rgba(198, 255, 0, 0.12) 0%, rgba(198, 255, 0, 0.02) 100%);
  border-color: var(--color-accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.rx-layer-num {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(198, 255, 0, 0.12);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  flex-shrink: 0;
}

.rx-layer-title {
  font-family: var(--font-punch);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.rx-layer-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.rx-layer-latency {
  font-family: monospace;
  font-size: 0.72rem;
  color: var(--color-accent);
  white-space: nowrap;
}

/* IDE Code Window */
.rx-ide-window {
  background: #09090D;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
}

.rx-ide-header {
  background: #121218;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rx-ide-tabs {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
}

.rx-ide-tab {
  font-family: monospace;
  font-size: 0.75rem;
  padding: 0.38rem 0.85rem;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.rx-ide-tab.active {
  background: rgba(198, 255, 0, 0.12);
  border-color: rgba(198, 255, 0, 0.35);
  color: var(--color-accent);
  font-weight: 700;
}

.rx-ide-body {
  padding: 1.35rem 1.5rem;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #E4E4E7;
  overflow-x: auto;
  min-height: 250px;
  background:
    radial-gradient(circle at 90% 10%, rgba(198, 255, 0, 0.06), transparent 50%),
    #08080C;
}

.rx-code-pre {
  margin: 0;
  white-space: pre;
  font-family: inherit;
}

.rx-ide-footer {
  background: #101016;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-family: monospace;
  font-size: 0.73rem;
}

/* ==========================================================================
   LIVE LIGHTHOUSE / PAGESPEED STRESS-TESTER
   ========================================================================== */
.rx-stress-tester {
  margin-top: 2rem;
}

.rx-engine-switch-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rx-engine-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rx-engine-btn {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.rx-engine-btn.active-lime {
  background: var(--color-accent);
  color: #000000;
  border-color: var(--color-accent);
  box-shadow: 0 0 25px rgba(198, 255, 0, 0.35);
}

.rx-engine-btn.active-warn {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
}

.rx-audit-run-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: rgba(198, 255, 0, 0.12);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rx-audit-run-btn:hover {
  background: var(--color-accent);
  color: #000000;
}

.rx-metrics-dashboard {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

@media (min-width: 992px) {
  .rx-metrics-dashboard {
    grid-template-columns: 5fr 7fr;
  }
}

.rx-gauges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 540px) {
  .rx-gauges-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rx-gauge-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.rx-score-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-punch);
  font-size: 1.25rem;
  font-weight: 900;
  transition: all 0.35s ease;
}

.rx-score-circle.good {
  border: 3px solid var(--color-accent);
  color: var(--color-accent);
  box-shadow: inset 0 0 15px rgba(198, 255, 0, 0.22);
}

.rx-score-circle.poor {
  border: 3px solid #EF4444;
  color: #EF4444;
  box-shadow: inset 0 0 15px rgba(239, 68, 68, 0.22);
}

.rx-vitals-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .rx-vitals-table {
    grid-template-columns: repeat(4, 1fr);
  }
}

.rx-vital-cell {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.85rem;
}

.rx-vital-cell small {
  display: block;
  font-family: monospace;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.rx-vital-cell strong {
  font-family: var(--font-punch);
  font-size: 1.2rem;
  font-weight: 900;
}

/* ==========================================================================
   CASE STUDIES WITH INTERACTIVE VIEW SWITCHER (DESKTOP / MOBILE / X-RAY)
   ========================================================================== */
.rx-case-mode-tabs {
  display: inline-flex;
  background: #09090C;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.25rem;
  gap: 0.25rem;
}

.rx-mode-tab {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-family: monospace;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rx-mode-tab.active {
  background: var(--color-accent);
  color: #000000;
}

/* Mobile iPhone 16 Pro Viewport Simulation */
.rx-mobile-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(198, 255, 0, 0.12), transparent 65%),
    #08080B;
  aspect-ratio: 16 / 10;
}

.rx-iphone-frame {
  width: 220px;
  height: 100%;
  max-height: 340px;
  border-radius: 30px;
  border: 5px solid #27272A;
  background: #000000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(198, 255, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.rx-dynamic-island {
  width: 68px;
  height: 14px;
  background: #000000;
  border-radius: 999px;
  margin: 6px auto;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rx-iphone-screen {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.rx-iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Engineering X-Ray Mode inside Case Study */
.rx-xray-stage {
  aspect-ratio: 16 / 10;
  background: #08080C;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  font-family: monospace;
  overflow-y: auto;
}

.rx-xray-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.rx-xray-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(198, 255, 0, 0.22);
  border-radius: 12px;
  padding: 0.85rem;
}

.rx-xray-box small {
  display: block;
  font-size: 0.68rem;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

.rx-xray-box strong {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--color-white);
}

/* ==========================================================================
   VISUAL ARCHITECTURE GRAPH & SPRINT TIMELINE IN SIMULATOR
   ========================================================================== */
.rx-sprint-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.rx-sprint-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
}

.rx-sprint-step span {
  display: block;
  font-family: monospace;
  font-size: 0.66rem;
  color: var(--color-accent);
}

.rx-sprint-step strong {
  font-size: 0.78rem;
  color: var(--color-white);
}

/* Blinking Cursor for Streaming AI Terminal */
.rx-cursor-blink {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--color-accent);
  margin-left: 4px;
  vertical-align: middle;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================================
   COMPARISON MATRIX (TECNAL UP VS MERCADO COMUM)
   ========================================================================== */
.rx-comparison-wrap {
  margin-top: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  overflow: hidden;
  background: #0B0B0F;
}

.rx-matrix-row {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.35rem;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.rx-matrix-row:last-child {
  border-bottom: none;
}

.rx-matrix-head {
  background: rgba(255, 255, 255, 0.04);
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

/* Live JSON Payload Preview in Contact Section */
.rx-payload-box {
  margin-top: 1.15rem;
  background: #07070A;
  border: 1px solid rgba(198, 255, 0, 0.25);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-family: monospace;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.75);
  overflow-x: auto;
}


/* ==========================================================================
   LUXURY VISUAL SHOWCASE & BUSINESS-FOCUSED REACT COMPONENTS
   ========================================================================== */

.rx-showcase-stage {
  background: linear-gradient(160deg, #15151C 0%, #0B0B0F 100%);
  border: 1px solid rgba(198, 255, 0, 0.28);
  border-radius: 26px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
}

.rx-stage-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #08080A;
}

.rx-stage-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.rx-showcase-stage:hover .rx-stage-image-frame img {
  transform: scale(1.04);
}

.rx-floating-pill-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  z-index: 3;
}

.rx-glass-benefit-tag {
  background: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(198, 255, 0, 0.35);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rx-deliverables-checklist {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 540px) {
  .rx-deliverables-checklist {
    grid-template-columns: 1fr 1fr;
  }
}

.rx-check-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
}

.rx-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #000;
  font-size: 0.72rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Before vs After Visual Comparison Cards */
.rx-ba-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 768px) {
  .rx-ba-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rx-ba-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: all 0.3s ease;
}

.rx-ba-card.good-mode {
  border-color: rgba(198, 255, 0, 0.32);
  background: linear-gradient(160deg, rgba(198, 255, 0, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.rx-ba-card.bad-mode {
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(160deg, rgba(239, 68, 68, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
}


/* ==========================================================================
   INTERACTIVE AUTO-PLAYING PORTFOLIO CAROUSEL (.rx-auto-carousel-*)
   Continuous animated slider, pause on hover, progress bar, interactive dots
   ========================================================================== */

.rx-auto-carousel-wrap {
  position: relative;
  width: 100%;
}

.rx-carousel-header-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.rx-carousel-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(198, 255, 0, 0.08);
  border: 1px solid rgba(198, 255, 0, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
}

.rx-carousel-nav-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rx-carousel-counter {
  font-family: var(--font-punch);
  font-size: 0.95rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  min-width: 65px;
  text-align: center;
}

.rx-carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 1.1rem;
}

.rx-carousel-nav-btn:hover {
  background: var(--color-accent);
  color: #000000;
  border-color: var(--color-accent);
  transform: scale(1.08);
}

.rx-carousel-pause-pill {
  font-family: monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.rx-carousel-pause-pill:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Slider Track Viewport */
.rx-carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 26px;
  padding: 0.5rem 0;
  position: relative;
}

.rx-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Individual Carousel Slide Card */
.rx-carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
  background: linear-gradient(165deg, #15151D 0%, #0D0D12 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

@media (min-width: 900px) {
  .rx-carousel-slide {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.rx-carousel-slide:hover {
  border-color: rgba(198, 255, 0, 0.45);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.75), 0 0 35px rgba(198, 255, 0, 0.1);
}

/* Slide Left: Big Visual Showcase with Browser Frame */
.rx-slide-visual {
  position: relative;
  background: #09090D;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 900px) {
  .rx-slide-visual {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.rx-slide-browser-bar {
  height: 38px;
  background: #111116;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rx-slide-url-tag {
  font-family: monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rx-slide-img-box {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.rx-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.rx-carousel-slide:hover .rx-slide-img {
  transform: scale(1.04);
}

/* Slide Right: Narrative & Business Impact */
.rx-slide-details {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.rx-slide-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rx-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(198, 255, 0, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(198, 255, 0, 0.25);
}

.rx-slide-num {
  font-family: var(--font-punch);
  font-size: 0.85rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.4);
}

.rx-slide-title {
  font-family: var(--font-punch);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.05;
  margin-top: 0.35rem;
  margin-bottom: 0.4rem;
}

.rx-slide-sector {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.rx-slide-narrative {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* Slide Metrics Strip */
.rx-slide-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 0.85rem;
}

.rx-slide-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rx-slide-stat-item strong {
  font-family: var(--font-punch);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-accent);
}

.rx-slide-stat-item span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Slide Action Link */
.rx-slide-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Bottom Progress Bar & Interactive Dots */
.rx-carousel-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.rx-carousel-progress-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.rx-carousel-progress-fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 999px;
  box-shadow: 0 0 12px var(--color-accent);
  transition: width 0.1s linear;
}

.rx-carousel-dots-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rx-carousel-dot {
  height: 8px;
  width: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.rx-carousel-dot.active {
  width: 32px;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}



/* ==========================================================================
   LETREIRO CONTÍNUO DE PROJETOS (.rx-marquee-*)
   Quadradinhos passando sem parar, loop infinito só com CSS
   ========================================================================== */
.rx-marquee-viewport {
  width: 100%;
  overflow: hidden;
  padding: 0.75rem 0 1.25rem;
  position: relative;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  /* esmaece as bordas para dar efeito de letreiro */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.rx-marquee-viewport.is-dragging {
  cursor: grabbing;
}

/* O movimento é controlado por JavaScript (permite desacelerar e arrastar) */
.rx-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.rx-marquee-group {
  display: flex;
  gap: 1.25rem;
  padding-right: 1.25rem;
  flex-shrink: 0;
}

/* Quadrado que vira (frente = projeto, verso = resultado) */
.rx-marquee-card {
  flex: 0 0 auto;
  width: clamp(220px, 22vw, 270px);
  aspect-ratio: 1 / 1;
  display: block;
  position: relative;
  perspective: 900px;
  text-decoration: none;
  color: inherit;
  -webkit-user-drag: none;
}

.rx-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .rx-marquee-card:hover .rx-flip-inner {
    transform: rotateY(180deg);
  }
}

.rx-marquee-card.is-flipped .rx-flip-inner {
  transform: rotateY(180deg);
}

.rx-face {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.rx-face-front {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #16161D 0%, #0C0C11 100%);
}

.rx-face-back {
  transform: rotateY(180deg);
  background: var(--color-accent);
  color: #000;
  border-color: var(--color-accent);
  padding: 1.1rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(198, 255, 0, 0.28);
}

.rx-back-kicker {
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.rx-back-title {
  font-family: var(--font-punch);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.05;
}

.rx-back-text {
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rx-back-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-top: auto;
}

.rx-back-stat {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  display: flex;
  flex-direction: column;
}

.rx-back-stat b {
  font-family: var(--font-punch);
  font-size: 0.95rem;
  font-weight: 900;
}

.rx-back-stat small {
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.7;
  line-height: 1.2;
}

.rx-back-cta {
  margin-top: 0.4rem;
  align-self: stretch;
  text-align: center;
  background: #000;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}

.rx-marquee-hint {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.rx-marquee-hint strong {
  color: var(--color-accent);
}

.rx-marquee-thumb {
  position: relative;
  flex: 0 0 58%;
  overflow: hidden;
  background: #08080B;
}

.rx-marquee-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.rx-marquee-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #000;
  background: var(--color-accent);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}

.rx-marquee-info {
  flex: 1;
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  min-height: 0;
}

.rx-marquee-title {
  font-family: var(--font-punch);
  font-size: 1.15rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
}

.rx-marquee-sector {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rx-marquee-result {
  margin-top: 0.3rem;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--color-accent);
}

/* ==========================================================================
   PRELOADER ANIMATION (VPS HERO VIDEO SYNCHRONIZATION)
   ========================================================================== */
.preloader-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.preloader-glow {
  position: absolute;
  width: min(520px, 85vw);
  height: min(520px, 85vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 255, 0, 0.22) 0%, transparent 68%);
  filter: blur(45px);
  pointer-events: none;
  animation: preloaderPulseGlow 2.4s ease-in-out infinite;
}

@keyframes preloaderPulseGlow {
  0%, 100% { transform: scale(0.95); opacity: 0.75; }
  50% { transform: scale(1.08); opacity: 1; }
}

.preloader-center-box {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  width: 100%;
  max-width: 340px;
  text-align: center;
}

.preloader-orbital-ring {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--color-accent);
  position: relative;
  animation: preloaderSpin 1.15s cubic-bezier(0.5, 0.15, 0.5, 0.85) infinite;
  box-shadow: 0 0 28px rgba(198, 255, 0, 0.2);
}

.preloader-orbit-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
}

@keyframes preloaderSpin {
  to { transform: rotate(360deg); }
}

.preloader-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-punch);
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.preloader-word-tecnal {
  color: var(--color-white);
}

.preloader-word-up {
  background: var(--color-accent);
  color: #000000;
  font-size: 0.52em;
  padding: 0.18em 0.48em;
  border-radius: 8px;
  transform: rotate(-3deg);
  box-shadow: 0 6px 20px rgba(198, 255, 0, 0.4);
}

.preloader-counter-row {
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
  font-family: var(--font-punch);
  line-height: 1;
}

.preloader-percent-num {
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.preloader-percent-sign {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-accent);
}

.preloader-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.preloader-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #99cc00 0%, var(--color-accent) 100%);
  box-shadow: 0 0 16px var(--color-accent);
  transition: width 0.12s ease-out;
}

.preloader-status-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.02em;
  min-height: 1.25em;
}

/* ==========================================================================
   MOBILE & RESPONSIVE POLISH (SMARTPHONES & TABLETS)
   ========================================================================== */
.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
}

.mobile-link-item-cta {
  width: 100%;
  justify-content: space-between;
  font-size: 0.95rem;
  padding: 0.85rem 0.6rem 0.85rem 1.35rem;
}

@media (max-width: 768px) {
  /* 1. Barra de Navegação Flutuante Mobile */
  .site-nav-island {
    top: 0.75rem;
    padding: 0 0.75rem;
  }

  .nav-island-inner {
    background: rgba(14, 14, 18, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.45rem 0.5rem 0.45rem 1rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
  }

  .brand-revvi-logo {
    font-size: 1.2rem;
    gap: 0.35rem;
  }

  .brand-revvi-badge {
    font-size: 0.68rem;
    padding: 0.12rem 0.38rem;
  }

  .nav-cta-btn {
    font-size: 0.76rem;
    padding: 0.42rem 0.35rem 0.42rem 0.85rem;
    gap: 0.4rem;
  }

  .nav-cta-btn .btn-arrow-circle {
    width: 26px;
    height: 26px;
  }

  .mobile-nav-btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .mobile-drawer-revvi {
    padding: 5.25rem 1.5rem 2.25rem 1.5rem;
  }

  .mobile-link-item {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  /* 2. Hero Section com Vídeo Sem Cortar no Celular */
  .hero-revvi.hero-video-mode {
    min-height: auto;
    padding-top: 4.6rem;
    padding-bottom: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #0A0A0A;
  }

  .hero-video-top-mask {
    display: none;
  }

  .hero-video-stage {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9.6;
    height: auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 13%, #000 72%, transparent 100%);
  }

  .hero-stage-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
  }

  .hero-overlay-content {
    margin-top: -0.75rem;
    justify-content: flex-start;
  }

  .hero-main-claim {
    font-size: clamp(1.55rem, 6.4vw, 2.05rem);
    line-height: 1.12;
    max-width: 100%;
  }

  .hero-service-chips {
    gap: 0.4rem;
    margin-top: 1rem;
  }

  .service-chip {
    font-size: 0.74rem;
    padding: 0.34rem 0.78rem;
  }

  /* 3. Barra de Resultados Compacta 2x2 no Mobile */
  .telemetry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .telemetry-cell {
    padding: 1.25rem 0.95rem;
  }

  .telemetry-cell:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .telemetry-cell:nth-child(3),
  .telemetry-cell:nth-child(4) {
    border-bottom: none;
  }

  .telemetry-index {
    font-size: 0.64rem;
  }

  .telemetry-value {
    font-size: clamp(1.5rem, 5.8vw, 1.95rem);
  }

  .telemetry-unit {
    font-size: 0.92rem;
  }

  .telemetry-label {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  /* 4. Títulos de Seções e Comparador "Antes vs Depois" */
  .services-bento-section,
  .team-revvi-section,
  .contact-architectural-section {
    padding: 3.25rem 0;
  }

  .editorial-section-head {
    gap: 0.9rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.75rem;
  }

  .swiss-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    line-height: 1.35;
  }

  .revvi-section-title {
    font-size: clamp(1.65rem, 7vw, 2.25rem);
    line-height: 1.05;
  }

  .editorial-lead-copy {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .rx-card-inner {
    padding: 1.2rem;
    gap: 1.15rem;
  }

  .rx-engine-switch-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding-bottom: 1rem;
  }

  .rx-engine-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .rx-engine-btn {
    width: 100%;
    text-align: center;
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
  }

  .rx-ba-card {
    padding: 1.1rem;
  }

  /* 5. Letreiro de Projetos Mobile */
  .rx-marquee-viewport {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  }

  .rx-marquee-group {
    gap: 0.9rem;
    padding-right: 0.9rem;
  }

  .rx-marquee-card {
    width: 215px;
    aspect-ratio: 1 / 1.05;
  }

  .rx-marquee-hint {
    font-size: 0.76rem;
    padding: 0 0.5rem;
  }

  /* 6. Quem Somos (Fundador) Mobile */
  .founder-profile-card {
    padding: 1.15rem;
    border-radius: 22px;
  }

  .founder-portrait-frame {
    aspect-ratio: 16 / 11.5;
    border-radius: 16px;
  }

  .founder-status-badge {
    top: 0.65rem;
    left: 0.65rem;
    font-size: 0.68rem;
    padding: 0.3rem 0.65rem;
  }

  .founder-role-tagline {
    bottom: 0.65rem;
    right: 0.65rem;
    font-size: 0.62rem;
    padding: 0.2rem 0.5rem;
  }

  .founder-body-info {
    margin-top: 1.15rem;
  }

  .boutique-duo-pillars {
    margin-top: 1.5rem;
    gap: 0.85rem;
  }

  .duo-pillar-box {
    padding: 1.15rem;
  }

  /* 7. Seção de Contato Mobile */
  .contact-dark-monolith {
    border-radius: 22px;
    padding: 1.4rem 1.1rem;
  }

  .contact-monolith-grid {
    gap: 2rem;
  }

  .availability-banner {
    font-size: 0.65rem;
    padding: 0.38rem 0.75rem;
    white-space: normal;
    line-height: 1.3;
  }

  .contact-monolith-title {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
    line-height: 1.04;
  }

  .contact-monolith-lead {
    font-size: 0.92rem;
  }

  .arch-step-item {
    padding: 0.8rem 0.9rem;
    gap: 0.75rem;
  }

  .contact-glass-form-wrap {
    padding: 1.25rem 1rem;
    border-radius: 18px;
  }

  .form-glass-title {
    font-size: 1.3rem;
  }

  .contact-glass-form-wrap button[type="submit"] {
    font-size: 0.86rem !important;
    padding-left: 1.1rem !important;
    height: 52px !important;
  }

  /* 8. Rodapé Mobile */
  .footer-architectural {
    padding: 3rem 0 2rem 0;
  }

  .footer-swiss-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.25rem;
    padding-bottom: 2rem;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
  }

  .footer-monumental-bar {
    padding: 1.35rem 0;
  }
}

@media (max-width: 390px) {
  .nav-cta-btn span:first-child {
    display: none;
  }

  .nav-cta-btn {
    padding: 0.35rem;
  }
}

/* (movimento reduzido tratado no JavaScript do letreiro) */
