/*
Theme Name: Chess IND
Theme URI: https://chessind.com
Author: Chess IND Team
Author URI: https://chessind.com
Description: Ultra-Premium Luxury Smart Robotic Chessboard Theme for CHESSIND - Featuring Full 4K Photography Background Hero Section, Dark Navy Header (#0B172A) matching footer, Official FIDE Grandmaster Chess Rules Engine with Player & Opponent Move Execution, GoChess-inspired robotic piece movement showcases, product model configurator, and pre-order booking system.
Version: 5.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chessind
Tags: chess, smartboard, robotic, luxury, 4k-hero, navy-header, orange-white, landing-page, responsive
*/

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

/* ==========================================================================
   CSS Custom Variables - Luxury Navy & Electric Logo Coral Design System
   ========================================================================== */
:root {
  /* Rich Deep Midnight Navy Exclusively for Header (#0F1E42) */
  --bg-header-footer: #0F1E42;
  --bg-header-scrolled: rgba(15, 30, 66, 0.96);
  --bg-navy-900: #0F1E42;
  --bg-navy-950: #081126;
  
  /* Content Background Surfaces - Restored Clean White / Off-White Light Theme */
  --bg-pure-white: #FFFFFF;
  --bg-off-white: #F8FAFC;
  --bg-light-slate: #F1F5F9;
  --bg-slate-100: #F1F5F9;
  --bg-orange-tint: rgba(255, 84, 39, 0.1);
  --bg-orange-soft: rgba(255, 84, 39, 0.2);

  /* Card Surfaces & Borders */
  --bg-card-light: #FFFFFF;
  --bg-card-hover: #FFFFFF;
  --border-light: rgba(226, 232, 240, 0.9);
  --border-orange: rgba(255, 84, 39, 0.4);
  --border-orange-hover: rgba(255, 84, 39, 0.8);

  /* Primary Accent: Logo Electric Coral Orange (#FF5427) */
  --brand-orange: #FF5427;
  --brand-orange-light: #FF6C42;
  --brand-orange-dark: #FF5427;
  --brand-orange-glow: rgba(255, 84, 39, 0.45);
  --brand-orange-subtle: rgba(255, 84, 39, 0.12);
  --brand-gradient: linear-gradient(135deg, #FF5427 0%, #FF6C42 100%);
  --brand-text-gradient: linear-gradient(135deg, #FF5427 0%, #FF6C42 100%);

  /* Secondary Accents */
  --led-cyan: #0284C7;
  --led-cyan-glow: rgba(2, 132, 199, 0.4);
  --accent-emerald: #059669;

  /* Text Colors for High Legibility Light Theme */
  --text-dark: #0F172A;
  --text-main: #334155;
  --text-sub: #64748B;
  --text-muted: #94A3B8;

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-orange: 0 10px 30px -5px rgba(255, 84, 39, 0.4);
  --shadow-card: 0 10px 30px -8px rgba(15, 23, 42, 0.08);
  --shadow-elevated: 0 20px 50px -10px rgba(15, 23, 42, 0.12);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base Reset & Global Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-pure-white);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  background: var(--bg-pure-white);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.text-white { color: #FFFFFF !important; }

.text-gradient {
  background: var(--brand-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-orange {
  color: var(--brand-orange);
}

/* Badge Pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bg-orange-tint);
  border: 1px solid var(--border-orange);
  color: var(--brand-orange-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.badge-pill.badge-hero {
  background: rgba(255, 84, 39, 0.2);
  border: 1px solid rgba(255, 84, 39, 0.6);
  color: #FFFFFF;
  backdrop-filter: blur(10px);
}

.badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 12px var(--brand-orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 84, 39, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 84, 39, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 84, 39, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(255, 84, 39, 0.55);
  background: linear-gradient(135deg, #FF6C42 0%, #E03E12 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   Header Navigation Styling (Clean White Light Theme #FFFFFF)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: var(--bg-header-footer);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 12px 0;
  background: var(--bg-header-scrolled);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid rgba(255, 84, 39, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  margin-right: 28px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.site-header.scrolled .brand-logo img {
  height: 38px;
}

.desktop-nav {
  flex-grow: 1;
}

.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.desktop-nav .nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.desktop-nav .nav-links a:hover,
.desktop-nav .nav-links a.active {
  color: var(--brand-orange);
}

.desktop-nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-orange);
  border-radius: 2px;
  transition: var(--transition);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-actions .btn-primary {
  white-space: nowrap;
  padding: 12px 24px;
  font-size: 0.92rem;
  border-radius: 999px;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  transition: var(--transition);
}

.mobile-toggle:hover,
.mobile-toggle:focus {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #FFFFFF;
}

.header-btn-text-mobile {
  display: none;
}

/* Mobile Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 25, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: #0F1E42;
  border-left: 1px solid rgba(255, 84, 39, 0.4);
  z-index: 2000;
  padding: 36px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2rem;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.drawer-close:hover {
  background: var(--brand-orange);
  color: #FFFFFF;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.drawer-links a {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF !important;
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.drawer-links a:hover,
.drawer-links a.active {
  color: #FFFFFF !important;
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  transform: translateX(4px);
}

/* ==========================================================================
   Hero Section: 4K PHOTOGRAPHY FULL-WIDTH COVER BACKGROUND
   ========================================================================== */
/* ==========================================================================
   Hero Section: Premium White Light Theme & High-Res Kid Photography
   ========================================================================== */
/* ==========================================================================
   Ultra-Premium Hero Section: Light Theme with Floating Badges & Ambient Aura
   ========================================================================== */
.hero-section-fullwidth {
  position: relative;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 100px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 10% 20%, rgba(255, 84, 39, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(2, 132, 199, 0.08) 0%, transparent 45%),
              linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-full-container {
  position: relative;
  z-index: 3;
}

.hero-full-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 54px;
  align-items: center;
}

.hero-full-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-full-subtitle {
  font-size: 1.2rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 620px;
  font-weight: 500;
}

.hero-full-btns {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-full-btns .btn-secondary {
  background: #F1F5F9;
  color: var(--text-dark);
  border: 1px solid rgba(203, 213, 225, 0.9);
  font-weight: 700;
}

.hero-full-btns .btn-secondary:hover {
  background: #E2E8F0;
  color: var(--brand-orange-dark);
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px dashed rgba(203, 213, 225, 0.9);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px -15px rgba(15, 23, 42, 0.22), 0 0 30px rgba(255, 84, 39, 0.15);
  border: 4px solid #FFFFFF;
}

.hero-image-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius-xl) - 4px);
}

/* Floating Overlay Badges on Hero Image */
.hero-floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  padding: 12px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 84, 39, 0.3);
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatBadge 4s ease-in-out infinite alternate;
}

.hero-floating-badge.badge-top-right {
  top: 24px;
  right: -20px;
}

.hero-floating-badge.badge-bottom-left {
  bottom: 24px;
  left: -20px;
}

@keyframes floatBadge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.badge-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-orange-tint);
  color: var(--brand-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-text-box h5 {
  font-size: 0.9rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.badge-text-box p {
  font-size: 0.78rem;
  color: #64748B;
  margin: 0;
}
}

/* ==========================================================================
   Interactive Live Smart Board Simulator Section (Player & Opponent Move Engine)
   ========================================================================== */
.simulator-section {
  background: var(--bg-slate-100);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.simulator-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 84, 39, 0.05) 0%, rgba(2, 132, 199, 0.03) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 60px auto;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-sub);
  font-size: 1.1rem;
}

.simulator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-pure-white);
  border: 2px solid var(--border-orange);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-elevated);
  position: relative;
  z-index: 1;
}

.interactive-board-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.interactive-board-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  justify-content: center;
  padding: 12px;
  background: linear-gradient(145deg, #1C2640 0%, #0D162B 100%);
  border: 2px solid rgba(255, 84, 39, 0.4);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), inset 0 0 15px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 84, 39, 0.2);
}

.interactive-board {
  width: 100%;
  max-width: 456px;
  aspect-ratio: 1 / 1;
  background: #0D162B;
  border-radius: 12px;
  display: grid !important;
  grid-template-columns: repeat(8, 1fr) !important;
  grid-template-rows: repeat(8, 1fr) !important;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  position: relative;
}

.sim-square {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  user-select: none;
  width: 100%;
  height: 100%;
}

/* Warm Cream Wood & Slate Navy Contrast Squares for Peak Legibility */
.sim-square.l { background: #EAE0D5; }
.sim-square.d { background: #3B4A6B; }

.sq-coord {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.sq-coord.rank-coord {
  top: 3px;
  left: 3px;
}

.sq-coord.file-coord {
  bottom: 3px;
  right: 3px;
}

.sim-square.l .sq-coord { color: #3B4A6B; }
.sim-square.d .sq-coord { color: #EAE0D5; }

/* SVG Chess Piece Styling */
.chess-piece {
  width: 84%;
  height: 84%;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
  pointer-events: none;
}

.sim-square:hover {
  box-shadow: inset 0 0 0 2px var(--brand-orange);
}

.sim-square:hover .chess-piece {
  transform: scale(1.16) translateY(-3px);
  filter: drop-shadow(0 10px 18px rgba(255, 84, 39, 0.6));
}

.chess-piece.white-piece {
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

.chess-piece.black-piece {
  filter: drop-shadow(0 3px 6px rgba(255, 84, 39, 0.5));
}

/* Move Guidance & Highlights */
.sim-square.selected-sq {
  background: rgba(255, 84, 39, 0.35) !important;
  box-shadow: inset 0 0 0 3px #FF5427, inset 0 0 16px rgba(255, 84, 39, 0.6) !important;
  z-index: 5;
}

.sim-square.valid-move {
  background: rgba(56, 189, 248, 0.18) !important;
}

.sim-square.valid-move::after {
  content: '';
  width: 26%;
  height: 26%;
  border-radius: 50%;
  background: var(--led-cyan);
  box-shadow: 0 0 14px var(--led-cyan), 0 0 4px #FFFFFF;
  position: absolute;
  z-index: 4;
  animation: movePulse 1.8s infinite;
}

@keyframes movePulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.sim-square.valid-capture {
  background: rgba(255, 84, 39, 0.3) !important;
}

.sim-square.valid-capture::after {
  content: '';
  width: 82%;
  height: 82%;
  border-radius: 50%;
  border: 3px solid var(--brand-orange);
  box-shadow: 0 0 18px var(--brand-orange), inset 0 0 10px rgba(255, 84, 39, 0.4);
  position: absolute;
  z-index: 4;
  animation: capturePulse 1.5s infinite;
}

@keyframes capturePulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.02); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.game-over-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 66, 0.94);
  backdrop-filter: blur(12px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.game-over-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.game-over-card {
  text-align: center;
  color: #FFFFFF;
  padding: 30px 20px;
  max-width: 85%;
}

.game-over-icon {
  font-size: 3.8rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 20px rgba(255, 84, 39, 0.6));
  animation: pulse 1.5s infinite alternate;
}

.game-over-card h3 {
  font-size: 2.2rem;
  color: #FFFFFF;
  margin-bottom: 8px;
  background: var(--brand-text-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.game-over-card p {
  color: #CBD5E1;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.sim-square.king-in-check {
  background: rgba(220, 38, 38, 0.75) !important;
  box-shadow: inset 0 0 0 3px #EF4444, inset 0 0 20px rgba(220, 38, 38, 0.85);
  animation: checkPulse 1s infinite alternate;
  z-index: 6;
}

@keyframes checkPulse {
  0% { box-shadow: inset 0 0 0 3px #EF4444, inset 0 0 15px rgba(220, 38, 38, 0.7); }
  100% { box-shadow: inset 0 0 0 4px #DC2626, inset 0 0 30px rgba(239, 68, 68, 1); }
}

.scoreboard-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.score-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: #0B1733;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.score-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 84, 39, 0.4);
}

.score-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-sub);
}

.score-pill strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
}

.score-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.white-dot { background: #CBD5E1; box-shadow: 0 0 8px rgba(203, 213, 225, 0.8); }
.draw-dot { background: #EAB308; box-shadow: 0 0 8px rgba(234, 179, 8, 0.8); }
.black-dot { background: var(--brand-orange); box-shadow: 0 0 8px var(--brand-orange); }

.score-white { border-color: rgba(255, 255, 255, 0.15); }
.score-draw { border-color: rgba(234, 179, 8, 0.3); }
.score-black { border-color: var(--border-orange); }

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #0B1733;
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
}

.mode-toggle-group {
  display: flex;
  gap: 6px;
  background: #F1F5F9;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.mode-btn {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mode-btn:hover {
  color: var(--text-dark);
}

.mode-btn.active {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(255, 84, 39, 0.35);
}

.sim-status-card {
  background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(255, 84, 39, 0.35);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15), 0 0 20px rgba(255, 84, 39, 0.1);
  position: relative;
  overflow: hidden;
}

.sim-status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--brand-gradient);
}

.status-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.status-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulse 2s infinite;
}

.status-badge-text {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #10B981;
  text-transform: uppercase;
}

.sim-status-card h4 {
  font-size: 1.22rem;
  color: #FFFFFF;
  margin-bottom: 8px;
  font-weight: 700;
}

.sim-status-card p {
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.65;
}

.move-log-wrapper {
  margin-bottom: 0;
}

.move-log-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
  text-transform: uppercase;
}

.move-history-box {
  background: #0B172A;
  border: 1px solid #1E293B;
  border-radius: 14px;
  padding: 16px 20px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.92rem;
  font-weight: 600;
  color: #E2E8F0;
  max-height: 100px;
  overflow-y: auto;
  line-height: 1.7;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.sim-actions-row {
  display: flex;
  gap: 14px;
}

.btn-auto-move {
  flex: 1.4;
  padding: 16px 24px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-reset-board {
  flex: 1;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.btn-reset-board:hover {
  background: rgba(15, 23, 42, 0.1);
  border-color: var(--text-dark);
  transform: translateY(-2px);
}

.telemetry-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-sub);
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-pulse-emerald {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.status-pulse-cyan {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--led-cyan);
  box-shadow: 0 0 8px var(--led-cyan);
}

/* ==========================================================================
   Innovations Grid (GoChess-Style Cards)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 84, 39, 0.5);
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.16), 0 0 25px rgba(255, 84, 39, 0.12);
}

.feature-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #F1F5F9;
}

.feature-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-card-img-wrapper img {
  transform: scale(1.08);
}

.feature-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #0F172A;
  line-height: 1.3;
}

.feature-card p {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
}

.image-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
  background: var(--bg-pure-white);
  border: 2px solid var(--border-orange);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.showcase-img-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   Models & Pricing Configurator Cards
   ========================================================================== */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.model-card {
  background: var(--bg-pure-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.model-card:hover {
  border-color: var(--brand-orange);
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.model-card.featured {
  background: var(--bg-orange-tint);
  border: 2px solid var(--brand-orange);
  box-shadow: var(--shadow-elevated);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gradient);
  color: #FFFFFF;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-orange);
}

.model-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.model-desc {
  color: var(--text-sub);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.model-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.model-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: line-through;
  margin-left: 8px;
}

.model-features {
  list-style: none;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.model-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.model-features li svg {
  color: var(--brand-orange);
  flex-shrink: 0;
}

/* ==========================================================================
   Robotic Architecture Deep Dive Tabs
   ========================================================================== */
.tech-tabs-wrapper {
  background: var(--bg-pure-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.tech-nav-tabs {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 20px;
  margin-bottom: 40px;
  overflow-x: auto;
}

.tech-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.tech-tab-btn.active,
.tech-tab-btn:hover {
  color: var(--brand-orange-dark);
  background: var(--bg-orange-soft);
}

.tech-content-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.tech-details h3 {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.tech-details p {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.tech-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-specs-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

/* ==========================================================================
   Reviews & FAQ Accordion
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background: var(--bg-pure-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.stars-row {
  color: var(--brand-orange);
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.review-text {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #FFFFFF;
}

.reviewer-info h5 {
  font-size: 1rem;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.reviewer-info p {
  font-size: 0.85rem;
  color: var(--text-sub);
}

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

.faq-item {
  background: var(--bg-pure-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.faq-question {
  padding: 24px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-question svg {
  transition: transform 0.3s ease;
  color: var(--brand-orange);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-main);
  line-height: 1.7;
  transition: all 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* ==========================================================================
   Footer & Pre-Order Modal
   ========================================================================== */
.site-footer {
  background: #0F1E42;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 80px 0 40px 0;
  color: #FFFFFF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: #FFFFFF;
  font-weight: 700;
}

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

.footer-links a {
  color: #CBD5E1;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--brand-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #CBD5E1;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 12, 25, 0.7);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-pure-white);
  border: 2px solid var(--brand-orange);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 540px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-sub);
  font-size: 2rem;
  cursor: pointer;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-light-slate);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-orange);
  background: var(--bg-pure-white);
  box-shadow: 0 0 15px rgba(255, 84, 39, 0.2);
}

/* Responsive Design System */
@media (max-width: 992px) {
  .desktop-nav {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
  }
  .header-btn-text-desktop {
    display: none !important;
  }
  .header-btn-text-mobile {
    display: inline !important;
  }
}

@media (max-width: 1024px) {
  .hero-full-grid,
  .simulator-container,
  .tech-content-panel,
  .image-showcase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .simulator-container {
    padding: 28px;
  }

  .features-grid,
  .models-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .site-header {
    padding: 10px 0;
  }

  .site-header.scrolled {
    padding: 8px 0;
  }

  .brand-logo img {
    height: 34px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-actions .btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    white-space: nowrap;
    border-radius: 8px;
    gap: 6px;
  }

  .header-actions .btn svg {
    width: 14px;
    height: 14px;
  }

  .desktop-nav {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .header-btn-text-desktop {
    display: none !important;
  }

  .header-btn-text-mobile {
    display: inline !important;
  }

  .hero-full-title {
    font-size: clamp(2.1rem, 7.5vw, 3rem);
    line-height: 1.18;
  }

  .hero-full-subtitle {
    font-size: 1.05rem;
    margin-bottom: 28px;
  }

  .hero-full-btns {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-full-btns .btn {
    width: 100%;
  }

  .simulator-container {
    padding: 20px 14px;
    border-radius: var(--radius-lg);
    gap: 24px;
  }

  .interactive-board {
    border-width: 6px;
    border-radius: 12px;
  }

  .mode-toggle-group {
    flex-direction: column;
    gap: 8px;
  }

  .mode-btn {
    width: 100%;
    padding: 12px;
    text-align: center;
    font-size: 0.88rem;
  }

  .features-grid,
  .models-grid,
  .reviews-grid,
  .footer-grid,
  .hero-specs-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2.1rem;
  }

  .modal-card {
    padding: 28px 18px;
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .brand-logo img {
    height: 28px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .btn {
    padding: 6px 10px;
    font-size: 0.76rem;
    gap: 4px;
  }

  .header-actions .btn svg {
    width: 12px;
    height: 12px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .simulator-container {
    padding: 14px 10px;
  }

  .interactive-board {
    border-width: 5px;
    border-radius: 10px;
  }

  .sq-coord {
    font-size: 0.55rem;
  }

  .modal-card {
    padding: 24px 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 360px) {
  .brand-logo img {
    height: 24px;
  }

  .header-actions .btn {
    padding: 5px 8px;
    font-size: 0.72rem;
  }

  .header-actions .btn svg {
    display: none;
  }
}

/* ==========================================================================
   Premium Course Level Cards Showcase Styling
   ========================================================================== */
.course-level-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.course-level-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
  border-color: rgba(255, 84, 39, 0.4);
}

.course-card-header-img {
  position: relative;
  height: 230px;
  width: 100%;
  overflow: hidden;
  background: #0F172A;
}

.course-card-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.92);
}

.course-level-card:hover .course-card-header-img img {
  transform: scale(1.06);
  filter: brightness(1);
}

.course-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.65) 100%);
  pointer-events: none;
}

.course-badge-top-left {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.level-1-badge {
  background: linear-gradient(135deg, #FF5427 0%, #E03E12 100%);
  color: #FFFFFF;
}

.level-2-badge {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
}

.level-3-badge {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
}

.course-age-pill-top-right {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.course-card-body-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.course-title-header {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  line-height: 1.25;
}

.course-subtitle-tag {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}

.course-description-text {
  color: #475569;
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.course-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 0 0 20px 0;
  border: none;
}

.course-learn-heading {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748B;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-learn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  padding: 0;
}

.course-learn-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E293B;
}

.course-check-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.check-level-1 {
  background: rgba(255, 84, 39, 0.12);
  color: #FF5427;
}

.check-level-2 {
  background: rgba(2, 132, 199, 0.12);
  color: #0284C7;
}

.check-level-3 {
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
}

/* ==========================================================================
   Comprehensive Mobile & Horizontal Scroll Protection Fixes
   ========================================================================== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

body {
  box-sizing: border-box;
}

.responsive-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 992px) {
  .responsive-two-col {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .hero-floating-badge.badge-top-right {
    top: 10px;
    right: 10px !important;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hero-floating-badge.badge-bottom-left {
    bottom: 10px;
    left: 10px !important;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .simulator-container {
    grid-template-columns: 1fr !important;
    padding: 16px 12px !important;
    gap: 24px !important;
  }

  .interactive-board-container {
    padding: 8px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .interactive-board {
    max-width: 100% !important;
  }

  .simulator-controls {
    padding: 20px 16px !important;
  }

  .sim-status-card {
    padding: 16px !important;
  }

  .course-card-body-content {
    padding: 20px 16px !important;
  }

  .course-title-header {
    font-size: 1.5rem !important;
  }
}

/* ==========================================================================
   Full-Width Background Banner with 100% Clear Photo Visibility & Left Scrim
   ========================================================================== */
.hero-fullwidth-clear-section {
  position: relative;
  width: 100%;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0F1E42;
  padding: 140px 0 90px 0;
}

.hero-fullwidth-slides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-fullwidth-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right; /* Keeps kid & chessboard crisp on the right */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  filter: brightness(1.06) contrast(1.04); /* Bright and crisp */
}

.hero-fullwidth-slide.active {
  opacity: 1;
}

/* Soft Left-Only Gradient Fade so right 60% of image is 100% BRIGHT & CLEAR */
.hero-left-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 30, 66, 0.95) 0%, rgba(15, 30, 66, 0.84) 35%, rgba(15, 30, 66, 0.35) 60%, rgba(15, 30, 66, 0) 80%);
}

.hero-fullwidth-content-container {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-left-content-card {
  max-width: 640px;
  color: #FFFFFF;
}

.hero-badge-clear {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 84, 39, 0.22);
  border: 1px solid rgba(255, 84, 39, 0.6);
  color: #FFFFFF;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 0.88rem;
  backdrop-filter: blur(8px);
}

.hero-clear-title {
  font-size: 3.4rem;
  color: #FFFFFF;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-clear-subtitle {
  color: #E2E8F0;
  font-size: 1.18rem;
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-clear-btns {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-clear-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  flex-wrap: wrap;
}

/* Floating Blue Circle Quote Badge on the Right Side */
.hero-quote-circle {
  width: 165px;
  height: 165px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.5);
  border: 4px solid #FFFFFF;
  align-self: flex-end;
  margin-bottom: 20px;
  animation: floatCircle 4s ease-in-out infinite;
}

@keyframes floatCircle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.hero-quote-circle p {
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.hero-quote-circle span {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.95;
}

/* Dots */
.hero-slider-dots-bottom {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.fullwidth-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}

.fullwidth-dot.active {
  width: 32px;
  border-radius: 999px;
  background: #FF5427;
  box-shadow: 0 0 12px rgba(255, 84, 39, 0.8);
}

/* Mobile Responsive Optimization */
@media (max-width: 992px) {
  .hero-fullwidth-clear-section {
    min-height: auto;
    padding: 120px 20px 70px 20px !important;
  }

  .hero-left-scrim {
    background: linear-gradient(180deg, rgba(15, 30, 66, 0.92) 0%, rgba(15, 30, 66, 0.8) 60%, rgba(15, 30, 66, 0.5) 100%) !important;
  }

  .hero-fullwidth-content-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 30px !important;
  }

  .hero-clear-title {
    font-size: 2.2rem !important;
  }

  .hero-quote-circle {
    align-self: flex-start !important;
    width: 135px !important;
    height: 135px !important;
  }
}

@media (max-width: 576px) {
  .hero-clear-btns {
    flex-direction: column !important;
    width: 100% !important;
  }

  .hero-btn-coral, .hero-btn-sub {
    width: 100% !important;
    justify-content: center !important;
  }
}

  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-bright-subtitle {
  color: #475569;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 500;
}

.hero-bright-btns {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-btn-coral {
  font-size: 1.05rem;
  padding: 18px 36px;
  border-radius: 999px;
  background: var(--brand-gradient);
  box-shadow: 0 10px 25px rgba(255, 84, 39, 0.35);
  color: #FFFFFF;
}

.hero-btn-outline {
  font-size: 1.05rem;
  padding: 18px 32px;
  border-radius: 999px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  font-weight: 700;
}

.hero-btn-outline:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.hero-bright-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid #E2E8F0;
  padding-top: 24px;
  flex-wrap: wrap;
}

.hero-bright-image-col {
  position: relative;
  width: 100%;
}

.hero-bright-image-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15);
  border: 4px solid #FFFFFF;
  background: #F1F5F9;
}

.hero-bright-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.bright-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  border-radius: 28px;
  filter: brightness(1.02) contrast(1.02);
}

.bright-slide.active {
  opacity: 1;
}

/* Floating Blue Quote Circle Badge (Exact Reference Match) */
.hero-quote-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.45);
  z-index: 5;
  border: 3px solid #FFFFFF;
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-quote-badge p {
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.hero-quote-badge span {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.3px;
}

/* Slider Dots */
.bright-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 24px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.bright-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
}

.bright-dot.active {
  width: 28px;
  border-radius: 999px;
  background: #FF5427;
}

/* Mobile Responsive Optimization for Bright Showcase */
@media (max-width: 992px) {
  .hero-bright-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .hero-bright-image-wrapper {
    height: 380px !important;
  }

  .hero-bright-title {
    font-size: 2.3rem !important;
  }
}

@media (max-width: 576px) {
  .hero-bright-section {
    padding: 100px 0 50px 0 !important;
  }

  .hero-bright-title {
    font-size: 1.95rem !important;
  }

  .hero-bright-image-wrapper {
    height: 300px !important;
  }

  .hero-quote-badge {
    width: 125px !important;
    height: 125px !important;
    padding: 10px !important;
    bottom: 12px !important;
    right: 12px !important;
  }

  .hero-quote-badge p {
    font-size: 0.78rem !important;
  }

  .hero-quote-badge span {
    font-size: 0.68rem !important;
  }

  .hero-bright-btns {
    flex-direction: column !important;
    width: 100% !important;
  }

  .hero-btn-coral, .hero-btn-outline {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}


.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 30, 66, 0.92) 0%, rgba(15, 30, 66, 0.75) 50%, rgba(8, 17, 38, 0.88) 100%);
}

.hero-content-relative {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-glass-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: rgba(15, 30, 66, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 84, 39, 0.4);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 84, 39, 0.25);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 84, 39, 0.2);
  border: 1px solid rgba(255, 84, 39, 0.6);
  color: #FFFFFF;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.hero-full-title {
  font-size: 3.4rem;
  color: #FFFFFF;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.text-gradient-coral {
  background: linear-gradient(135deg, #FF5427 0%, #FF8A65 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-full-subtitle {
  color: #E2E8F0;
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 740px;
  margin: 0 auto 32px auto;
  font-weight: 500;
}

.hero-full-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-btn-main {
  font-size: 1.1rem;
  padding: 18px 40px;
  border-radius: 999px;
  background: var(--brand-gradient);
  box-shadow: var(--shadow-orange);
}

.hero-btn-sub {
  font-size: 1.1rem;
  padding: 18px 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.hero-btn-sub:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #F1F5F9;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Slider Controls */
.hero-slider-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
}

.slider-dots-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 32px;
  border-radius: 999px;
  background: #FF5427;
  box-shadow: 0 0 12px rgba(255, 84, 39, 0.8);
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 30, 66, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: #FF5427;
  border-color: #FF5427;
}

/* Mobile Responsive Optimization */
@media (max-width: 768px) {
  .hero-slider-section {
    min-height: auto;
    padding: 110px 16px 70px 16px !important;
  }

  .hero-glass-card {
    padding: 28px 18px !important;
    border-radius: 20px !important;
  }

  .hero-badge {
    font-size: 0.78rem !important;
    padding: 6px 14px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .hero-full-title {
    font-size: 2.1rem !important;
    line-height: 1.2 !important;
    margin-bottom: 14px !important;
  }

  .hero-full-subtitle {
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
  }

  .hero-full-btns {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .hero-btn-main, .hero-btn-sub {
    width: 100% !important;
    justify-content: center !important;
    padding: 16px 24px !important;
    font-size: 1rem !important;
  }

  .hero-trust-row {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: center !important;
  }

  .slider-arrow {
    width: 34px !important;
    height: 34px !important;
    font-size: 1.1rem !important;
  }
}

