/* 
  Apperitos Landing Page — style.css
  Premium Dark Design System (Glassmorphism, Ambient Glows, Hover Animations, Tooltips)
*/

:root {
  /* Color Palette (HSL) */
  --bg-primary: hsl(222, 47%, 7%);
  --bg-secondary: hsl(222, 47%, 10%);
  --bg-panel: hsla(222, 47%, 13%, 0.7);
  --border-color: hsla(222, 47%, 25%, 0.45);
  --border-glow: hsla(217, 91%, 60%, 0.25);
  
  --text-primary: hsl(210, 40%, 98%);
  --text-secondary: hsl(215, 20%, 80%);
  --text-muted: hsl(215, 16%, 55%);
  
  --brand-blue: hsl(217, 91%, 60%);
  --brand-blue-hover: hsl(217, 91%, 68%);
  --brand-blue-glow: hsla(217, 91%, 60%, 0.35);
  
  --brand-green: hsl(142, 70%, 45%);
  --brand-green-glow: hsla(142, 70%, 45%, 0.25);
  
  --brand-teal: hsl(180, 100%, 45%);
  --brand-teal-glow: hsla(180, 100%, 45%, 0.2);
  
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  --transition-smooth: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  --border-radius-lg: 20px;
  --border-radius-md: 14px;
  --border-radius-sm: 10px;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

html, body {
  background-color: var(--bg-primary);
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Background Glows */
.glow-spot {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--brand-blue-glow) 0%, transparent 70%);
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  animation: glowFloat 8s infinite alternate ease-in-out;
}

.glow-spot-secondary {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--brand-green-glow) 0%, transparent 70%);
  filter: blur(110px);
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
  animation: glowFloatSecondary 10s infinite alternate ease-in-out;
}

@keyframes glowFloat {
  0% { transform: translateY(0) scale(1); opacity: 0.8; }
  100% { transform: translateY(30px) scale(1.1); opacity: 1; }
}

@keyframes glowFloatSecondary {
  0% { transform: translateY(0) scale(1.1); opacity: 0.9; }
  100% { transform: translateY(-40px) scale(0.9); opacity: 0.7; }
}

/* Typography & Layout Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-headings);
  font-weight: 700;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
}

.max-w-7xl {
  max-width: 1280px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.w-full {
  width: 100%;
}

.justify-center {
  justify-content: center;
}

.hidden {
  display: none !important;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, hsl(220, 100%, 50%) 100%);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 4px 20px var(--brand-blue-glow);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px hsla(217, 91%, 60%, 0.45);
  background: linear-gradient(135deg, var(--brand-blue-hover) 0%, var(--brand-blue) 100%);
}

.btn-primary i {
  width: 16px;
  height: 16px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: hsla(222, 47%, 20%, 0.35);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: hsla(222, 47%, 20%, 0.7);
  border-color: var(--brand-blue);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Glassmorphism Panel & Interactive Shadows */
.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.45);
  transition: var(--transition-smooth);
  will-change: transform, border-color, box-shadow;
}

.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: 0 15px 45px 0 hsla(217, 91%, 60%, 0.08), 0 0 15px hsla(217, 91%, 60%, 0.05);
}

.feature-card, .highlight-item, .mfa-visual-card, .nassor-card {
  cursor: pointer;
}

/* Tooltip Implementation (Glassmorphic & Mouse Tracking Hover) */
.has-tooltip {
  position: relative;
}

.has-tooltip::before {
  display: none !important;
}

.has-tooltip::after {
  display: none !important;
}

.has-tooltip:hover {
  z-index: 20;
}

/* Navigation Header */
.glass-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 60px;
  background: hsla(222, 47%, 5%, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

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

.icon-brand-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: invert(1) brightness(200%) drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
  transition: var(--transition-smooth);
}

.icon-brand-img:hover {
  transform: scale(1.06) rotate(-2deg);
  filter: invert(1) brightness(220%) drop-shadow(0 0 8px var(--brand-blue));
}

.logo-text {
  font-family: var(--font-headings);
  font-size: 1.45rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 40%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-subtext {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-left: 4px;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: var(--text-muted);
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  border-radius: var(--border-radius-sm);
}

.hamburger-btn:hover {
  color: var(--brand-blue);
  background-color: hsla(222, 47%, 20%, 0.4);
}

.hamburger-btn i {
  width: 24px;
  height: 24px;
  display: block;
}

.nav-menu-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  margin-left: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--brand-blue);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-blue);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Section Common Styles & Scroll Fade In */
.section-container {
  padding: 120px 60px 80px 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff 60%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto;
}

.section-subtitle-left {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 160px 40px 100px 40px;
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
}

.badge-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: hsla(217, 91%, 60%, 0.1);
  color: var(--brand-blue);
  border: 1px solid hsla(217, 91%, 60%, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.badge-container.bg-green {
  background-color: hsla(142, 70%, 45%, 0.1);
  color: var(--brand-green);
  border-color: hsla(142, 70%, 45%, 0.2);
}

.icon-badge {
  width: 14px;
  height: 14px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #ffffff 40%, #9bc2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-secondary);
  max-width: 820px;
  margin-bottom: 48px;
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 90px;
}

/* Feature Grid with Hover Lift (3D Effect) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 120%;
  margin-left: -10%;
}

.feature-card {
  padding: 36px;
  text-align: left;
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--brand-blue);
  box-shadow: 0 20px 40px hsla(217, 91%, 60%, 0.12), 0 0 20px hsla(217, 91%, 60%, 0.08);
}

.icon-box-blue, .icon-box-green {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 28px;
  transition: var(--transition-smooth);
}

.feature-card:hover .icon-box-blue {
  transform: scale(1.1) rotate(4deg);
  background-color: var(--brand-blue);
  color: #fff;
}

.feature-card:hover .icon-box-green {
  transform: scale(1.1) rotate(-4deg);
  background-color: var(--brand-green);
  color: #fff;
}

.icon-box-blue {
  background-color: hsla(217, 91%, 60%, 0.1);
  color: var(--brand-blue);
  border: 1px solid hsla(217, 91%, 60%, 0.2);
}

.icon-box-green {
  background-color: hsla(142, 70%, 45%, 0.1);
  color: var(--brand-green);
  border: 1px solid hsla(142, 70%, 45%, 0.2);
}

.icon-box-blue i, .icon-box-green i {
  width: 26px;
  height: 26px;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.card-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Sandbox / Interactive Simulator */
.sim-container {
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.sim-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 540px;
}

/* Sidebar Controls */
.sim-sidebar {
  padding: 36px;
  border-right: 1px solid var(--border-color);
  background-color: hsla(222, 47%, 4%, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sim-step-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 22px;
  font-family: var(--font-body);
}

.sim-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sim-option-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 18px;
  background-color: hsla(222, 47%, 20%, 0.15);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sim-option-btn:hover {
  background-color: hsla(222, 47%, 20%, 0.35);
  border-color: var(--brand-blue-glow);
  transform: translateX(4px);
}

.sim-option-btn.active {
  background-color: hsla(217, 91%, 60%, 0.08);
  border-color: var(--brand-blue);
  box-shadow: 0 0 20px hsla(217, 91%, 60%, 0.12);
}

.option-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  transition: var(--transition-smooth);
}

.sim-option-btn.active .option-badge {
  color: var(--brand-blue);
}

.option-title {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sim-action-area {
  margin-top: 30px;
}

/* Sandbox Terminal Area */
.sim-chat-area {
  display: flex;
  flex-direction: column;
  background-color: hsla(222, 47%, 3%, 0.9);
}

.sim-steps-header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border-color);
  background-color: hsla(222, 47%, 2%, 0.95);
}

.step-indicator {
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 16px 8px;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  transition: var(--transition-smooth);
}

.step-indicator.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
}

.step-indicator.completed {
  color: var(--brand-green);
  border-bottom-color: var(--brand-green);
}

.sim-output-body {
  flex: 1;
  padding: 36px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  max-height: 480px;
  display: flex;
  flex-direction: column;
}

.sim-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  color: var(--text-muted);
  font-family: var(--font-body);
}

.icon-idle {
  width: 52px;
  height: 52px;
  color: var(--text-muted);
  margin-bottom: 18px;
  opacity: 0.5;
}

.filename-highlight {
  color: var(--brand-blue);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.sim-log {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.log-line {
  color: var(--text-secondary);
  animation: scanline 0.25s ease-out forwards;
}

.log-line.system {
  color: var(--text-muted);
}

.log-line.success {
  color: var(--brand-green);
}

.log-line.query {
  color: var(--brand-teal);
  background-color: hsla(180, 100%, 45%, 0.04);
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  border-left: 3px solid var(--brand-teal);
  margin: 10px 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.log-line.answer-box {
  background-color: hsla(222, 47%, 14%, 0.7);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--border-radius-md);
  margin-top: 20px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  border-left: 4px solid var(--brand-blue);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.answer-header {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.grounding-link {
  color: var(--brand-blue);
  font-weight: 600;
  cursor: pointer;
  padding: 0 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-decoration: underline;
  display: inline-block;
  transition: var(--transition-smooth);
}

.grounding-link:hover {
  color: var(--brand-blue-hover);
  background-color: hsla(217, 91%, 60%, 0.12);
  border-radius: 4px;
}

.grounding-sources {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.source-item {
  font-size: 0.825rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.source-number {
  color: var(--brand-blue);
  font-weight: bold;
}

.source-link {
  color: var(--text-secondary);
  text-decoration: underline;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.source-link:hover {
  color: var(--brand-blue);
}

/* 13 Silos Filter Grid */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.tab-btn {
  background-color: hsla(222, 47%, 20%, 0.25);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 10px 22px;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  border-color: var(--brand-blue);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tab-btn.active {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
  box-shadow: 0 4px 15px var(--brand-blue-glow);
}

.grid-silos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.silo-card {
  padding: 28px;
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  min-height: 200px;
  animation: fadeIn 0.4s ease-out;
}

.silo-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.silo-card.perícia:hover {
  border-color: var(--brand-teal);
  box-shadow: 0 14px 30px hsla(180, 100%, 45%, 0.08);
}

.silo-card.direito:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 14px 30px hsla(217, 91%, 60%, 0.08);
}

.silo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.silo-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background-color: hsla(222, 47%, 20%, 0.4);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.silo-card.perícia .silo-tag, .silo-tag.tag-pericia {
  color: var(--brand-teal);
  background-color: hsla(180, 100%, 45%, 0.05);
  border-color: hsla(180, 100%, 45%, 0.15);
}

.silo-card.direito .silo-tag, .silo-tag.tag-direito {
  color: var(--brand-blue);
  background-color: hsla(217, 91%, 60%, 0.05);
  border-color: hsla(217, 91%, 60%, 0.15);
}

.silo-icon {
  color: var(--brand-blue);
  width: 22px;
  height: 22px;
  transition: var(--transition-smooth);
}

.silo-card:hover .silo-icon {
  transform: scale(1.15);
}

.silo-card.perícia .silo-icon {
  color: var(--brand-teal);
}

.silo-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.silo-description {
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

/* Security Section */
.security-section {
  padding: 120px 60px;
  background-color: hsla(222, 47%, 4%, 0.4);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}

.security-text {
  text-align: left;
}

.security-highlights {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 48px;
}

.highlight-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px;
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.highlight-item:hover {
  background-color: hsla(222, 47%, 18%, 0.4);
  border-color: var(--border-color);
  transform: translateX(6px);
}

.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.highlight-item:hover .highlight-icon {
  transform: scale(1.1) rotate(3deg);
}

.highlight-icon i {
  width: 22px;
  height: 22px;
}

.highlight-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.highlight-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
}

/* Visual MFA Mock Card */
.mfa-visual-card {
  padding: 36px;
  max-width: 420px;
  text-align: center;
}

.mfa-visual-card:hover {
  transform: scale(1.03) translateY(-4px);
  border-color: var(--brand-green);
  box-shadow: 0 15px 40px hsla(142, 70%, 45%, 0.08);
}

.mfa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.mfa-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.badge-active {
  background-color: hsla(142, 70%, 45%, 0.1);
  color: var(--brand-green);
  border: 1px solid hsla(142, 70%, 45%, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mfa-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mfa-qr-box {
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, hsla(222, 47%, 18%, 0.6) 0%, hsla(222, 47%, 9%, 0.6) 100%);
  border: 1px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.mfa-visual-card:hover .mfa-qr-box {
  border-color: var(--brand-green);
  background: radial-gradient(circle, hsla(142, 70%, 45%, 0.15) 0%, hsla(222, 47%, 9%, 0.6) 100%);
}

.mfa-qr-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.icon-mfa-lock {
  width: 40px;
  height: 40px;
  color: var(--brand-blue);
  animation: pulseGlow 2.5s infinite ease-in-out;
}

.mfa-visual-card:hover .icon-mfa-lock {
  color: var(--brand-green);
  animation: pulseGlowGreen 2s infinite ease-in-out;
}

.mfa-qr-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mfa-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 300px;
}

/* About Nassor Section */
.nassor-grid {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 80px;
  align-items: center;
}

.nassor-card {
  padding: 36px;
}

.nassor-card:hover {
  transform: scale(1.02) translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: 0 15px 40px hsla(217, 91%, 60%, 0.08);
}

.nassor-header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.nassor-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.nassor-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.nassor-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

.nassor-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
  background-color: hsla(217, 91%, 60%, 0.05);
  border: 1px solid hsla(217, 91%, 60%, 0.15);
  color: var(--brand-blue);
}

.nassor-text {
  text-align: left;
}

.nassor-tag {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.nassor-text .section-title {
  margin-bottom: 24px;
}

.nassor-text .section-subtitle-left {
  line-height: 1.75;
}

/* Lead Form Section */
.lead-form-card {
  padding: 60px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.lead-form-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 15px 45px rgba(0, 47, 171, 0.1);
}

.lead-header {
  margin-bottom: 36px;
}

.lead-title {
  font-size: 2rem;
  margin-bottom: 14px;
}

.lead-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

.form-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-actions-row {
  display: flex;
  gap: 16px;
  width: 100%;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-input, .form-select {
  width: 100%;
  background-color: hsla(222, 47%, 18%, 0.3);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus {
  border-color: var(--brand-blue);
  outline: none;
  box-shadow: 0 0 12px hsla(217, 91%, 60%, 0.2);
  background-color: hsla(222, 47%, 18%, 0.5);
  transform: translateY(-1px);
}

.form-select option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

/* Success Panel */
.success-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: scaleUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.icon-success {
  width: 60px;
  height: 60px;
  color: var(--brand-green);
  margin-bottom: 20px;
}

.success-title {
  font-size: 1.65rem;
  margin-bottom: 10px;
}

.success-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Error Panel */
.error-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: hsla(0, 85%, 45%, 0.1);
  border: 1px dashed hsla(0, 85%, 55%, 0.35);
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  color: hsl(0, 85%, 75%);
  font-size: 0.9rem;
  text-align: left;
  margin-bottom: 24px;
  animation: fadeIn 0.3s ease-out;
}

.icon-error-alert {
  width: 18px;
  height: 18px;
  color: hsl(0, 85%, 65%);
  flex-shrink: 0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 50px 40px;
  background-color: hsla(222, 47%, 3%, 0.9);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links span {
  cursor: pointer;
  transition: var(--transition-smooth);
}

.footer-links span:hover {
  color: var(--brand-blue);
}

/* Animations */
@keyframes scanline {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 4px var(--brand-blue-glow));
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
    filter: drop-shadow(0 0 10px var(--brand-blue));
  }
}

@keyframes pulseGlowGreen {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    filter: drop-shadow(0 0 4px var(--brand-green-glow));
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
    filter: drop-shadow(0 0 10px var(--brand-green));
  }
}

.animate-fade-in {
  animation: fadeIn 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* Simulator Video Showcase Column */
.sim-video-showcase {
  padding: 36px;
  border-left: 1px solid var(--border-color);
  background-color: hsla(222, 47%, 2%, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.video-header {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-video-header {
  color: var(--brand-blue);
  width: 18px;
  height: 18px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: #000;
  aspect-ratio: 16/10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-info {
  margin-top: 18px;
  padding: 14px;
  background-color: hsla(217, 91%, 60%, 0.05);
  border: 1px dashed var(--brand-blue-glow);
  border-radius: var(--border-radius-sm);
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.icon-video-overlay {
  color: var(--brand-blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Lead Ingestion Notices */
.lead-simulation-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background-color: hsla(217, 91%, 60%, 0.05);
  border: 1px dashed var(--brand-blue-glow);
  padding: 14px 18px;
  border-radius: var(--border-radius-sm);
  font-size: 0.8rem;
  line-height: 1.45;
  text-align: left;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 18px auto 0 auto;
}

/* Footer Mailto */
.footer-mailto {
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.footer-mailto:hover {
  color: var(--brand-blue);
}

/* Glassmorphic Policy Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(6, 11, 25, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.25s ease-out forwards;
}

.modal-content {
  width: 90%;
  max-width: 680px;
  max-height: 80vh;
  background: hsla(222, 47%, 9%, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid hsla(217, 91%, 60%, 0.35);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  padding: 36px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.modal-title-text {
  font-size: 1.45rem;
  color: var(--text-primary);
  font-family: var(--font-headings);
  font-weight: 700;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--brand-blue);
}

.modal-body-content {
  overflow-y: auto;
  font-size: 0.925rem;
  line-height: 1.75;
  color: var(--text-secondary);
  padding-right: 8px;
  max-height: calc(80vh - 120px);
}

.modal-body-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 20px 0 8px 0;
  color: var(--text-primary);
  font-family: var(--font-headings);
}

.modal-body-content p {
  margin-bottom: 14px;
}

.modal-body-content ul {
  margin-left: 20px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Silo Detail Modal Specific Layout */
.silo-modal-content {
  max-width: 820px;
}

.silo-modal-title-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.silo-modal-details-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
}

.silo-modal-main h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.silo-modal-main p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.silo-modal-main ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 0;
}

.silo-modal-main li {
  font-size: 0.925rem;
  position: relative;
  padding-left: 20px;
  color: var(--text-secondary);
}

.silo-modal-main li::before {
  content: "•";
  color: var(--brand-blue);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.silo-modal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.silo-sidebar-block {
  background-color: hsla(222, 47%, 14%, 0.4);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--border-radius-md);
}

.silo-sidebar-block h5 {
  font-family: var(--font-headings);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
}

.silo-sidebar-block p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .silo-modal-details-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Responsive Rules */
@media (max-width: 1200px) {
  .sim-grid {
    grid-template-columns: 280px 1fr;
  }
  
  .sim-video-showcase {
    grid-column: span 2;
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin-left: 0;
  }
  
  .sim-grid {
    grid-template-columns: 1fr;
  }
  
  .sim-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    gap: 24px;
  }
  
  .sim-chat-area {
    min-height: 420px;
  }
  
  .sim-video-showcase {
    grid-column: span 1;
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
  
  .security-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .mfa-visual-card {
    margin: 0 auto;
  }
  
  .nassor-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .nassor-card {
    order: 2;
  }
}

@media (max-width: 768px) {
  .section-container {
    padding: 60px 16px 40px 16px;
  }
  
  .hero-section {
    padding: 100px 16px 60px 16px;
  }
  
  .security-section {
    padding: 60px 16px;
  }
  
  .footer {
    padding: 40px 16px;
  }

  .glass-nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
  }

  .hamburger-btn {
    display: flex;
  }

  .nav-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: hsla(222, 47%, 5%, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 28px 20px;
    flex-direction: column;
    gap: 28px;
    align-items: stretch;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.25s ease-out;
  }

  .nav-menu-wrapper.active {
    display: flex;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .nav-cta-container {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-cta-container .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 32px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 60px;
  }
  
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .grid-silos {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .sim-steps-header {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sim-sidebar {
    padding: 24px 16px;
    gap: 20px;
  }
  
  .sim-output-body {
    padding: 24px 16px;
  }

  .sim-video-showcase {
    padding: 24px 16px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-actions-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .lead-form-card {
    padding: 30px 16px;
  }
  
  .has-tooltip::before,
  .has-tooltip::after {
    display: none !important;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
