/* ==========================================================================
   BISNOVATECH OS v3.0 - CORPORATE STYLE SHEET (BLACK, YELLOW, WHITE)
   ========================================================================== */

@import url('fonts.css');

:root {
  /* Premium Palette (Black, Yellow, White) */
  --bg-deep: #000000;
  --bg-dark-accent: #080808;
  --bg-panel: rgba(12, 12, 12, 0.85);
  --bg-glass: rgba(18, 18, 18, 0.7);
  
  --neon-yellow: #ffe600;
  --neon-yellow-glow: rgba(255, 230, 0, 0.4);
  --neon-yellow-dim: rgba(255, 230, 0, 0.1);
  
  --color-white: #ffffff;
  --color-white-glow: rgba(255, 255, 255, 0.3);
  --color-white-dim: rgba(255, 255, 255, 0.08);
  
  --cyber-red: #ff3333;
  --cyber-green: #00ff66;
  
  --text-primary: #ffffff;
  --text-secondary: #dcdcdc;
  --text-muted: #7c7c7c;
  
  --border-cyber: 1px solid rgba(255, 255, 255, 0.1);
  --border-glow: 1px solid rgba(255, 230, 0, 0.2);
  
  --shadow-white: 0 0 15px rgba(255, 255, 255, 0.1);
  --shadow-yellow: 0 0 15px rgba(255, 230, 0, 0.2);
  
  --transition-speed: 0.4s;
  --transition-cubic: cubic-bezier(0.16, 1, 0.3, 1);
  --font-title: 'Orbitron', sans-serif;
  --font-data: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-data);
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Global Grid Scanlines Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.3) 50%);
  background-size: 100% 4px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.3;
}

/* Cosmic Cyber Grid */
.grid-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center center;
  z-index: 0;
  pointer-events: none;
}

/* Particle Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #000;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-yellow);
  box-shadow: 0 0 10px var(--neon-yellow-glow);
}

/* ==========================================================================
   BOOTLOADER (LOADING SEQUENCE)
   ========================================================================== */
.bootloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: var(--font-mono);
  color: var(--neon-yellow);
  transition: opacity 0.8s var(--transition-cubic), visibility 0.8s;
}

.bootloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-terminal {
  width: 85%;
  max-width: 650px;
  background: rgba(5, 5, 5, 0.95);
  border: 1px solid var(--neon-yellow-dim);
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8), inset 0 0 15px rgba(255, 230, 0, 0.03);
  position: relative;
}

.boot-terminal::before {
  content: "BISNOVATECH_OS_BOOT.EXE";
  position: absolute;
  top: -12px;
  left: 20px;
  background: #000;
  padding: 0 10px;
  font-size: 0.8rem;
  color: #fff;
}

.boot-logs {
  height: 220px;
  overflow-y: auto;
  font-size: 0.85rem;
  margin-bottom: 20px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.boot-logs p {
  margin-bottom: 4px;
  opacity: 0;
  animation: logReveal 0.1s forwards;
}

.boot-logs p.success { color: var(--cyber-green); }
.boot-logs p.warning { color: var(--neon-yellow); }
.boot-logs p.info { color: #fff; }

.boot-progress-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.boot-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #fff, var(--neon-yellow));
  box-shadow: 0 0 15px var(--neon-yellow-glow);
}

.boot-status-text {
  margin-top: 10px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: var(--text-muted);
}

/* ==========================================================================
   APP CORPORATE LAYOUT (SCROLL FLOW)
   ========================================================================== */
.app-container {
  position: relative;
  z-index: 10;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 1s var(--transition-cubic), transform 1s var(--transition-cubic);
  width: 100%;
}

.app-container.ready {
  opacity: 1;
  transform: translateY(0);
}

/* HEADER NAVBAR */
header.app-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: var(--border-cyber);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 80px;
  z-index: 1000;
  transition: background 0.3s;
}

header.app-header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  height: 70px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-hexagon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #fff, var(--neon-yellow));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  position: relative;
  animation: logoPulse 4s infinite alternate;
}

.logo-hexagon::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: #000;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 1;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #fff 40%, var(--neon-yellow) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
}

.nav-link a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 0;
  transition: all 0.3s;
  position: relative;
}

.nav-link a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon-yellow);
  transform: scaleX(0);
  transition: transform 0.3s var(--transition-cubic);
  transform-origin: right;
}

.nav-link a:hover {
  color: #fff;
}

.nav-link a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active a {
  color: var(--neon-yellow);
  text-shadow: 0 0 8px var(--neon-yellow-glow);
}

.nav-link.active a::after {
  transform: scaleX(1);
  background: var(--neon-yellow);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.audio-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.audio-control:hover, .audio-control.active {
  background: rgba(255, 230, 0, 0.08);
  border-color: var(--neon-yellow);
  box-shadow: var(--shadow-yellow);
  color: var(--neon-yellow);
}

.audio-control.muted {
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   SCROLLING SECTIONS
   ========================================================================== */
section.viewport-section {
  min-height: 100vh;
  padding: 120px 80px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

section.viewport-section:nth-child(even) {
  background: var(--bg-dark-accent);
}

.section-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* SCROLL REVEAL ANIMATIONS */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   COMPLEX COMPONENTS
   ========================================================================== */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  border: var(--border-cyber);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--transition-cubic), border-color 0.4s;
  overflow: hidden;
}

.glass-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #fff, transparent);
}

.glass-panel.yellow::before {
  background: linear-gradient(90deg, var(--neon-yellow), transparent);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 50px rgba(255, 255, 255, 0.05);
}

.glass-panel.yellow:hover {
  border-color: rgba(255, 230, 0, 0.35);
  box-shadow: 0 15px 50px rgba(255, 230, 0, 0.08);
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.3);
}

.card-title {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title.yellow { color: var(--neon-yellow); }
.card-title.white { color: #fff; }

.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.card-dot.white { background: #fff; box-shadow: 0 0 5px #fff; }
.card-dot.yellow { background: var(--neon-yellow); box-shadow: 0 0 5px var(--neon-yellow); }

.cyber-btn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 14px 28px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s var(--transition-cubic);
}

.cyber-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s var(--transition-cubic);
}

.cyber-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-white);
  text-shadow: 0 0 5px #fff;
}

.cyber-btn:hover::after {
  left: 100%;
}

.cyber-btn.yellow {
  border-color: var(--neon-yellow);
  color: var(--neon-yellow);
}

.cyber-btn.yellow:hover {
  background: var(--neon-yellow-dim);
  box-shadow: var(--shadow-yellow);
  color: #fff;
  text-shadow: 0 0 5px #fff;
}

/* Interactive Border Lighting Wrapper */
.interactive-border {
  position: relative;
}

.interactive-border::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(120px circle at var(--x, 0px) var(--y, 0px), rgba(255, 255, 255, 0.25) 0%, transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 5;
}

.interactive-border.yellow::after {
  background: radial-gradient(120px circle at var(--x, 0px) var(--y, 0px), rgba(255, 230, 0, 0.3) 0%, transparent 70%);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-subtitle {
  font-family: var(--font-mono);
  color: var(--neon-yellow);
  font-size: 0.95rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-subtitle::before {
  content: "";
  width: 25px;
  height: 1px;
  background: var(--neon-yellow);
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.hero-title span.yellow {
  color: var(--neon-yellow);
  text-shadow: 0 0 20px var(--neon-yellow-glow);
}

.hero-desc {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 25px;
}

.hero-stats-panel {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.hero-stat-card {
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero-stat-card.yellow .hero-stat-icon {
  background: rgba(255, 230, 0, 0.03);
  border-color: rgba(255, 230, 0, 0.25);
  color: var(--neon-yellow);
}

.hero-stat-details h4 {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hero-stat-details .value {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
}

/* ==========================================================================
   PAIN POINTS / SOLUTIONS SECTION
   ========================================================================== */
.pain-title-block {
  text-align: center;
  margin-bottom: 60px;
}

.pain-title-block h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pain-title-block h2 span.yellow {
  color: var(--neon-yellow);
}

.pain-title-block p {
  color: var(--text-secondary);
  margin-top: 15px;
  font-size: 1.1rem;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pain-card {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}

.pain-card-header {
  margin-bottom: 30px;
}

.pain-icon-wrapper {
  margin-bottom: 25px;
  color: var(--neon-yellow);
}

.pain-icon-wrapper svg {
  width: 44px;
  height: 44px;
}

.pain-card-header h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.pain-card-header h3 span.issue {
  color: var(--cyber-red);
  display: block;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.pain-card-header p {
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 0.95rem;
}

.solution-box {
  background: rgba(255, 230, 0, 0.03);
  border: 1px solid rgba(255, 230, 0, 0.15);
  border-radius: 4px;
  padding: 20px;
  margin-top: auto;
}

.solution-box h4 {
  font-family: var(--font-mono);
  color: var(--neon-yellow);
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.solution-box p {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ==========================================================================
   WHATSAPP BOT SIMULATOR SECTION
   ========================================================================== */
.wpp-section-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.wpp-text-block h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.wpp-text-block h2 span.yellow {
  color: var(--neon-yellow);
}

.wpp-text-block p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.wpp-features-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
}

.wpp-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.wpp-features-list li svg {
  color: var(--neon-yellow);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Simulated visual flow builder */
.wpp-simulator-wrapper {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
}

.mini-builder-card {
  display: flex;
  flex-direction: column;
  height: 480px;
  margin-top: 30px;
}

.mini-builder-canvas {
  flex-grow: 1;
  background: rgba(0,0,0,0.5);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.mini-builder-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 15px 15px;
}

.builder-node {
  width: 140px;
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  position: absolute;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  z-index: 5;
  transition: all 0.3s;
}

.builder-node.active {
  border-color: var(--neon-yellow);
  box-shadow: 0 0 10px var(--neon-yellow-glow);
}

.builder-node .node-header {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 4px;
  margin-bottom: 4px;
  color: #fff;
  font-weight: bold;
}

.builder-node.active .node-header {
  color: var(--neon-yellow);
}

.builder-node .node-body {
  color: var(--text-secondary);
}

.nodes-svg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.nodes-svg-layer path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.5;
  stroke-dasharray: 4, 4;
  animation: dash 10s linear infinite;
}

.nodes-svg-layer path.active {
  stroke: var(--neon-yellow);
  stroke-width: 2.5;
  filter: drop-shadow(0 0 3px var(--neon-yellow-glow));
}

/* Phone Mockup */
.phone-shell {
  width: 290px;
  height: 520px;
  background: #000;
  border: 6px solid #1a1a1a;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(255, 255, 255, 0.02);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-screen-header {
  height: 50px;
  background: #121212;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #fff;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wpp-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--neon-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.75rem;
  color: #000;
}

.wpp-user-details h5 {
  font-size: 0.8rem;
  font-weight: 600;
}

.wpp-user-details span {
  font-size: 0.6rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wpp-user-details span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--cyber-green);
  border-radius: 50%;
}

.phone-chat-area {
  flex-grow: 1;
  background-color: #050505;
  background-image: radial-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 12px 12px;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1.4;
}

.chat-bubble.bot {
  align-self: flex-start;
  background: #111;
  color: var(--text-primary);
  border-top-left-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-bubble.user {
  align-self: flex-end;
  background: #fff;
  color: #000;
  border-top-right-radius: 0;
}

.chat-bubble .time {
  display: block;
  text-align: right;
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.chat-options-container {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}

.chat-option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.chat-option-btn:hover {
  background: var(--neon-yellow);
  color: #000;
  border-color: var(--neon-yellow);
}

.chat-typing-loader {
  display: flex;
  gap: 4px;
  padding: 6px 10px;
  background: #111;
  border-radius: 8px;
  align-self: flex-start;
}

.chat-typing-loader span {
  width: 5px;
  height: 5px;
  background: var(--neon-yellow);
  border-radius: 50%;
  animation: typingDot 1.4s infinite ease-in-out both;
}

.chat-typing-loader span:nth-child(1) { animation-delay: -0.32s; }
.chat-typing-loader span:nth-child(2) { animation-delay: -0.16s; }

.phone-input-bar {
  height: 46px;
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  padding: 6px 10px;
  gap: 6px;
}

.phone-input-bar input {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 0 12px;
  color: #fff;
  font-size: 0.75rem;
  outline: none;
}

.phone-input-bar input:focus {
  border-color: var(--neon-yellow);
}

.phone-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: var(--neon-yellow);
  border: none;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s;
}

.phone-send-btn:hover {
  opacity: 0.9;
}

/* ==========================================================================
   SAAS PRODUCT SHOWCASE SECTION
   ========================================================================== */
.saas-showcase-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.saas-dashboard-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr;
  gap: 15px;
}

.saas-mock-card {
  padding: 15px;
  height: 100px;
}

.saas-mock-card .lbl {
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.saas-mock-card .val {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
}

.saas-mock-chart {
  grid-column: 1 / -1;
  height: 200px;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.saas-mock-chart-canvas {
  flex-grow: 1;
  width: 100%;
}

/* ==========================================================================
   ROI CALCULATOR SECTION
   ========================================================================== */
.roi-section-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.roi-inputs-panel {
  padding: 35px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.roi-slider-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.roi-slider-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.roi-slider-label span.value {
  color: var(--neon-yellow);
  font-weight: bold;
}

.roi-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
}

.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--neon-yellow);
  box-shadow: 0 0 10px var(--neon-yellow-glow);
  cursor: pointer;
  transition: transform 0.1s;
}

.roi-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.roi-outputs-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.roi-projection-box {
  padding: 30px;
  text-align: center;
  background: linear-gradient(135deg, rgba(12,12,12,0.9), rgba(255,230,0,0.02));
}

.roi-projection-box h3 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.roi-big-value {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--neon-yellow);
  text-shadow: 0 0 20px var(--neon-yellow-glow);
  margin: 10px 0;
}

.roi-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.comparison-card {
  padding: 15px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0,0,0,0.3);
}

.comparison-card.trad { border-left: 2px solid var(--text-muted); }
.comparison-card.bisno { border-left: 2px solid var(--neon-yellow); }

.comparison-card h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.comparison-card .value {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 4px;
}

.comparison-card.trad .value { color: var(--text-secondary); }
.comparison-card.bisno .value { color: var(--neon-yellow); }

.roi-chart-wrapper {
  flex-grow: 1;
  min-height: 150px;
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 10px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sys-diagnostic-text {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.sys-diagnostic-text span.white { color: #fff; }
.sys-diagnostic-text span.yellow { color: var(--neon-yellow); }

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.channel-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
}

.channel-link:hover {
  background: rgba(255, 230, 0, 0.02);
  border-color: var(--neon-yellow);
  box-shadow: var(--shadow-yellow);
  transform: translateX(5px);
}

.channel-link svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  transition: fill 0.3s;
}

.channel-link:hover svg {
  fill: var(--neon-yellow);
  filter: drop-shadow(0 0 5px var(--neon-yellow-glow));
}

.channel-details h6 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
}

.channel-details p {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.terminal-form-side {
  padding: 35px;
  display: flex;
  flex-direction: column;
}

.cyber-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

.cyber-input {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 12px 15px;
  color: #fff;
  font-family: var(--font-data);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
}

.cyber-input:focus {
  border-color: var(--neon-yellow);
  box-shadow: 0 0 10px var(--neon-yellow-glow);
  background: rgba(0, 0, 0, 0.7);
}

textarea.cyber-input {
  resize: none;
  height: 110px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer.app-footer {
  background: #000;
  padding: 60px 80px 40px 80px;
  border-top: var(--border-cyber);
  position: relative;
  z-index: 10;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-title);
  font-weight: 900;
  color: var(--neon-yellow);
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 350px;
}

.footer-links h4 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--neon-yellow);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom span {
  color: var(--neon-yellow);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes logReveal {
  to { opacity: 1; }
}

@keyframes logoPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255,255,255,0.1)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 6px var(--neon-yellow-glow)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255,255,255,0.1)); }
}

@keyframes typingDot {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@keyframes dash {
  to { stroke-dashoffset: -100; }
}

/* Glitch Effect Classes */
.cyber-glitch {
  position: relative;
}

.cyber-glitch::before,
.cyber-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-deep);
}

.cyber-glitch::before {
  left: 2px;
  text-shadow: -1px 0 #fff;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.cyber-glitch::after {
  left: -2px;
  text-shadow: -1px 0 var(--neon-yellow);
  clip: rect(85px, 450px, 140px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(15px, 9999px, 66px, 0); }
  50% { clip: rect(34px, 9999px, 55px, 0); }
  100% { clip: rect(78px, 9999px, 110px, 0); }
}

@keyframes glitch-anim2 {
  0% { clip: rect(88px, 9999px, 105px, 0); }
  50% { clip: rect(12px, 9999px, 85px, 0); }
  100% { clip: rect(92px, 9999px, 150px, 0); }
}

/* Floating WhatsApp Button */
.wpp-floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--transition-cubic), background-color 0.3s, box-shadow 0.3s;
  text-decoration: none;
  animation: wppPulse 2s infinite;
}

.wpp-floating-btn:hover {
  transform: scale(1.1) rotate(10deg);
  background-color: #20ba5a;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  animation-play-state: paused;
}

@keyframes wppPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7), 0 4px 20px rgba(37, 211, 102, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 4px 20px rgba(37, 211, 102, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 20px rgba(37, 211, 102, 0.4); }
}

/* Niches Bot Cards Grid */
.niches-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.niche-card-item {
  padding: 25px;
  min-height: 480px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}

.niche-card-item .niche-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #fff;
}

.niche-card-item .niche-title.yellow {
  color: var(--neon-yellow);
}

.niche-card-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Niches SaaS Cards Grid */
.saas-niches-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 25px;
}

.saas-niche-card {
  padding: 30px 25px;
  min-height: 520px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.3s;
}

.saas-niche-card:hover {
  transform: translateY(-5px);
}

.saas-niche-card .saas-icon {
  font-size: 2rem;
}

.saas-niche-card h4 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: #fff;
}

.saas-niche-card h4.yellow {
  color: var(--neon-yellow);
}

.saas-niche-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.wpp-flow-img, .saas-dashboard-img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

/* Background canvases for sections */
.section-cyber-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
}

/* Web Niches Grid */
.web-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 25px;
}

.web-card-item {
  padding: 30px 25px;
  min-height: 520px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.3s var(--transition-cubic);
}

.web-card-item:hover {
  transform: translateY(-5px);
}

.web-card-item .web-icon {
  font-size: 2rem;
}

.web-card-item .web-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  text-transform: uppercase;
  color: #fff;
}

.web-card-item .web-title.yellow {
  color: var(--neon-yellow);
}

.web-card-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Mockup Image Wrapper styling inside Cards (Bots, Web, SaaS) */
.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 170px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  margin: 10px 0 15px 0;
  padding-top: 18px; /* Leave space for the mock browser bar */
}

.glass-panel.yellow .card-img-wrapper {
  border-color: rgba(255, 230, 0, 0.15);
}

/* Mock Browser top bar dots */
.card-img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 18px;
  background: rgba(12, 12, 12, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 2;
}

.card-img-wrapper::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  width: 6px;
  height: 6px;
  background: #ff5f56;
  border-radius: 50%;
  box-shadow: 10px 0 0 #ffbd2e, 20px 0 0 #27c93f;
  z-index: 3;
}

.card-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--transition-cubic), filter 0.5s;
  filter: brightness(0.85) contrast(1.05);
  display: block;
}

.glass-panel:hover .card-mockup-img {
  transform: scale(1.06);
  filter: brightness(1.05) contrast(1.1);
}

/* Example Box styling inside Cards (Bots, Web, SaaS) */
.card-example-box, .saas-example-box, .web-example-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 12px 14px;
  margin-top: auto;
  font-family: var(--font-data);
}

/* For yellow border cards, make example border yellow tinted */
.glass-panel.yellow .card-example-box, 
.glass-panel.yellow .saas-example-box, 
.glass-panel.yellow .web-example-box {
  border-color: rgba(255, 230, 0, 0.12);
}

.example-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--neon-yellow);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.glass-panel:not(.yellow) .example-lbl {
  color: #ffffff;
}

.example-txt {
  font-family: var(--font-data);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
  font-style: italic;
}

/* Schematic flow styles inside cards */
.sch-wrapper {
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 8px 10px;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.glass-panel.yellow .sch-wrapper {
  border-color: rgba(255, 230, 0, 0.15);
}

.schematic-svg {
  width: 100%;
  max-width: 280px;
  height: auto;
  overflow: visible;
}

.sch-node circle {
  fill: #000;
  stroke-width: 1.5;
  transition: r 0.3s, stroke-width 0.3s, stroke 0.3s;
}

.sch-node.white circle {
  stroke: rgba(255, 255, 255, 0.2);
}

.sch-node.yellow circle {
  stroke: rgba(255, 230, 0, 0.4);
}

.glass-panel:hover .sch-node.white circle {
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 2;
}

.glass-panel:hover .sch-node.yellow circle {
  stroke: var(--neon-yellow);
  stroke-width: 2;
  filter: drop-shadow(0 0 5px var(--neon-yellow-glow));
}

.node-icon {
  font-size: 0.95rem;
  text-anchor: middle;
  dominant-baseline: middle;
}

.node-lbl {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-anchor: middle;
  fill: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.glass-panel:hover .node-lbl {
  fill: #fff;
}

.glass-panel.yellow:hover .node-lbl {
  fill: var(--neon-yellow);
}

.sch-arrow {
  fill: none;
  stroke-width: 1.5;
  stroke-dasharray: 4, 4;
  animation: schArrowDash 4s linear infinite;
}

.sch-node.white + .sch-arrow {
  stroke: rgba(255, 255, 255, 0.25);
}

.sch-node.yellow + .sch-arrow {
  stroke: rgba(255, 230, 0, 0.45);
}

.glass-panel:hover .sch-arrow {
  stroke-dasharray: none;
  animation-play-state: paused;
}

.glass-panel:hover .sch-node.white + .sch-arrow {
  stroke: rgba(255, 255, 255, 0.7);
}

.glass-panel:hover .sch-node.yellow + .sch-arrow {
  stroke: var(--neon-yellow);
}

@keyframes schArrowDash {
  to {
    stroke-dashoffset: -20;
  }
}

/* ==========================================================================
   MOBILE & RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  header.app-header {
    padding: 0 40px;
  }
  
  section.viewport-section {
    padding: 100px 40px 60px 40px;
  }
  
  .hero-layout, .wpp-section-layout, .saas-showcase-layout, .roi-section-layout, .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .niches-cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .saas-niches-cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .web-cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-stats-panel {
    flex-direction: row;
  }
  
  .hero-stat-card {
    flex: 1;
  }
  
  footer.app-footer {
    padding: 60px 40px 30px 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .pain-grid {
    grid-template-columns: 1fr;
  }
  
  .wpp-simulator-wrapper {
    grid-template-columns: 1fr;
  }
  
  .niches-cards-wrapper {
    grid-template-columns: 1fr;
  }
  
  .saas-niches-cards-wrapper {
    grid-template-columns: 1fr;
  }
  
  .web-cards-wrapper {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-stats-panel {
    flex-direction: column;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   IMAGE DETAIL OVERLAY (LIGHTBOX v6.0)
   ========================================================================== */
.image-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000; /* Above header and floating WhatsApp button */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--transition-cubic), visibility 0.4s;
  pointer-events: none;
}

.image-detail-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.overlay-card {
  position: relative;
  width: 70vw; /* Covers about 60-70% of the page width */
  max-width: 1000px;
  height: auto; /* Adapts dynamically to content height */
  max-height: 85vh;
  min-height: 440px;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 230, 0, 0.25);
  box-shadow: 0 25px 60px rgba(255, 230, 0, 0.1), inset 0 0 20px rgba(0,0,0,0.8);
  border-radius: 12px;
  z-index: 10;
  display: flex;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--transition-cubic);
}

.image-detail-overlay.active .overlay-card {
  transform: scale(1) translateY(0);
}

.overlay-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 15;
  transition: color 0.3s;
  line-height: 1;
}

.overlay-close-btn:hover {
  color: var(--neon-yellow);
}

.overlay-content {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  width: 100%;
  height: 100%;
}

.overlay-img-side {
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.overlay-img-wrapper {
  position: relative;
  width: 100%;
  height: 350px; /* Set a standard mockup preview height for the auto-height layout */
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px; /* Mock browser top bar */
  background: #080808;
}

.overlay-img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: #121212;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 2;
}

.overlay-img-wrapper::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 10px;
  width: 6px;
  height: 6px;
  background: #ff5f56;
  border-radius: 50%;
  box-shadow: 10px 0 0 #ffbd2e, 20px 0 0 #27c93f;
  z-index: 3;
}

.overlay-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Make sure the entire mockup is fully visible in detail */
  background: #000;
  display: block;
}

.overlay-info-side {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}

.overlay-info-container {
  margin: auto 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.overlay-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--neon-yellow);
}

.overlay-info-side h3 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}

.overlay-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: center;
  max-width: 450px;
  margin: 0 auto;
}

.overlay-example-box {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 230, 0, 0.15);
  border-radius: 6px;
  padding: 15px 20px;
  margin: 10px auto 0 auto;
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.overlay-example-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--neon-yellow);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.overlay-example-txt {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
  text-align: center;
}

/* Responsive Overlay */
@media (max-width: 1024px) {
  .overlay-card {
    width: 85vw;
    height: 70vh;
  }
}

@media (max-width: 768px) {
  .overlay-card {
    width: 90vw;
    height: 85vh;
    flex-direction: column;
  }
  .overlay-content {
    grid-template-columns: 1fr;
    grid-template-rows: 1.2fr 1fr;
  }
  .overlay-img-side {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
  }
  .overlay-info-side {
    padding: 20px;
    gap: 15px;
  }
  .overlay-info-side h3 {
    font-size: 1.3rem;
  }
}
