/* ============================================================
   GOLIATHS.IO — Styles
   Light theme, Goliaths brand blue (#0066FF)
   ============================================================ */

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

:root {
  --color-primary: #0066FF;
  --color-primary-light: #3C7AF0;
  --color-primary-dark: #1A3E9C;
  --color-primary-bg: rgba(0, 102, 255, 0.06);
  --color-primary-bg-hover: rgba(0, 102, 255, 0.10);
  --color-neutral: #0A0D14;
  --color-success: #22C55E;
  --color-success-bg: rgba(34, 197, 94, 0.08);
  --color-bg: #FFFFFF;
  --color-bg-soft: #F5F7FA;
  --color-surface: #FFFFFF;
  --color-text: #0A0D14;
  --color-text-muted: #6B7280;
  --color-border: #E5E7EB;
  --color-gradient: linear-gradient(135deg, #0066FF, #3C7AF0);

  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-hero: clamp(3rem, 6vw, 5.5rem);
  --text-h2: clamp(2rem, 4vw, 3.5rem);
  --text-h3: clamp(1.25rem, 2vw, 1.75rem);
  --text-body: 1rem;
  --text-small: 0.875rem;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-10: 40px; --space-12: 48px;
  --space-16: 64px; --space-20: 80px; --space-24: 96px; --space-32: 128px;

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px;
  --radius-xl: 24px; --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.1);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-card-hover: 0 4px 12px rgba(0,0,0,0.06), 0 16px 40px rgba(0,0,0,0.1);
  --shadow-primary: 0 4px 16px rgba(0, 102, 255, 0.3);
  --shadow-primary-hover: 0 6px 24px rgba(0, 102, 255, 0.4);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.section-tag {
  display: inline-block;
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.6;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-primary-hover);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-border);
}
.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-bg);
}

.btn--lg { padding: var(--space-4) var(--space-8); font-size: 1rem; }
.btn--xl { padding: var(--space-6) var(--space-10); font-size: 1.125rem; border-radius: var(--radius-lg); }

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base);
}
.nav--scrolled { border-bottom-color: var(--color-border); }

.nav__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.nav__links { display: flex; gap: var(--space-8); }

.nav__link {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
  border-radius: 1px;
}
.nav__link:hover { color: var(--color-text); }
.nav__link:hover::after { width: 100%; }

.nav__cta {
  font-size: var(--text-small);
  font-weight: 600;
  color: white;
  background: var(--color-primary);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav__cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all var(--transition-base);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}
.mobile-menu--open { opacity: 1; pointer-events: auto; }
.mobile-menu__link { font-size: 1.5rem; font-weight: 600; color: var(--color-text); transition: color var(--transition-fast); background: none; border: none; cursor: pointer; font-family: inherit; }
.mobile-menu__link:hover { color: var(--color-primary); }
.mobile-menu__link--cta {
  color: white;
  background: var(--color-primary);
  padding: var(--space-4) var(--space-10);
  border-radius: var(--radius-full);
  font-size: 1.125rem;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-16);
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-32) var(--space-6) var(--space-16);
}

.hero__container {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-success-bg);
  border: 1px solid rgba(34,197,94,0.2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-small);
  font-weight: 500;
  color: #16a34a;
  width: fit-content;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero__title-line { display: block; }
.hero__title-line--gradient {
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 480px;
}

.hero__actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }

.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}
.hero__stat-value { display: block; font-size: 1.5rem; font-weight: 700; color: var(--color-text); }
.hero__stat-label { display: block; font-size: var(--text-small); color: var(--color-text-muted); margin-top: var(--space-1); }
.hero__stat-divider { width: 1px; height: 40px; background: var(--color-border); }

/* Hero visual / phone mockup */
.hero__visual { position: relative; display: flex; justify-content: center; }

/* Hero phone — same frame style as products phone */
.hero__phone {
  width: 280px;
  background: #0A0D14;
  border-radius: 36px;
  box-shadow: 0 25px 80px rgba(0,0,0,0.15), 0 4px 20px rgba(0,0,0,0.08);
  border: 6px solid #1a1a2e;
  overflow: hidden;
  position: relative;
}
.hero__phone-frame {
  display: block;
  position: relative;
  overflow: hidden;
  background: #F5F7FA;
}
/* Hero phone image — fills the frame, preserves aspect ratio */
.hero__phone-image {
  display: block;
  width: 100%;
  height: auto;
}

/* --- COPY INVEST MOCKUP --- */
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-4);
}
.mock-header__title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.mock-perf {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  padding: var(--space-3);
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
}
.mock-perf__chart { flex: 1; }
.mock-perf__svg { width: 100%; height: auto; }
.mock-perf__numbers { text-align: right; }
.mock-perf__value {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-success);
}
.mock-perf__label {
  display: block;
  font-size: 0.55rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}
.mock-perf__vs {
  display: block;
  font-size: 0.55rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.mock-headline {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.mock-headline strong {
  color: var(--color-primary);
}

.mock-activity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2);
}
.mock-activity__title { font-size: 0.7rem; font-weight: 700; }
.mock-activity__link { font-size: 0.6rem; color: var(--color-primary); font-weight: 500; }

.mock-activity__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.mock-activity__card {
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
}
.mock-activity__card-val {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
}
.mock-activity__card-label {
  display: block;
  font-size: 0.5rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.mock-experts {
  margin-bottom: var(--space-3);
}
.mock-experts__title {
  font-size: 0.7rem;
  font-weight: 700;
}

.mock-investor {
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  padding: var(--space-3);
  margin-bottom: var(--space-2);
}
.mock-investor__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.mock-investor__avatar {
  width: 24px; height: 24px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mock-investor__avatar--2 { background: var(--color-primary-dark); }
.mock-investor__info { flex: 1; min-width: 0; }
.mock-investor__name { display: block; font-size: 0.65rem; font-weight: 600; }
.mock-investor__sub { display: block; font-size: 0.5rem; color: var(--color-primary); }
.mock-investor__followers {
  font-size: 0.5rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.mock-investor__chart {
  margin-bottom: var(--space-2);
}
.mock-investor__chart svg {
  width: 100%;
  height: auto;
}

.mock-investor__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-investor__perf {
  font-size: 0.65rem;
  color: var(--color-text);
}
.mock-investor__perf strong {
  color: var(--color-success);
  font-size: 0.75rem;
}
.mock-investor__btn {
  font-size: 0.6rem;
  font-weight: 600;
  color: white;
  background: var(--color-primary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

/* Floating elements */
.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-small);
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--color-border);
}
.hero__float--1 { top: 15%; right: -20px; }
.hero__float--2 { bottom: 20%; left: -30px; }

/* --- LOGOS --- */
.logos {
  padding: var(--space-16) var(--space-6);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.logos__container { max-width: 1200px; margin: 0 auto; text-align: center; }
.logos__label {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: var(--space-8);
}
.logos__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}
.logos__item {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-muted);
  opacity: 0.4;
  transition: opacity var(--transition-base);
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: default;
}
a.logos__item { cursor: pointer; }
.logos__item:hover { opacity: 0.7; }

/* --- PRODUCTS STICKY SCROLL --- */
.products-sticky-wrapper {
  position: relative;
  /* Extra height = phone scroll content height. JS will set this dynamically */
  background: var(--color-bg-soft);
}
.products-sticky-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* --- PRODUCTS --- */
.products {
  padding: var(--space-12) var(--space-6) var(--space-8);
  background: var(--color-bg-soft);
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.products__container { max-width: 1200px; margin: 0 auto; }
.products__header { text-align: center; margin-bottom: var(--space-8); }
.products__header .section-subtitle { margin: 0 auto; }

/* 3-column grid: cards | phone | cards */
.products__grid3 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-8);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.products__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* Product card */
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  transition: all var(--transition-slow);
  cursor: pointer;
}
.product-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0,102,255,0.15);
  transform: translateY(-6px);
}
.product-card__icon { margin-bottom: var(--space-4); }
.product-card__arrow {
  position: absolute;
  top: var(--space-6); right: var(--space-6);
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  background: var(--color-primary-bg);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-base);
}
.product-card:hover .product-card__arrow { background: var(--color-primary); }
.product-card:hover .product-card__arrow svg path { stroke: white; }
.product-card__title { font-size: 1.125rem; font-weight: 700; margin-bottom: var(--space-2); }
.product-card__desc { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.55; }

/* Phone column */
.products__phone-col {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.products__phone-glow {
  position: absolute;
  width: 400px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,102,255,0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.products__phone {
  width: 280px;
  max-height: calc(100vh - 340px);
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.15), 0 4px 20px rgba(0,0,0,0.08);
  border: 3px solid #2a2a3a;
  overflow: hidden;
  background: #0A0D14;
  display: flex;
  flex-direction: column;
}

.products__phone-frame {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* App header image (replaces HTML status bar + header) */
.app__header-img {
  display: block;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

/* App status bar (dark) */
.app__statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 16px 2px;
  font-size: 0.6rem;
  font-weight: 600;
  color: white;
  background: #12172E;
}
.app__statusbar-icons { display: flex; gap: 4px; align-items: center; }

/* App header (dark) */
.app__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  background: #12172E;
}
.app__header-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  letter-spacing: 0.08em;
}

/* App body (light rounded) — flex column with chrome at top + scroll-driven image viewport */
.app__body {
  background: #FFFFFF;
  border-radius: 16px 16px 0 0;
  padding: 14px 12px 0;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Long screenshot viewport — image translates Y based on page scroll.
   Top fade lets image scroll cleanly "under" the ticker, bottom fade
   blends into the bottom nav for a polished look. */
.app__image-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
  margin: 0 -12px;
  border-radius: 0;
}
.app__image-scroll {
  display: block;
  width: 100%;
  height: auto;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
/* Products phone: completely transparent to mouse — scroll passes through to page */
.products__phone,
.products__phone * {
  pointer-events: none;
}

.app__invest-header {
  margin-bottom: 8px;
}
.app__invest-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}
.app__search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  font-size: 0.6rem;
  color: #9CA3AF;
}

/* Ticker — infinite scroll animation */
.app__ticker {
  display: flex;
  gap: 12px;
  font-size: 0.62rem;
  color: var(--color-success);
  font-weight: 500;
  padding: 4px 0 6px;
  margin-bottom: 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background: #F5F7FA;
  z-index: 2;
}
.app__ticker-track {
  display: flex;
  gap: 12px;
  animation: tickerScroll 12s linear infinite;
  white-space: nowrap;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.app__ticker-track::after {
  content: '';
  display: inline-flex;
}

/* (live price animations removed) */

/* Chart line draw animation */
@keyframes chartDraw {
  from { stroke-dashoffset: 200; }
  to { stroke-dashoffset: 0; }
}
.app__excard-chart svg path:first-of-type {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}
.app__excard.anim-active .app__excard-chart svg path:first-of-type {
  animation: chartDraw 1.5s ease forwards;
}

/* Smooth auto-scroll for phone body */
@keyframes phoneScroll {
  0%, 10% { transform: translateY(0); }
  40%, 60% { transform: translateY(-35%); }
  90%, 100% { transform: translateY(0); }
}
.app__body--scrolling .app__body-inner {
  animation: phoneScroll 12s ease-in-out infinite;
}

/* Expert card subtle float */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* (stock icon pulse removed) */

/* Playlist wave animation */
@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-10px); }
}
.app__pl-wave svg {
  animation: waveMove 3s ease-in-out infinite alternate;
}

/* Feature card shimmer */
@keyframes shimmer {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}
.app__fcard::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
  border-radius: inherit;
  pointer-events: none;
}

/* (badge pulse removed) */

/* --- COPY INVEST PAGE (Hero phone) --- */
.ci__perf {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.ci__chart-wrap {
  flex: 1;
  position: relative;
}
.ci__chart-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  z-index: 1;
}
.ci__chart-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ci__chart-svg { width: 100%; height: auto; margin-top: 14px; }
.ci__stats { text-align: right; min-width: 0; }
.ci__stats-value {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-success);
}
.ci__stats-label {
  display: block;
  font-size: 0.35rem;
  color: var(--color-text-muted);
  line-height: 1.3;
  margin-bottom: 3px;
}
.ci__stats-vs {
  display: block;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--color-success);
}
.ci__headline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: 10px;
  text-align: center;
}
.ci__headline strong { color: var(--color-primary); }

.ci__activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.ci__activity-title { font-size: 0.58rem; font-weight: 700; }
.ci__activity-link { font-size: 0.45rem; color: var(--color-primary); font-weight: 500; }
.ci__activity-cards {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
}
.ci__activity-card {
  flex: 1;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ci__activity-val { font-size: 0.65rem; font-weight: 700; }
.ci__activity-label { font-size: 0.38rem; color: var(--color-text-muted); }

.ci__experts-title {
  font-size: 0.6rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.ci__experts-sub {
  font-size: 0.4rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Investor cards */
.ci__investor {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 6px;
}
.ci__investor-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.ci__investor-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.5rem; font-weight: 700;
}
.ci__investor-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.ci__investor-info { flex: 1; min-width: 0; }
.ci__investor-name { display: block; font-size: 0.55rem; font-weight: 700; }
.ci__investor-sub { display: block; font-size: 0.38rem; color: var(--color-primary); }
.ci__investor-followers {
  display: flex; align-items: center; gap: 2px;
  font-size: 0.35rem;
  color: var(--color-primary);
  background: var(--color-primary-bg);
  padding: 2px 6px;
  border-radius: 20px;
  font-weight: 600;
  flex-shrink: 0;
}
.ci__investor-chart { margin: 4px 0; }
.ci__investor-chart svg { width: 100%; height: 32px; }
.ci__investor-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ci__investor-perf { font-size: 0.45rem; color: var(--color-text); }
.ci__investor-perf strong { color: var(--color-success); font-size: 0.55rem; }
.ci__investor-btn {
  font-size: 0.42rem;
  font-weight: 600;
  color: white;
  background: var(--color-primary);
  padding: 3px 12px;
  border-radius: 20px;
}

/* (PnL flash animations removed) */

/* Copy button pulse */
@keyframes copyBtnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,102,255,0.3); }
  50% { box-shadow: 0 0 0 4px rgba(0,102,255,0); }
}
.app__fcard-btn {
  animation: copyBtnPulse 2s ease-in-out infinite;
}
/* Bottom nav — fixed image (footer-app.png) */
.app__bottomnav {
  display: block;
  background: white;
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}
.app__bottomnav-image {
  display: block;
  width: 100%;
  height: auto;
}
.app__bottomnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: #9CA3AF;
  font-size: 0.35rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.app__bottomnav-item--active { color: var(--color-primary); }

/* --- APP MOCKUP REFINED --- */

/* Row headers */
.app__row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.app__row-title { font-size: 0.58rem; font-weight: 700; color: var(--color-text); }
.app__row-link { font-size: 0.45rem; color: var(--color-primary); font-weight: 500; }

/* Feature cards (Copy invest / Tradez) */
.app__feature-cards {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}
.app__fcard {
  flex: 1;
  border-radius: 8px;
  padding: 7px;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.app__fcard--copy { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.app__fcard--trade { background: linear-gradient(135deg, #e8e8f0, #f0f0f5); }
/* (old fcard-bg replaced by inline SVG chart backgrounds) */
.app__fcard-title { display: block; font-size: 0.55rem; font-weight: 700; color: var(--color-text); position: relative; }
.app__fcard-sub { display: block; font-size: 0.4rem; color: var(--color-text-muted); margin: 1px 0 4px; position: relative; }
.app__fcard-btn {
  display: inline-block;
  font-size: 0.4rem;
  font-weight: 600;
  color: white;
  background: var(--color-primary);
  padding: 2px 8px;
  border-radius: 20px;
  position: relative;
}
.app__fcard-link {
  font-size: 0.4rem;
  color: var(--color-text-muted);
  font-weight: 500;
  position: relative;
}
.app__fcard-chart-bg {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%;
  height: 100%;
  opacity: 0.8;
  pointer-events: none;
}
/* Feature card real image background */
.app__fcard-img-bg {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
  pointer-events: none;
  border-radius: 0 8px 8px 0;
}

/* Categories */
.app__categories {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
  overflow: hidden;
}
.app__cat { flex-shrink: 0; width: 56px; }
.app__cat-img {
  width: 56px;
  height: 42px;
  border-radius: 6px;
  margin-bottom: 2px;
  object-fit: cover;
  display: block;
}
.app__cat-name { display: block; font-size: 0.38rem; font-weight: 600; color: var(--color-text); line-height: 1.2; }
.app__cat-count { display: block; font-size: 0.32rem; color: var(--color-text-muted); }

/* Experts header */
.app__experts-header { margin-bottom: 6px; }
.app__experts-sub {
  font-size: 0.38rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-top: 1px;
}

/* Expert cards */
.app__expert-cards {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}
.app__excard {
  flex: 1;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 7px;
  min-width: 0;
}
.app__excard-top {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.app__excard-photo {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  overflow: hidden;
}
.app__excard-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.app__excard-info { flex: 1; min-width: 0; }
.app__excard-name { display: block; font-size: 0.48rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app__excard-role { display: block; font-size: 0.35rem; color: var(--color-text-muted); }
.app__excard-followers {
  display: flex; align-items: center; gap: 2px;
  font-size: 0.35rem; color: var(--color-primary);
  background: var(--color-primary-bg);
  padding: 1px 5px;
  border-radius: 20px;
  font-weight: 600;
  flex-shrink: 0;
}
.app__excard-chart { margin: 2px 0; }
.app__excard-chart svg { width: 100%; height: 28px; }
.app__excard-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app__excard-perf { font-size: 0.42rem; color: var(--color-text); }
.app__excard-perf strong { color: var(--color-success); font-size: 0.5rem; }
.app__excard-link { font-size: 0.35rem; color: var(--color-primary); font-weight: 500; }

/* Stock rows */
.app__stock {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.app__stock:last-of-type { border-bottom: none; }
.app__stock-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.app__stock-icon--img {
  padding: 0;
  background: transparent !important;
}
.app__stock-icon--img img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
}
.app__stock-detail { flex: 1; }
.app__stock-name { display: block; font-size: 0.55rem; font-weight: 700; }
.app__stock-sub { display: block; font-size: 0.38rem; color: var(--color-text-muted); }
.app__stock-numbers { text-align: right; }
.app__stock-price { display: block; font-size: 0.55rem; font-weight: 700; }
.app__stock-chg { display: block; font-size: 0.42rem; font-weight: 600; }
.app__stock-chg--up { color: var(--color-success); }
.app__stock-chg--down { color: #EF4444; }

/* Playlists */
.app__playlists {
  display: flex;
  gap: 5px;
  margin-bottom: 6px;
}
.app__pl {
  flex: 1;
  background: linear-gradient(145deg, #e0ecff, #d0e0ff);
  border-radius: 10px;
  padding: 7px;
  min-width: 0;
  position: relative;
  overflow: hidden;
}
.app__pl-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.app__pl-avatars { display: flex; }
.app__pl-av {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid white;
  margin-left: -4px;
}
.app__pl-av:first-child { margin-left: 0; }
.app__pl-copies { font-size: 0.32rem; color: var(--color-text-muted); font-weight: 500; }
.app__pl-name { display: block; font-size: 0.48rem; font-weight: 700; color: var(--color-text); line-height: 1.2; margin-bottom: 2px; }
.app__pl-perf { font-size: 0.42rem; font-weight: 600; color: var(--color-success); }
.app__pl-wave { position: absolute; bottom: 0; left: 0; right: 0; }
.app__pl-wave svg { width: 100%; height: auto; }

/* Top actions tabs */
.app__tabs-mini {
  display: flex;
  gap: 0;
  margin-bottom: 6px;
}
.app__tab-mini {
  font-size: 0.42rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 3px 10px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  margin-right: 4px;
}
.app__tab-mini--active {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: var(--color-primary-bg);
}

/* Top stocks horizontal */
.app__top-stocks {
  display: flex;
  gap: 5px;
  overflow: hidden;
  margin-bottom: 6px;
}
.app__top-stock {
  flex-shrink: 0;
  width: 52px;
  text-align: center;
}
.app__top-stock-logo {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #0A0D14;
  color: white;
  font-size: 0.45rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 3px;
}
.app__top-stock-name { display: block; font-size: 0.4rem; font-weight: 700; }
.app__top-stock-price { display: block; font-size: 0.38rem; font-weight: 600; }
.app__top-stock-chg { display: block; font-size: 0.35rem; color: #EF4444; font-weight: 500; }

/* Ambassadors */
.app__ambassadors {
  display: flex;
  gap: 5px;
  overflow: hidden;
  margin-bottom: 4px;
}
.app__ambassador {
  flex-shrink: 0;
  width: 120px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.app__ambassador-photo {
  width: 100%;
  height: 50px;
}
.app__ambassador-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 4px 6px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.app__ambassador-name {
  display: block;
  font-size: 0.4rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: 0.03em;
}
.app__ambassador-btn {
  display: inline-block;
  font-size: 0.32rem;
  font-weight: 600;
  color: white;
  background: var(--color-primary);
  padding: 1px 6px;
  border-radius: 10px;
  margin-top: 2px;
}

/* Bottom nav refined */
.app__nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  color: #9CA3AF;
  font-size: 0.32rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.app__nav-item--active { color: var(--color-primary); }

/* Phone body scroll is now controlled by page scroll via JS — overflow hidden */

/* Fade mask at bottom */
.products__phone-frame::after { display: none; }

/* Ticker animation */
.app__ticker-item {
  font-size: 0.42rem;
  font-weight: 500;
  color: var(--color-success);
  white-space: nowrap;
}
.app__ticker-item em {
  font-style: normal;
  font-weight: 600;
}

.products__cta {
  text-align: center;
  margin-top: var(--space-12);
}

/* --- HOW IT WORKS --- */
.how { padding: var(--space-32) var(--space-6); background: var(--color-bg-soft); }
.how__container { max-width: 1000px; margin: 0 auto; }
.how__header { text-align: center; margin-bottom: var(--space-16); }
.how__header .section-subtitle { margin: 0 auto; }

.how__steps { display: flex; flex-direction: column; }

.how__step {
  display: grid;
  grid-template-columns: 80px 1fr 280px;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-10) 0;
}
.how__step-number {
  font-size: 3rem; font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.how__step-title { font-size: 1.375rem; font-weight: 700; margin-bottom: var(--space-3); }
.how__step-desc { font-size: var(--text-body); color: var(--color-text-muted); line-height: 1.6; }

.how__step-connector {
  width: 2px; height: 40px;
  background: var(--color-gradient);
  margin-left: 39px;
  border-radius: 1px;
  opacity: 0.3;
}

.how__step-mockup {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.how__mock-input { margin-bottom: var(--space-4); }
.how__mock-label { display: block; font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: var(--space-1); font-weight: 500; }
.how__mock-value {
  display: block; font-size: var(--text-small);
  padding: var(--space-3);
  background: var(--color-bg-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}
.how__mock-btn {
  text-align: center;
  background: var(--color-primary);
  color: white;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  font-weight: 600;
}
/* Real-button variant for the step 01 CTA (opens QR modal / App Store) */
.how__mock-btn--cta {
  display: block;
  width: 100%;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  box-shadow: var(--shadow-primary);
  transition: all var(--transition-base);
}
.how__mock-btn--cta:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-primary-hover);
  transform: translateY(-1px);
}
/* Centered mockup variant — used when there's only the CTA (no email input) */
.how__step-mockup--centered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

/* ============================================================
   REVIEWS MARQUEE — Sub-section inside .social
   ============================================================ */

/* Sub-section divider between stats and reviews carousel */
.social__reviews-divider {
  text-align: center;
  margin-top: var(--space-20);
  margin-bottom: var(--space-12);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border);
}
.social__reviews-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.social__reviews-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Star icon sizing (used inside review cards) */
.ts-star {
  display: inline-block;
  width: 24px;
  height: 24px;
}
.ts-star svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ts-star--sm {
  width: 16px;
  height: 16px;
}

/* Marquee — fades on edges so cards "appear/disappear" smoothly */
.reviews__marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.reviews__track {
  display: flex;
  gap: var(--space-6);
  width: max-content;
  animation: reviewsMarquee 60s linear infinite;
}
.reviews__marquee:hover .reviews__track {
  animation-play-state: paused;
}
@keyframes reviewsMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Review card */
.review-card {
  flex-shrink: 0;
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}
.review-card:hover {
  box-shadow: var(--shadow-card);
  border-color: rgba(0,102,255,0.15);
  transform: translateY(-3px);
}

.review-card__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-3);
  align-items: center;
}
.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text);
  flex-shrink: 0;
}
.review-card__avatar--rose   { background: #FCE4E4; color: #B91C1C; }
.review-card__avatar--beige  { background: #FFF8DB; color: #92400E; }
.review-card__avatar--blue   { background: #DDEBFF; color: #1E40AF; }
.review-card__avatar--green  { background: #D6F2DF; color: #166534; }
.review-card__avatar--purple { background: #EBE3FB; color: #6D28D9; }

.review-card__id {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.review-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}
.review-card__meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.review-card__date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.review-card__stars {
  display: flex;
  gap: 2px;
}

.review-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  margin: 0;
}

.review-card__body {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  margin-top: auto;
}

/* Pause animation when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reviews__track { animation: none; }
}

@media (max-width: 768px) {
  .reviews { padding: var(--space-16) 0; }
  .review-card { width: 300px; padding: var(--space-5); }
  .reviews__track { animation-duration: 40s; }
}

/* --- Step 03 visual: performance compare bars (Vous vs S&P 500) --- */
.how__alt-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.how__compare {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: var(--space-2) 0;
}
.how__compare-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.how__compare-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
}
.how__compare-name {
  color: var(--color-text);
  font-weight: 500;
}
.how__compare-perf {
  font-weight: 700;
  color: var(--color-text-muted);
}
.how__compare-perf--win {
  color: var(--color-success);
}
.how__compare-bar {
  height: 8px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.how__compare-fill {
  height: 100%;
  background: linear-gradient(90deg, #9CA3AF, #D1D5DB);
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.how__compare-fill--win {
  background: linear-gradient(90deg, #16A34A, #22C55E);
}
.how__alt-bottom {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 12px;
  background: var(--color-success-bg);
  color: var(--color-success);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  align-self: flex-start;
  margin-top: var(--space-2);
}
.how__mock-trader-mini { display: flex; flex-direction: column; gap: var(--space-3); }
.how__mock-trader-row { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-small); }
.how__mock-dot { width: 8px; height: 8px; border-radius: var(--radius-full); flex-shrink: 0; }
.how__mock-green { margin-left: auto; color: var(--color-success); font-weight: 600; }

.how__mock-success {
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: var(--space-3); font-weight: 600;
}
.how__mock-gain { color: var(--color-success); font-size: 1.25rem; font-weight: 700; }

/* --- SOCIAL --- */
.social { padding: var(--space-32) var(--space-6); }
.social__container { max-width: 1200px; margin: 0 auto; }
.social__header { text-align: center; margin-bottom: var(--space-16); }
.social__header .section-subtitle { margin: 0 auto; }

.social__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-16);
}

.social__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-slow);
}
.social__card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }

.social__card-header { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.social__card-avatar {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; flex-shrink: 0;
}
.social__card-author { flex: 1; }
.social__card-name { display: block; font-size: var(--text-small); font-weight: 600; }
.social__card-handle { display: block; font-size: 0.75rem; color: var(--color-text-muted); }
.social__card-time { font-size: 0.75rem; color: var(--color-text-muted); }
.social__card-text { font-size: var(--text-body); line-height: 1.6; color: var(--color-text); margin-bottom: var(--space-4); }
.social__card-footer { display: flex; gap: var(--space-6); }
.social__card-reaction { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-small); color: var(--color-text-muted); }

/* Social numbers */
.social__numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  text-align: center;
  padding: var(--space-12) 0;
  border-top: 1px solid var(--color-border);
}
.social__number-value {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.social__number-label { font-size: var(--text-small); color: var(--color-text-muted); font-weight: 500; }

/* --- CTA SECTION --- */
.cta-section { padding: var(--space-32) var(--space-6); background: var(--color-bg-soft); }
.cta-section__container {
  max-width: 800px; margin: 0 auto; text-align: center;
  position: relative;
  padding: var(--space-16) var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.cta-section__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cta-section__orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.12; }
.cta-section__orb--1 { width: 300px; height: 300px; background: var(--color-primary); top: -100px; right: -100px; }
.cta-section__orb--2 { width: 250px; height: 250px; background: var(--color-primary-light); bottom: -80px; left: -80px; }
.cta-section__title { font-size: var(--text-h2); font-weight: 700; margin-bottom: var(--space-6); position: relative; }
.cta-section__subtitle { font-size: 1.125rem; color: var(--color-text-muted); margin-bottom: var(--space-8); position: relative; }
.cta-section__actions { position: relative; }
.cta-section__note { margin-top: var(--space-4); font-size: var(--text-small); color: var(--color-text-muted); }

/* --- FOOTER --- */
.footer { border-top: 1px solid var(--color-border); background: var(--color-bg); }
.footer__topband { display: none; }
.footer__container { max-width: 1200px; margin: 0 auto; padding: var(--space-16) var(--space-6) var(--space-8); }

/* 3-column top */
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
}

/* Brand column */
.footer__logo {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  display: inline-block;
  margin-bottom: var(--space-2);
}
.footer__tagline { color: var(--color-text-muted); font-size: var(--text-small); margin-bottom: var(--space-5); }
.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-primary);
}
.footer__cta-btn:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-primary-hover); transform: translateY(-1px); }
.footer__risk { margin-top: var(--space-4); font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.55; max-width: 320px; }
.footer__risk-link { text-decoration: underline; color: inherit; }
.footer__stores { display: flex; gap: var(--space-3); margin-top: var(--space-5); flex-wrap: wrap; }
.footer__store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-neutral);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}
.footer__store-badge:hover { opacity: 0.8; }

/* Link columns */
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.footer__links-title { font-size: var(--text-small); font-weight: 700; margin-bottom: var(--space-4); color: var(--color-text); }
.footer__links-group { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer__link { font-size: var(--text-small); color: var(--color-text-muted); transition: color var(--transition-fast); }
.footer__link:hover { color: var(--color-primary); }

/* Relation client */
.footer__contact { display: flex; flex-direction: column; gap: var(--space-4); }
.footer__address { font-size: var(--text-small); color: var(--color-text-muted); font-style: normal; line-height: 1.7; }
.footer__contact-item { font-size: var(--text-small); color: var(--color-text-muted); line-height: 1.6; }

/* Informations bar */
.footer__legal-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-5) 0;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}
.footer__heading { font-size: var(--text-small); font-weight: 700; color: var(--color-text); white-space: nowrap; }
.footer__legal-links { display: flex; gap: var(--space-6); flex-wrap: wrap; align-items: center; }

/* Legal disclaimer text */
.footer__legal-text {
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.footer__legal-text p { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.6; }

/* Bottom bar */
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--space-6); font-size: 0.8rem; color: var(--color-text-muted);
}
.footer__copy { font-size: 0.8rem; color: var(--color-text-muted); }
.footer__socials { display: flex; gap: var(--space-4); align-items: center; }
.footer__social { color: var(--color-text-muted); transition: color var(--transition-fast); display: flex; align-items: center; }
.footer__social:hover { color: var(--color-primary); }

/* ============================================================
   ANIMATIONS
   ============================================================ */

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

@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}

/* Initial hidden state */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="hero-visual"] {
  transform: scale(0.92) translateY(40px);
}

[data-animate="float-1"] {
  transform: translateX(40px);
}

[data-animate="float-2"] {
  transform: translateX(-40px);
}

[data-animate="connector"] {
  transform: scaleY(0);
  transform-origin: top;
}

[data-animate="step"] {
  transform: translateX(-40px);
}

.hero__title {
  opacity: 0;
  transition: opacity 0.01s;
}

.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Visible state */
.anim-visible {
  opacity: 1 !important;
  transform: none !important;
}

.anim-float {
  animation: float 3s ease-in-out infinite;
}

.hero__float--2.anim-float {
  animation-delay: 0.5s;
  animation-duration: 3.5s;
}

.hero__chart-line.anim-draw {
  animation: chartDraw 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-animate], .hero__title, .hero__title-line {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- RESPONSIVE --- */
/* Mobile products header (outside sticky wrapper) */
.products__mobile-header {
  display: none;
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: var(--space-24); }
  .hero__container { align-items: center; }
  .hero__subtitle { margin: 0 auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { order: 2; }
  .hero__float--1 { right: 5%; }
  .hero__float--2 { left: 5%; }
  .products__mobile-header {
    display: block;
    text-align: center;
    padding: var(--space-16) var(--space-6) var(--space-8);
    background: var(--color-bg-soft);
  }
  .products__mobile-header .section-subtitle { margin: 0 auto; }
  .products__header { display: none; }
  .products__col { display: none; }
  .products__grid3 {
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: center;
  }
  .products__phone-col { order: -1; width: 100%; display: flex; justify-content: center; }
  .products__phone { width: min(300px, 85vw); max-height: calc(100vh - 40px); }
  .how__step { grid-template-columns: 60px 1fr; gap: var(--space-6); }
  .how__step-visual { grid-column: 1 / -1; max-width: 320px; margin-left: 60px; }
  .how__step-connector { margin-left: 29px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .footer__top > .footer__col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .hero__title { font-size: clamp(2.25rem, 8vw, 3.5rem); }
  .hero__stats { flex-direction: column; gap: var(--space-4); }
  .hero__stat-divider { width: 40px; height: 1px; }
  .hero__phone { width: 240px; }
  .hero__float { display: none; }
  .social__grid { grid-template-columns: 1fr; }
  .social__numbers { grid-template-columns: 1fr; gap: var(--space-8); }
  .how__step { grid-template-columns: 1fr; text-align: center; }
  .how__step-number { font-size: 2.5rem; }
  .how__step-visual { margin-left: 0; margin: 0 auto; }
  .how__step-connector { margin: 0 auto; }
  .footer__top { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__top > .footer__col:first-child { grid-column: auto; }
  .footer__legal-nav { gap: var(--space-4); }
  .footer__legal-links { gap: var(--space-4); }
  .footer__bottom { flex-direction: column; gap: var(--space-4); text-align: center; }
}

/* ============================================================
   FORMATIONS PAGE
   ============================================================ */

/* Active state for nav link */
.nav__link--active {
  color: var(--color-primary);
  font-weight: 600;
}
.nav__link--active::after { width: 100%; }

/* ============================================================
   QR DOWNLOAD MODAL
   ============================================================ */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}
.qr-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}
.qr-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 13, 20, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.qr-modal__box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8) var(--space-8);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25), 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(20px) scale(0.96);
  opacity: 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.qr-modal[aria-hidden="false"] .qr-modal__box {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.qr-modal__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-soft);
  border: none;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.qr-modal__close:hover {
  background: var(--color-border);
  color: var(--color-text);
}
.qr-modal__badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--color-primary-bg);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.qr-modal__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.qr-modal__subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-6);
}
.qr-modal__qr {
  width: 220px;
  height: 220px;
  margin: 0 auto var(--space-6);
  padding: var(--space-3);
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-modal__qr img {
  width: 100%;
  height: 100%;
  display: block;
}
.qr-modal__stores {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.qr-modal__store {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}
.qr-modal__store svg {
  color: var(--color-text);
}
.qr-modal__note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Lock body scroll when modal is open */
body.qr-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .qr-modal__box { padding: var(--space-8) var(--space-6); }
  .qr-modal__qr { width: 180px; height: 180px; }
}

/* --- Page header (used on formations.html) --- */
.page-header {
  padding: calc(var(--space-32) + var(--space-12)) var(--space-6) var(--space-20);
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,102,255,0.08), transparent 70%),
    var(--color-bg);
  text-align: center;
  overflow: hidden;
}
.page-header__container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-header__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  color: var(--color-text);
}
.page-header__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.6;
  margin-bottom: var(--space-12);
}
.page-header__stats {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-6) var(--space-10);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-card);
}
.page-header__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.page-header__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.page-header__stat-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.page-header__stat-divider {
  width: 1px;
  height: 32px;
  background: var(--color-border);
}

/* --- Trainings list --- */
.trainings {
  padding: var(--space-20) var(--space-6) var(--space-32);
  background: var(--color-bg-soft);
}
.trainings__container {
  max-width: 1200px;
  margin: 0 auto;
}
.trainings__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-8);
}

/* --- Training card --- */
.training-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-slow);
}
.training-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0,102,255,0.2);
}

.training-card__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1A3E9C, #0066FF);
}
.training-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.training-card:hover .training-card__cover img {
  transform: scale(1.04);
}

.training-card__category {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.training-card__category--finance {
  background: rgba(34, 197, 94, 0.92);
  color: white;
}
.training-card__category--trading {
  background: rgba(0, 102, 255, 0.92);
  color: white;
}

.training-card__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255,255,255,0.95);
  color: var(--color-text);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.training-card__body {
  display: flex;
  flex-direction: column;
  padding: var(--space-8);
  flex: 1;
}
.training-card__title {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.training-card__subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-6);
}

.training-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
}
.training-card__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--color-border);
  flex-shrink: 0;
}
.training-card__author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.training-card__author-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.training-card__author-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.training-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  flex: 1;
}

.training-card__stats {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-6);
}
.training-card__stat {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.training-card__stat strong {
  color: var(--color-text);
  font-weight: 700;
  margin-right: 2px;
}
.training-card__stat svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.training-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-primary);
}
.training-card__cta:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-primary-hover);
  transform: translateY(-1px);
}
.training-card__cta svg {
  transition: transform var(--transition-base);
}
.training-card__cta:hover svg {
  transform: translateX(3px);
}

/* --- Trainings CTA --- */
.trainings-cta {
  padding: var(--space-24) var(--space-6);
  background: var(--color-bg);
  text-align: center;
}
.trainings-cta__container {
  max-width: 720px;
  margin: 0 auto;
}
.trainings-cta__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.trainings-cta__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  line-height: 1.6;
}

/* --- Mobile adjustments --- */
@media (max-width: 768px) {
  .page-header { padding: calc(var(--space-24) + var(--space-8)) var(--space-6) var(--space-16); }
  .page-header__stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
  }
  .page-header__stat-divider { display: none; }
  .page-header__stat-value { font-size: 1.5rem; }
  .trainings { padding: var(--space-16) var(--space-4) var(--space-24); }
  .trainings__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .training-card__body { padding: var(--space-6); }
  .training-card__title { font-size: 1.375rem; }
  .training-card__stats { flex-wrap: wrap; gap: var(--space-3); }
}

/* ============================================================
   LEGAL / INFO PAGES
   ============================================================ */

.page-header {
  padding: calc(var(--space-24) + 56px) var(--space-6) var(--space-12);
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}
.page-header__container { max-width: 860px; margin: 0 auto; }
.page-header__breadcrumb {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.page-header__breadcrumb a { color: var(--color-primary); text-decoration: none; }
.page-header__breadcrumb a:hover { text-decoration: underline; }
.page-header__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.page-header__meta { font-size: var(--text-small); color: var(--color-text-muted); }

.page-content {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6) var(--space-24);
}
.page-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-10);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.page-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}
.page-content p { color: var(--color-text-muted); line-height: 1.75; margin-bottom: var(--space-4); }
.page-content ul, .page-content ol {
  color: var(--color-text-muted);
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
  line-height: 1.75;
}
.page-content li { margin-bottom: var(--space-2); }
.page-content strong { color: var(--color-text); }
.page-content a { color: var(--color-primary); text-decoration: underline; }
.page-content a:hover { opacity: 0.8; }

/* Frais tables */
.frais-section { margin-bottom: var(--space-8); }
.frais-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.frais-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}
.frais-card__title { font-weight: 700; font-size: 1rem; color: var(--color-text); }
.frais-card__badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px var(--space-3);
  background: var(--color-success-bg);
  color: var(--color-success);
  border-radius: var(--radius-full);
}
.frais-table { width: 100%; border-collapse: collapse; }
.frais-table th {
  text-align: left;
  padding: var(--space-3) var(--space-6);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.frais-table td {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-small);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.frais-table tr:last-child td { border-bottom: none; }
.frais-table td:last-child, .frais-table th:last-child { text-align: right; }
.frais-table td.frais-free { color: var(--color-success); font-weight: 600; }
.frais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 640px) {
  .frais-grid { grid-template-columns: 1fr; }
  .frais-table th, .frais-table td { padding: var(--space-3) var(--space-4); }
}
