/*
Theme Name: CryptoVault Pro
Theme URI: https://eurosoutien.com
Description: Thème d'investissement crypto professionnel
Version: 4.0
Author: CryptoVault
Text Domain: cryptovault
*/

/* =============================================
   1. VARIABLES
   ============================================= */
:root {
  --c-bg:      #050A14;
  --c-bg2:     #080F1E;
  --c-card:    #0D1526;
  --c-border:  rgba(255,255,255,.08);
  --c-text:    #E8EDF5;
  --c-muted:   #6B7A99;
  --c-cyan:    #00D4FF;
  --c-purple:  #7B2FFF;
  --c-gold:    #FFB800;
  --c-green:   #00FF88;
  --c-red:     #FF3366;
  --f-display: 'Orbitron', 'Exo 2', sans-serif;
  --f-body:    'Inter', 'Segoe UI', sans-serif;
  --f-mono:    'JetBrains Mono', 'Courier New', monospace;
  --radius:    16px;
  --shadow:    0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.5);
  --transition: all .25s ease;
}

/* =============================================
   2. RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--f-body); }
input, textarea, select {
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--c-text);
  background: transparent;
  border: none;
  outline: none;
}

/* =============================================
   3. TYPOGRAPHY
   ============================================= */
.text-gradient {
  background: linear-gradient(135deg, #00D4FF, #7B2FFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h1, h2, h3 { font-family: var(--f-display); line-height: 1.15; }

/* Section titles — ALWAYS fully visible */
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--c-text);
}
.section-title .text-gradient {
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 50px;
  padding: .3rem 1rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-cyan);
  margin-bottom: 1.5rem;
}
.section-subtitle {
  color: var(--c-muted);
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.75;
}

/* =============================================
   4. LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section { padding: 5rem 0; }
.section-dark { background: var(--c-bg2); }
.text-center { text-align: center; }

/* =============================================
   5. BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 12px;
  font-family: var(--f-body);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, #00D4FF, #0099CC);
  color: #000;
  border-color: transparent;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,212,255,.35); }
.btn-outline {
  background: transparent;
  border-color: rgba(0,212,255,.4);
  color: var(--c-cyan);
}
.btn-outline:hover { background: rgba(0,212,255,.08); border-color: var(--c-cyan); }
.btn-ghost {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: var(--c-text);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: .5rem 1.1rem; font-size: .8rem; border-radius: 8px; }
.btn-lg { padding: .9rem 2.25rem; font-size: 1rem; border-radius: 14px; }
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   6. CARDS
   ============================================= */
.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
}
.card:hover { border-color: rgba(0,212,255,.2); transform: translateY(-3px); box-shadow: var(--shadow); }

/* =============================================
   7. FORMS
   ============================================= */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: .5rem;
  color: var(--c-text);
}
.form-input {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: .8rem 1rem;
  color: var(--c-text);
  font-size: .9rem;
  transition: var(--transition);
}
.form-input:focus { border-color: rgba(0,212,255,.5); box-shadow: 0 0 0 3px rgba(0,212,255,.1); }
.form-input::placeholder { color: var(--c-muted); }

/* =============================================
   8. TICKER
   ============================================= */
.ticker-wrap {
  background: rgba(0,0,0,.3);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll 40s linear infinite;
  white-space: nowrap;
  padding: 0 1rem;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; }
.ticker-sym { font-family: var(--f-mono); font-weight: 700; color: var(--c-cyan); }
.ticker-price { font-family: var(--f-mono); }
.t-up { color: var(--c-green); }
.t-down { color: var(--c-red); }

/* =============================================
   9. HEADER
   ============================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,10,20,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  transition: var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--c-text);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { color: var(--c-cyan); font-size: 1.4rem; }

/* Desktop nav */
.main-nav { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  padding: .5rem .875rem;
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--c-muted);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--c-text); background: rgba(255,255,255,.06); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
  cursor: pointer;
  z-index: 1100;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5,10,20,.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  backdrop-filter: blur(20px);
}
.mobile-drawer.open { display: flex; }
.mobile-nav-link {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-muted);
  padding: .75rem 2rem;
  border-radius: 12px;
  transition: var(--transition);
  text-align: center;
  width: 100%;
  max-width: 300px;
}
.mobile-nav-link:hover { color: var(--c-cyan); background: rgba(0,212,255,.08); }
.mobile-drawer-footer { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; width: 100%; max-width: 300px; }

/* User dropdown */
.user-menu { position: relative; }
.user-avatar-btn {
  display: flex; align-items: center; gap: .5rem;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 50px; padding: .4rem .9rem .4rem .4rem;
  cursor: pointer; font-size: .84rem; color: var(--c-text);
}
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg,#00D4FF,#7B2FFF);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; color: #000;
}
.user-dropdown {
  display: none;
  position: absolute; top: calc(100% + .5rem); right: 0;
  background: var(--c-card);
  border: 1px solid rgba(0,212,255,.15);
  border-radius: 14px;
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 9999;
}
.user-dropdown.open { display: block; }
.user-dropdown-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .75rem 1.25rem;
  font-size: .85rem; color: var(--c-muted);
  transition: var(--transition);
}
.user-dropdown-link:hover { background: rgba(255,255,255,.04); color: var(--c-text); }
.user-dropdown-sep { height: 1px; background: var(--c-border); margin: .25rem 0; }

/* Lang switcher */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: .3rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px; padding: .4rem .7rem;
  font-size: .78rem; font-weight: 700;
  color: var(--c-muted); cursor: pointer;
  font-family: var(--f-body);
  transition: var(--transition);
}
.lang-btn:hover { border-color: rgba(0,212,255,.3); color: var(--c-text); }
.lang-dropdown {
  display: none;
  position: absolute; top: calc(100% + .4rem); right: 0;
  background: var(--c-card);
  border: 1px solid rgba(0,212,255,.15);
  border-radius: 12px;
  min-width: 150px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 9999;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem 1rem; font-size: .82rem; color: var(--c-muted);
  transition: var(--transition);
}
.lang-option:hover { background: rgba(255,255,255,.04); color: var(--c-text); }
.lang-option.active { color: var(--c-cyan); }

/* =============================================
   10. HERO
   ============================================= */
.hero-section {
  position: relative;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,212,255,.1) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 80% 80%, rgba(123,47,255,.06) 0%, transparent 50%),
              var(--c-bg);
}
.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,212,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,212,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-content {
  position: relative; z-index: 1;
  width: 100%;
  padding: 5rem 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 50px; padding: .35rem 1rem;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-cyan); margin-bottom: 1.5rem;
}
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(0,255,136,.4)} 50%{box-shadow:0 0 0 8px rgba(0,255,136,0)} }
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--c-text);
}
.hero-subtitle { color: var(--c-muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2.5rem; max-width: 480px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stat-val { font-family: var(--f-display); font-size: 1.5rem; font-weight: 900; color: var(--c-cyan); }
.hero-stat-lbl { font-size: .72rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .07em; }

/* Hero right panel */
.hero-panel {
  background: var(--c-card);
  border: 1px solid rgba(0,212,255,.15);
  border-radius: 20px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 0 60px rgba(0,212,255,.07);
  max-height: 420px;
  overflow: hidden;
}
.hero-panel-title { font-size: .78rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; }
.hero-chart { height: 140px; max-height: 140px; width: 100% !important; margin-bottom: 1.25rem; display: block; }
.hero-price-row { display: flex; justify-content: space-between; align-items: center; padding: .75rem; background: rgba(255,255,255,.03); border-radius: 10px; margin-bottom: .5rem; }
.hero-price-coin { display: flex; align-items: center; gap: .6rem; }
.hero-price-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .9rem; font-weight: 700; flex-shrink: 0; }
.hero-price-sym { font-family: var(--f-mono); font-size: .82rem; font-weight: 700; }
.hero-price-name { font-size: .72rem; color: var(--c-muted); }
.hero-price-val { font-family: var(--f-mono); font-size: .88rem; font-weight: 700; }

/* =============================================
   11. PLANS GRID
   ============================================= */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.plan-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.plan-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--plan-c, var(--c-cyan));
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,.4); border-color: rgba(0,212,255,.2); }
.plan-card.featured { border-color: rgba(0,212,255,.3); box-shadow: 0 0 0 1px rgba(0,212,255,.15); }
.plan-popular {
  position: absolute; top: 1rem; right: 1rem;
  background: linear-gradient(135deg,#FFB800,#FF6B00);
  color: #000; font-size: .62rem; font-weight: 800;
  letter-spacing: .06em; padding: .2rem .6rem;
  border-radius: 50px; text-transform: uppercase;
}
.plan-icon { font-size: 2.2rem; }
.plan-name { font-family: var(--f-display); font-size: 1.1rem; font-weight: 900; }
.plan-freq-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.2);
  border-radius: 50px; padding: .25rem .7rem;
  font-size: .72rem; color: var(--c-cyan); font-weight: 600;
  align-self: flex-start;
}
.plan-rate { font-family: var(--f-display); font-size: 2rem; font-weight: 900; color: var(--plan-c, var(--c-cyan)); line-height: 1; }
.plan-rate-sub { font-size: .75rem; color: var(--c-muted); }
.plan-meta { display: flex; flex-direction: column; gap: .4rem; }
.plan-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .45rem .75rem; background: rgba(255,255,255,.03);
  border-radius: 8px; font-size: .8rem; color: var(--c-muted);
}
.plan-meta-row .v { font-weight: 700; color: var(--c-text); font-family: var(--f-mono); }
.plan-features { display: flex; flex-direction: column; gap: .4rem; }
.plan-feat { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--c-muted); }
.plan-feat::before { content: '✓'; color: var(--plan-c, var(--c-green)); font-weight: 800; flex-shrink: 0; }
.plan-cta { margin-top: auto; }
.plan-btn {
  display: block; width: 100%; text-align: center;
  padding: .85rem; border-radius: 12px;
  background: var(--plan-c, var(--c-cyan));
  color: #000 !important; font-weight: 800; font-size: .9rem;
  transition: var(--transition);
}
.plan-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.3); opacity: .9; }

/* =============================================
   12. HOW IT WORKS
   ============================================= */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3rem; }
.step-card { text-align: center; padding: 2rem 1.5rem; background: var(--c-card); border: 1px solid var(--c-border); border-radius: 20px; transition: var(--transition); }
.step-card:hover { border-color: rgba(0,212,255,.2); transform: translateY(-4px); }
.step-num { font-family: var(--f-display); font-size: .72rem; font-weight: 900; letter-spacing: .15em; color: var(--c-cyan); border: 1px solid rgba(0,212,255,.3); border-radius: 50px; display: inline-block; padding: .2rem .75rem; margin-bottom: 1rem; }
.step-icon { width: 64px; height: 64px; border-radius: 16px; background: rgba(0,212,255,.1); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 1.25rem; }
.step-title { font-family: var(--f-display); font-size: .95rem; font-weight: 800; margin-bottom: .75rem; }
.step-desc { color: var(--c-muted); font-size: .85rem; line-height: 1.7; }

/* =============================================
   13. FEATURES GRID
   ============================================= */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 3rem; }
.feature-card { background: var(--c-card); border: 1px solid var(--c-border); border-radius: 18px; padding: 1.75rem; transition: var(--transition); }
.feature-card:hover { border-color: rgba(0,212,255,.2); transform: translateY(-3px); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(0,212,255,.1); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.feature-title { font-family: var(--f-display); font-size: .9rem; font-weight: 800; margin-bottom: .6rem; }
.feature-desc { color: var(--c-muted); font-size: .83rem; line-height: 1.65; }

/* =============================================
   14. TESTIMONIALS
   ============================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3rem; }
.testi-card { background: var(--c-card); border: 1px solid var(--c-border); border-radius: 18px; padding: 1.75rem; transition: var(--transition); }
.testi-card:hover { border-color: rgba(0,212,255,.15); }
.testi-stars { color: #FFB800; font-size: 1rem; margin-bottom: 1rem; letter-spacing: .1em; }
.testi-text { color: var(--c-muted); font-size: .88rem; line-height: 1.75; font-style: italic; margin-bottom: 1.5rem; }
.testi-footer { display: flex; align-items: center; justify-content: space-between; }
.testi-user { display: flex; align-items: center; gap: .75rem; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,#00D4FF,#7B2FFF); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; color: #fff; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: .88rem; }
.testi-city { font-size: .75rem; color: var(--c-muted); }
.testi-profit { font-family: var(--f-mono); font-weight: 800; color: var(--c-green); font-size: 1rem; }

/* =============================================
   15. STATS BAR
   ============================================= */
.stats-bar { background: linear-gradient(135deg, rgba(0,212,255,.06), rgba(123,47,255,.06)); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 3rem 0; }
.stats-bar-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-big-val { font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; color: var(--c-cyan); }
.stat-big-lbl { font-size: .8rem; font-weight: 700; color: var(--c-text); margin: .25rem 0 .15rem; }
.stat-big-sub { font-size: .72rem; color: var(--c-muted); }

/* =============================================
   16. CRYPTO GRID
   ============================================= */
.crypto-section { background: var(--c-bg2); padding: 4rem 0; }
.crypto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.crypto-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .875rem;
  transition: var(--transition);
}
.crypto-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(0,212,255,.15); }
.crypto-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; font-weight: 700; flex-shrink: 0; }
.crypto-info { flex: 1; min-width: 0; }
.crypto-name { font-weight: 700; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crypto-sym { font-family: var(--f-mono); font-size: .7rem; color: var(--c-muted); }
.crypto-right { text-align: right; flex-shrink: 0; }
.crypto-price { font-family: var(--f-mono); font-weight: 700; font-size: .85rem; }
.crypto-chg { font-size: .72rem; font-weight: 600; }

/* =============================================
   17. CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, rgba(0,212,255,.06), rgba(123,47,255,.06));
  border-top: 1px solid var(--c-border);
  padding: 6rem 0;
  text-align: center;
}
.cta-title {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.cta-sub { color: var(--c-muted); font-size: 1rem; max-width: 520px; margin: 0 auto 2.5rem; }
.cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* =============================================
   18. FOOTER
   ============================================= */
.site-footer {
  background: var(--c-bg2);
  border-top: 1px solid var(--c-border);
  padding: 4rem 0 2rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-desc { color: var(--c-muted); font-size: .85rem; line-height: 1.7; margin: 1rem 0 1.5rem; max-width: 280px; }
.footer-col-title { font-family: var(--f-display); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--c-text); margin-bottom: 1rem; }
.footer-link { display: block; color: var(--c-muted); font-size: .85rem; margin-bottom: .6rem; transition: var(--transition); }
.footer-link:hover { color: var(--c-cyan); }
.footer-bottom { border-top: 1px solid var(--c-border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { color: var(--c-muted); font-size: .8rem; }
.footer-risk { color: var(--c-muted); font-size: .75rem; max-width: 500px; text-align: right; }

/* =============================================
   19. FAQ PAGE
   ============================================= */
.faq-page { background: var(--c-bg); min-height: 100vh; }
.faq-hero { background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,212,255,.08) 0%, transparent 60%), var(--c-bg); padding: 5rem 0 3rem; text-align: center; }
.faq-search-wrap { max-width: 520px; margin: 2rem auto 1.5rem; position: relative; }
.faq-search {
  width: 100%; background: var(--c-card); border: 1.5px solid rgba(0,212,255,.2);
  border-radius: 50px; padding: .9rem 3rem .9rem 1.5rem;
  color: var(--c-text); font-size: .95rem; transition: var(--transition);
}
.faq-search:focus { border-color: rgba(0,212,255,.5); box-shadow: 0 0 0 3px rgba(0,212,255,.1); }
.faq-search-ico { position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--c-muted); }
.faq-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.faq-tag { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 50px; padding: .35rem .875rem; font-size: .78rem; color: var(--c-muted); cursor: pointer; font-family: var(--f-body); transition: var(--transition); }
.faq-tag:hover, .faq-tag.active { background: rgba(0,212,255,.1); border-color: rgba(0,212,255,.3); color: var(--c-cyan); }
.faq-content { max-width: 860px; margin: 0 auto; padding: 3rem 1.25rem 5rem; }
.faq-category { margin-bottom: 3rem; }
.faq-cat-title {
  font-family: var(--f-display); font-size: .82rem; font-weight: 800;
  color: var(--c-cyan); text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 1rem; display: flex; align-items: center; gap: .75rem;
}
.faq-cat-line { width: 32px; height: 2px; background: var(--c-cyan); flex-shrink: 0; }
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item { background: var(--c-card); border: 1px solid var(--c-border); border-radius: 14px; overflow: hidden; transition: var(--transition); }
.faq-item:hover { border-color: rgba(0,212,255,.15); }
.faq-item.open { border-color: rgba(0,212,255,.25); }
.faq-trigger {
  width: 100%; text-align: left; padding: 1.25rem 1.5rem;
  background: none; border: none; color: var(--c-text);
  font-family: var(--f-body); font-size: .9rem; font-weight: 600;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-chevron { color: var(--c-cyan); flex-shrink: 0; transition: transform .35s; display: flex; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.faq-item.open .faq-body { max-height: 600px; }
.faq-body-inner { padding: 0 1.5rem 1.25rem; color: var(--c-muted); font-size: .875rem; line-height: 1.8; }
.faq-cta-box { background: linear-gradient(135deg,rgba(0,212,255,.06),rgba(123,47,255,.06)); border: 1px solid rgba(0,212,255,.15); border-radius: 20px; padding: 3rem; text-align: center; margin-top: 2rem; }

/* =============================================
   20. AUTH PAGE
   ============================================= */
.auth-section { min-height: calc(100vh - 100px); display: flex; align-items: center; padding: 4rem 0; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.auth-brand-title { font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; line-height: 1.25; margin-bottom: 2rem; }
.auth-feats { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.auth-feat { display: flex; align-items: center; gap: .75rem; font-size: .88rem; color: var(--c-muted); }
.auth-feat::before { content: '✓'; color: var(--c-green); font-weight: 800; flex-shrink: 0; }
.auth-card { background: var(--c-card); border: 1px solid rgba(0,212,255,.15); border-radius: 20px; padding: 2.5rem; }
.auth-tabs { display: flex; gap: .5rem; margin-bottom: 2rem; }
.auth-tab {
  flex: 1; text-align: center; padding: .65rem; border-radius: 10px;
  font-size: .88rem; font-weight: 600; color: var(--c-muted);
  background: rgba(255,255,255,.04); border: 1px solid var(--c-border);
  transition: var(--transition); cursor: pointer;
}
.auth-tab.active { background: rgba(0,212,255,.1); border-color: rgba(0,212,255,.3); color: var(--c-cyan); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-check { display: flex; align-items: center; gap: .5rem; font-size: .82rem; color: var(--c-muted); cursor: pointer; }
.form-check input { accent-color: var(--c-cyan); }

/* =============================================
   21. BACK TO TOP
   ============================================= */
#back-to-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-cyan); color: #000;
  border: none; font-size: 1.1rem; font-weight: 800;
  cursor: pointer; opacity: 0; pointer-events: none;
  transform: translateY(10px); transition: var(--transition);
  z-index: 9000; box-shadow: 0 4px 16px rgba(0,212,255,.3);
  display: flex; align-items: center; justify-content: center;
}
#back-to-top.show { opacity: 1; pointer-events: all; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-3px); }

/* =============================================
   22. PAGE EDITOR OVERLAY
   ============================================= */
.cv-editor-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: rgba(5,10,20,.95); border-top: 1px solid rgba(0,212,255,.3);
  padding: .75rem 1.5rem; display: flex; align-items: center; gap: 1rem;
  backdrop-filter: blur(10px); flex-wrap: wrap;
}
.cv-editor-bar-label { font-size: .78rem; color: var(--c-muted); font-weight: 600; }
.cv-editor-btn { font-size: .78rem; padding: .4rem .875rem; border-radius: 8px; }

/* =============================================
   23. RESPONSIVE — MOBILE FIRST
   ============================================= */

/* ≤ 1100px */
@media (max-width: 1100px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .crypto-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ≤ 900px */
@media (max-width: 900px) {
  /* Hide desktop nav, show hamburger */
  .main-nav { display: none !important; }
  .header-actions .lang-switcher { display: none; }
  .mobile-menu-btn { display: flex !important; }

  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-panel { display: none; } /* hide chart panel on mobile */
  .hero-section { min-height: auto; }
  .hero-content { padding: 3rem 0; }

  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-bar-grid { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
  .crypto-grid { grid-template-columns: repeat(2, 1fr); }
  .auth-grid { grid-template-columns: 1fr; gap: 2rem; }
  .auth-brand-left { display: none; }
}

/* ≤ 640px */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { padding: 0 1rem; }
  .section { padding: 3.5rem 0; }
  .plans-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .crypto-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .stats-bar-grid { grid-template-columns: 1fr 1fr; }
  .faq-body-inner { padding: 0 1rem 1rem; }
  .faq-trigger { padding: 1rem; font-size: .85rem; }
  .auth-card { padding: 1.5rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-risk { text-align: center; }
}

/* ≤ 400px */
@media (max-width: 400px) {
  .crypto-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .btn-lg { padding: .8rem 1.5rem; font-size: .9rem; }
}

/* =============================================
   MOBILE OVERLAY & CLOSE BUTTON
   ============================================= */
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 998;
  backdrop-filter: blur(4px);
}
.mobile-drawer.open ~ .mobile-overlay,
.mobile-overlay.open { display: block; }

.mobile-drawer-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  width: 40px; height: 40px;
  color: var(--c-muted); font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.mobile-drawer-close:hover { background: rgba(255,51,102,.15); color: var(--c-red); }

/* Mobile drawer nav centering */
.mobile-drawer nav {
  display: flex; flex-direction: column;
  align-items: center; gap: .25rem;
  width: 100%;
}

/* =============================================
   HERO CHART — ABSOLUTE FIX
   Chart.js needs a positioned parent with
   explicit pixel height, not percentage
   ============================================= */
.hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 380px; /* fixed height prevents stretching */
}
.hero-chart-wrap {
  position: relative;
  height: 130px;
  flex-shrink: 0;
  margin-bottom: 1rem;
  overflow: hidden;
}
.hero-chart-wrap canvas {
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: 130px;
}

/* =============================================
   DASHBOARD — FULL CSS
   ============================================= */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  min-height: calc(100vh - 100px);
  background: var(--c-bg);
}

/* Sidebar */
.dashboard-sidebar {
  background: var(--c-bg2);
  border-right: 1px solid var(--c-border);
  padding: 1.5rem 0;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
  flex-shrink: 0;
}
.sidebar-user {
  padding: 1.25rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 1rem;
}
.sidebar-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #00D4FF, #7B2FFF);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 1.2rem;
  font-weight: 900; color: #000; margin-bottom: .75rem;
}
.sidebar-name { font-weight: 700; font-size: .95rem; }
.sidebar-email { font-size: .75rem; color: var(--c-muted); margin-bottom: .5rem; word-break: break-all; }
.sidebar-balance-mini {
  font-family: var(--f-mono); font-size: .88rem;
  font-weight: 700; color: var(--c-cyan);
  background: rgba(0,212,255,.08);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 8px; padding: .3rem .75rem;
  display: inline-block; margin-top: .35rem;
}
.sidebar-section-label {
  font-size: .68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: var(--c-muted);
  padding: .75rem 1.5rem .35rem;
}
.sidebar-nav { display: flex; flex-direction: column; gap: .15rem; padding: 0 .75rem; }
.sidebar-link {
  display: flex; align-items: center; gap: .65rem;
  padding: .65rem .875rem; border-radius: 10px;
  font-size: .86rem; font-weight: 500; color: var(--c-muted);
  background: none; border: none; text-align: left; width: 100%;
  cursor: pointer; font-family: var(--f-body);
  transition: var(--transition); text-decoration: none;
}
.sidebar-link:hover { background: rgba(255,255,255,.05); color: var(--c-text); }
.sidebar-link.active {
  background: rgba(0,212,255,.1);
  color: var(--c-cyan); font-weight: 700;
  border-left: 3px solid var(--c-cyan);
}
.sidebar-link .icon { font-size: 1rem; flex-shrink: 0; width: 20px; }

/* Dashboard main */
.dashboard-main {
  padding: 2rem 2.5rem;
  overflow-y: auto;
  background: var(--c-bg);
}

/* Tabs */
.dash-tab-panel { display: none; }
.dash-tab-panel.active { display: block; }

/* Overview header */
.dash-welcome {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem;
}
.dash-welcome-text h2 {
  font-family: var(--f-display); font-size: 1.3rem; font-weight: 900; margin-bottom: .25rem;
}
.dash-welcome-text p { color: var(--c-muted); font-size: .88rem; }
.dash-actions { display: flex; gap: .75rem; }

/* KPI cards */
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.kpi-card {
  background: var(--c-card); border: 1px solid var(--c-border);
  border-radius: 16px; padding: 1.25rem 1.5rem;
  transition: var(--transition);
}
.kpi-card:hover { border-color: rgba(0,212,255,.2); transform: translateY(-2px); }
.kpi-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: .875rem;
}
.kpi-val {
  font-family: var(--f-display); font-size: 1.3rem;
  font-weight: 900; margin-bottom: .2rem;
}
.kpi-lbl { font-size: .72rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; }
.kpi-sub { font-size: .75rem; color: var(--c-muted); margin-top: .2rem; }

/* Dashboard sections */
.dash-section { margin-bottom: 2rem; }
.dash-section-title {
  font-family: var(--f-display); font-size: .82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--c-muted); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.dash-section-title::after {
  content: ''; flex: 1; height: 1px;
  background: var(--c-border);
}

/* Investment rows */
.inv-list { display: flex; flex-direction: column; gap: .6rem; }
.inv-row {
  background: var(--c-card); border: 1px solid var(--c-border);
  border-radius: 12px; padding: 1rem 1.25rem;
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 1rem;
  transition: var(--transition);
}
.inv-row:hover { border-color: rgba(0,212,255,.15); }
.inv-plan-icon { font-size: 1.4rem; }
.inv-plan-name { font-weight: 700; font-size: .9rem; }
.inv-plan-sub { font-size: .75rem; color: var(--c-muted); }
.inv-amount { font-family: var(--f-mono); font-weight: 700; text-align: right; }
.inv-status {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  padding: .2rem .6rem; border-radius: 50px;
}
.inv-status.active { background: rgba(0,255,136,.1); color: var(--c-green); border: 1px solid rgba(0,255,136,.2); }
.inv-status.pending { background: rgba(255,184,0,.1); color: var(--c-gold); border: 1px solid rgba(255,184,0,.2); }
.inv-status.completed { background: rgba(107,122,153,.1); color: var(--c-muted); border: 1px solid rgba(107,122,153,.2); }

/* Transaction list */
.tx-list { display: flex; flex-direction: column; gap: .4rem; }
.tx-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; background: var(--c-card);
  border: 1px solid var(--c-border); border-radius: 10px;
  font-size: .84rem;
}
.tx-type { display: flex; align-items: center; gap: .6rem; color: var(--c-muted); }
.tx-icon { font-size: 1rem; flex-shrink: 0; }
.tx-desc { font-weight: 600; color: var(--c-text); }
.tx-date { font-size: .72rem; color: var(--c-muted); }
.tx-amount { font-family: var(--f-mono); font-weight: 700; }
.tx-amount.credit { color: var(--c-green); }
.tx-amount.debit  { color: var(--c-red); }

/* Withdraw form */
.dash-form { max-width: 520px; }
.dash-form .form-group { margin-bottom: 1.25rem; }

/* Progress bar */
.progress-bar-wrap { background: rgba(255,255,255,.06); border-radius: 50px; height: 8px; overflow: hidden; margin-top: .5rem; }
.progress-bar { height: 100%; border-radius: 50px; background: linear-gradient(90deg, #00D4FF, #7B2FFF); transition: width .6s ease; }

/* Empty state */
.dash-empty {
  text-align: center; padding: 3rem 2rem;
  color: var(--c-muted); font-size: .9rem;
}
.dash-empty-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* Referral */
.referral-code-box {
  background: rgba(0,212,255,.06);
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 14px; padding: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.referral-code {
  font-family: var(--f-mono); font-size: 1.3rem;
  font-weight: 900; color: var(--c-cyan); letter-spacing: .1em;
}

/* ── Dashboard responsive ── */
@media (max-width: 900px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar {
    position: static; height: auto;
    border-right: none; border-bottom: 1px solid var(--c-border);
  }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: .4rem; }
  .sidebar-link { padding: .4rem .75rem; font-size: .78rem; flex: 0 0 auto; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dashboard-main { padding: 1.25rem; }
}
@media (max-width: 480px) {
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .inv-row { grid-template-columns: auto 1fr auto; }
  .inv-status { display: none; }
}
