:root {
  /* Colors */
  --bg-primary: #FAFAFA;
  --bg-secondary: #FFFFFF;
  --bg-dark: #0A0A0A;
  
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-tertiary: #9CA3AF;
  --text-light: #F9FAFB;
  
  --accent-primary: #000000;
  --accent-secondary: #374151;
  --accent-gradient: linear-gradient(135deg, #111827 0%, #374151 100%);
  
  --success: #059669;
  --danger: #DC2626;
  
  /* Optical Spacing Scale */
  --space-4: 0.25rem;
  --space-8: 0.5rem;
  --space-12: 0.75rem;
  --space-16: 1rem;
  --space-24: 1.5rem;
  --space-32: 2rem;
  --space-40: 2.5rem;
  --space-48: 3rem;
  --space-64: 4rem;
  --space-80: 5rem;
  --space-96: 6rem;
  --space-128: 8rem;
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  /* Premium Layered Shadows (Stripe/Linear style) */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  --shadow-btn: 0 2px 4px rgba(0,0,0,0.05), 0 1px 0 rgba(255,255,255,0.1) inset;
  --shadow-btn-hover: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05), 0 1px 0 rgba(255,255,255,0.1) inset;
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.04);
  --glass-highlight: inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --text-hero: clamp(40px, 6vw + 1rem, 72px);
  --text-h2: clamp(32px, 4vw, 48px);
  --text-h3: clamp(20px, 2.5vw, 28px);
  --text-body: clamp(16px, 1.2vw + 0.5rem, 18px);
  --text-small: clamp(14px, 1vw, 15px);

  /* Transitions */
  --ease-spring: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: initial; font-size: 16px; }

body { 
  font-family: var(--font-body); 
  background-color: var(--bg-primary); 
  color: var(--text-primary); 
  line-height: 1.6; 
  overflow-x: hidden; 
  -webkit-font-smoothing: antialiased; 
  -moz-osx-font-smoothing: grayscale; 
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s var(--ease-out); 
}

img, picture, video, canvas, svg { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
ul { list-style: none; }
button { font-family: inherit; border: none; background: none; }

*:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 4px; }

/* ==========================================================================
   UTILITIES & LAYOUT
   ========================================================================== */
.container { 
  width: 100%; 
  max-width: 1120px; 
  margin-inline: auto; 
  padding-left: max(clamp(1.25rem, 5vw, 2.5rem), env(safe-area-inset-left)); 
  padding-right: max(clamp(1.25rem, 5vw, 2.5rem), env(safe-area-inset-right)); 
}
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

.bg-light { background-color: var(--bg-primary); }
.bg-white { background-color: var(--bg-secondary); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }

/* Optical Grid */
.grid { display: grid; gap: var(--space-24); }
@media (min-width: 768px) {
  .grid { gap: var(--space-32); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid { gap: var(--space-40); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Base Section Spacing */
section { padding: clamp(5rem, 8vw, 8rem) 0; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4 { 
  font-family: var(--font-heading);
  font-weight: 700; 
  color: var(--text-primary); 
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

h1 { font-size: var(--text-hero); font-weight: 800; letter-spacing: -0.04em; margin-bottom: var(--space-24); line-height: 1.05; }
h2 { font-size: var(--text-h2); letter-spacing: -0.03em; margin-bottom: var(--space-24); }
h3 { font-size: var(--text-h3); margin-bottom: var(--space-12); font-weight: 600; }

p { font-size: var(--text-body); color: var(--text-secondary); margin-bottom: var(--space-24); max-width: 65ch; line-height: 1.6; }
.text-small { font-size: var(--text-small); color: var(--text-tertiary); }

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

.section-header { text-align: center; max-width: 650px; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.section-header p { margin: 0 auto; color: var(--text-secondary); }

/* ==========================================================================
   COMPONENTS
   ========================================================================== */

/* Buttons */
.btn { 
  display: inline-flex; align-items: center; justify-content: center; 
  padding: 0.75rem 1.75rem; border-radius: var(--radius-full); 
  font-family: var(--font-body); font-weight: 500; font-size: 1rem; letter-spacing: 0.2px; 
  cursor: pointer; 
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), background 0.3s ease, border-color 0.3s ease; 
  border: 1px solid transparent; text-align: center; min-height: 48px;
}

.btn-primary { 
  background: var(--text-primary); 
  color: var(--bg-secondary); 
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: var(--shadow-btn-hover); 
  background: var(--text-primary); /* Keeps it solid */
  opacity: 0.95;
}
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-outline { 
  background: transparent; 
  border: 1px solid rgba(0,0,0,0.1); 
  color: var(--text-primary); 
}
.btn-outline:hover { 
  background: rgba(0,0,0,0.02); 
  border-color: rgba(0,0,0,0.2); 
}

.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; min-height: 40px; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn-block { display: flex; width: 100%; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }

/* Cards */
.glass-card { 
  background: var(--glass-bg); 
  backdrop-filter: blur(20px); 
  -webkit-backdrop-filter: blur(20px); 
  border: 1px solid var(--glass-border); 
  border-radius: var(--radius-lg); 
  padding: var(--space-32) var(--space-32) var(--space-40) var(--space-32); /* Optical padding: more on bottom */
  box-shadow: var(--shadow-md), var(--glass-highlight); 
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring); 
}
.glass-card:hover { 
  transform: translateY(-4px); 
  box-shadow: var(--shadow-xl), var(--glass-highlight); 
}

/* Badge */
.badge { 
  display: inline-block; 
  padding: 0.375rem 1rem; 
  background: var(--bg-secondary); 
  border: 1px solid var(--glass-border); 
  border-radius: var(--radius-full); 
  font-size: 0.8125rem; 
  font-weight: 600; 
  margin-bottom: var(--space-32); 
  box-shadow: var(--shadow-sm); 
  color: var(--text-secondary); 
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ==========================================================================
   SPECIFIC SECTIONS
   ========================================================================== */

/* Premium SaaS Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: all 300ms ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1280px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #101828;
  cursor: pointer;
  transition: opacity 250ms ease;
}

.logo-text:hover {
  opacity: 0.8;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  border: none;
  background: transparent;
  z-index: 10001;
}

.mobile-menu-btn span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
  transition: all 250ms ease;
}

.mobile-menu-btn span:nth-child(1) { transform: translateY(-6px); }
.mobile-menu-btn span:nth-child(3) { transform: translateY(6px); }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* Mobile Overlay Panel */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9990;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
}

.mobile-nav-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 300ms ease;
}

.mobile-nav-overlay.active {
  pointer-events: auto;
}

.mobile-nav-overlay.active .mobile-nav-backdrop {
  opacity: 1;
}

.mobile-nav-panel {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 100%;
  background: #ffffff;
  border-left: 1px solid #ECECEC;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 300ms ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.mobile-nav-overlay.active .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #F2F2F2;
}

.mobile-nav-logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #101828;
}

.mobile-nav-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #111827;
  cursor: pointer;
  transition: background 250ms ease;
}

.mobile-nav-close:hover {
  background: #F7F7F7;
}

.mobile-nav-body {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-link {
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: #5E6470;
  text-decoration: none;
  border-radius: 12px;
  transition: all 250ms ease;
  position: relative;
}

.mobile-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 4px;
  height: 24px;
  background: #111827;
  border-radius: 0 4px 4px 0;
  transition: transform 250ms ease;
}

.mobile-link:hover {
  background: #F7F7F7;
  color: #111827;
}

.mobile-link.active {
  color: #111827;
}

.mobile-link.active::before {
  transform: translateY(-50%) scaleY(1);
}

.mobile-nav-footer {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-top: 1px solid #ECECEC;
  background: #ffffff;
}

.mobile-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.mobile-social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F7F7F7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  text-decoration: none;
  transition: background 250ms ease;
}

.mobile-social-links a:hover {
  background: #ECECEC;
}

.mobile-cta-full {
  width: 100%;
  height: 52px;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.mobile-cta-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 24, 40, 0.18);
}

.mobile-copyright {
  text-align: center;
  font-size: 14px;
  color: #A0AABF;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-item {
    font-size: 16px;
    font-weight: 600;
    color: #5E6470;
    text-decoration: none;
    transition: color 250ms ease;
    display: inline-block;
    position: relative;
  }

  .nav-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #111827;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 250ms ease;
  }

  .nav-item:hover {
    color: #111827;
  }

  .nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav-item.active {
    color: #111827;
  }

  .nav-item.active::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  .mobile-menu-btn {
    display: none;
  }
}
/* Hero */
.hero { min-height: 90vh; padding-top: calc(var(--space-128) + 88px); display: flex; align-items: center; }
.hero-container { display: grid; gap: var(--space-64); align-items: center; }
.hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-buttons { display: flex; flex-direction: column; width: 100%; gap: var(--space-16); margin-top: var(--space-16); }

@media (min-width: 992px) {
  .hero-container { grid-template-columns: 1fr 1fr; gap: var(--space-80); }
  .hero-content { align-items: flex-start; text-align: left; }
  .hero-buttons { flex-direction: row; width: auto; }
}

/* Mock Chart (Hero Visual) */
.mock-chart { 
  background: var(--bg-secondary); 
  border-radius: var(--radius-lg); 
  padding: var(--space-24); 
  height: 380px; 
  border: 1px solid var(--glass-border); 
  box-shadow: var(--shadow-xl); 
  position: relative;
}
.chart-header { display: flex; align-items: center; gap: 8px; margin-bottom: var(--space-24); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #FF5F56; } .dot.yellow { background: #FFBD2E; } .dot.green { background: #27C93F; }
.chart-title { font-size: 0.8125rem; color: var(--text-tertiary); margin-left: 8px; font-weight: 500; }
.chart-body { position: relative; height: calc(100% - 40px); border-bottom: 1px solid var(--glass-border); }
.candle { position: absolute; width: 12px; bottom: 10px; border-radius: 2px; }
.candle.up { background: var(--success); } .candle.down { background: var(--danger); opacity: 0.8; }
.signal-tag { position: absolute; top: -32px; left: 50%; transform: translateX(-50%); padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 700; color: #fff; box-shadow: var(--shadow-sm); letter-spacing: 0.5px; }
.signal-tag.buy { background: var(--success); } .signal-tag.take-profit { background: #3B82F6; }

/* Benefits / Features */

.feature-row { display: grid; gap: var(--space-48); align-items: center; }
.feature-list { margin-top: var(--space-32); display: flex; flex-direction: column; gap: var(--space-16); }
.feature-list li { position: relative; padding-left: 2rem; font-size: 1rem; color: var(--text-secondary); }
.feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; font-size: 1.125rem; }
@media (min-width: 992px) { .feature-row { grid-template-columns: 1fr 1fr; gap: var(--space-96); } }

/* ==========================================================================
   PREMIUM VIDEO GUIDE SECTION
   ========================================================================== */

.vg-section {
  position: relative;
  padding: 120px 0;
  background-color: #ffffff;
  overflow: hidden;
}

.vg-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top center, rgba(245, 248, 250, 1) 0%, rgba(255, 255, 255, 1) 70%);
  pointer-events: none;
  z-index: 0;
}

.vg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.05;
  background: #111827;
  pointer-events: none;
  z-index: 0;
}

.vg-circle-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
}

.vg-circle-2 {
  width: 500px;
  height: 500px;
  bottom: -200px;
  right: -100px;
}

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

.vg-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 80px auto;
}

.vg-badge-primary {
  display: inline-block;
  background: #F5F7FA;
  color: #111827;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 24px;
  border: 1px solid rgba(0,0,0,0.05);
}

.vg-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #111827;
  margin-bottom: 24px;
}

.vg-header p {
  font-size: 1.125rem;
  color: #5E6470;
  line-height: 1.6;
}

.vg-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .vg-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.vg-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 300ms ease;
  display: flex;
  flex-direction: column;
}

.vg-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.vg-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #F5F7FA;
}

.vg-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #F5F7FA;
  z-index: 1;
}

.vg-play-btn {
  width: 64px;
  height: 64px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  margin-bottom: 12px;
}

.vg-play-btn svg {
  margin-left: 4px;
}

.vg-placeholder span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #8C94A3;
}

.vg-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  border: none;
  transition: transform 300ms ease;
}

.vg-card:hover .vg-video-wrapper iframe {
  transform: scale(1.02);
}

.vg-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vg-lang-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5E6470;
  background: #F5F7FA;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.vg-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.vg-content p {
  font-size: 0.9375rem;
  color: #5E6470;
  line-height: 1.5;
  margin-bottom: 24px;
}

.vg-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.vg-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: #5E6470;
  padding: 6px 12px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
}

.vg-btn {
  margin-top: auto;
  width: 100%;
  background: #111827;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  height: 48px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 250ms ease;
}

.vg-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(17, 24, 39, 0.15);
  background: #1F2937;
}

.vg-btn:active {
  transform: scale(0.98);
}

/* Galleries */
.masonry-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-24); align-items: start; }
@media (min-width: 600px) { .masonry-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-32); } }
@media (min-width: 992px) { .masonry-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-skeleton { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0) 100%); background-size: 200% 100%; animation: shimmer 2s infinite linear; z-index: 1; }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.gallery-item { position: relative; cursor: zoom-in; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; background: var(--bg-dark); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); position: relative; z-index: 2; }
.gallery-item:hover img { transform: scale(1.03); }

/* Performance Counters */
.counter-val { font-size: clamp(3rem, 6vw, 4.5rem); font-family: var(--font-heading); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.counter-item span { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--text-tertiary); font-family: var(--font-heading); }
.counter-label { font-size: 0.8125rem; color: var(--text-secondary); margin-top: var(--space-12); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* Product Showcases */
.product-showcase-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-2xl);
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
}
.product-showcase-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.product-image-container {
  width: 100%;
  height: 260px;
  background: #fcfcfc;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.product-showcase-card:hover .product-image-container img {
  transform: scale(1.04);
}
.product-content {
  padding: var(--space-40);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-8);
}
.product-title-row h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111111;
  margin: 0;
  letter-spacing: -0.02em;
}
.product-badge {
  background: #f1f3f5;
  color: #555555;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.product-desc {
  font-size: 1rem;
  color: #555555;
  line-height: 1.5;
  margin-bottom: var(--space-24);
  max-width: 85%;
}
.product-price-block {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: var(--space-32);
}
.product-price-block .currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: #666666;
  transform: translateY(-8px);
}
.product-price-block .amount {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.04em;
  line-height: 1;
}
.product-price-block .period {
  font-size: 1rem;
  color: #888888;
  font-weight: 500;
  margin-left: 4px;
}
.product-price-block .old-price {
  font-size: 1rem;
  color: #999999;
  text-decoration: line-through;
  margin-left: var(--space-12);
}
.product-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12) var(--space-24);
  margin-bottom: var(--space-40);
  list-style: none;
  padding: 0;
}
.product-features-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: #444444;
  font-weight: 500;
}
.product-features-grid .feature-icon {
  width: 16px;
  height: 16px;
  color: #111111;
  flex-shrink: 0;
}
.product-action {
  margin-top: auto;
}
.product-action .btn {
  width: 100%;
  padding: 16px;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  background: #111111;
  color: #ffffff;
  border: none;
  transition: all 0.3s ease;
}
.product-action .btn:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
  .product-features-grid {
    grid-template-columns: 1fr;
  }
  .product-content {
    padding: var(--space-24);
  }
  .product-image-container {
    height: 200px;
  }
}

/* Testimonials */
.stars { color: #F59E0B; font-size: 1rem; margin-bottom: var(--space-24); display: flex; justify-content: center; gap: 4px; }
.quote { font-style: italic; margin-bottom: var(--space-24); font-size: 1.0625rem; color: var(--text-primary); }
.author { font-weight: 600; font-size: 0.875rem; color: var(--text-secondary); }


/* Community CTA */
.cta-card { background: var(--accent-gradient); padding: var(--space-80) var(--space-32); border-radius: var(--radius-xl); color: var(--bg-secondary); text-align: center; box-shadow: var(--shadow-xl); }
.cta-card h2 { color: var(--bg-secondary); margin-bottom: var(--space-16); }
.cta-card p { color: rgba(255, 255, 255, 0.8); max-width: 500px; margin: 0 auto; }
.glass-btn { border-color: rgba(255,255,255,0.2); color: var(--bg-secondary); }
.glass-btn:hover { background: var(--bg-secondary); color: var(--text-primary); border-color: var(--bg-secondary); }

/* Social Links */
.social-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--space-40) var(--space-32); background: var(--bg-secondary); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring); }
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.social-icon { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg-primary); font-size: 1.25rem; margin-bottom: var(--space-24); transition: all 0.3s ease; }
.social-card:hover .social-icon { background: var(--text-primary); color: var(--bg-secondary); }
.btn-link { font-weight: 500; font-size: 0.875rem; color: var(--text-secondary); margin-top: var(--space-24); }


/* ==========================================================================
   MODALS & OVERLAYS
   ========================================================================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); z-index: 2000; display: flex; justify-content: center; align-items: center; padding: var(--space-16); opacity: 1; transition: opacity 0.3s var(--ease-out); }
.modal-overlay.hidden { opacity: 0; pointer-events: none; }
.modal-content { width: min(100% - 2rem, 420px); max-width: 420px; background: var(--bg-secondary); border-radius: var(--radius-xl); padding: var(--space-48) var(--space-32); transform: scale(1); transition: transform 0.4s var(--ease-spring); max-height: 90vh; overflow-y: auto; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); position: relative; }
.modal-overlay.hidden .modal-content { transform: scale(0.95); }

.modal-close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--text-secondary); cursor: pointer; transition: background 0.2s ease; font-size: 1.25rem; }
.modal-close:hover { background: var(--bg-primary); color: var(--text-primary); }

.form-group { margin-bottom: var(--space-24); }
.form-group label { display: block; font-weight: 500; font-size: 0.875rem; color: var(--text-primary); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.875rem 1rem; border: 1px solid var(--glass-border); border-radius: var(--radius-md); font-family: inherit; font-size: 1rem; transition: all 0.2s ease; background: var(--bg-primary); box-sizing: border-box; }
.form-group textarea { resize: none; min-height: 160px; max-height: 300px; overflow-y: auto; }
.form-group input:focus { border-color: var(--text-primary); outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,0.05); background: var(--bg-secondary); }
.form-error { color: var(--danger); font-size: 0.875rem; margin-bottom: var(--space-16); text-align: center; min-height: 1.25rem; }

.btn-spinner { width: 1.25rem; height: 1.25rem; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; margin-left: 0.5rem; display: inline-block; }
.btn-spinner.hidden { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* Lightbox */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(4px); z-index: 2010; display: flex; justify-content: center; align-items: center; padding: 2rem; }
.lightbox-content { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-content img { max-width: 100%; max-height: 90vh; border-radius: var(--radius-md); object-fit: contain; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; color: #fff; opacity: 0.7; cursor: pointer; transition: opacity 0.2s ease; z-index: 2020; }
.lightbox-close:hover { opacity: 1; }

/* ==========================================================================
   ANIMATION UTILITIES
   ========================================================================== */
.js-enabled .fade-up { opacity: 0; transform: translateY(15px); will-change: transform, opacity; }
.js-enabled .fade-left { opacity: 0; transform: translateX(15px); will-change: transform, opacity; }
.js-enabled .fade-right { opacity: 0; transform: translateX(-15px); will-change: transform, opacity; }
.js-enabled .faq-stagger { opacity: 0; transform: translateY(40px); will-change: transform, opacity; }
.js-enabled .cta-stagger { opacity: 0; transform: translateY(40px); will-change: transform, opacity; }
.js-enabled .footer-stagger { opacity: 0; transform: translateY(40px); will-change: transform, opacity; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-page-wrapper {
  padding-top: calc(80px + var(--space-64));
  padding-bottom: var(--space-80);
  background-color: var(--bg-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-content {
  width: min(100% - 48px, 900px);
  margin-inline: auto;
  background: var(--bg-secondary);
  padding: clamp(var(--space-40), 6vw, var(--space-80));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--glass-border);
}

.legal-header {
  text-align: center;
  margin-bottom: var(--space-64);
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: var(--space-32);
}

.legal-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-16);
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: var(--text-primary);
}

.legal-last-updated {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-bottom: 0;
}

.legal-body h2 {
  font-size: 30px;
  font-weight: 700;
  margin-top: var(--space-48);
  margin-bottom: var(--space-16);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.legal-body p, .legal-body li {
  font-size: 18px;
  line-height: 1.8;
  max-width: 70ch;
  color: var(--text-secondary);
  margin-bottom: var(--space-24);
}

.legal-body ul, .legal-body ol {
  margin-bottom: var(--space-24);
  padding-left: var(--space-24);
}

.legal-body a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--glass-border);
  text-underline-offset: 4px;
}

.legal-body a:hover {
  text-decoration-color: var(--text-primary);
}

/* Loader */
.loader { display: none; }
.js-enabled .loader { display: flex; position: fixed; inset: 0; background: var(--bg-primary); z-index: 9999; justify-content: center; align-items: center; }
.loader-spinner { width: 32px; height: 32px; border: 2px solid var(--glass-border); border-top-color: var(--text-primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--text-primary); z-index: 1000; width: 0%; }
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; background: var(--bg-secondary); border-radius: 50%; box-shadow: var(--shadow-lg); display: flex; justify-content: center; align-items: center; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s var(--ease-spring); z-index: 1000; border: 1px solid var(--glass-border); }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }


/* ==========================================================================
   Bento Showcase Redesign
   ========================================================================== */
.bento-showcase { padding: var(--space-96) 0; overflow: hidden; }
.bento-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-top: var(--space-48);
}
@media (min-width: 768px) {
  .bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-24);
  }
}

/* Base Bento Card */
.bento-card {
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-32);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.bento-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
@media (prefers-color-scheme: dark) {
  .bento-card { background: #111111; border-color: #222; box-shadow: 0 10px 40px rgba(0,0,0,0.4); }
  .bento-card::before { background: radial-gradient(circle at top left, rgba(255,255,255,0.03) 0%, transparent 60%); }
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
@media (prefers-color-scheme: dark) {
  .bento-card:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.6); }
}

/* Feature Cards */
.bento-icon {
  width: 40px;
  height: 40px;
  color: var(--text-primary);
  margin-bottom: var(--space-24);
  opacity: 0.8;
  transition: transform 0.4s ease;
}
.bento-card:hover .bento-icon {
  transform: scale(1.1);
  opacity: 1;
}
.bento-feature h3 { font-size: 1.125rem; margin-bottom: var(--space-12); font-weight: 700; letter-spacing: -0.01em; }
.bento-feature p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* Large Hero Dashboard Card */
.bento-hero {
  grid-column: 1 / -1;
  padding: 0; /* Content goes edge to edge */
  display: flex;
  flex-direction: column;
  min-height: 400px;
  background: var(--bg-secondary);
}
@media (prefers-color-scheme: dark) { .bento-hero { background: #0a0a0a; } }
.bento-hero-header {
  height: 48px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: relative;
}
.mac-dots { display: flex; gap: 8px; }
.mac-dots span { width: 12px; height: 12px; border-radius: 50%; background: #e2e2e2; }
.mac-dots span:nth-child(1) { background: #ff5f56; }
.mac-dots span:nth-child(2) { background: #ffbd2e; }
.mac-dots span:nth-child(3) { background: #27c93f; }
.browser-title { position: absolute; left: 50%; transform: translateX(-50%); font-size: 0.75rem; color: var(--text-tertiary); font-family: var(--font-mono, monospace); letter-spacing: 0.5px; opacity: 0.7; }

/* CSS Mock Dashboard Layout */
.bento-dashboard-layout {
  display: flex;
  flex: 1;
  height: 350px;
}
.dashboard-sidebar {
  width: 80px;
  border-right: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  gap: 16px;
}
@media (min-width: 600px) { .dashboard-sidebar { width: 220px; align-items: flex-start; padding: 20px; } }
.sidebar-item { width: 40px; height: 12px; background: var(--glass-border); border-radius: 6px; opacity: 0.5; }
.sidebar-item.active { background: var(--text-primary); opacity: 0.8; width: 60px; }
@media (min-width: 600px) {
  .sidebar-item { width: 120px; }
  .sidebar-item.active { width: 160px; }
}
.sidebar-stat { margin-top: auto; text-align: center; width: 100%; }
@media (min-width: 600px) { .sidebar-stat { text-align: left; } }
.stat-value { font-size: 1.5rem; font-weight: 800; color: var(--success); letter-spacing: -1px; }
.stat-label { font-size: 0.7rem; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

/* Dashboard Chart Area */
.dashboard-main { flex: 1; position: relative; overflow: hidden; background: #050505; } /* Forced dark chart */
.chart-grid { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px); background-size: 40px 40px; }
.mock-candle { position: absolute; width: 6px; border-radius: 2px; }
@media (min-width: 600px) { .mock-candle { width: 12px; } }
.mock-candle::before { content: ''; position: absolute; top: -10px; bottom: -10px; left: 50%; width: 2px; transform: translateX(-50%); background: inherit; opacity: 0.5; }
.mock-candle.up { background: #22c55e; }
.mock-candle.down { background: #ef4444; }

.dashboard-marker {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  z-index: 2;
}
.dashboard-marker.buy { background: #22c55e; border: 1px solid rgba(255,255,255,0.2); }
.dashboard-marker.tp { background: #3b82f6; border: 1px solid rgba(255,255,255,0.2); }
.dashboard-marker::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid inherit; }
.dashboard-marker.buy::after { border-top-color: #22c55e; }
.dashboard-marker.tp::after { border-top-color: #3b82f6; }

.dashboard-notification {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 2;
}

@media (max-width: 600px) {
  .dashboard-notification {
    bottom: 16px;
    right: 16px;
    left: 16px;
    justify-content: center;
    font-size: 0.7rem;
  }
}


/* ==========================================================================
   Premium Dashboard & Bento Refinements (V5)
   ========================================================================== */
.subtitle-centered {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

/* Dashboard Header & Tabs */
.bento-hero-header {
  justify-content: space-between;
}
.dashboard-tabs {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 4px;
  gap: 4px;
}
@media (max-width: 600px) {
  .dashboard-tabs { display: none; } /* Hide tabs on very small screens for simplicity */
}
.tab-pill {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background: var(--text-primary);
  border-radius: 16px;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}
@media (prefers-color-scheme: dark) {
  .tab-pill { background: #333; }
}
.dash-tab {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 4px 16px;
  border-radius: 16px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.dash-tab.active {
  color: var(--bg-primary); /* Invert text color on pill */
}
@media (prefers-color-scheme: dark) {
  .dash-tab.active { color: #fff; }
}

/* Live Status */
.live-status {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 197, 94, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.8);
  animation: pulse-dot 2s infinite ease-in-out;
}
@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}
.status-text {
  font-size: 0.65rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: 0.5px;
}

/* Dashboard Views (Tab Content) */
.dashboard-main { position: relative; }
.dash-view {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}
.dash-view.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.mini-overview {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
}
.overview-pair { font-size: 0.85rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 12px; }
.overview-price { font-size: 1.25rem; font-family: var(--font-mono, monospace); letter-spacing: -0.5px; }
.overview-change { font-size: 0.75rem; font-weight: 600; padding: 2px 6px; border-radius: 4px; background: rgba(34,197,94,0.2); color: #22c55e; margin-top: 4px; display: inline-block; }

/* Signals View */
.signal-path { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.5; }
.signal-anim-1, .signal-anim-2, .signal-anim-3 { opacity: 0; transform: translate(-50%, 10px); }
.dashboard-marker.sell { background: #ef4444; border: 1px solid rgba(255,255,255,0.2); }
.dashboard-marker.sell::after { border-top-color: #ef4444; }

/* Performance View */
#view-performance { background: #050505; display: flex; flex-direction: column; }
.perf-layout { display: flex; gap: 24px; padding: 32px; z-index: 2; }
.perf-stat-box { display: flex; flex-direction: column; gap: 8px; }
.perf-label { font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 1px; }
.perf-val { font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -1px; }
.perf-val.success { color: #22c55e; }
.perf-chart-wrapper { flex: 1; position: relative; margin-top: auto; }
.perf-graph { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; }

/* Statistics Strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-24);
  padding: var(--space-32) var(--space-48);
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-24);
}
@media (min-width: 768px) {
  .stats-strip {
    grid-template-columns: repeat(4, 1fr);
    grid-column: 1 / -1; /* Span across bento grid */
    padding: var(--space-40) var(--space-48);
  }
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
@media (min-width: 768px) {
  .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--glass-border);
  }
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--space-8);
}
.stat-desc {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Dark Bento Cards (High Contrast) */
.bento-dark {
  background: #0a0a0a;
  border-color: #222;
  color: #fff;
  padding: 40px; /* Increased padding */
}
.bento-dark::before {
  background: radial-gradient(circle at top left, rgba(255,255,255,0.05) 0%, transparent 60%);
}
.bento-dark .bento-icon {
  color: #fff;
}
.bento-dark h3 {
  color: #f3f4f6; /* Near white */
  letter-spacing: 0.5px;
}
.bento-dark p {
  color: #a3a3a3; /* Soft light gray */
  line-height: 1.7;
}
.bento-dark:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.05);
}

/* ==========================================================================
/* ==========================================================================
   Product Experience Showcase (TradingView + Telegram)
   ========================================================================== */
.product-experience {
  padding: var(--space-128) 0;
  background-color: #0d0d0f; /* very dark to match TV */
  overflow: hidden;
}

.experience-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-64);
}

.experience-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.experience-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-24);
  color: #ffffff;
  text-wrap: balance;
}

.experience-header p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #a0a0a5;
  text-wrap: pretty;
}

/* Showcase Area */
.experience-showcase {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
}

/* TradingView Chart Container */
.tradingview-container {
  width: 100%;
  height: 100%;
  background-color: #131722; /* TV dark theme color */
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* Chart Grid lines */
.tv-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center;
}

.tv-chart-area {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.tv-candle {
  position: absolute;
  width: 8px;
  border-radius: 4px;
  z-index: 2;
}
@media (min-width: 768px) {
  .tv-candle { width: 12px; border-radius: 6px; }
}

.tv-candle.up { background-color: #089981; } /* TV Green */
.tv-candle.down { background-color: #f23645; } /* TV Red */

.tv-candle::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 40px);
  top: -20px;
  background-color: inherit;
  z-index: 1;
  opacity: 0.6;
}

/* TradingView Badges */
.tv-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  opacity: 0;
  white-space: nowrap;
}

.tv-buy { background-color: #089981; bottom: -30px; }
.tv-buy::after { content: ''; position: absolute; top: -4px; left: 50%; transform: translateX(-50%); border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 4px solid #089981; }

.tv-sell { background-color: #f23645; top: -30px; }
.tv-sell::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid #f23645; }

.tv-tp { background-color: #2962ff; top: -30px; }
.tv-sl { background-color: #f23645; bottom: -30px; }

/* TradingView Popup Alert */
.tv-alert-popup {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 280px;
  background-color: #1e222d;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  color: #d1d4dc;
  z-index: 10;
  opacity: 0;
  transform: translateX(20px);
}
@media (max-width: 600px) {
  .tv-alert-popup { top: 16px; right: 16px; width: 220px; }
}

.tv-alert-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.75rem;
  font-weight: 600;
  color: #2962ff;
}
.tv-alert-header .tv-time {
  margin-left: auto;
  color: #787b86;
  font-weight: 400;
}

.tv-alert-body {
  padding: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
}
.tv-alert-body strong { color: #ffffff; }

/* Telegram Notification Mockup */
.telegram-mockup {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  width: 320px;
  background-color: rgba(28, 36, 45, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  z-index: 20;
  opacity: 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .telegram-mockup {
    bottom: 24px;
    left: 24px;
    transform: translateY(20px);
  }
}

.tg-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: #2b5278; /* Telegram blue-ish */
}
.tg-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38a5e1, #2b5278);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 0.875rem;
  margin-right: 12px;
}
.tg-title-area { display: flex; flex-direction: column; }
.tg-title { color: #fff; font-weight: 600; font-size: 0.875rem; }
.tg-subtitle { color: rgba(255, 255, 255, 0.7); font-size: 0.7rem; }
.tg-time { margin-left: auto; color: rgba(255, 255, 255, 0.7); font-size: 0.75rem; }

.tg-body {
  padding: 16px;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.5;
}
.tg-body .tg-profit {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 8px;
  background-color: rgba(39, 201, 63, 0.2);
  color: #27c93f;
  border-radius: 4px;
  font-weight: 700;
}

/* Feature Blocks */
.experience-features {
  max-width: 1000px;
  width: 100%;
  margin-top: var(--space-48);
}

.feature-block {
  background-color: #1B1B1F;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: var(--space-48);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-radius: 12px;
  margin-bottom: var(--space-24);
}

.feature-block h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.feature-block p {
  color: #a0a0a5;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Demo CTA */
.experience-cta {
  text-align: center;
  max-width: 600px;
  margin: var(--space-64) auto 0;
  padding: var(--space-48);
  background-color: transparent;
}
.experience-cta h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: var(--space-16);
  color: #ffffff;
  letter-spacing: -0.02em;
}
.experience-cta p {
  color: #a0a0a5;
  margin-bottom: var(--space-32);
  line-height: 1.6;
}

/* High Contrast Watch Demo Button */
.experience-cta .experience-btn {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.experience-cta .experience-btn:hover {
  background-color: #f0f0f0;
  color: #000000;
  border-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.experience-cta .experience-btn:active {
  transform: translateY(0) scale(0.98);
}

.experience-cta .experience-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* ==========================================================================
   Features Section - Premium Polish
   ========================================================================== */
.bg-radial-subtle {
  background: radial-gradient(circle at center, #ffffff 0%, #fafafa 100%);
}

.premium-typography h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: var(--space-24);
  color: var(--text-primary);
}

.premium-typography p {
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 55ch;
  color: var(--text-secondary);
  margin-bottom: var(--space-40);
}

.premium-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-bottom: var(--space-40);
}

.feature-info-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  padding: var(--space-16) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border-radius: 8px;
}

.feature-info-row:hover {
  transform: translateY(-2px);
  background-color: rgba(0, 0, 0, 0.01);
}

.row-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: var(--text-primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.feature-info-row:hover .row-icon {
  transform: scale(1.05);
}

.row-text h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.row-text span {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: block;
}

.feature-cta-group {
  display: flex;
  gap: var(--space-16);
  flex-wrap: wrap;
}
.mt-8 { margin-top: var(--space-32); }

/* Alert Showcase Container */
.alert-showcase-container {
  position: relative;
  border-radius: 20px;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  perspective: 1000px;
}

.ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(0,0,0,0.05) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

.main-mockup-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0,0,0,0.05);
  /* GSAP will animate this */
}

/* Floating Alerts */
.live-alert-popup {
  position: absolute;
  top: 10%;
  right: -20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateX(20px);
}
@media (max-width: 768px) {
  .live-alert-popup { right: 10px; top: -10px; }
}

.bell-icon { font-size: 1.25rem; }
.alert-content { display: flex; flex-direction: column; }
.alert-content strong { font-size: 0.875rem; color: var(--text-primary); }
.alert-content span { font-size: 0.75rem; color: var(--text-secondary); }

.live-tg-popup {
  position: absolute;
  bottom: 15%;
  left: -30px;
  z-index: 10;
  background: rgba(43, 82, 120, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  width: 220px;
}
@media (max-width: 768px) {
  .live-tg-popup { left: 10px; bottom: -10px; }
}

.tg-head {
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.8;
}
.tg-msg {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ==========================================================================
   Indicator Preview Gallery
   ========================================================================== */
.interactive-gallery {
  padding-bottom: var(--space-64);
}

.gallery-wrapper {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.gallery-featured {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  background-color: #f8f9fa;
  border: 1px solid rgba(0,0,0,0.05);
}

.gallery-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.1);
}

.featured-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #eaeaea;
}

#featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.zoom-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  pointer-events: none;
}

.gallery-featured:hover .zoom-indicator {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.featured-caption {
  padding: var(--space-24);
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.05);
}
#featured-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
#featured-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Thumbnail Strip */
.thumbnail-strip {
  display: flex;
  gap: var(--space-16);
  overflow-x: auto;
  padding-bottom: var(--space-8);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.thumbnail-strip::-webkit-scrollbar { display: none; }

.thumb-item {
  flex: 1 1 0;
  min-width: 120px;
  aspect-ratio: 16/9;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 0;
  background-color: #eaeaea;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  padding: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.thumb-item:hover, .thumb-item.active {
  opacity: 1;
}
.thumb-item:hover .thumb-overlay, .thumb-item.active .thumb-overlay {
  opacity: 1;
}
.thumb-item.active {
  border-color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   Performance Statistics Redesign
   ========================================================================== */
.performance-stats {
  padding: var(--space-64) 0 var(--space-96) 0;
  background: var(--bg-primary); /* Seamless transition from gallery */
  position: relative;
}

.performance-stats::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
}

.stats-grid {
  align-items: stretch;
}

.metric-block {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 16px;
  padding: var(--space-32) var(--space-24);
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

.metric-val {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: var(--space-12);
  letter-spacing: -0.03em;
}

.metric-suffix {
  font-size: 50%;
  color: var(--text-tertiary);
  margin-left: 2px;
  font-weight: 600;
}

.metric-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-subtext {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Lightbox Navigation & Caption
   ========================================================================== */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: background 0.3s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

.lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.125rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  background: rgba(0,0,0,0.5);
  padding: 8px 16px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
  .lightbox-caption { font-size: 0.9375rem; bottom: 10px; }
}

/* ==========================================================================
   Community Section Polish
   ========================================================================== */
.community-header {
  max-width: 650px;
  margin: 0 auto var(--space-48) auto;
}

.community-header h2 {
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: var(--space-16);
}

.community-header p {
  line-height: 1.6;
  font-size: 1.125rem;
  color: var(--text-secondary);
}

.social-card {
  position: relative;
  padding: var(--space-32) var(--space-24);
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.social-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.1);
}

.primary-social-card {
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.08);
}

.community-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(34, 197, 94, 0.1); /* Soft Green */
  color: #166534;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.icon-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-24);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.5), 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.telegram-bg { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #0088cc; }
.instagram-bg { background: linear-gradient(135deg, #fce4ec, #f8bbd0); color: #e1306c; }
.youtube-bg { background: linear-gradient(135deg, #ffebee, #ffcdd2); color: #ff0000; }

.social-card:hover .icon-container {
  transform: scale(1.05);
}

.social-card-action {
  margin-top: auto;
  padding-top: var(--space-24);
}

.btn-link .arrow {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.social-card:hover .btn-link .arrow {
  transform: translateX(4px);
}

/* Fix grid spacing */
.social-grid {
  gap: var(--space-32);
}

/* ==========================================================================
   Premium Social Proof Section
   ========================================================================== */
.social-proof {
  padding: var(--space-96) 0;
  background-color: var(--bg-light);
  overflow: hidden;
}

.proof-header {
  max-width: 700px;
  margin: 0 auto var(--space-64) auto;
}

.proof-header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: var(--space-24);
}

.proof-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Top Grid Layout --- */
.proof-grid {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: var(--space-48);
  margin-bottom: var(--space-48);
  align-items: start;
}

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

/* --- Featured Screenshot (Left) --- */
.featured-proof-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  background: white;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
  cursor: pointer;
}

.featured-proof-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}

.featured-proof-card img {
  width: 100%;
  height: auto;
  display: block;
}

.verification-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 2;
}

.verification-badge .stars {
  color: #fbbf24;
  font-size: 0.875rem;
  letter-spacing: 2px;
}

.verification-badge .badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-primary);
}

.green-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.featured-caption {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: var(--space-16);
}

/* --- Premium Testimonial Cards (Right) --- */
.proof-testimonials {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.premium-testimonial {
  position: relative;
  background: white;
  border-radius: 22px;
  padding: var(--space-32);
  box-shadow: 0 4px 16px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
  overflow: hidden;
}

.premium-testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
}

.bg-quote {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 120px;
  height: 120px;
  color: rgba(0,0,0,0.02);
  pointer-events: none;
}

.premium-testimonial .stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: var(--space-16);
  letter-spacing: 2px;
}

.premium-testimonial .quote {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: var(--space-24);
  position: relative;
  z-index: 1;
}

.premium-testimonial .author-info {
  display: flex;
  flex-direction: column;
}

.premium-testimonial .author-info strong {
  font-weight: 600;
  font-size: 1rem;
}

.premium-testimonial .author-info span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* --- Bottom Screenshot Gallery --- */
.proof-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-24);
  margin-bottom: var(--space-48);
}

@media (max-width: 1024px) {
  .proof-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .proof-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: var(--space-16);
    padding-bottom: var(--space-16);
  }
  
  .proof-gallery-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

.proof-gallery-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #f8f9fa;
}

.proof-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}



/* --- Trust Strip --- */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: var(--space-24);
  background: white;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trust-strip .stars { color: #fbbf24; letter-spacing: 2px; }
.trust-strip strong { color: var(--text-primary); }

@media (max-width: 768px) {
  .trust-strip {
    border-radius: 20px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .trust-strip .divider { display: none; }
}

/* --- Large Testimonial Sync Layout --- */
.proof-testimonials-single {
  display: flex;
  height: 100%;
  align-items: center;
}

.large-testimonial {
  width: 100%;
  padding: var(--space-48);
  border-radius: 24px;
}

.large-testimonial .quote {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-32);
}

.large-testimonial .author-info strong {
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .large-testimonial {
    padding: var(--space-32);
  }
}




/* ==========================================================================
   Premium FAQ Section
   ========================================================================== */
.faq {
  padding: var(--space-96) 0;
  background-color: var(--bg-light);
}

.faq-header {
  max-width: 900px;
  margin: 0 auto var(--space-64) auto;
  text-align: center;
}

.faq-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-16);
}

.faq-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-48);
}

.faq-category {
  display: flex;
  flex-direction: column;
}

.faq-category-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-16);
  margin-bottom: var(--space-24);
}

.category-icon {
  font-size: 1.5rem;
  margin-top: 2px;
}

.faq-category-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-category-titles h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.faq-category-titles p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 0;
}

.faq-list {
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.faq-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background-color 200ms ease;
  border-left: 3px solid transparent;
}

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

.faq-item:hover {
  background-color: #fafafa;
  cursor: pointer;
}

.faq-item.active {
  background-color: #F8FBFF;
  border-left-color: #111827;
}

.faq-question-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-24);
  padding: 24px;
  min-height: 72px;
  box-sizing: border-box;
}

.faq-question {
  font-size: 1.125rem; /* 18px */
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  margin: 0;
}

.faq-toggle-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform 250ms cubic-bezier(0.16, 1, 0.3, 1), color 250ms;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--text-primary);
}

.faq-answer-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 250ms ease-out, opacity 250ms ease-out;
}

.faq-item.active .faq-answer-wrapper {
  opacity: 1;
}

.faq-answer {
  font-size: 1rem; /* 16px */
  font-weight: 400;
  line-height: 1.8;
  color: #6B7280;
  padding: 0 24px 24px 24px;
}

.faq-bottom-cta {
  max-width: 900px;
  margin: var(--space-48) auto 0 auto;
  text-align: center;
  padding: var(--space-40);
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.03);
}

.faq-bottom-cta .cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-bottom-cta h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-12);
}

.faq-bottom-cta p {
  color: var(--text-secondary);
  margin-bottom: var(--space-24);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .faq-container {
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }
  .faq-question-bar, .faq-answer {
    padding-left: var(--space-16);
    padding-right: var(--space-16);
  }
}


/* ==========================================================================
   Premium SaaS Footer (V6)
   ========================================================================== */

/* Pre-Footer CTA */
.pre-footer-cta {
  padding: 140px 0;
  text-align: center;
  background-color: #ffffff;
}

.pre-footer-cta .cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.pre-footer-cta h2 {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-24);
  color: #111827;
  line-height: 1.1;
}

.pre-footer-cta p {
  font-size: 16px;
  color: #111827;
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: var(--space-48);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.btn-cta-primary {
  background-color: #111827;
  color: #ffffff;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 300ms ease;
  border: none;
  cursor: pointer;
}

.btn-cta-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.15);
}

.btn-cta-secondary {
  background-color: transparent;
  color: #111827;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 300ms ease;
  border: 1px solid rgba(17, 24, 39, 0.2);
  cursor: pointer;
}

.btn-cta-secondary:hover {
  background-color: #111827;
  color: #ffffff;
}

/* Premium Footer */
.footer {
  background: #0F0F11;
  background-image: linear-gradient(180deg, #0F0F11, #080809);
  color: #ffffff;
  padding: 100px 0 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-48);
  margin-bottom: 0;
}

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

.brand-col {
  max-width: 260px;
}

.footer-logo {
  font-size: 34px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: var(--space-16);
  letter-spacing: -0.03em;
}

.footer-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: var(--space-32);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.68);
  transition: all 200ms ease;
}

.social-btn:hover {
  transform: translateY(-4px);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.05);
}

.social-btn:hover svg {
  transform: scale(1.08);
}

.social-btn svg {
  transition: transform 200ms ease;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: var(--space-24);
  letter-spacing: -0.01em;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 200ms ease;
  position: relative;
  display: inline-block;
  width: fit-content;
}

.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #ffffff;
  transition: width 200ms ease;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

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



/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 0;
  border-top: none;
}

.footer-divider {
  width: 100%;
  max-width: 1200px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin: 40px auto 24px auto;
}

.copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
  line-height: 1.6;
}

.disclaimer-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-48) var(--space-32);
  }
}

@media (max-width: 768px) {
  .pre-footer-cta h2 {
    font-size: 42px;
  }
}

@media (max-width: 576px) {
  .pre-footer-cta {
    padding: 100px 24px;
  }
  .pre-footer-cta h2 {
    font-size: 34px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .brand-col {
    max-width: 100%;
    align-items: center;
  }
  .footer-links {
    align-items: center;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .cta-buttons .btn-cta-primary,
  .cta-buttons .btn-cta-secondary {
    width: 100%;
    margin-bottom: 0;
  }
}


/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

#pricing {
    scroll-margin-top: 110px;
}




