/* --- CUSTOM COLOR PALETTE & CSS TOKENS --- */
:root {
  --bg-color: #07080b;
  --panel-bg: rgba(13, 16, 23, 0.82);
  --panel-bg-hover: rgba(18, 23, 33, 0.9);
  --border-color: rgba(0, 240, 255, 0.18);
  --border-color-focus: rgba(0, 240, 255, 0.6);
  
  /* Neon Glows */
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff007f;
  --neon-green: #39ff14;
  --neon-yellow: #ffe600;
  
  /* Texts */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-glow-cyan: 0 0 12px rgba(0, 240, 255, 0.6);
  --text-glow-magenta: 0 0 12px rgba(255, 0, 127, 0.6);
  
  /* Fonts */
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --font-retro: 'Press Start 2P', monospace;
}

/* --- BASE RESET & LAYOUT --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: default;
}

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

body.cyber-theme {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-display);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  line-height: 1.6;
}

/* Background grid overlay & scanlines */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  );
  background-size: 100% 4px;
  z-index: 999;
  pointer-events: none;
  opacity: 0.35;
}

/* --- NAVBAR --- */
.site-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
  background: rgba(7, 8, 11, 0.85);
  backdrop-filter: blur(16px);
  z-index: 100;
  position: sticky;
  top: 0;
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.logo-glitch {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: var(--text-glow-cyan);
  text-decoration: none;
}

.brand-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  letter-spacing: 2px;
  background: rgba(0, 240, 255, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transition: all 0.25s ease;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 4rem 2.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--neon-cyan) 80%, var(--neon-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 620px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary-neon {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(255, 0, 127, 0.2));
  border: 1px solid var(--neon-cyan);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.btn-primary-neon:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.35), rgba(255, 0, 127, 0.35));
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
  border-color: #fff;
}

.btn-secondary-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 1rem 1.75rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.btn-secondary-outline:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  flex-wrap: wrap;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat-chip strong {
  color: var(--neon-cyan);
}

/* --- HERO DISPLAY STAGE --- */
.hero-stage-wrapper {
  position: relative;
  width: 100%;
  height: clamp(360px, 42vw, 480px);
}

.mascot-stage {
  border: 1px dashed rgba(0, 240, 255, 0.3);
  border-radius: 20px;
  position: relative;
  background: radial-gradient(circle at center, rgba(13, 16, 23, 0.7) 0%, rgba(7, 8, 11, 0.95) 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(0, 240, 255, 0.05);
}

.stage-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: radial-gradient(ellipse at bottom, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.interactive-sandbox {
  z-index: 2;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mascot-stage > .interactive-sandbox {
  display: none;
}

.hero-video-shell {
  z-index: 2;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-video-frame {
  flex: 1;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.22);
  background: rgba(7, 8, 11, 0.92);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.hero-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.hero-video-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 240, 255, 0.16);
  background: rgba(7, 8, 11, 0.82);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hero-video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-video-link:hover {
  color: #000;
  background: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.28);
}

.sandbox-hint {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-cyan);
  text-align: center;
  background: rgba(7, 8, 11, 0.85);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  align-self: center;
  max-width: 90%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.sandbox-targets {
  display: flex;
  justify-content: space-around;
  gap: 0.75rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
  width: 100%;
}

.target-item {
  background: rgba(13, 16, 23, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.85rem;
  flex: 1;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(8px);
}

.target-item:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.2);
}

.target-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: inline-block;
}

.target-badge.ai {
  background: rgba(255, 0, 127, 0.15);
  color: var(--neon-magenta);
  border: 1px solid rgba(255, 0, 127, 0.3);
}

.target-badge.game {
  background: rgba(57, 255, 20, 0.15);
  color: var(--neon-green);
  border: 1px solid rgba(57, 255, 20, 0.3);
}

.target-badge.build {
  background: rgba(255, 230, 0, 0.15);
  color: var(--neon-yellow);
  border: 1px solid rgba(255, 230, 0, 0.3);
}

.target-item h4 {
  font-size: 0.85rem;
  color: var(--text-main);
}

/* --- SECTION HEADINGS --- */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-magenta);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: clamp(1.9rem, 4.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
  text-wrap: balance;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* --- FEATURES GRID SECTION --- */
.features-section {
  padding: 5rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 10;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(16px);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--panel-bg-hover);
  border-color: var(--neon-cyan);
  box-shadow: 0 12px 40px rgba(0, 240, 255, 0.12);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: #fff;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-list li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-list li::before {
  content: '▸';
  color: var(--neon-cyan);
}

/* --- INTERACTIVE SIMULATOR / LABORATORY --- */
.playground-section {
  padding: 5rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 10;
  position: relative;
}

.playground-container {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.sim-tabs-nav {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.sim-tab-btn {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.sim-tab-btn.active, .sim-tab-btn:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.sim-panel {
  display: none;
}

.sim-panel.active {
  display: block;
}

.sim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1.25rem;
}

.sim-action-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.sim-action-btn:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
  transform: translateY(-2px);
}

.sim-action-btn.magenta:hover {
  background: rgba(255, 0, 127, 0.12);
  border-color: var(--neon-magenta);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.25);
}

.sim-action-btn.green:hover {
  background: rgba(57, 255, 20, 0.12);
  border-color: var(--neon-green);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.25);
}

.sim-action-btn.yellow:hover {
  background: rgba(255, 230, 0, 0.12);
  border-color: var(--neon-yellow);
  box-shadow: 0 0 15px rgba(255, 230, 0, 0.25);
}

/* --- MOCKUP SHOWCASE IMAGE SECTION --- */
.showcase-banner-section {
  padding: 4rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 10;
  position: relative;
}

.banner-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

@media (max-width: 900px) {
  .banner-card {
    grid-template-columns: 1fr;
  }
}

.banner-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
  object-fit: cover;
}

.banner-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
  text-wrap: balance;
}

.banner-content p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* --- PRIVACY COMPARISON TABLE --- */
.privacy-section {
  padding: 5rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 10;
  position: relative;
}

.comparison-table-wrapper {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  overflow-x: auto;
  backdrop-filter: blur(16px);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.comparison-table th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  color: var(--neon-cyan);
  font-size: 1rem;
}

.comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.badge-check {
  color: var(--neon-green);
  font-weight: bold;
}

.badge-cross {
  color: var(--neon-magenta);
  font-weight: bold;
}

/* --- DOWNLOAD SECTION & CARDS --- */
.download-section {
  padding: 5rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 10;
  position: relative;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 2rem;
}

.download-grid.windows-only {
  max-width: 420px;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr);
}

.download-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.25rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-cyan);
  box-shadow: 0 12px 35px rgba(0, 240, 255, 0.15);
}

.platform-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.download-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.download-card p {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.download-grid.windows-only .platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 4.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  background: rgba(0, 240, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: transparent;
}

.download-grid.windows-only .platform-icon::before {
  content: 'WIN';
  font-size: 1.25rem;
  color: var(--neon-cyan);
}

.platform-legacy {
  display: none !important;
}

.download-btn {
  width: 100%;
  padding: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid var(--neon-cyan);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: auto;
}

.download-btn:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 20px var(--neon-cyan);
}

/* --- MODALS --- */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 6, 9, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: var(--panel-bg);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 20px 60px rgba(0, 240, 255, 0.25);
  border-radius: 18px;
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(1rem, 3vw, 2rem);
  position: relative;
  animation: modalFade 0.3s ease-out;
}

@keyframes modalFade {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: var(--neon-magenta);
}

.modal-title {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.agenda-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.agenda-form-full {
  grid-column: span 2;
}

.agenda-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.agenda-form input, .agenda-form textarea {
  width: 100%;
  padding: 0.7rem;
  background: rgba(7, 8, 11, 0.9);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.agenda-form input:focus, .agenda-form textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.agenda-item-card {
  background: rgba(7, 8, 11, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.agenda-item-card.completed {
  opacity: 0.5;
  text-decoration: line-through;
}

.agenda-item-info h5 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.agenda-item-info p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.agenda-item-actions {
  display: flex;
  gap: 0.5rem;
}

.agenda-btn-sm {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.4rem 0.65rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.agenda-btn-sm:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.agenda-btn-sm.delete:hover {
  border-color: var(--neon-magenta);
  color: var(--neon-magenta);
}

.policy-modal-card {
  max-width: 920px;
}

.policy-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.policy-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.policy-summary-card {
  background: rgba(7, 8, 11, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem;
}

.policy-summary-card h4,
.policy-section h4 {
  font-family: var(--font-mono);
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.policy-summary-card p,
.policy-section p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.policy-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

.policy-list {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.policy-content code {
  font-family: var(--font-mono);
  color: #fff;
}

.policy-note {
  border: 1px solid rgba(255, 230, 0, 0.28);
  background: rgba(255, 230, 0, 0.08);
  border-radius: 12px;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-main);
  line-height: 1.6;
}

/* --- BROBOT FREE-ROAMING GLOBAL CONTAINER (VIEWPORT FIXED) --- */
#brobot-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  pointer-events: none;
}

.brobot-avatar {
  position: absolute;
  width: var(--brobot-size, 140px);
  height: var(--brobot-size, 140px);
  pointer-events: auto;
  cursor: grab;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: none;
  transition: transform 0.1s linear;
}

.brobot-avatar:active {
  cursor: grabbing;
}

.brobot-floating {
  animation: float 4s ease-in-out infinite;
}

.brobot-svg {
  width: var(--brobot-svg-size, 100px);
  height: var(--brobot-svg-size, 100px);
  filter: drop-shadow(0 4px 18px rgba(0, 240, 255, 0.4));
  transition: filter 0.3s ease;
}

.screen-glow {
  fill: #111520;
  stroke: var(--neon-cyan);
  stroke-width: 2;
  transition: all 0.3s ease;
}

.face-element {
  fill: none;
  stroke: var(--neon-cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  transition: d 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), stroke 0.3s ease, stroke-width 0.2s ease;
}

.thruster-glow {
  fill: var(--neon-cyan);
  opacity: 0.7;
  animation: thruster-pulse 0.15s ease-in-out infinite alternate;
}

/* Speech Bubble & Priority Styling */
.brobot-bubble {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  width: min(260px, calc(100vw - 2rem));
  background: rgba(13, 16, 23, 0.95);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 4px 25px rgba(0, 240, 255, 0.35), inset 0 0 10px rgba(0, 240, 255, 0.1);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.45;
  color: #fff;
  z-index: 100000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: bottom center;
}

.brobot-bubble.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.brobot-bubble.priority-high {
  border-color: var(--neon-yellow);
  box-shadow: 0 4px 30px rgba(255, 230, 0, 0.4), inset 0 0 12px rgba(255, 230, 0, 0.2);
}

.bubble-tag {
  display: block;
  font-size: 0.65rem;
  color: var(--neon-yellow);
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.brobot-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: rgba(13, 16, 23, 0.95);
  border-right: 1px solid var(--neon-cyan);
  border-bottom: 1px solid var(--neon-cyan);
}

.brobot-bubble.priority-high::after {
  border-right-color: var(--neon-yellow);
  border-bottom-color: var(--neon-yellow);
}

.typing-cursor {
  display: inline-block;
  width: 6px;
  height: 12px;
  background-color: var(--neon-cyan);
  margin-left: 2px;
  animation: blink 0.8s step-start infinite;
}

/* Custom Context Menu */
.context-menu {
  display: none;
  position: fixed;
  background: rgba(13, 16, 23, 0.96);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 4px 25px rgba(0, 240, 255, 0.4);
  border-radius: 10px;
  padding: 6px 0;
  width: 180px;
  z-index: 100005;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #fff;
}

.menu-item {
  padding: 8px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.menu-item:hover {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  padding-left: 20px;
}

.menu-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

/* Hacking Rain Canvas */
.hacking-matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hacking-matrix-rain.active {
  opacity: 0.2;
}

/* --- FOOTER --- */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border-color);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  background: rgba(7, 8, 11, 0.95);
  z-index: 10;
  margin-top: auto;
  position: relative;
}

.site-footer > p:not(.footer-policy-line) {
  display: none;
}

.footer-policy-line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.footer-policy-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--neon-cyan);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.footer-policy-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

@media (max-width: 1180px) {
  .site-navbar {
    padding-inline: 1.5rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 1rem 1.5rem;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero-section,
  .features-section,
  .playground-section,
  .showcase-banner-section,
  .privacy-section,
  .download-section {
    padding-inline: 1.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 760px;
  }
}

@media (max-width: 900px) {
  .site-navbar {
    justify-content: center;
  }

  .brand-container,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    gap: 0.85rem 1rem;
  }

  .hero-section,
  .features-section,
  .playground-section,
  .showcase-banner-section,
  .privacy-section,
  .download-section {
    padding-block: 3.5rem;
    padding-inline: 1.25rem;
  }

  .hero-stage-wrapper {
    height: clamp(380px, 62vw, 520px);
  }

  .sandbox-targets {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
  }

  .agenda-item-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .agenda-item-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .logo-glitch {
    font-size: 1.65rem;
  }

  .brand-tag {
    font-size: 0.62rem;
    letter-spacing: 1px;
  }

  .nav-links {
    font-size: 0.85rem;
  }

  .nav-cta,
  .hero-actions {
    width: 100%;
  }

  .nav-cta .btn-primary-neon,
  .hero-actions .btn-primary-neon,
  .hero-actions .btn-secondary-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding-inline: 0.85rem;
  }

  .hero-stats-row {
    gap: 0.85rem;
  }

  .stat-chip {
    width: 100%;
    justify-content: space-between;
  }

  .hero-stage-wrapper {
    height: auto;
  }

  .mascot-stage {
    height: auto;
    min-height: 520px;
    padding: 1rem;
  }

  .hero-video-shell {
    min-height: 480px;
  }

  .hero-video-fallback {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .hero-video-link {
    width: 100%;
  }

  .interactive-sandbox {
    gap: 1rem;
  }

  .sandbox-targets {
    grid-template-columns: 1fr;
    margin-bottom: 0.5rem;
  }

  .features-grid,
  .sim-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .sim-tabs-nav {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .sim-tab-btn {
    width: 100%;
    text-align: center;
  }

  .comparison-table,
  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table thead {
    display: none;
  }

  .comparison-table tr {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .comparison-table tr:last-child {
    border-bottom: none;
  }

  .comparison-table td {
    display: grid;
    grid-template-columns: minmax(110px, 40%) 1fr;
    gap: 0.75rem;
    padding: 0.45rem 0;
    border-bottom: none;
    font-size: 0.82rem;
  }

  .comparison-table td::before {
    color: var(--neon-cyan);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .comparison-table td:nth-child(1)::before {
    content: 'Caratteristica';
  }

  .comparison-table td:nth-child(2)::before {
    content: 'BroBot';
  }

  .comparison-table td:nth-child(3)::before {
    content: 'Alternative';
  }

  .modal-backdrop {
    padding: 0.75rem;
  }

  .modal-title {
    padding-right: 2rem;
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .agenda-form {
    grid-template-columns: 1fr;
  }

  .agenda-form-full {
    grid-column: span 1;
  }

  .agenda-btn-sm {
    flex: 1 1 120px;
  }

  .footer-policy-line {
    flex-direction: column;
  }

  .policy-summary-grid {
    grid-template-columns: 1fr;
  }

  :root {
    --brobot-size: 112px;
    --brobot-svg-size: 80px;
  }

  .brobot-bubble {
    width: min(220px, calc(100vw - 1rem));
    font-size: 0.72rem;
    left: auto;
    right: 0;
    transform: scale(0.92);
    transform-origin: bottom right;
  }

  .brobot-bubble.show {
    transform: scale(1);
  }

  .brobot-bubble::after {
    left: auto;
    right: 22px;
    transform: rotate(45deg);
  }
}

@media (max-width: 480px) {
  .site-navbar,
  .hero-section,
  .features-section,
  .playground-section,
  .showcase-banner-section,
  .privacy-section,
  .download-section {
    padding-inline: 1rem;
  }

  .feature-card,
  .download-card,
  .comparison-table-wrapper {
    padding: 1rem;
  }

  .banner-card {
    gap: 1.5rem;
  }

  .banner-content p,
  .section-desc,
  .hero-subtitle {
    font-size: 0.95rem;
  }

  .sim-action-btn {
    padding: 0.9rem 1rem;
    font-size: 0.84rem;
  }

  :root {
    --brobot-size: 96px;
    --brobot-svg-size: 72px;
  }
}

/* Keyframe animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { opacity: 0.4; box-shadow: 0 0 4px var(--neon-green); }
  50% { opacity: 1; box-shadow: 0 0 12px var(--neon-green); }
  100% { opacity: 0.4; box-shadow: 0 0 4px var(--neon-green); }
}

@keyframes thruster-pulse {
  0% { transform: scaleY(0.85) translateY(2px); opacity: 0.6; }
  100% { transform: scaleY(1.25) translateY(0px); opacity: 0.9; }
}

@keyframes blink {
  50% { opacity: 0; }
}
