/* ==========================================================================
   IRAN DUTY — Complete Immersive Gaming Platform Stylesheet
   Fonts: IRANSansX (Local) & Rajdhani (Local + Google Fallback)
   Colors:
     Background: #05070D
     Secondary Background: #0A1020
     Primary Accent: #287BFF (Electric Blue)
     Electric Cyan: #00D9F5
     Light Blue: #55A6FF
     Main Text: #F5F7FF
     Secondary Text: #9BA8BC
   ========================================================================== */

/* --------------------------------------------------------------------------
   LOCAL FONT FACES: IRANSansX & Rajdhani
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'IRANSansX';
  src: url('../assets/fonts/IRANSansX-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IRANSansX';
  src: url('../assets/fonts/IRANSansX-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IRANSansX';
  src: url('../assets/fonts/IRANSansX-DemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IRANSansX';
  src: url('../assets/fonts/IRANSansX-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IRANSansX';
  src: url('../assets/fonts/IRANSansX-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IRANSansX';
  src: url('../assets/fonts/IRANSansX-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rajdhani';
  src: url('../assets/fonts/Rajdhani-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../assets/fonts/Rajdhani-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rajdhani';
  src: url('../assets/fonts/Rajdhani-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-main: #05070D;
  --bg-secondary: #0A1020;
  --bg-card: rgba(10, 16, 32, 0.72);
  --bg-card-solid: #0A1020;
  --bg-card-border: rgba(40, 123, 255, 0.22);
  --bg-card-hover: rgba(16, 24, 48, 0.88);

  --accent-blue: #287BFF;
  --accent-cyan: #00D9F5;
  --accent-light: #55A6FF;
  --accent-glow: rgba(40, 123, 255, 0.45);
  --cyan-glow: rgba(0, 217, 245, 0.4);

  --gold-accent: #F0B429;
  --gold-glow: rgba(240, 180, 41, 0.35);
  --green-accent: #2ECC71;

  --text-main: #F5F7FF;
  --text-secondary: #9BA8BC;
  --text-muted: #5B6A82;

  --font-persian: 'IRANSansX', 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-gaming: 'Rajdhani', sans-serif;

  --nav-height: 84px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-persian);
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-main);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

::selection {
  background: rgba(40, 123, 255, 0.35);
  color: var(--accent-cyan);
}

/* ==========================================================================
   BACKGROUND CANVAS & MOUSE SPOTLIGHT (Continuous Across Entire Site)
   ========================================================================== */

#network-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}

#mouse-spotlight {
  position: fixed;
  top: -250px;
  left: -250px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 217, 245, 0.12) 0%, rgba(40, 123, 255, 0.06) 40%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transform: translate3d(-1000px, -1000px, 0);
  transition: opacity 0.3s ease;
  will-change: transform;
}

.ambient-glow-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 75% 15%, rgba(40, 123, 255, 0.13), transparent 75%),
    radial-gradient(ellipse 50% 50% at 20% 45%, rgba(0, 217, 245, 0.08), transparent 70%),
    radial-gradient(circle 800px at 50% 100%, rgba(10, 16, 32, 0.8), transparent 85%);
}

/* ==========================================================================
   STICKY NAVIGATION BAR
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(40, 123, 255, 0.15);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(5, 7, 13, 0.92);
  border-bottom-color: rgba(0, 217, 245, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(40, 123, 255, 0.2), rgba(0, 217, 245, 0.1));
  border: 1.5px solid var(--accent-cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 217, 245, 0.3);
  position: relative;
  overflow: hidden;
}

.brand-emblem::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: rotate(45deg);
  animation: shine 4s infinite linear;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(45deg); }
  50%, 100% { transform: translateX(100%) rotate(45deg); }
}

.brand-emblem svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-cyan);
  filter: drop-shadow(0 0 6px var(--accent-cyan));
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title-en {
  font-family: var(--font-gaming);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 2.5px;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-subtitle-fa {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
}

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

.nav-item a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.25s ease, text-shadow 0.25s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--text-main);
  text-shadow: 0 0 12px var(--accent-glow);
}

.nav-item.active a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-header-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: rgba(10, 16, 32, 0.6);
  border: 1px solid rgba(40, 123, 255, 0.3);
  border-radius: 10px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-header-ghost:hover {
  background: rgba(40, 123, 255, 0.15);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 217, 245, 0.25);
  color: var(--accent-cyan);
}

.btn-header-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #1754cc 100%);
  border: 1px solid rgba(85, 166, 255, 0.4);
  border-radius: 10px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(40, 123, 255, 0.4);
  transition: all 0.25s ease;
}

.btn-header-primary:hover {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  box-shadow: 0 4px 26px rgba(0, 217, 245, 0.5);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  z-index: 10;
}

.hero-badge-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid rgba(0, 217, 245, 0.35);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(0, 217, 245, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-cyan);
  animation: radar-pulse 2s infinite ease-out;
}

@keyframes radar-pulse {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-badge-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.hero-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.hero-title-primary {
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.08;
  color: #FFFFFF;
  letter-spacing: -1px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.hero-title-gradient {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--accent-light) 60%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-title-secondary {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 25px rgba(0, 217, 245, 0.35));
}

.hero-description {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 580px;
  font-weight: 400;
}

.hero-description .highlight {
  color: var(--accent-cyan);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 217, 245, 0.3);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.btn-hero-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #1f6ce6 0%, var(--accent-blue) 40%, #0099ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 14px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 8px 32px rgba(40, 123, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.1, 1), box-shadow 0.2s ease;
}

.btn-hero-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: 0.6s ease;
}

.btn-hero-primary:hover::before {
  left: 100%;
}

.btn-hero-primary:hover {
  box-shadow: 0 10px 40px rgba(0, 217, 245, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: var(--accent-cyan);
}

.btn-hero-primary svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

.btn-badge-sub {
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  margin-right: 0.25rem;
  font-family: var(--font-gaming);
  letter-spacing: 0.5px;
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.85rem;
  background: rgba(10, 16, 32, 0.65);
  border: 1.5px solid rgba(40, 123, 255, 0.35);
  border-radius: 14px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.02rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  background: rgba(40, 123, 255, 0.18);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 8px 30px rgba(0, 217, 245, 0.25);
}

.btn-hero-secondary svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.25s ease;
}

.btn-hero-secondary:hover svg {
  transform: translateX(-4px);
}

.hero-stats-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(40, 123, 255, 0.14);
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.stat-icon-box {
  width: 42px;
  height: 42px;
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid rgba(40, 123, 255, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(40, 123, 255, 0.15);
}

.stat-icon-box svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-cyan);
}

.stat-text-group {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-gaming);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.stat-lbl {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   VISUAL STAGE (Operator + 3D Phone Mockup)
   ========================================================================== */

.hero-visual-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  perspective: 1200px;
}

.hero-visual-stage::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(40, 123, 255, 0.28) 0%, rgba(0, 217, 245, 0.15) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(55px);
  z-index: 1;
  pointer-events: none;
  animation: glow-pulse 6s infinite alternate ease-in-out;
}

@keyframes glow-pulse {
  0% { transform: scale(0.92); opacity: 0.65; }
  100% { transform: scale(1.1); opacity: 0.95; }
}

.operator-figure {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: 440px;
  height: 560px;
  z-index: 2;
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.1, 1);
  will-change: transform;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.operator-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.operator-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: contrast(1.15) saturate(1.1) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.9));
  border-radius: 20px;
}

.phone-3d-wrapper {
  position: relative;
  z-index: 3;
  width: 320px;
  height: 650px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.2, 0, 0.1, 1);
}

.phone-chassis {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0D121F;
  border-radius: 46px;
  padding: 10px;
  border: 3.5px solid #20293D;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(40, 123, 255, 0.25),
    inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0A0E14;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.phone-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 40%, transparent 60%);
  pointer-events: none;
  z-index: 50;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 22px;
  background: #000000;
  border-radius: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.notch-lens {
  width: 9px;
  height: 9px;
  background: #111a2e;
  border-radius: 50%;
  box-shadow: inset 0 0 2px #00D9F5;
}

.notch-sensor {
  width: 6px;
  height: 6px;
  background: #080c14;
  border-radius: 50%;
}

.phone-status-bar {
  padding: 12px 20px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-family: var(--font-gaming);
  font-weight: 700;
  color: var(--text-secondary);
  z-index: 40;
}

.app-header-bar {
  padding: 8px 16px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.user-mini-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-mini-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-mini-meta {
  display: flex;
  flex-direction: column;
}

.user-mini-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.user-mini-rank {
  font-size: 0.65rem;
  color: var(--accent-cyan);
}

.app-balance-pill {
  background: rgba(18, 22, 31, 0.9);
  border: 1px solid rgba(240, 180, 41, 0.35);
  padding: 4px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.app-balance-pill svg {
  width: 14px;
  height: 14px;
  fill: var(--gold-accent);
}

.app-balance-amount {
  font-family: var(--font-gaming);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold-accent);
}

.app-scroll-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-scroll-content::-webkit-scrollbar {
  display: none;
}

.app-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.app-section-title span {
  color: var(--accent-cyan);
  font-size: 0.7rem;
}

.room-card-preview {
  background: #12161F;
  border: 1px solid rgba(40, 123, 255, 0.3);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  position: relative;
}

.room-card-banner {
  height: 95px;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.2) 0%, #12161F 100%),
              url('../assets/images/start_banner.jpg') center/cover;
  position: relative;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.room-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-kill {
  background: rgba(139, 92, 246, 0.85);
  padding: 2px 7px;
  border-radius: 6px;
  font-family: var(--font-gaming);
  font-weight: 700;
  font-size: 0.68rem;
  color: #fff;
}

.badge-open {
  background: rgba(46, 204, 113, 0.25);
  border: 1px solid #2ECC71;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #2ECC71;
  display: flex;
  align-items: center;
  gap: 4px;
}

.badge-open::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2ECC71;
  box-shadow: 0 0 6px #2ECC71;
}

.room-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.room-card-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.room-time-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--gold-accent);
  background: rgba(240, 180, 41, 0.08);
  padding: 5px 8px;
  border-radius: 8px;
  font-weight: 600;
}

.room-prize-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.prize-col {
  display: flex;
  flex-direction: column;
}

.prize-col .sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.prize-col .main-gold {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold-accent);
}

.prize-col .free-entry {
  font-size: 0.85rem;
  font-weight: 800;
  color: #2ECC71;
}

.capacity-bar-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.capacity-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.capacity-track {
  height: 5px;
  background: #1C2333;
  border-radius: 5px;
  overflow: hidden;
}

.capacity-fill {
  height: 100%;
  width: 88%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  border-radius: 5px;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.btn-app-join {
  background: linear-gradient(135deg, var(--accent-blue), #1653cc);
  border: none;
  padding: 7px;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(40, 123, 255, 0.35);
}

.room-card-mini {
  background: #12161F;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.mini-sub {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.mini-prize {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-accent);
}

.app-bottom-nav {
  height: 52px;
  background: #0A0E14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px;
}

.app-nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 600;
}

.app-nav-tab.active {
  color: var(--gold-accent);
}

.app-nav-tab svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.floating-glass-badge {
  position: absolute;
  padding: 0.75rem 1.15rem;
  background: rgba(10, 16, 32, 0.75);
  border: 1px solid rgba(40, 123, 255, 0.38);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(40, 123, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
}

.badge-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(40, 123, 255, 0.15);
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-wrap svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-cyan);
}

.badge-text-wrap {
  display: flex;
  flex-direction: column;
}

.badge-text-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
}

.badge-text-sub {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-family: var(--font-gaming);
  font-weight: 600;
}

.badge-top-left {
  top: 12%;
  left: -24%;
  animation: float-badge-1 5s infinite ease-in-out alternate;
}

.badge-bottom-right {
  bottom: 16%;
  right: -20%;
  animation: float-badge-2 6s infinite ease-in-out alternate;
}

.badge-top-right {
  top: 4%;
  right: -15%;
  animation: float-badge-3 7s infinite ease-in-out alternate;
}

@keyframes float-badge-1 {
  0% { transform: translateY(0px) rotate(-2deg); }
  100% { transform: translateY(-14px) rotate(1deg); }
}

@keyframes float-badge-2 {
  0% { transform: translateY(0px) rotate(2deg); }
  100% { transform: translateY(12px) rotate(-1deg); }
}

@keyframes float-badge-3 {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* ==========================================================================
   GLOBAL SECTION SHARED STYLES
   ========================================================================== */

section {
  position: relative;
  z-index: 5;
  padding: 6.5rem 0;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 3.8rem;
  position: relative;
}

.section-header.text-center {
  align-items: center;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(40, 123, 255, 0.1);
  border: 1px solid rgba(0, 217, 245, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  width: fit-content;
}

.section-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.2;
  color: #FFFFFF;
}

.section-title .text-electric {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.8;
}

/* ==========================================================================
   SECTION B: PLATFORM INTRODUCTION (درباره ایران دیوتی)
   ========================================================================== */

.intro-section {
  background: linear-gradient(180deg, transparent 0%, rgba(10, 16, 32, 0.5) 50%, transparent 100%);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.intro-editorial-content {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.intro-lead {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.6;
}

.intro-lead span {
  color: var(--accent-cyan);
}

.intro-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.intro-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.4rem;
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid rgba(40, 123, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.pillar-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(16, 24, 48, 0.85);
  box-shadow: 0 10px 30px rgba(0, 217, 245, 0.12);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(40, 123, 255, 0.12);
  border: 1px solid var(--accent-cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(0, 217, 245, 0.25);
}

.pillar-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent-cyan);
}

.pillar-info h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.pillar-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.intro-visual-card {
  position: relative;
  background: radial-gradient(circle at center, rgba(40, 123, 255, 0.18) 0%, rgba(10, 16, 32, 0.8) 70%);
  border: 1.5px solid rgba(40, 123, 255, 0.3);
  border-radius: 28px;
  padding: 2.5rem;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(40, 123, 255, 0.15);
}

.intro-stats-cluster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  position: relative;
  z-index: 2;
}

.cluster-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(5, 7, 13, 0.65);
  padding: 1.6rem 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cluster-number {
  font-family: var(--font-gaming);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 1px;
}

.cluster-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   SECTION C: FEATURES (امکانات پلتفرم - Asymmetrical Esports Bento)
   ========================================================================== */

.features-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.bento-card {
  position: relative;
  background: rgba(10, 16, 32, 0.75);
  border: 1px solid rgba(40, 123, 255, 0.22);
  border-radius: 22px;
  padding: 2.2rem;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0, 0.1, 1);
}

.bento-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(16, 24, 48, 0.92);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 217, 245, 0.2);
  transform: translateY(-5px);
}

.bento-card.span-2 {
  grid-column: span 2;
}

.bento-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}

.bento-icon-glow {
  width: 52px;
  height: 52px;
  background: rgba(40, 123, 255, 0.14);
  border: 1.5px solid var(--accent-cyan);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 217, 245, 0.28);
}

.bento-icon-glow svg {
  width: 26px;
  height: 26px;
  fill: var(--accent-cyan);
}

.bento-badge-tag {
  font-family: var(--font-gaming);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-light);
  background: rgba(40, 123, 255, 0.12);
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(40, 123, 255, 0.25);
  letter-spacing: 0.8px;
}

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.bento-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.bento-interactive-preview {
  margin-top: 1.8rem;
  padding: 1.2rem;
  background: rgba(5, 7, 13, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-match-pill {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.preview-match-pill .match-type {
  font-family: var(--font-gaming);
  font-weight: 700;
  color: #fff;
  background: #8B5CF6;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
}

.preview-match-pill .match-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.preview-prize-tag {
  font-family: var(--font-gaming);
  font-weight: 700;
  color: var(--gold-accent);
  font-size: 0.95rem;
}

/* ==========================================================================
   SECTION D: APPLICATION SHOWCASE (ویترین ۳ بعدی تعاملی)
   ========================================================================== */

.showcase-section {
  background: radial-gradient(circle at 50% 50%, rgba(40, 123, 255, 0.12) 0%, transparent 75%);
}

.showcase-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.showcase-tab-btn {
  padding: 0.75rem 1.6rem;
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid rgba(40, 123, 255, 0.25);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.showcase-tab-btn:hover {
  color: #fff;
  border-color: var(--accent-cyan);
}

.showcase-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-blue), #144ebd);
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 217, 245, 0.35);
}

.showcase-display-stage {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 4.5rem;
}

.showcase-screen-mockup {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  border-radius: 42px;
  padding: 12px;
  background: #0D121F;
  border: 3.5px solid #20293D;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), 0 0 35px rgba(40, 123, 255, 0.3);
}

.screen-viewport {
  background: #0A0E14;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  min-height: 520px;
}

.tab-screen-panel {
  display: none;
  padding: 1.5rem;
  flex-direction: column;
  gap: 1.2rem;
  animation: fadeIn 0.4s ease forwards;
}

.tab-screen-panel.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.showcase-details-pane {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.showcase-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.showcase-num {
  font-family: var(--font-gaming);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent-cyan);
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(0, 217, 245, 0.1);
  border: 1px solid var(--accent-cyan);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-text-wrap h4 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

.showcase-text-wrap p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==========================================================================
   SECTION E: HOW IT WORKS (مراحل گام به گام)
   ========================================================================== */

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  position: relative;
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid rgba(40, 123, 255, 0.2);
  border-radius: 20px;
  padding: 2rem 1.4rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.1rem;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--accent-cyan);
  background: rgba(16, 24, 48, 0.9);
  box-shadow: 0 12px 35px rgba(0, 217, 245, 0.18);
  transform: translateY(-6px);
}

.step-number-bubble {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-gaming);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 217, 245, 0.45);
}

.step-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: #FFFFFF;
}

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

/* ==========================================================================
   SECTION F: DOWNLOAD CTA SECTION (آماده‌ای وارد رقابت بشی؟)
   ========================================================================== */

.download-cta-box {
  position: relative;
  background: radial-gradient(ellipse at center, rgba(40, 123, 255, 0.22) 0%, rgba(10, 16, 32, 0.9) 75%);
  border: 2px solid rgba(0, 217, 245, 0.35);
  border-radius: 32px;
  padding: 4.5rem 3.5rem;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8), 0 0 45px rgba(40, 123, 255, 0.25);
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.download-cta-content {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.download-cta-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
}

.download-cta-sub {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.download-qr-box {
  background: rgba(5, 7, 13, 0.75);
  border: 1.5px solid rgba(40, 123, 255, 0.35);
  border-radius: 24px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.qr-frame {
  width: 170px;
  height: 170px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 217, 245, 0.3);
}

.qr-frame svg {
  width: 100%;
  height: 100%;
}

.qr-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   SECTION G: FAQ ACCORDION (سوالات متداول)
   ========================================================================== */

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.faq-item {
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid rgba(40, 123, 255, 0.2);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--accent-cyan);
  background: rgba(16, 24, 48, 0.85);
  box-shadow: 0 8px 25px rgba(0, 217, 245, 0.12);
}

.faq-question {
  width: 100%;
  padding: 1.4rem 1.8rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: right;
  cursor: pointer;
  font-family: inherit;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  min-width: 20px;
  fill: var(--accent-cyan);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.2, 0, 0.1, 1);
}

.faq-answer-inner {
  padding: 0 1.8rem 1.5rem 1.8rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.2rem;
}

/* ==========================================================================
   SECTION H: FOOTER (پاورقی کامل)
   ========================================================================== */

.site-footer {
  position: relative;
  z-index: 10;
  background: #030408;
  border-top: 1px solid rgba(40, 123, 255, 0.18);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.footer-brand-col p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.footer-col-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
  position: relative;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-list a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.25s ease, padding 0.25s ease;
  display: inline-block;
}

.footer-links-list a:hover {
  color: var(--accent-cyan);
  padding-right: 4px;
}

.social-icons-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid rgba(40, 123, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-btn:hover {
  background: rgba(40, 123, 255, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 217, 245, 0.35);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.back-to-top-btn {
  background: rgba(10, 16, 32, 0.7);
  border: 1px solid rgba(40, 123, 255, 0.25);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-family: inherit;
  transition: all 0.25s ease;
}

.back-to-top-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(0, 217, 245, 0.25);
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR COMPLETE SITE
   ========================================================================== */

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 1200px) {
  .hero-container {
    gap: 2.25rem;
  }

  .badge-top-left {
    left: -8%;
  }

  .badge-bottom-right {
    right: -8%;
  }

  .badge-top-right {
    right: -6%;
  }

  .how-it-works-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-badge-pill {
    align-self: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats-bar {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
  }

  .hero-visual-stage {
    min-height: 560px;
    width: 100%;
    overflow: visible;
  }

  .operator-figure {
    right: 50%;
    transform: translateX(50%);
  }

  .badge-top-left {
    left: 2%;
  }

  .badge-bottom-right {
    right: 2%;
  }

  .badge-top-right {
    right: 4%;
  }
}

@media (max-width: 992px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .features-bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.span-2 {
    grid-column: span 1;
  }

  .showcase-display-stage {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .showcase-phone-mockup {
    margin-inline: auto;
  }

  .download-cta-box {
    grid-template-columns: 1fr;
    padding: 3rem 2rem;
    text-align: center;
  }

  .download-cta-content {
    align-items: center;
  }

  .download-qr-box {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 72px;
  }

  .header-container {
    padding: 0 1.25rem;
    gap: 0.75rem;
  }

  .nav-menu {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .section-container {
    padding: 4rem 1.25rem;
  }

  .hero-section {
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 3rem;
    min-height: auto;
  }

  .hero-container {
    padding: 0 1.25rem;
  }

  .hero-title-primary {
    font-size: clamp(2rem, 7.5vw, 3rem);
  }

  .hero-title-secondary {
    font-size: clamp(1.25rem, 4.5vw, 1.8rem);
  }

  .hero-visual-stage {
    min-height: 500px;
  }

  .hero-visual-stage::before {
    width: 340px;
    height: 340px;
  }

  .operator-figure {
    width: 320px;
    height: 410px;
  }

  .phone-3d-wrapper {
    width: 280px;
    height: 570px;
  }

  .floating-glass-badge {
    padding: 0.55rem 0.85rem;
    gap: 0.55rem;
  }

  .badge-text-title {
    font-size: 0.76rem;
  }

  .badge-text-sub {
    font-size: 0.65rem;
  }

  .showcase-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }

  .how-it-works-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 1rem;
  }

  .brand-emblem {
    width: 36px;
    height: 36px;
  }

  .brand-title-en {
    font-size: 0.92rem;
  }

  .brand-subtitle-fa {
    font-size: 0.7rem;
  }

  .btn-header-ghost {
    display: none;
  }

  .btn-header-primary {
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
  }

  .hero-container,
  .section-container {
    padding-inline: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 0.95rem 1.25rem;
    font-size: 0.96rem;
  }

  .hero-stats-bar {
    gap: 1rem 1.25rem;
    padding-top: 1.25rem;
  }

  .hero-visual-stage {
    min-height: 450px;
    overflow: hidden;
  }

  .hero-visual-stage::before {
    width: 260px;
    height: 260px;
  }

  .operator-figure {
    width: 250px;
    height: 320px;
    opacity: 0.55;
  }

  .phone-3d-wrapper {
    width: 248px;
    height: 505px;
  }

  .floating-glass-badge {
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
  }

  .badge-icon-wrap {
    width: 28px;
    height: 28px;
  }

  .badge-top-left {
    top: 6%;
    left: 0;
  }

  .badge-top-right {
    top: 2%;
    right: 0;
  }

  .badge-bottom-right {
    bottom: 8%;
    right: 0;
  }

  .intro-visual-card {
    padding: 1.35rem;
    border-radius: 20px;
  }

  .intro-stats-cluster {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .pillar-card {
    padding: 1.1rem;
    gap: 0.9rem;
  }

  .bento-card {
    padding: 1.4rem;
    border-radius: 18px;
  }

  .bento-interactive-preview {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .showcase-phone-mockup {
    max-width: 100%;
  }

  .download-cta-box {
    padding: 2rem 1.15rem;
    border-radius: 20px;
  }

  .download-meta-pills {
    justify-content: center;
  }

  .faq-item {
    border-radius: 14px;
  }

  .faq-question {
    padding: 1rem 1.1rem;
    font-size: 0.94rem;
  }

  .faq-answer {
    padding: 0 1.1rem 1.1rem;
    font-size: 0.88rem;
  }
}
