/* ==========================================
   CYBER MAJONG LANDING PAGE CSS STYLESHEET
   ========================================== */

/* ------------------------------------------
   1. CORE VARIABLES & DESIGN SYSTEM
   ------------------------------------------ */
:root {
  --bg-dark: #06070c;
  --bg-panel: rgba(15, 17, 28, 0.75);
  --bg-panel-solid: #0d0f19;
  
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: rgba(0, 240, 255, 0.4);
  --neon-pink: #db2777;
  --neon-pink-glow: rgba(219, 39, 119, 0.4);
  --neon-emerald: #10b981;
  --neon-emerald-glow: rgba(16, 185, 129, 0.3);
  --neon-gold: #f59e0b;
  --neon-gold-glow: rgba(245, 158, 11, 0.5);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border-glow: rgba(255, 255, 255, 0.08);
  --font-orbitron: 'Orbitron', sans-serif;
  --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-elastic: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset and Globals */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* CRT Scanlines and Grid Background */
.scanlines {
  position: relative;
}

.scanlines::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.25) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.03),
    rgba(0, 255, 0, 0.01),
    rgba(0, 0, 255, 0.03)
  );
  background-size: 100% 4px, 6px 100%;
  z-index: 9999;
  pointer-events: none;
}

/* Background Particle Canvas */

/* Video Container */
.video-container { flex: 0 1 320px; width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; box-shadow: 0 0 25px rgba(255, 0, 85, 0.25); position: relative; background: #000; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }



.particle-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Utility */
.font-orbitron {
  font-family: var(--font-orbitron);
  letter-spacing: 0.1em;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 4px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-pink);
}

/* ------------------------------------------
   2. BUTTONS & NEON EFFECTS
   ------------------------------------------ */
.btn-cyber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-family: var(--font-orbitron);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-elastic);
  position: relative;
  overflow: hidden;
}

.btn-glow-cyan {
  background: linear-gradient(135deg, #00b4db, #0083b0);
  color: #fff;
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 180, 219, 0.4);
}

.btn-glow-cyan:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
  background: linear-gradient(135deg, var(--neon-cyan), #00b4db);
}

.btn-outline-pink {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(219, 39, 119, 0.5);
  box-shadow: 0 0 10px rgba(219, 39, 119, 0.1);
}

.btn-outline-pink:hover {
  border-color: var(--neon-pink);
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--neon-pink-glow);
  background: rgba(219, 39, 119, 0.1);
}

/* Text glow */
.gradient-text {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(219, 39, 119, 0.2);
}

.text-cyan { color: var(--neon-cyan); }
.text-pink { color: var(--neon-pink); }
.text-emerald { color: var(--neon-emerald); }
.text-gold { color: var(--neon-gold); }

/* ------------------------------------------
   3. HEADER & NAVIGATION
   ------------------------------------------ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.site-header.scrolled {
  height: 65px;
  background: rgba(6, 7, 12, 0.9);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
}

.logo-accent {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan-glow);
  margin-left: 6px;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--neon-cyan);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--neon-cyan);
}

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

.btn-nav-launch {
  padding: 8px 18px;
  font-size: 11px;
  border: 1px solid var(--neon-cyan);
  background: rgba(0, 240, 255, 0.1);
  color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.btn-nav-launch:hover {
  background: var(--neon-cyan);
  color: var(--bg-dark);
  box-shadow: 0 0 20px var(--neon-cyan-glow);
}

.icon-small {
  font-size: 10px;
}

/* ------------------------------------------
   4. HERO SECTION
   ------------------------------------------ */
.hero {
  min-h: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-glow-cyan {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-pink {
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.12) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 10px;
  font-family: var(--font-orbitron);
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--neon-cyan);
  animation: ping 1.5s infinite ease-in-out;
}

@keyframes ping {
  0% { transform: scale(0.8); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.4; }
  100% { transform: scale(0.8); opacity: 1; }
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 550px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-pills {
  display: flex;
  gap: 24px;
}

.tech-pill {
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 14px;
}

.pill-value {
  font-size: 16px;
  font-weight: 900;
}

.pill-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Hero Visual Graphic */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  perspective: 1000px;
}

.visual-glass-card {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 
              0 0 30px rgba(0, 240, 255, 0.05);
  position: relative;
  transform: rotateX(15deg) rotateY(-10deg) rotateZ(2deg);
  transition: var(--transition-smooth);
}

.visual-glass-card:hover {
  transform: rotateX(5deg) rotateY(-3deg) rotateZ(0deg) translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
              0 0 40px rgba(0, 240, 255, 0.1);
}

.card-glow-pink {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

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

.system-status {
  font-size: 11px;
  font-family: var(--font-orbitron);
  font-weight: 700;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

.mini-board {
  background: rgba(14, 28, 45, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.15);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hand-row {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.tile-face-down {
  width: 24px;
  height: 34px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.tile-face-down .core-glow {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 6px var(--neon-cyan);
}

.river-area {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding: 10px 0;
  text-align: center;
}

.river-title {
  font-size: 9px;
  margin-bottom: 8px;
  opacity: 0.6;
}

.river-grid {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.river-tile {
  width: 24px;
  height: 34px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
  user-select: none;
}

.mini-tile {
  width: 24px;
  height: 34px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.val-p {
  line-height: 1;
}

.mini-tile.text-dora, .river-tile.text-dora {
  border-color: var(--neon-gold);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.visual-meta {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ------------------------------------------
   5. FEATURES SECTION
   ------------------------------------------ */
.features {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(13, 15, 25, 0.5), transparent);
}

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

.section-title {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px 24px;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.03);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ------------------------------------------
   6. INTERACTIVE TRAINER SECTION
   ------------------------------------------ */
.trainer {
  padding: 100px 0;
}

.trainer-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  align-items: start;
}

/* Trainer Sidebar */
.trainer-sidebar {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(10px);
}

.sidebar-title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.sidebar-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.scenario-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-scenario {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.btn-scenario:hover {
  background: rgba(0, 240, 255, 0.05);
  border-color: rgba(0, 240, 255, 0.3);
}

.btn-scenario.active {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

.scenario-tag {
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.scenario-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.ai-suggestion-box {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.box-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.ai-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}

.ai-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  padding: 6px;
  font-size: 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.ai-tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.ai-tab-btn.active {
  background: rgba(219, 39, 119, 0.15);
  border-color: var(--neon-pink);
  color: #fff;
  font-weight: 700;
}

.ai-explanation {
  font-size: 11px;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 6px;
  border-left: 2px solid var(--neon-pink);
}

.ai-star-hint {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.ai-star-hint .star-icon {
  color: var(--neon-pink);
  font-weight: bold;
  font-size: 12px;
}

/* Trainer Main */
.trainer-main {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  backdrop-filter: blur(10px);
}

.board-indicator-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
}

.indicator-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.indicator-label {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 700;
}

.indicator-val {
  font-size: 14px;
  font-weight: 700;
}

.hand-display-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hand-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.tiles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 0;
  justify-content: flex-start;
  align-items: center;
}

/* 3D Cyber Tile Design */
.tile-cyber {
  position: relative;
  width: 44px;
  height: 62px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6), 
              inset 0 1px 1px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-elastic);
  user-select: none;
}

.tile-cyber:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.8), 
              0 0 15px rgba(0, 240, 255, 0.4);
  border-color: var(--neon-cyan);
}

/* Special statuses */
.tile-cyber.dora {
  border-color: var(--neon-gold);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.4), 
              inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.tile-cyber.active-discard {
  box-shadow: 0 0 18px rgba(219, 39, 119, 0.7), 
              inset 0 1px 2px rgba(255, 255, 255, 0.3);
  border-color: var(--neon-pink) !important;
}

.tile-cyber.ai-choice::after {
  content: '★';
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--neon-pink);
  color: #fff;
  font-size: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px var(--neon-pink);
  z-index: 10;
  animation: bounce 0.6s infinite alternate;
}

@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* Tile Facets/Faces */
.tile-cyber .char-val {
  font-size: 11px;
  font-weight: 900;
}

/* Grid Dots */
.tile-grid-dots {
  display: grid;
  gap: 2px;
  padding: 4px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

.tile-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dot-cyan {
  background-color: #22d3ee;
  box-shadow: 0 0 3px #00f0ff;
}

.dot-red {
  background-color: #f43f5e;
  box-shadow: 0 0 3px #f43f5e;
}

.dot-large {
  width: 18px;
  height: 18px;
  border-width: 2px;
}

/* Bamboo Bars */
.tile-bamboo-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px;
  width: 100%;
  height: 100%;
}

.bamboo-bar {
  width: 3px;
  height: 11px;
  border-radius: 1px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.bar-green {
  background-color: var(--neon-emerald);
  box-shadow: 0 0 3px var(--neon-emerald);
}

.bar-red {
  background-color: #f43f5e;
  box-shadow: 0 0 3px #f43f5e;
}

/* Dragons & Winds */
.dragon-haku {
  width: 22px;
  height: 32px;
  border-radius: 3px;
  border: 2px solid var(--neon-cyan);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 6px var(--neon-cyan-glow), inset 0 0 4px var(--neon-cyan-glow);
}

/* Analysis Panel Output */
.analysis-panel {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}

.panel-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.panel-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.neutral-message {
  font-size: 13px;
  color: var(--text-muted);
}

.analysis-result-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.analysis-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.analysis-val {
  font-weight: 700;
}

.waiting-tiles-list {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.waiting-tile-badge {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--neon-cyan);
}

.best-discard-suggestion {
  background: rgba(219, 39, 119, 0.06);
  border: 1px solid rgba(219, 39, 119, 0.2);
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

/* ------------------------------------------
   7. AI ALGORITHM & SIMULATOR SECTION
   ------------------------------------------ */
.ai-tech {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(13, 15, 25, 0.3), transparent);
}

.ai-tech-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.ai-tech-desc p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

.tech-heading {
  font-size: 22px;
  font-family: var(--font-orbitron);
  font-weight: 700;
  margin-bottom: 16px;
}

/* Console component */
.simulation-console {
  background: #090a0f;
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  margin-top: 32px;
}

.console-header {
  background: #11131c;
  padding: 10px 16px;
  font-size: 10px;
  font-family: var(--font-orbitron);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fps-counter {
  background: rgba(0, 240, 255, 0.1);
  padding: 1px 6px;
  border-radius: 3px;
}

.console-description {
  background: #0d0f17;
  padding: 12px 16px;
  border-bottom: 1px dashed rgba(0, 240, 255, 0.15);
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.console-body {
  padding: 16px;
  font-family: monospace;
  font-size: 12px;
}

.sim-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.console-log {
  height: 90px;
  overflow-y: auto;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 4px;
}

.console-controls {
  padding: 10px 16px;
  background: #0d0f17;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-sim-control {
  width: 100%;
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-family: var(--font-orbitron);
  font-size: 11px;
  font-weight: 700;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-sim-control:hover {
  background: var(--neon-cyan);
  color: var(--bg-dark);
  box-shadow: 0 0 15px var(--neon-cyan-glow);
}

.btn-sim-control.running {
  border-color: var(--neon-pink);
  color: var(--neon-pink);
}

.btn-sim-control.running:hover {
  background: var(--neon-pink);
  color: #fff;
  box-shadow: 0 0 15px var(--neon-pink-glow);
}

/* Weight Map Grid */
.ai-weight-visualizer {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(10px);
}

.visualizer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.visualizer-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.weights-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.weight-cell {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: var(--transition-smooth);
  user-select: none;
}

.weight-cell:hover {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.cell-tile-name {
  font-size: 12px;
  font-weight: 700;
}

.cell-tile-weight {
  font-size: 10px;
  font-family: monospace;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 6px;
  border-radius: 4px;
}

.weights-legend {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-secondary);
}

.legend-color {
  display: inline-block;
  width: 14px;
  height: 8px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 6px;
}

.legend-low { background-color: rgba(0, 240, 255, 0.2); border: 1px solid var(--neon-cyan); }
.legend-mid { background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); }
.legend-high { background-color: rgba(219, 39, 119, 0.35); border: 1px solid var(--neon-pink); }

/* ------------------------------------------
   8. PRICING SECTION
   ------------------------------------------ */
.pricing {
  padding: 100px 0;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.price-card {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 48px 32px;
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.premium-card {
  border-color: rgba(219, 39, 119, 0.35);
  background: linear-gradient(180deg, var(--bg-panel), rgba(219, 39, 119, 0.03));
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px rgba(219, 39, 119, 0.05);
}

.premium-card:hover {
  border-color: var(--neon-pink);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
              0 0 30px rgba(219, 39, 119, 0.2);
}

.card-glow-premium {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.15) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.card-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1;
}

.price-card.premium-card .card-badge {
  background: rgba(219, 39, 119, 0.15);
  border-color: rgba(219, 39, 119, 0.3);
}

.price-card.premium-card .card-badge {
  color: var(--neon-pink);
}

.card-plan-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--text-secondary);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.price {
  font-size: 64px;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.currency {
  font-size: 28px;
  font-weight: 500;
  vertical-align: super;
  margin-right: 2px;
}

.price-period {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.plan-features {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.plan-features li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan-features li i {
  font-size: 14px;
}

.btn-pricing {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-family: var(--font-orbitron);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  transition: var(--transition-elastic);
  position: relative;
  z-index: 1;
}

.btn-cyan-outline {
  background: transparent;
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--neon-cyan);
}

.btn-cyan-outline:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--neon-cyan);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.15);
}

.btn-pink-glow {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: #fff;
  border: 1px solid var(--neon-pink);
  box-shadow: 0 4px 15px rgba(219, 39, 119, 0.4);
}

.btn-pink-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(219, 39, 119, 0.7);
  background: linear-gradient(135deg, #f472b6, #ec4899);
}

.stripe-hint {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.stripe-hint i {
  font-size: 16px;
}

/* ------------------------------------------
   9. FAQ SECTION
   ------------------------------------------ */
.faq {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(13, 15, 25, 0.2), transparent);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.15);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 20px 24px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-trigger i {
  color: var(--neon-cyan);
  transition: var(--transition-smooth);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
}

.faq-content p {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  padding-bottom: 20px;
}

.faq-item.active {
  border-color: rgba(0, 240, 255, 0.25);
  background: rgba(15, 17, 28, 0.85);
}

.faq-item.active .faq-trigger i {
  transform: rotate(180deg);
  color: var(--neon-pink);
}

.faq-item.active .faq-content {
  max-height: 500px;
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

/* ------------------------------------------
   10. FOOTER
   ------------------------------------------ */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0;
  background: #030407;
  color: var(--text-muted);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-secondary);
}

.footer-logo span {
  color: var(--neon-cyan);
}

.footer-copy {
  font-size: 11px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 12px;
}

.footer-links a {
  transition: var(--transition-smooth);
}

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

/* ------------------------------------------
   11. RESPONSIVENESS
   ------------------------------------------ */
@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-pills {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .trainer-layout {
    grid-template-columns: 1fr;
  }
  
  .ai-tech-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* simple hidden nav on mobile for static LP */
  }
  
  .hero-title {
    font-size: 38px;
  }
  
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .price-card {
    max-width: 100%;
  }
  
  .weights-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .board-indicator-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .weights-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-ctas .btn-cyber {
    width: 100%;
  }
}
