/* ==========================================================================
   LuminoRPG — Next-Gen Modern Glassmorphic Platform Design System
   ========================================================================== */

:root {
  /* Theme Palette — Linear Monochrome & Electric Indigo */
  --bg-main: #07080d;
  --bg-glass: rgba(12, 14, 22, 0.65);
  --bg-glass-hover: rgba(18, 20, 32, 0.75);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-glass-accent: rgba(129, 140, 248, 0.45);
  
  --primary-cyan: #818cf8; /* Electric Indigo */
  --primary-blue: #6366f1;
  --primary-purple: #c084fc;
  --accent-cyan-glow: rgba(99, 102, 241, 0.2);
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --glass-blur: blur(28px) saturate(190%);
}

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

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

body {
  background-color: var(--bg-main);
  background-image: 
    linear-gradient(180deg, rgba(7, 8, 13, 0.72) 0%, rgba(7, 8, 13, 0.85) 45%, rgba(7, 8, 13, 0.95) 100%),
    url('images/back.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Fixed Ambient Radial Mesh Background */
.ambient-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.mesh-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
}

.mesh-glow-1 {
  top: -10%;
  right: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #6366f1 0%, #c084fc 100%);
  opacity: 0.18;
}

.mesh-glow-2 {
  bottom: 10%;
  left: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #4f46e5 0%, #818cf8 100%);
  opacity: 0.15;
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

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

/* ==========================================================================
   Typography & Buttons
   ========================================================================== */
h1, h2, h3 {
  color: var(--text-main);
  letter-spacing: -0.02em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: rgba(0, 242, 254, 0.12);
  border-color: rgba(0, 242, 254, 0.35);
  color: #fff;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.15);
}

.btn-primary:hover {
  background: rgba(0, 242, 254, 0.22);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.35);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-tg-large {
  background: rgba(0, 136, 204, 0.15);
  border-color: rgba(0, 136, 204, 0.4);
  color: #fff;
  font-size: 1.05rem;
}

.btn-tg-large:hover {
  background: rgba(0, 136, 204, 0.3);
  border-color: #0088cc;
  box-shadow: 0 0 30px rgba(0, 136, 204, 0.4);
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 100px;
  padding-bottom: 20px;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.hero-subtitle-gradient {
  display: block;
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 600;
  margin-top: 12px;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-cyan) 60%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   Features Section — Glass List Layout ("фичи списком")
   ========================================================================== */
/* ==========================================================================
   Showcase Feature Cards Inside "Инструментарий" Section
   ========================================================================== */
/* Unified Showcase Row (Card on one side, Mascot Callout on the opposite side) */
.showcase-row {
  display: flex;
  align-items: center;
  gap: 64px;
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.showcase-row-left {
  justify-content: flex-start;
}

.showcase-row-right {
  justify-content: flex-end;
}

.mascot-side-callout {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 22px;
}

.showcase-row-right .mascot-side-callout {
  flex-direction: row-reverse;
}

/* Mascot Guide Callout Component */
.mascot-guide-wrapper {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 960px;
  margin: 15px auto 40px auto;
  position: relative;
  z-index: 5;
}

.mascot-intro-arrow-holder {
  position: absolute;
  top: 100%;
  right: 50px;
  width: 540px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}

.intro-arrow-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(192, 132, 252, 0.6));
}

.mascot-card-callout {
  margin: 25px auto -10px auto;
}

.mascot-guide-reverse {
  flex-direction: row-reverse;
}

.mascot-img {
  width: 370px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 25px rgba(129, 140, 248, 0.35));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-img-large {
  width: 430px;
}

.mascot-img:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 0 35px rgba(129, 140, 248, 0.85)) drop-shadow(0 0 70px rgba(192, 132, 252, 0.6));
}

.mascot-img-flip {
  transform: scaleX(-1);
}

.mascot-img-flip:hover {
  transform: scaleX(-1) scale(1.04);
  filter: drop-shadow(0 0 35px rgba(129, 140, 248, 0.85)) drop-shadow(0 0 70px rgba(192, 132, 252, 0.6));
}

.mascot-speech-bubble {
  position: relative;
  flex: 1;
  background: rgba(14, 16, 27, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1.5px solid var(--border-glass-accent);
  border-radius: 22px;
  padding: 24px 32px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(129, 140, 248, 0.2);
}

/* Manga Bubble Tail pointing Left (towards Left Owl Mascot) */
.mascot-side-callout .mascot-speech-bubble::before {
  content: "";
  position: absolute;
  top: 36px;
  left: -11px;
  width: 20px;
  height: 20px;
  background: rgba(14, 16, 27, 0.95);
  border-left: 1.5px solid var(--border-glass-accent);
  border-bottom: 1.5px solid var(--border-glass-accent);
  transform: rotate(45deg);
  border-bottom-left-radius: 4px;
  z-index: 2;
}

/* Manga Bubble Tail pointing Right (towards Right Owl Mascot) */
.showcase-row-right .mascot-side-callout .mascot-speech-bubble::before {
  left: auto;
  right: -11px;
  border-left: none;
  border-bottom: none;
  border-right: 1.5px solid var(--border-glass-accent);
  border-top: 1.5px solid var(--border-glass-accent);
  transform: rotate(45deg);
  border-top-right-radius: 4px;
}

/* Intro & Outro Mascot Guide Tail */
.mascot-guide-wrapper .mascot-speech-bubble::before {
  content: "";
  position: absolute;
  top: 36px;
  left: -11px;
  width: 20px;
  height: 20px;
  background: rgba(14, 16, 27, 0.95);
  border-left: 1.5px solid var(--border-glass-accent);
  border-bottom: 1.5px solid var(--border-glass-accent);
  transform: rotate(45deg);
  border-bottom-left-radius: 4px;
  z-index: 2;
}

.mascot-guide-reverse .mascot-speech-bubble::before {
  left: auto;
  right: -11px;
  border-left: none;
  border-bottom: none;
  border-right: 1.5px solid var(--border-glass-accent);
  border-top: 1.5px solid var(--border-glass-accent);
  transform: rotate(45deg);
  border-top-right-radius: 4px;
}

.speech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.speech-text {
  font-size: 1.12rem;
  font-style: italic;
  color: #f8fafc;
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.showcase-blocks-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  margin-bottom: 60px;
}

/* Strict Left and Right Half Screen Positioning */
.showcase-card {
  width: 640px;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(14, 16, 27, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1.5px solid var(--border-glass-accent);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(129, 140, 248, 0.15);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

/* Manga Bubble Pointer Tail on RIGHT edge of LEFT showcase card (pointing right at Owl Mascot) */
.showcase-card-left::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -11px;
  width: 20px;
  height: 20px;
  background: rgba(14, 16, 27, 0.95);
  border-right: 1.5px solid var(--border-glass-accent);
  border-top: 1.5px solid var(--border-glass-accent);
  transform: translateY(-50%) rotate(45deg);
  border-top-right-radius: 4px;
  z-index: 2;
}

/* Manga Bubble Pointer Tail on LEFT edge of RIGHT showcase card (pointing left at Owl Mascot) */
.showcase-card-right::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -11px;
  width: 20px;
  height: 20px;
  background: rgba(14, 16, 27, 0.95);
  border-left: 1.5px solid var(--border-glass-accent);
  border-bottom: 1.5px solid var(--border-glass-accent);
  transform: translateY(-50%) rotate(45deg);
  border-bottom-left-radius: 4px;
  z-index: 2;
}

.mascot-side-holder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
}

.showcase-card-left {
  margin-right: 0;
}

.showcase-card-right {
  margin-left: 0;
}

/* Atmospheric Small Corner Character Art in Top Right Corner */
.showcase-corner-art {
  position: absolute;
  top: 6px;
  right: 35px;
  left: auto;
  width: 270px;
  height: 270px;
  object-fit: contain;
  object-position: top right;
  pointer-events: none;
  opacity: 0.24;
  z-index: 0;
  -webkit-mask-image: radial-gradient(circle at 80% 20%, black 50%, transparent 85%);
  mask-image: radial-gradient(circle at 80% 20%, black 50%, transparent 85%);
}

.showcase-card:hover {
  border-color: rgba(129, 140, 248, 0.45);
}

/* Connecting SVG Curved Arrows Between Halves */
.card-connector {
  width: 100%;
  display: flex;
  margin-top: -52px;
  margin-bottom: -48px;
  position: relative;
  z-index: 0;
  pointer-events: none;
}

.connector-to-right {
  justify-content: center;
}

.connector-to-left {
  justify-content: center;
}

.connector-svg {
  width: 360px;
  height: 120px;
  filter: drop-shadow(0 0 15px rgba(192, 132, 252, 0.6));
}

.mascot-outro-arrow-holder {
  position: absolute;
  bottom: 100%;
  left: -200px;
  width: 540px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}

.outro-arrow-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(192, 132, 252, 0.6));
}

.connector-intro-arrow {
  margin-top: -30px;
  margin-bottom: -35px;
}

.animated-arrow-path {
  animation: flowDashes 18s linear infinite;
}

@keyframes flowDashes {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -200;
  }
}

.showcase-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 2px;
}

.showcase-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #c084fc;
  background: linear-gradient(135deg, #f3e8ff 0%, #c084fc 50%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 10px 0;
  filter: drop-shadow(0 2px 10px rgba(168, 85, 247, 0.4));
}

.showcase-title i {
  color: var(--primary-cyan);
  -webkit-text-fill-color: var(--primary-cyan);
  font-size: 1.35rem;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.8));
  flex-shrink: 0;
}

.showcase-content {
  position: relative;
  z-index: 2;
}

.showcase-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.showcase-media {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  background: #090a0f;
  opacity: 1;
}

.showcase-img {
  width: 100%;
  height: auto;
  max-height: 290px;
  display: block;
  object-fit: cover;
  object-position: top;
  image-rendering: -webkit-optimize-contrast;
  opacity: 1;
}

/* Media Placeholder (СКОРО) */
.showcase-media-placeholder {
  min-height: 240px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.12) 0%, rgba(9, 10, 15, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(129, 140, 248, 0.35);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
}

.showcase-placeholder-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px;
  text-align: center;
}

.placeholder-icon {
  font-size: 3.2rem;
  color: var(--primary-cyan);
  filter: drop-shadow(0 0 15px rgba(129, 140, 248, 0.5));
}

.placeholder-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-cyan);
  letter-spacing: 3px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.25);
}

@media (max-width: 900px) {
  .showcase-card,
  .showcase-card-reverse {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
  }
  .showcase-card-reverse .showcase-content,
  .showcase-card-reverse .showcase-media {
    order: unset;
  }
  .mascot-intro-arrow-holder,
  .mascot-outro-arrow-holder,
  .card-connector {
    display: none;
  }
}

/* Mini Showcase Glass Grid for Remaining 3 Features (No Screenshots) */
/* Wide Horizontal Glass Rows for Remaining 3 Features */
.mini-features-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 960px;
  margin: 50px auto 0 auto;
}

.mini-feature-row {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 22px 32px;
  transition: var(--transition);
}

.mini-feature-row:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-glass-accent);
}

.mini-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.mini-row-body {
  flex: 1;
}

.mini-row-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.mini-row-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
  .mini-feature-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 14px;
  }
}

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

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}

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

/* Pure Text Feature List (Floating directly on image background) */
.features-pure-list {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  list-style: none;
  max-width: 920px;
  margin: 0 auto;
}

.pure-list-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: var(--transition);
}

.pure-list-item:last-child {
  border-bottom: none;
}

.pure-list-item:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
}

.list-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: var(--primary-cyan);
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 0 15px rgba(129, 140, 248, 0.25);
}

.list-item-content {
  font-size: 1.08rem;
  line-height: 1.65;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.list-item-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.list-item-desc {
  color: #e2e8f0;
  font-weight: 400;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   Roadmap Section (Main Landing Preview Grid)
   ========================================================================== */
.roadmap-section {
  padding: 80px 0;
  position: relative;
}

.roadmap-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0 36px;
}

.roadmap-preview-card {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.roadmap-preview-card:hover {
  border-color: var(--border-glass-accent);
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.roadmap-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.roadmap-preview-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.roadmap-preview-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.roadmap-btn-wrapper {
  margin-top: 10px;
}

/* ==========================================================================
   Community Section — Glass Hero Card Layout
   ========================================================================== */
.community-section {
  padding: 80px 0 100px 0;
  position: relative;
}

.community-glass-card {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.community-card-glow {
  display: none;
}

.community-header {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto 36px auto;
}

.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 136, 204, 0.15);
  border: 1px solid rgba(0, 136, 204, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(0, 136, 204, 0.2);
}

.community-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(56, 189, 248, 0.3));
}

.community-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tg-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.tg-benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px 20px;
  transition: var(--transition);
}

.tg-benefit-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 0 25px rgba(129, 140, 248, 0.2);
}

.tg-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.4rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.tg-icon-box.icon-blue {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
}

.tg-icon-box.icon-gold {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: #fbbf24;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.tg-icon-box.icon-purple {
  background: rgba(192, 132, 252, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.4);
  color: #c084fc;
  filter: drop-shadow(0 0 10px rgba(192, 132, 252, 0.5));
}

.tg-benefit-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.tg-benefit-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.community-footer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.btn-tg-hero {
  background: linear-gradient(135deg, #0088cc 0%, #00a0ee 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 136, 204, 0.45);
  transition: var(--transition);
}

.btn-tg-hero:hover {
  box-shadow: 0 0 35px rgba(0, 136, 204, 0.75);
  border-color: #ffffff;
}

.team-signoff {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 18px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Footer & Legal Section
   ========================================================================== */
.site-footer {
  padding: 60px 0 40px 0;
  background: rgba(4, 5, 8, 0.8);
  border-top: 1px solid var(--border-glass);
  position: relative;
  z-index: 2;
}

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

.footnote-item {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.fn-mark {
  color: var(--primary-cyan);
  font-weight: 700;
}

.footer-divider {
  height: 1px;
  background: var(--border-glass);
  margin: 20px 0;
}

.legal-disclaimer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.copyright-line {
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.6rem; }
  .hero-subtitle-gradient { font-size: 1.25rem; }
  .feature-list-item { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
  .community-title { font-size: 1.9rem; }
  .community-card { padding: 32px 20px; }
  .tg-benefits-box { padding: 20px; }
}

/* ==========================================================================
   Credits Modal & Trigger Button
   ========================================================================== */
.credits-modal-trigger {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  box-shadow: none;
  text-shadow: none;
  outline: none;
}

.credits-modal-trigger:hover,
.credits-modal-trigger:focus,
.credits-modal-trigger:active {
  background: none !important;
  color: var(--text-muted) !important;
  text-shadow: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  outline: none !important;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 5, 10, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-card {
  width: 100%;
  max-width: 580px;
  background: rgba(14, 16, 27, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1.5px solid rgba(129, 140, 248, 0.35);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(129, 140, 248, 0.2);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.modal-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.4);
  color: var(--primary-cyan);
  font-size: 1.5rem;
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.3);
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

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

.credits-author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.author-icon {
  font-size: 1.3rem;
  color: #c084fc;
  filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.5));
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.95rem;
}

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

.author-name {
  color: #ffffff;
  font-weight: 700;
}

.credits-links-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links-group-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.credits-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credits-links-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px 16px;
  color: #cbd5e1;
  font-size: 0.92rem;
  transition: var(--transition);
  word-break: break-all;
}

.credits-links-list li a:hover {
  background: rgba(129, 140, 248, 0.12);
  border-color: rgba(129, 140, 248, 0.4);
  color: #ffffff;
}

.credits-links-list i {
  color: var(--primary-cyan);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Roadmap Page & Component Styles (High-Contrast Premium Glass UI)
   ========================================================================== */

.site-header {
  padding: 32px 0 20px;
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 40px;
}

.roadmap-page-header {
  padding: 40px 0 30px;
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.back-link:hover {
  color: #ffffff;
  background: rgba(129, 140, 248, 0.25);
  border-color: rgba(129, 140, 248, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(129, 140, 248, 0.35);
}

.roadmap-hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 20%, #38bdf8 60%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.roadmap-hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Timeline Wrapper */
.roadmap-timeline-wrapper {
  position: relative;
  max-width: 940px;
  margin: 50px auto 100px;
  padding: 0 15px;
}

.roadmap-timeline-wrapper::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 24px;
  width: 4px;
  background: linear-gradient(180deg, #22c55e 0%, #38bdf8 35%, #c084fc 70%, rgba(148, 163, 184, 0.3) 100%);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

@media (min-width: 768px) {
  .roadmap-timeline-wrapper::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-step {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .timeline-step {
    flex-direction: row;
  }

  .timeline-step:nth-child(odd) {
    justify-content: flex-start;
  }

  .timeline-step:nth-child(even) {
    justify-content: flex-end;
  }
}

.timeline-marker {
  position: absolute;
  top: 28px;
  left: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0b0d17;
  border: 3px solid var(--primary-cyan);
  box-shadow: 0 0 20px var(--accent-cyan-glow);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #fff;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .timeline-marker {
    left: 50%;
  }
}

.timeline-marker.status-completed {
  border-color: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
  color: #22c55e;
}

.timeline-marker.status-in-progress {
  border-color: #38bdf8;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.7);
  color: #38bdf8;
  animation: pulseGlow 2s infinite alternate;
}

.timeline-marker.status-planned {
  border-color: #c084fc;
  box-shadow: 0 0 20px rgba(192, 132, 252, 0.5);
  color: #c084fc;
}

.timeline-marker.status-future {
  border-color: #64748b;
  box-shadow: none;
  color: #94a3b8;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 8px rgba(56, 189, 248, 0.3); }
  100% { box-shadow: 0 0 24px rgba(56, 189, 248, 0.8); }
}

/* Final Step (Spans full width across center axis like a grand finale) */
.timeline-step-final {
  margin-top: 80px;
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.timeline-step-final .timeline-marker {
  top: -48px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

@media (min-width: 768px) {
  .timeline-step-final {
    justify-content: center !important;
  }

  .timeline-step-final .timeline-card-container {
    width: 100% !important;
    max-width: 820px;
    margin: 0 auto;
    padding-left: 0 !important;
  }
}

.roadmap-card-final {
  background: linear-gradient(135deg, rgba(24, 20, 50, 0.95) 0%, rgba(14, 18, 40, 0.95) 100%) !important;
  border: 1.5px solid rgba(192, 132, 252, 0.5) !important;
  box-shadow: 0 0 35px rgba(192, 132, 252, 0.25), 0 16px 40px rgba(0, 0, 0, 0.7) !important;
  text-align: center;
  padding: 32px 36px !important;
  width: 100%;
}

.roadmap-card-final .roadmap-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  margin-bottom: 16px !important;
  width: 100%;
}

.timeline-card-container {
  width: 100%;
  padding-left: 65px;
}

@media (min-width: 768px) {
  .timeline-card-container {
    width: 45%;
    padding-left: 0;
  }
}

/* Glass Roadmap Card */
.roadmap-card {
  background: rgba(16, 20, 36, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(129, 140, 248, 0.35);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-card:hover {
  border-color: rgba(129, 140, 248, 0.7);
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75), 0 0 25px rgba(129, 140, 248, 0.25);
}

.roadmap-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.quarter-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}

.badge-completed {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.badge-in-progress {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.badge-planned {
  background: rgba(192, 132, 252, 0.2);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.4);
}

.badge-future {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.roadmap-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.roadmap-card-title i {
  color: var(--primary-cyan);
}

.roadmap-card-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 22px;
  line-height: 1.6;
}

/* Card Progress bar */
.card-progress-wrapper {
  margin-bottom: 22px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 8px;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1s ease-out;
}

.fill-completed {
  background: linear-gradient(90deg, #10b981, #22c55e);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.fill-in-progress {
  background: linear-gradient(90deg, #6366f1, #38bdf8);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.fill-planned {
  background: linear-gradient(90deg, #818cf8, #c084fc);
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.5);
}

.fill-future {
  background: rgba(148, 163, 184, 0.3);
}

/* Feature List Sub-Cards */
.roadmap-feature-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roadmap-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.roadmap-feature-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.roadmap-feature-item i {
  margin-top: 3px;
  font-size: 0.95rem;
  flex-shrink: 0;
  display: inline-block;
}

.roadmap-feature-item.done i {
  color: #4ade80;
}

.roadmap-feature-item.wip i {
  color: #38bdf8;
  display: inline-block;
  animation: spinIcon 1.5s linear infinite;
}

@keyframes spinIcon {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.roadmap-feature-item.todo i {
  color: #c084fc;
}

.roadmap-feature-item.future i {
  color: #94a3b8;
}

.roadmap-feature-item strong {
  color: #ffffff;
}


