/* ========================================
   DESIGN SYSTEM – DARK PREMIUM
   Prop Trading Landing Page
   Apex Capital
   ======================================== */

:root {
  --bg-primary: #020617;
  --bg-secondary: #0a0f1e;
  --bg-card: rgba(15, 23, 42, 0.55);
  --bg-card-hover: rgba(15, 23, 42, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(14, 165, 233, 0.3);
  --accent: #0ea5e9;
  --accent-secondary: #a3e635;
  --accent-glow: rgba(14, 165, 233, 0.35);
  --accent-soft: rgba(14, 165, 233, 0.08);
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px var(--accent-glow);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --noise-texture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='a' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23a)' opacity='.25'/%3E%3C/svg%3E");
}

/* ---- RESET ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--noise-texture);
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
}

/* Video Background adapted to Apex Colors */
.video-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  overflow: hidden;
  background-color: var(--bg-primary);
}

.video-bg {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  opacity: 0.18;
  filter: grayscale(80%) sepia(20%) hue-rotate(180deg) blur(2px) contrast(1.1);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top center, rgba(14, 165, 233, 0.12) 0%, rgba(2, 6, 23, 0.95) 100%);
  z-index: 1;
}

/* Base Typo */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 2.8vw, 3rem);
}

h3 {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

/* ---- BACKGROUND FX ---- */
.video-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -4;
  overflow: hidden;
  background: var(--bg-primary);
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  opacity: 0.3;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.4) 0%, rgba(2, 6, 23, 0.95) 100%);
  pointer-events: none;
}

.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  pointer-events: none;
  background: transparent;
}

.blob {
  position: absolute;
  filter: blur(100px);
  opacity: 0.2;
  border-radius: 50%;
  animation: blobFloat 25s infinite ease-in-out alternate;
}

.blob-1 {
  top: -15%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(16, 185, 129, 0.1));
}

.blob-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(15, 23, 42, 0.1));
  animation-delay: -12s;
}

@keyframes blobFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(4%, 4%) scale(1.04);
  }

  100% {
    transform: translate(-4%, -4%) scale(0.96);
  }
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section+.section {
  border-top: 1px solid var(--border-subtle);
}

/* ---- GRID ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-card,
.faq-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  min-height: 100%;
  position: relative;
  overflow: hidden;
}

.team-card::after {
  content: '';
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.35), transparent 60%);
  opacity: 0.8;
  filter: blur(30px);
}

.team-card>* {
  position: relative;
  z-index: 1;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.45), rgba(14, 165, 233, 0.1));
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.3);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  position: relative;
}

.team-avatar::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.4);
  opacity: 0.5;
}

.team-availability {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(2, 6, 23, 0.6);
  color: var(--text-primary);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.5);
}

.team-availability.status-open {
  border-color: rgba(34, 197, 94, 0.6);
  color: #34d399;
}

.team-availability.status-live {
  border-color: rgba(14, 165, 233, 0.6);
  color: var(--accent);
}

.team-availability.status-focus {
  border-color: rgba(251, 191, 36, 0.6);
  color: #facc15;
}

.team-availability.status-away {
  border-color: rgba(248, 113, 113, 0.6);
  color: #fca5a5;
}

.team-card h3 {
  margin-bottom: 0.35rem;
}

.team-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.team-card p,
.faq-card p {
  color: var(--text-secondary);
  line-height: 1.5;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.faq-indicator::before,
.faq-indicator::after {
  content: '';
  position: absolute;
  background: var(--text-primary);
  transition: transform 0.3s ease;
}

.faq-indicator::before {
  width: 12px;
  height: 2px;
}

.faq-indicator::after {
  width: 2px;
  height: 12px;
}

.faq-item .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-a {
  max-height: 250px;
  opacity: 1;
  margin-top: 0.8rem;
}

.faq-item.active .faq-indicator::after {
  transform: scaleY(0);
}

.faq-card h3 {
  margin-bottom: 0.6rem;
}

@media (max-width: 900px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .team-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 80px 0;
  }
}

/* ---- TYPOGRAPHY ---- */
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 850px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.15rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--text-muted);
}

/* ---- GLASS CARD ---- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(14, 165, 233, 0.08);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  font-family: var(--font);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  animation: btnShine 4s infinite;
}

@keyframes btnShine {
  0% {
    left: -100%;
  }

  25% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 16px 32px;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

/* ---- HERO ---- */
.hero {
  padding: 160px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.3), rgba(2, 6, 23, 0));
  filter: blur(30px);
}

.hero::after {
  background: linear-gradient(120deg, rgba(2, 6, 23, 0), rgba(2, 6, 23, 0.85) 80%);
}

.hero h1 {
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .container,
.hero h1,
.hero-sub,
.hero-bullets,
.hero-ctas,
.hero-proof {
  position: relative;
  z-index: 2;
}

.hero-sub {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-weight: 400;
}

.hero-bullets {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1.05rem;
}

.hero-bullets li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-proof {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-metrics {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.hero-metric {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.45), 0 0 25px rgba(14, 165, 233, 0.2);
  position: relative;
  overflow: hidden;
}


.hero-metric::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='120' viewBox='0 0 400 120'%3E%3Cdefs%3E%3ClinearGradient id='bull' x1='0' y1='1' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%2310b981' stop-opacity='0.15'/%3E%3Cstop offset='1' stop-color='%2310b981' stop-opacity='0.9'/%3E%3C/linearGradient%3E%3ClinearGradient id='bear' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23ef4444' stop-opacity='0.9'/%3E%3Cstop offset='1' stop-color='%23ef4444' stop-opacity='0.15'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg stroke='rgba(255,255,255,0.04)' stroke-width='1' stroke-dasharray='4,4'%3E%3Cline x1='0' y1='30' x2='400' y2='30'/%3E%3Cline x1='0' y1='60' x2='400' y2='60'/%3E%3Cline x1='0' y1='90' x2='400' y2='90'/%3E%3C/g%3E%3Cpath d='M0 60 Q 50 90 100 50 T 200 70 T 300 40 T 400 60' fill='none' stroke='rgba(14,165,233,0.5)' stroke-width='1.5'/%3E%3Cpath d='M0 80 Q 50 40 100 70 T 200 50 T 300 80 T 400 60' fill='none' stroke='rgba(16,185,129,0.25)' stroke-width='1'/%3E%3Cg stroke='rgba(255,255,255,0.15)' stroke-width='1' stroke-linecap='round'%3E%3Cline x1='40' y1='30' x2='40' y2='80'/%3E%3Cline x1='90' y1='50' x2='90' y2='100'/%3E%3Cline x1='140' y1='20' x2='140' y2='70'/%3E%3Cline x1='190' y1='40' x2='190' y2='90'/%3E%3Cline x1='240' y1='25' x2='240' y2='60'/%3E%3Cline x1='290' y1='55' x2='290' y2='95'/%3E%3Cline x1='340' y1='15' x2='340' y2='85'/%3E%3Cline x1='390' y1='45' x2='390' y2='100'/%3E%3C/g%3E%3Cg%3E%3Crect x='37' y='40' width='6' height='30' rx='1' fill='url(%23bull)'/%3E%3Crect x='87' y='60' width='6' height='25' rx='1' fill='url(%23bear)'/%3E%3Crect x='137' y='30' width='6' height='25' rx='1' fill='url(%23bull)'/%3E%3Crect x='187' y='55' width='6' height='25' rx='1' fill='url(%23bear)'/%3E%3Crect x='237' y='35' width='6' height='15' rx='1' fill='url(%23bull)'/%3E%3Crect x='287' y='65' width='6' height='20' rx='1' fill='url(%23bear)'/%3E%3Crect x='337' y='25' width='6' height='45' rx='1' fill='url(%23bull)'/%3E%3Crect x='387' y='55' width='6' height='35' rx='1' fill='url(%23bear)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 400px 100%;
  background-position: left center;
  background-repeat: repeat-x;
  opacity: 0.45;
  animation: candleScroll 20s linear infinite;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  z-index: 0;
  transition: opacity 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 0 0px rgba(0, 0, 0, 0));
}

.hero-metric:hover::before {
  opacity: 0.8;
  filter: drop-shadow(0 0 12px rgba(10, 150, 200, 0.4));
}

.hero-metric::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 6, 23, 0.6) 0%, rgba(2, 6, 23, 0.92) 100%);
  z-index: 0;
  pointer-events: none;
}

.hero-metric .data-label,
.hero-metric .data-value {
  position: relative;
  z-index: 1;
}

.hero-metric .data-value {
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}

.hero-ctas .btn-primary {
  animation: heroPulse 2.8s infinite;
}

@keyframes heroPulse {
  0% {
    transform: translateY(0);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.45);
  }

  55% {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(14, 165, 233, 0.35);
  }

  100% {
    transform: translateY(0);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.45);
  }
}

@keyframes candleScroll {
  0% {
    background-position: 0 center;
  }

  100% {
    background-position: -400px center;
  }
}

/* ---- PAIN CARDS ---- */
.pain-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius);
  background: var(--pain-gradient, linear-gradient(145deg, rgba(14, 165, 233, 0.15), rgba(2, 6, 23, 0.8)));
  position: relative;
  overflow: hidden;
}

.pain-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.2px);
  background-size: 4px 4px;
  opacity: 0.25;
  mix-blend-mode: screen;
  pointer-events: none;
}

.pain-card:nth-child(1) {
  --pain-gradient: linear-gradient(140deg, rgba(14, 165, 233, 0.35), rgba(2, 6, 23, 0.85));
}

.pain-card:nth-child(2) {
  --pain-gradient: linear-gradient(140deg, rgba(239, 68, 68, 0.3), rgba(2, 6, 23, 0.85));
}

.pain-card:nth-child(3) {
  --pain-gradient: linear-gradient(140deg, rgba(16, 185, 129, 0.3), rgba(2, 6, 23, 0.85));
}

.pain-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: block;
}

.pain-index {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(2, 6, 23, 0.55);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6);
}

.pain-card h3 {
  margin-bottom: 0.75rem;
}

.pain-card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.pain-close {
  text-align: center;
  margin-top: 4rem;
}

.pain-close h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.pain-close h3:last-child {
  color: var(--accent);
}

/* ---- COMPARISON ---- */
.compare-col {
  padding: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.15);
  position: relative;
  overflow: hidden;
}

.compare-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.compare-col:hover::after {
  opacity: 1;
}

.compare-col h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.compare-col-positive {
  border-color: rgba(14, 165, 233, 0.5);
  box-shadow: 0 18px 55px rgba(14, 165, 233, 0.18);
}

.compare-col-positive::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 60px;
  bottom: 60px;
  width: 2px;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0), rgba(14, 165, 233, 0.9), rgba(14, 165, 233, 0));
}

.compare-col-negative {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(239, 68, 68, 0.3);
}

.compare-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  margin: 1.5rem 0 2rem;
}

.toggle-pill {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}

.toggle-pill.active {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(14, 165, 233, 0.08));
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25);
}

.compare-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding-left: 1.25rem;
}

.compare-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0;
  margin-top: 2px;
  color: var(--text-primary);
  position: relative;
}

.compare-icon::after {
  content: '';
  width: 14px;
  height: 14px;
  mask-size: cover;
  mask-position: center;
  background: currentColor;
}

.compare-icon.negative {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
}

.compare-icon.negative::after {
  mask-image: url('data:image/svg+xml,%3Csvg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"%3E%3Cline x1="5" y1="5" x2="19" y2="19"/%3E%3Cline x1="19" y1="5" x2="5" y2="19"/%3E%3C/svg%3E');
}

.compare-icon.positive {
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent);
}

.compare-icon.positive::after {
  mask-image: url('data:image/svg+xml,%3Csvg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M5 13l4 4L19 7"/%3E%3C/svg%3E');
}

.compare-col-positive .compare-item::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 18px;
  width: 14px;
  height: 2px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.9), transparent);
}

.compare-item h4 {
  margin-bottom: 2px;
  font-size: 1.05rem;
}

.compare-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

.compare-close {
  text-align: center;
  margin-top: 4rem;
}

.compare-close p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.8;
}

.compare-close strong {
  color: var(--text-primary);
}

/* ---- DATA BOXES (50K / 100K) ---- */

.data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 3rem;
}

.data-grid-stack .data-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 45px rgba(2, 6, 23, 0.45);
  background: rgba(15, 23, 42, 0.75);
}

.data-grid-stack .data-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), transparent 70%);
  opacity: 0.7;
}

.data-grid-stack .data-label,
.data-grid-stack .data-value,
.micro-chart {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .data-grid {
    grid-template-columns: 1fr;
  }
}

.data-box {
  text-align: center;
  padding: 2rem;
}

.data-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.data-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.data-box.highlight {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.data-box.highlight .data-label {
  color: var(--accent);
}

.data-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 500;
}

.micro-chart {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.45rem;
  align-items: flex-end;
}

.chart-bar {
  flex: 1;
  height: calc(60px * var(--bar, 0.5));
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  position: relative;
  overflow: hidden;
}

.chart-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
}

.chart-bar.bar-prop {
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.95), rgba(14, 165, 233, 0.35));
}

.chart-bar.bar-broker {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.95), rgba(16, 185, 129, 0.35));
}

.chart-bar.bar-hedge {
  background: linear-gradient(180deg, rgba(236, 72, 153, 0.95), rgba(236, 72, 153, 0.35));
}

.schema-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.schema-step {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.schema-step.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.schema-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
}

@media (max-width: 600px) {
  .schema-flow {
    flex-direction: column;
  }

  .schema-arrow {
    transform: rotate(90deg);
  }
}

.section-close {
  text-align: center;
  margin-top: 3rem;
}

.section-close p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.8;
}

.section-close strong {
  color: var(--text-primary);
}

/* ---- BULLET LIST (100K) ---- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.check-list li svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ---- CONTINUITY ---- */
.continuity-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border-color: rgba(14, 165, 233, 0.45);
  background: rgba(15, 23, 42, 0.75);
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(14, 165, 233, 0.15);
}

.continuity-card::before,
.continuity-card::after {
  content: '';
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.4), transparent 60%);
  filter: blur(20px);
  opacity: 0.9;
}

.continuity-card::after {
  inset: auto;
  top: -70%;
  bottom: -70%;
  left: -20%;
  right: -20%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 60%);
}

.continuity-card>* {
  position: relative;
  z-index: 1;
}

.continuity-card h3 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.continuity-card p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.9;
  font-weight: 400;
}

/* ---- WHY FREE ---- */
.free-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.15);
  position: relative;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.7);
  transition: transform 0.35s ease;
}

.free-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(14, 165, 233, 0.3), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.free-card:hover {
  transform: translateY(-6px);
}

.free-card:hover::after {
  opacity: 1;
}

.free-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.25);
  animation: iconPulse 4s ease-in-out infinite;
}

.free-card .icon svg {
  color: var(--accent);
  animation: hueShift 6s linear infinite;
}

.free-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.free-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

@keyframes iconPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes hueShift {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(45deg);
  }
}

/* ---- STEPS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 3rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0), rgba(14, 165, 233, 0.8), rgba(14, 165, 233, 0));
  pointer-events: none;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.7);
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: var(--bg-primary);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.5);
}

.step-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), transparent 80%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-card:hover::after {
  opacity: 1;
}

.step-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 12px;
  left: 20px;
  line-height: 1;
}

.step-card h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .steps-grid::before {
    display: none;
  }
}

.cta-foot {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(2, 6, 23, 0.6);
  box-shadow: 0 12px 35px rgba(2, 6, 23, 0.5);
}

.cta-badge {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.68rem;
  color: var(--accent);
}

.cta-counter {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cta-counter strong {
  font-size: 1.1rem;
  color: var(--text-primary);
}

/* ---- FORM ---- */
.form-container {
  max-width: 550px;
  margin: 3rem auto 0;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: rgba(15, 23, 42, 0.8);
}

.form-control::placeholder {
  color: var(--text-muted);
}

select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

select.form-control option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

/* ---- FOOTER ---- */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.disclaimer-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ---- REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1), transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.2s;
}

.reveal-delay-2 {
  transition-delay: 0.4s;
}

.reveal-delay-3 {
  transition-delay: 0.6s;
}

.reveal-delay-4 {
  transition-delay: 0.8s;
}

/* ---- UTILITY TOKENS ---- */
.pill-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(2, 6, 23, 0.55);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.2);
}

.glass-outline {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(12px);
}

.text-accent-secondary {
  color: var(--accent-secondary);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1.1rem;
  }

  .hero-bullets {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn {
    width: 100%;
    max-width: 340px;
  }

  .form-container {
    padding: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

/* ═══════════════════ NAVBAR ═══════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.4rem 0;
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(14, 165, 233, 0.08);
  box-shadow: 0 25px 80px rgba(2, 6, 23, 0.65);
  transition: all 0.35s ease;
  isolation: isolate;
}

.navbar-ema-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  clip-path: inset(0);
}

.navbar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.18), rgba(14, 165, 233, 0) 70%);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

.navbar::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 12%;
  right: 12%;
  height: 40px;
  background: radial-gradient(ellipse at top, rgba(14, 165, 233, 0.35), rgba(14, 165, 233, 0));
  filter: blur(35px);
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

.navbar.scrolled {
  padding: 0.22rem 0;
  background: rgba(2, 6, 23, 0.92);
  border-bottom-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 18px 70px rgba(2, 6, 23, 0.85);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  letter-spacing: -0.5px;
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0.15rem 0.85rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
  border-radius: 12px;
  box-shadow: 0 16px 26px rgba(15, 23, 42, 0.32), 0 6px 24px rgba(14, 165, 233, 0.2);
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
}

.logo-chip::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(148, 163, 184, 0.18);
  pointer-events: none;
}

.navbar.scrolled .logo-chip {
  height: 40px;
  padding: 0.12rem 0.65rem;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.32), 0 4px 18px rgba(14, 165, 233, 0.18);
}

.logo-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.logo-text {
  display: inline-flex;
  gap: 6px;
  line-height: 1;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  transition: letter-spacing 0.35s ease, opacity 0.35s ease;
}

.logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.logo-accent {
  color: var(--accent);
}

.navbar.scrolled .logo-text {
  letter-spacing: 0.2em;
  opacity: 0.85;
}

.navbar-logo-img {
  height: 66px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(14, 165, 233, 0.4)) brightness(1.05);
  transition: all 0.35s ease;
  margin: -10px 0;
}

.navbar.scrolled .navbar-logo-img {
  height: 56px;
  filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.3)) brightness(1);
  margin: -6px 0;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-link {
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.3rem;
  white-space: nowrap;
  transition: color 0.3s ease, text-shadow 0.3s ease, transform 0.3s ease;
  text-shadow: 0 0 0 rgba(14, 165, 233, 0);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(120deg, rgba(14, 165, 233, 0.9), rgba(14, 165, 233, 0.2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(14, 165, 233, 0.8);
  transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.65);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
  white-space: nowrap;
}

.nav-status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

#user-name {
  white-space: nowrap;
  font-weight: 600;
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* ── Hamburger Button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-hamburger:hover {
  background: rgba(14, 165, 233, 0.18);
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 992px) {
  .nav-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
  }

  .nav-hamburger {
    display: flex;
    position: relative;
    z-index: 999;
  }

  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.98);
    border-top: 1px solid rgba(14, 165, 233, 0.12);
    border-bottom: 1px solid rgba(14, 165, 233, 0.12);
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.8);
    z-index: 999;
  }

  .nav-main.open {
    display: flex;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 0.85rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }

  .nav-status-pill {
    display: inline-flex;
    align-self: flex-start;
  }

  .auth-buttons {
    display: flex;
    gap: 0.75rem;
    width: 100%;
  }

  .auth-buttons .btn,
  .auth-buttons button {
    flex: 1;
  }

  .user-profile {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

.btn-primary-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  background: var(--accent);
  color: white;
  border-radius: 6px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline-sm:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
}

/* ═══════════════════ MODALS ═══════════════════ */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.auth-modal {
  position: relative;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(8, 47, 119, 0.85));
  border: 1px solid rgba(14, 165, 233, 0.2);
  box-shadow: 0 35px 60px rgba(15, 23, 42, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-modal::before {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.auth-modal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.18), transparent 45%);
  pointer-events: none;
}

.auth-modal>*:not(.close-modal) {
  position: relative;
  z-index: 1;
}

.modal-content {
  width: 90%;
  max-width: 450px;
  padding: 2.5rem;
  position: relative;
  border-color: rgba(255, 255, 255, 0.1);
  max-height: 92vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.6) transparent;
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.6);
  border-radius: 999px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.auth-modal form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.auth-modal .form-group {
  margin-bottom: 0;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.modal-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.4), transparent);
  opacity: 0.7;
  margin: 0.25rem 0 1.25rem;
}

.modal-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--accent);
  margin-bottom: 0.9rem;
  background: rgba(15, 23, 42, 0.45);
}

.modal-security-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.security-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--text-secondary);
}

.security-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.7);
}

.modal-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
  position: relative;
  z-index: 1;
}

.highlight-chip {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-secondary);
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
}

@media (min-width: 520px) {
  .modal-highlights {
    justify-content: flex-start;
  }
}

.input-shell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.85rem;
  background: rgba(2, 6, 23, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.input-shell:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.input-shell .form-control {
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
  flex: 1;
}

.input-shell .form-control:focus {
  box-shadow: none;
}

.input-icon {
  font-size: 1.1rem;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.7));
}

.form-security {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(15, 23, 42, 0.55);
  align-items: flex-start;
}

.form-security strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.form-security p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.security-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.modal-foot {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.modal-foot .modal-switch {
  margin: 0;
  text-align: center;
  color: var(--text-secondary);
}

.modal-foot .modal-switch a {
  color: var(--accent);
}

@media (max-width: 640px) {
  .modal-content {
    padding: 2rem 1.5rem 2.25rem;
  }

  .modal-highlights {
    flex-direction: column;
  }
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--accent);
}

.modal h2 {
  margin-bottom: 0.5rem;
  text-align: center;
}

.modal p {
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.modal-switch {
  margin-top: 1.5rem;
  font-size: 0.85rem;
}

.modal-switch a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.w-full {
  width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════ APP SHOWCASE ═══════ */
.app-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.app-showcase-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 220px;
  height: 440px;
  background: rgba(15, 23, 42, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: phoneFloat 5s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.phone-notch {
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  margin: 0 auto 16px;
}

.phone-screen {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-header-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.phone-logo-mock {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #0284c7);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.phone-line-short {
  width: 60px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.phone-card-mock {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  animation: cardSlideIn 0.6s ease backwards;
}

.phone-card-mock.card-1 { animation-delay: 0.8s; }
.phone-card-mock.card-2 { animation-delay: 1.1s; }
.phone-card-mock.card-3 { animation-delay: 1.4s; }

@keyframes cardSlideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.phone-icon-mock {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.phone-icon-mock.icon-blue {
  background: rgba(14, 165, 233, 0.2);
  box-shadow: inset 0 0 12px rgba(14, 165, 233, 0.3);
}

.phone-icon-mock.icon-green {
  background: rgba(16, 185, 129, 0.2);
  box-shadow: inset 0 0 12px rgba(16, 185, 129, 0.3);
}

.phone-icon-mock.icon-purple {
  background: rgba(139, 92, 246, 0.2);
  box-shadow: inset 0 0 12px rgba(139, 92, 246, 0.3);
}

.phone-lines-mock {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.phone-line-mock {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.phone-line-mock.w80 { width: 80%; }
.phone-line-mock.w70 { width: 70%; }
.phone-line-mock.w60 { width: 60%; }
.phone-line-mock.w50 { width: 50%; }
.phone-line-mock.w45 { width: 45%; }
.phone-line-mock.w40 { width: 40%; }

.phone-arrow-mock {
  width: 6px;
  height: 6px;
  border-right: 2px solid rgba(255, 255, 255, 0.2);
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  transform: rotate(-45deg);
  flex-shrink: 0;
}

.phone-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.2), transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.3); }
}

.app-showcase-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.app-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.app-feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-feature:hover .app-feature-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
}

.app-feature-icon.green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.app-feature:hover .app-feature-icon.green {
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.app-feature-icon.purple {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
}

.app-feature:hover .app-feature-icon.purple {
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.app-feature h3 {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.app-feature p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .app-showcase {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .phone-mockup {
    width: 180px;
    height: 360px;
  }
}

/* ═══════ TELEGRAM BANNER ═══════ */
.telegram-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem;
  animation: slideUpBanner 0.5s ease-out;
}

@keyframes slideUpBanner {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.telegram-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid rgba(0, 136, 204, 0.3) !important;
  background: rgba(2, 6, 23, 0.95) !important;
  backdrop-filter: blur(20px);
}

.telegram-card-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.telegram-info {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.telegram-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 136, 204, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0088cc;
}

.telegram-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.telegram-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.telegram-info p strong {
  color: var(--text-primary);
}

.telegram-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-telegram {
  background: #0088cc !important;
  color: white !important;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-telegram:hover {
  background: #006fa3 !important;
  transform: translateY(-1px);
}

.telegram-status {
  font-size: 0.85rem;
  color: var(--text-secondary);
  min-height: 1.2em;
}

.telegram-dismiss {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.telegram-dismiss:hover {
  color: var(--text-primary);
}

@media (max-width: 600px) {
  .telegram-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .telegram-actions {
    justify-content: center;
  }
}

/* Adjust Hero for Navbar */
.hero {
  padding-top: 10rem !important;
}

/* ═══════════════════ FLOATING SOCIAL BUTTONS ═══════════════════ */
.social-float {
  position: fixed;
  left: 1.2rem;
  bottom: 50%;
  transform: translateY(50%);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0;
  animation: socialFloatIn 0.6s ease-out both;
  animation-delay: 1.5s;
}

@keyframes socialFloatIn {
  from { opacity: 0; transform: translateY(50%) translateX(-30px); }
  to   { opacity: 1; transform: translateY(50%) translateX(0); }
}

.social-float-icons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.social-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.social-float-btn:hover {
  transform: scale(1.15);
}

.social-tg {
  background: linear-gradient(135deg, #0088cc, #00aaff);
  box-shadow: 0 0 18px rgba(0, 136, 204, 0.4), 0 0 35px rgba(0, 136, 204, 0.15);
  animation: socialPulseTg 2.5s ease-in-out infinite;
}

@keyframes socialPulseTg {
  0%, 100% { box-shadow: 0 0 18px rgba(0, 136, 204, 0.4), 0 0 35px rgba(0, 136, 204, 0.15); }
  50%      { box-shadow: 0 0 24px rgba(0, 136, 204, 0.6), 0 0 45px rgba(0, 136, 204, 0.25); }
}

.social-tg:hover {
  box-shadow: 0 0 30px rgba(0, 136, 204, 0.6), 0 0 60px rgba(0, 136, 204, 0.3);
}

.social-ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 0 18px rgba(225, 48, 108, 0.4), 0 0 35px rgba(225, 48, 108, 0.15);
  animation: socialPulseIg 2.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

@keyframes socialPulseIg {
  0%, 100% { box-shadow: 0 0 18px rgba(225, 48, 108, 0.4), 0 0 35px rgba(225, 48, 108, 0.15); }
  50%      { box-shadow: 0 0 24px rgba(225, 48, 108, 0.6), 0 0 45px rgba(225, 48, 108, 0.25); }
}

.social-ig:hover {
  box-shadow: 0 0 30px rgba(225, 48, 108, 0.6), 0 0 60px rgba(225, 48, 108, 0.3);
}

.social-float-label {
  position: absolute;
  left: 58px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  animation: socialLabelBounce 2s ease-in-out infinite;
}

.tg-float-arrow {
  display: inline-block;
  animation: socialArrowBounce 1.2s ease-in-out infinite;
}

@keyframes socialLabelBounce {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50%      { transform: translateY(-50%) translateX(4px); }
}

@keyframes socialArrowBounce {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(3px); }
}

/* Mobile */
@media (max-width: 768px) {
  .social-float {
    left: 0.8rem;
    bottom: 1.2rem;
    transform: none;
  }

  @keyframes socialFloatIn {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
  }

  .social-float-icons {
    flex-direction: row;
    gap: 0.5rem;
  }

  .social-float-btn {
    width: 42px;
    height: 42px;
  }

  .social-float-btn svg {
    width: 20px;
    height: 20px;
  }

  .social-float-label {
    left: auto;
    bottom: 52px;
    top: auto;
    transform: none;
    font-size: 0.72rem;
    padding: 0.35rem 0.7rem;
  }

  @keyframes socialLabelBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
  }
}