/* ============================================================
   XTREMBOT — FINANCIAL THEME
   Black · Gold · White
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --bg-base:          #080808;
  --bg-surface:       #0c0c0c;
  --bg-card:          #111111;
  --bg-card-hover:    #161616;
  --bg-input:         #0c0c0c;

  --border:           rgba(201,168,76,0.14);
  --border-light:     rgba(201,168,76,0.34);
  --border-subtle:    rgba(255,255,255,0.06);

  --gold:             #C9A84C;
  --gold-light:       #E8C96A;
  --gold-pale:        #F5E9C8;
  --gold-dark:        #8B6914;
  --gold-glow:        rgba(201,168,76,0.20);

  --text-primary:     #F5F0E8;
  --text-secondary:   #A89474;
  --text-muted:       #4A4030;
  --text-white:       #FFFFFF;

  --accent-green:     #2ECC71;
  --accent-red:       #E74C3C;
  --accent-blue:      #4A9FD4;

  --gradient-gold:    linear-gradient(135deg, #8B6914 0%, #C9A84C 40%, #E8C96A 60%, #C9A84C 100%);
  --gradient-gold-h:  linear-gradient(90deg, #8B6914 0%, #C9A84C 40%, #E8C96A 60%, #C9A84C 100%);
  --gradient-card:    linear-gradient(135deg, rgba(201,168,76,0.06) 0%, rgba(201,168,76,0.01) 100%);

  --shadow-sm:        0 1px 4px rgba(0,0,0,0.6);
  --shadow-md:        0 4px 20px rgba(0,0,0,0.7);
  --shadow-lg:        0 8px 40px rgba(0,0,0,0.8);
  --shadow-gold:      0 0 48px rgba(201,168,76,0.12);

  --radius-sm:        4px;
  --radius-md:        8px;
  --radius-lg:        12px;
  --radius-xl:        16px;

  --font-display:     'Playfair Display', Georgia, 'Times New Roman', serif;
  --font:             'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:       all 0.22s ease;
  --nav-h:            72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, textarea, select { font-family: var(--font); font-size: 15px; outline: none; border: none; }

/* ---- Layout ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }
.section-sm { padding: 68px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- Gold ornamental divider ---- */
.gold-line { width: 60px; height: 2px; background: var(--gradient-gold-h); margin: 20px auto 0; }
.gold-line-left { margin: 20px 0 0; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 { line-height: 1.18; font-weight: 700; letter-spacing: -0.01em; }
.section-header { text-align: center; margin-bottom: 68px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--gold);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 7px 22px;
  border-radius: 0;
  margin-bottom: 20px;
}
.section-tag::before { content: ''; display: inline-block; width: 16px; height: 1px; background: var(--gold); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 50px);
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 700;
}
.section-title em {
  font-style: italic;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc { font-size: 16px; color: var(--text-secondary); max-width: 540px; margin: 0 auto; line-height: 1.78; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 32px;
  border-radius: 0;
  font-family: var(--font);
  font-weight: 700; font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap; cursor: pointer;
  border: 1.5px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-gold);
  color: #080808;
  box-shadow: 0 4px 28px rgba(201,168,76,0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 36px rgba(201,168,76,0.44); color: #080808; }
.btn-outline { background: transparent; color: var(--gold); border-color: var(--border-light); }
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.06); color: var(--gold-light); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--text-primary); border-color: var(--border-subtle); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-sm { padding: 9px 20px; font-size: 11px; }
.btn-lg { padding: 18px 48px; font-size: 13px; }
.btn-xs { padding: 5px 12px; font-size: 10px; }
.btn-danger { background: var(--accent-red); color: #fff; border-color: transparent; }
.btn-danger:hover { background: #c0392b; color: #fff; }
.btn-success { background: var(--accent-green); color: #080808; border-color: transparent; }
.btn-success:hover { background: #27ae60; }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 32px;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-light); box-shadow: var(--shadow-gold); }

/* ---- Badges ---- */
.badge {
  display: inline-block; padding: 3px 10px;
  border-radius: 2px; font-size: 10px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
}
.badge-blue   { background: rgba(74,159,212,0.12);  color: var(--accent-blue);  border: 1px solid rgba(74,159,212,0.25); }
.badge-green  { background: rgba(46,204,113,0.12);  color: var(--accent-green); border: 1px solid rgba(46,204,113,0.25); }
.badge-red    { background: rgba(231,76,60,0.12);   color: var(--accent-red);   border: 1px solid rgba(231,76,60,0.25); }
.badge-gold   { background: rgba(201,168,76,0.12);  color: var(--gold);         border: 1px solid rgba(201,168,76,0.30); }
.badge-purple { background: rgba(201,168,76,0.08);  color: var(--gold-light);   border: 1px solid rgba(201,168,76,0.20); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
/* backdrop-filter is on ::before so it does NOT create a containing block
   for position:fixed children (the mobile nav-menu). */
.navbar::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: -1;
}
.navbar.scrolled { border-bottom-color: var(--border); }
.nav-container { display: flex; align-items: center; height: 100%; gap: 40px; }

.nav-logo {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 19px;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.nav-logo:hover { color: var(--text-primary); }
.logo-img {
  width: 64px; height: 64px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(212,144,10,0.5));
}
.logo-name span {
  background: var(--gradient-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-menu { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  color: var(--text-secondary);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 6px 14px;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 1px; background: var(--gradient-gold-h);
  transform: scaleX(0); transition: transform 0.22s ease;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-auth { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; margin-left: auto;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--gold); transition: var(--transition); }
main { padding-top: var(--nav-h); }

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.flash-container {
  position: fixed; top: calc(var(--nav-h) + 12px); right: 20px;
  z-index: 200; display: flex; flex-direction: column; gap: 8px; max-width: 400px;
}
.flash {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 14px 18px; font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  box-shadow: var(--shadow-lg); animation: slideIn 0.25s ease;
  border-left: 3px solid; background: rgba(8,8,8,0.97);
}
@keyframes slideIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }
.flash-success { border-color: var(--accent-green); color: #a8e6c0; }
.flash-error   { border-color: var(--accent-red);   color: #f5a8a0; }
.flash-info    { border-color: var(--gold);          color: var(--gold-light); }
.flash-close { background: none; border: none; color: inherit; opacity: 0.5; font-size: 18px; line-height: 1; cursor: pointer; padding: 0; flex-shrink: 0; }
.flash-close:hover { opacity: 1; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 94vh; display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--bg-base);
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.13) 0%, rgba(201,168,76,0.03) 45%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to bottom, transparent, var(--bg-base));
  pointer-events: none;
}
/* Side accent lines */
.hero-vlines { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-vlines::before {
  content: ''; position: absolute; left: 7%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.18) 40%, transparent);
}
.hero-vlines::after {
  content: ''; position: absolute; right: 7%; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.18) 40%, transparent);
}

.hero-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  max-width: 1240px;
  margin: 0 auto; padding: 80px 24px;
}
.hero-text { text-align: left; }
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-img-wrap {
  position: relative;
  width: 100%; max-width: 560px;
}
.hero-img-wrap::before {
  content: '';
  position: absolute; inset: -2px;
  background: linear-gradient(135deg, rgba(201,168,76,0.35) 0%, transparent 50%, rgba(201,168,76,0.2) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 60px rgba(0,0,0,0.55);
  z-index: 2;
  pointer-events: none;
}
.hero-bot-img {
  width: 100%; height: auto; display: block;
  object-fit: cover;
  filter: drop-shadow(0 0 60px rgba(201,168,76,0.22)) drop-shadow(0 0 20px rgba(201,168,76,0.1));
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-light);
  color: var(--gold); font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 9px 24px; border-radius: 0; margin-bottom: 36px;
}
.hero-tag-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.2; } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.03;
  margin-bottom: 0;
  color: var(--text-primary);
}
.hero-title .gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: block;
}

/* Decorative ornament */
.hero-ornament {
  display: flex; align-items: center; justify-content: flex-start; gap: 14px;
  margin: 28px 0 28px;
}
.hero-ornament::before, .hero-ornament::after {
  content: ''; display: block; height: 1px; width: 64px;
  background: var(--gradient-gold-h);
}
.hero-ornament-diamond { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

.hero-desc {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--text-secondary); line-height: 1.8;
  max-width: 540px; margin: 0 0 48px;
}
.hero-actions {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 16px; flex-wrap: wrap; margin-bottom: 68px;
}

.hero-stats {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 48px; flex-wrap: wrap;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.hero-stats::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100px; height: 1px; background: var(--gradient-gold-h);
}
.hero-stat { text-align: center; }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 10px; color: var(--text-muted);
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; margin-top: 5px;
}

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-banner {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0; position: relative;
}
.stats-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--gradient-gold-h); opacity: 0.45;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
.stat-item { text-align: center; padding: 0 20px; position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 10%; bottom: 10%;
  width: 1px; background: var(--border);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px); font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 8px; letter-spacing: -0.02em;
}
.stat-label {
  font-size: 10px; color: var(--text-muted);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-bg { background: var(--bg-surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 0; padding: 36px 32px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-gold-h); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { border-color: var(--border-light); box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.feature-icon {
  width: 52px; height: 52px; border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: var(--gold); position: relative;
}
.feature-icon::after {
  content: ''; position: absolute; bottom: -4px; right: -4px;
  width: 100%; height: 100%; border: 1px solid var(--border);
}
.feature-icon svg { width: 22px; height: 22px; fill: currentColor; }
.feature-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; color: var(--text-primary); letter-spacing: 0.01em; }
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.72; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; align-items: start; }
.plan-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 0; padding: 40px 36px;
  position: relative; transition: var(--transition);
}
.plan-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--border); transition: var(--transition);
}
.plan-card:hover::before { background: var(--gradient-gold-h); }
.plan-card:hover { border-color: var(--border-light); box-shadow: var(--shadow-gold); }
.plan-card.popular {
  border-color: rgba(201,168,76,0.50);
  box-shadow: 0 0 60px rgba(201,168,76,0.10);
  background: linear-gradient(160deg, #141210 0%, #111111 100%);
}
.plan-card.popular::before { background: var(--gradient-gold-h); }
.popular-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-gold);
  color: #080808; font-size: 10px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 24px; border-radius: 0; white-space: nowrap;
}
.plan-name { font-size: 10px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.22em; margin-bottom: 20px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.plan-currency { font-size: 20px; font-weight: 700; color: var(--text-secondary); align-self: flex-start; margin-top: 8px; }
.plan-amount {
  font-family: var(--font-display); font-size: clamp(44px, 5vw, 58px);
  font-weight: 700; color: var(--text-primary); letter-spacing: -0.04em;
}
.plan-period { font-size: 14px; color: var(--text-muted); }
.plan-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.65; min-height: 44px; }
.plan-divider {
  border: none; height: 1px;
  background: var(--border); margin: 28px 0; position: relative;
}
.plan-divider::after { content: ''; position: absolute; left: 0; top: 0; width: 32px; height: 1px; background: var(--gradient-gold-h); }
.plan-features { margin-bottom: 32px; display: flex; flex-direction: column; gap: 13px; }
.plan-feature { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--text-secondary); }
.plan-feature-icon { width: 16px; height: 16px; flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.plan-feature-icon svg { width: 16px; height: 16px; fill: currentColor; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 0; padding: 32px;
  transition: var(--transition); position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 12px; right: 22px;
  font-family: var(--font-display); font-size: 100px;
  color: rgba(201,168,76,0.07); line-height: 1;
}
.testimonial-card:hover { border-color: var(--border-light); box-shadow: var(--shadow-gold); }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 18px; color: var(--gold); }
.testimonial-stars svg { width: 14px; height: 14px; fill: currentColor; }
.testimonial-text { font-size: 14px; color: var(--text-secondary); line-height: 1.82; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px; background: var(--gradient-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px; font-weight: 700;
  color: #080808; flex-shrink: 0; border-radius: 0;
}
.author-name { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.author-title { font-size: 12px; color: var(--text-muted); margin-top: 2px; letter-spacing: 0.03em; }

/* ============================================================
   INSTALLATION STEPS
   ============================================================ */
.steps-list { display: flex; flex-direction: column; gap: 0; max-width: 780px; margin: 0 auto; }
.step-item { display: flex; gap: 28px; padding: 36px 0; }
.step-item:not(:last-child) { border-bottom: 1px solid var(--border); }
.step-number {
  width: 44px; height: 44px; border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  color: var(--gold); flex-shrink: 0; position: relative;
}
.step-number::after {
  content: ''; position: absolute; bottom: -4px; right: -4px;
  width: 100%; height: 100%; border: 1px solid var(--border);
}
.step-content { flex: 1; }
.step-title { font-size: 17px; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.75; }
.step-code {
  margin-top: 16px; background: #060606;
  border: 1px solid var(--border); border-left: 2px solid var(--gold);
  padding: 16px 20px;
  font-family: 'Courier New', Consolas, monospace;
  font-size: 12px; color: var(--gold-pale);
  white-space: pre-wrap; overflow-x: auto; letter-spacing: 0.02em;
}

/* ============================================================
   VIDEOS
   ============================================================ */
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.video-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 0; overflow: hidden; transition: var(--transition);
}
.video-card:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: var(--bg-surface); overflow: hidden; cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #080808; }
.play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.5); transition: var(--transition); }
.play-btn:hover { background: rgba(0,0,0,0.25); }
.play-icon {
  width: 56px; height: 56px; background: var(--gradient-gold);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.play-icon svg { width: 20px; height: 20px; fill: #080808; margin-left: 3px; }
.play-btn:hover .play-icon { transform: scale(1.1); box-shadow: 0 0 32px rgba(201,168,76,0.5); }
.video-info { padding: 20px; }
.video-category { font-size: 10px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; margin-bottom: 8px; }
.video-title { font-size: 15px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; line-height: 1.4; }
.video-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }
.video-modal {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.video-modal.open { opacity: 1; pointer-events: all; }
.video-modal-inner { position: relative; width: 100%; max-width: 900px; }
.video-modal-close { position: absolute; top: -44px; right: 0; background: none; border: none; color: var(--gold); font-size: 28px; cursor: pointer; line-height: 1; opacity: 0.8; }
.video-modal-close:hover { opacity: 1; }
.video-embed { position: relative; aspect-ratio: 16/9; }
.video-embed iframe { width: 100%; height: 100%; border: none; }

/* ============================================================
   PERFORMANCE PAGE
   ============================================================ */
.performance-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 56px; }
.perf-stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 0; padding: 32px 24px; text-align: center;
  transition: var(--transition); position: relative;
}
.perf-stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-gold-h); opacity: 0; transition: var(--transition);
}
.perf-stat-card:hover::before { opacity: 1; }
.perf-stat-card:hover { border-color: var(--border-light); box-shadow: var(--shadow-gold); }
.perf-stat-value {
  font-family: var(--font-display); font-size: 38px; font-weight: 700;
  background: var(--gradient-gold);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 10px; letter-spacing: -0.02em;
}
.perf-stat-label { font-size: 11px; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }
.telegram-cta-card {
  border: 1px solid var(--border-light); border-radius: 0;
  padding: 60px 48px; text-align: center;
  background: linear-gradient(160deg, #130f08 0%, #0f0f0f 100%);
  position: relative; overflow: hidden;
}
.telegram-cta-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-gold-h);
}
.telegram-icon { width: 72px; height: 72px; margin: 0 auto 24px; color: #26a5e4; }
.telegram-icon svg { width: 72px; height: 72px; fill: currentColor; }

/* ============================================================
   SUPPORT / CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.contact-info-item { display: flex; align-items: flex-start; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.contact-info-icon { width: 44px; height: 44px; border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.contact-info-icon svg { width: 20px; height: 20px; fill: currentColor; }
.contact-info-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; margin-bottom: 5px; }
.contact-info-value { font-size: 15px; color: var(--text-primary); }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 0; padding: 44px 40px; position: relative;
}
.contact-form::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-gold-h);
}

/* ---- Form controls ---- */
.form-group { margin-bottom: 22px; }
.form-label {
  display: block; font-size: 10px; font-weight: 700;
  color: var(--text-muted); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.16em;
}
.form-control {
  width: 100%; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: 0;
  color: var(--text-primary); padding: 13px 16px;
  font-size: 14px; transition: var(--transition);
}
.form-control:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.08); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; line-height: 1.65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { display: block; margin-top: 6px; font-size: 11px; color: var(--text-muted); }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input[type="checkbox"] { accent-color: var(--gold); width: 15px; height: 15px; cursor: pointer; }
.form-check-label { font-size: 14px; color: var(--text-secondary); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 4px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 0; overflow: hidden; transition: var(--transition); }
.faq-item.open { border-color: var(--border-light); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; cursor: pointer; background: none; border: none;
  text-align: left; color: var(--text-primary); font-size: 15px; font-weight: 500;
  transition: var(--transition);
}
.faq-question:hover, .faq-item.open .faq-question { color: var(--gold); }
.faq-chevron { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-muted); transition: transform 0.2s; }
.faq-chevron svg { width: 18px; height: 18px; fill: currentColor; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--gold); }
.faq-answer { display: none; padding: 0 24px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.75; border-top: 1px solid var(--border); }
.faq-item.open .faq-answer { display: block; }
.faq-category-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 36px; justify-content: center; }
.faq-tab {
  padding: 8px 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); cursor: pointer; transition: var(--transition); border-radius: 0;
}
.faq-tab.active, .faq-tab:hover { background: rgba(201,168,76,0.08); border-color: var(--border-light); color: var(--gold); }

/* Tab and filter buttons */
.tab-btn { padding: 8px 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); cursor: pointer; transition: var(--transition); border-radius: 0; }
.tab-btn.active, .tab-btn:hover { background: rgba(201,168,76,0.08); border-color: var(--border-light); color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.filter-btn { padding: 8px 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary); cursor: pointer; transition: var(--transition); border-radius: 0; }
.filter-btn.active, .filter-btn:hover { background: rgba(201,168,76,0.08); border-color: var(--border-light); color: var(--gold); }

/* ============================================================
   AUTH FORMS
   ============================================================ */
.auth-section {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px; background: var(--bg-base); position: relative;
}
.auth-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--gradient-gold-h); opacity: 0.3;
}
.auth-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 0; padding: 52px 44px;
  width: 100%; max-width: 440px; position: relative;
}
.auth-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-gold-h);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; text-align: center; margin-bottom: 8px; }
.auth-desc { font-size: 14px; color: var(--text-secondary); text-align: center; margin-bottom: 36px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 13px; color: var(--text-secondary); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 24px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: 11px; color: var(--text-muted); }
.password-toggle { position: relative; }
.password-toggle .form-control { padding-right: 44px; }
.toggle-eye { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; padding: 4px; }
.toggle-eye:hover { color: var(--gold); }

/* ============================================================
   PAGE HERO (sub-pages)
   ============================================================ */
.page-hero {
  padding: 84px 0 68px; text-align: center;
  position: relative; overflow: hidden;
  background: var(--bg-base); border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--gradient-gold-h); opacity: 0.25;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(28px, 4.5vw, 56px); margin-bottom: 16px; font-weight: 700; }
.page-hero p { font-size: 16px; color: var(--text-secondary); max-width: 540px; margin: 0 auto; line-height: 1.75; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center; padding: 104px 24px;
  position: relative; background: var(--bg-surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-gold-h); opacity: 0.6;
}
.cta-section::after {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-title { font-family: var(--font-display); font-size: clamp(28px, 4.5vw, 54px); margin-bottom: 16px; font-weight: 700; }
.cta-desc { font-size: 16px; color: var(--text-secondary); margin-bottom: 44px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.75; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #050505; border-top: 1px solid var(--border); padding: 80px 0 0; position: relative; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--gradient-gold-h); opacity: 0.4;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 60px; }
.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-desc { font-size: 13px; color: var(--text-muted); line-height: 1.82; margin-bottom: 28px; max-width: 280px; }
.social-links { display: flex; gap: 8px; }
.social-link { width: 36px; height: 36px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: var(--transition); }
.social-link:hover { border-color: var(--border-light); color: var(--gold); background: rgba(201,168,76,0.06); }
.social-link svg { width: 15px; height: 15px; }
.footer-links-group h4 { font-size: 10px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.footer-links-group ul { display: flex; flex-direction: column; gap: 11px; }
.footer-links-group a { font-size: 13px; color: var(--text-muted); transition: var(--transition); }
.footer-links-group a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid var(--border); padding: 24px 0; display: flex; flex-direction: column; gap: 6px; }
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-disclaimer { font-size: 11px !important; opacity: 0.55; }

/* ============================================================
   404 PAGE
   ============================================================ */
.error-section { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.error-code { font-family: var(--font-display); font-size: 120px; font-weight: 800; background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 16px; letter-spacing: -0.04em; }
.error-title { font-size: 28px; margin-bottom: 12px; }
.error-desc { color: var(--text-secondary); margin-bottom: 40px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ============================================================
   SCROLL REVEAL SYSTEM
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal="left"]  { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="scale"] { transform: scale(0.88); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].revealed { opacity: 1 !important; transform: none !important; }

.stagger-children > * {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.stagger-children > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.14s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.23s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.32s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.41s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.50s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.59s; }
.stagger-children > *:nth-child(8) { transition-delay: 0.68s; }
.stagger-children.revealed > * { opacity: 1; transform: none; }

/* ============================================================
   ANIMATION KEYFRAMES
   ============================================================ */
@keyframes orbFloat {
  0%   { transform: translate(0,0) scale(1); }
  25%  { transform: translate(22px,-18px) scale(1.04); }
  50%  { transform: translate(-12px,-28px) scale(0.97); }
  75%  { transform: translate(-26px,12px) scale(1.02); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes tickerMove { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }
@keyframes popularGlow {
  0%,100% { box-shadow: 0 0 40px rgba(201,168,76,0.10), 0 0 0 1px rgba(201,168,76,0.50); }
  50%      { box-shadow: 0 0 80px rgba(201,168,76,0.22), 0 0 0 1px rgba(201,168,76,0.70); }
}
@keyframes iconPulse {
  0%,100% { filter: drop-shadow(0 0 4px rgba(201,168,76,0.3)); transform: scale(1); }
  50%      { filter: drop-shadow(0 0 14px rgba(201,168,76,0.7)); transform: scale(1.08); }
}
@keyframes lineShimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes stepPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,0); }
  50%      { box-shadow: 0 0 0 8px rgba(201,168,76,0.12); }
}
@keyframes ctaOrb {
  0%,100% { opacity: 0.7; transform: scale(1) translateY(0); }
  50%      { opacity: 1;   transform: scale(1.08) translateY(-16px); }
}

/* ============================================================
   HERO AMBIENT ORBS
   ============================================================ */
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(72px); z-index: 1; }
.hero-orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,168,76,0.13) 0%, transparent 70%);
  top: -80px; right: -80px;
  animation: orbFloat 14s ease-in-out infinite;
}
.hero-orb-2 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(46,204,113,0.07) 0%, transparent 70%);
  bottom: 8%; left: -20px;
  animation: orbFloat 19s ease-in-out infinite 3s reverse;
}
.hero-orb-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(74,159,212,0.06) 0%, transparent 70%);
  top: 35%; left: 28%;
  animation: orbFloat 23s ease-in-out infinite 7s;
}

/* ============================================================
   EXCHANGE PRICE TICKER
   ============================================================ */
.exchange-ticker {
  background: rgba(6,6,6,0.98); border-bottom: 1px solid var(--border);
  height: 42px; overflow: hidden; position: relative;
}
.exchange-ticker::before,
.exchange-ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.exchange-ticker::before { left:  0; background: linear-gradient(to right, #060606, transparent); }
.exchange-ticker::after  { right: 0; background: linear-gradient(to left,  #060606, transparent); }
.ticker-inner {
  display: flex; align-items: center; height: 42px;
  width: max-content; animation: tickerMove 40s linear infinite;
}
.ticker-item {
  display: flex; align-items: center; gap: 9px; padding: 0 28px;
  white-space: nowrap; border-right: 1px solid rgba(201,168,76,0.07);
  font-size: 11px; font-weight: 600; font-family: 'Courier New', monospace; letter-spacing: 0.05em;
}
.ticker-pair  { color: var(--gold-light); font-weight: 700; }
.ticker-price { color: var(--text-primary); }
.ticker-chg.up   { color: var(--accent-green); }
.ticker-chg.down { color: var(--accent-red); }
.ticker-sep { width: 1px; height: 12px; background: rgba(201,168,76,0.25); }

/* ============================================================
   ENHANCED FEATURE CARDS
   ============================================================ */
.feature-card {
  background: linear-gradient(145deg, #131313 0%, #111111 60%, #0f0f0f 100%);
}
.feature-card::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(201,168,76,0.07) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.45s; pointer-events: none;
}
.feature-card:hover::after { opacity: 1; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 16px 56px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,168,76,0.22); }

/* Circular icon ring variant */
.feature-icon-ring {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px; position: relative; transition: transform 0.35s;
}
.feature-icon-ring svg { width: 26px; height: 26px; fill: currentColor; }
.feature-card:hover .feature-icon-ring { animation: iconPulse 2.2s ease infinite; }
.fir-gold  { background: rgba(201,168,76,0.12); color: var(--gold);         border: 1px solid rgba(201,168,76,0.28); }
.fir-green { background: rgba(46,204,113,0.10); color: var(--accent-green); border: 1px solid rgba(46,204,113,0.22); }
.fir-blue  { background: rgba(74,159,212,0.10); color: var(--accent-blue);  border: 1px solid rgba(74,159,212,0.22); }
.fir-red   { background: rgba(231,76,60,0.10);  color: var(--accent-red);   border: 1px solid rgba(231,76,60,0.22);  }
.fir-lime  { background: rgba(180,230,80,0.10); color: #b4e650;             border: 1px solid rgba(180,230,80,0.22); }
.fir-cyan  { background: rgba(0,200,220,0.10);  color: #00c8dc;             border: 1px solid rgba(0,200,220,0.22);  }

/* ============================================================
   INTEGRATIONS STRIP
   ============================================================ */
.integrations-strip { padding: 52px 0; text-align: center; }
.integrations-label {
  font-size: 10px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.24em; margin-bottom: 32px;
}
.integrations-logos { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.integration-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-muted); transition: border-color 0.28s, color 0.28s, transform 0.28s;
}
.integration-badge:hover { border-color: var(--border-light); color: var(--gold-light); transform: translateY(-2px); }
.integration-badge .ib-dot { width: 6px; height: 6px; border-radius: 50%; }

/* ============================================================
   STEPS FLOW (redesigned)
   ============================================================ */
.steps-flow-list { position: relative; max-width: 860px; margin: 0 auto; }
.steps-flow-list::before {
  content: '';
  position: absolute; left: 21px; top: 52px; bottom: 52px; width: 1px;
  background: linear-gradient(to bottom, transparent 0%, rgba(201,168,76,0.28) 15%, rgba(201,168,76,0.28) 85%, transparent 100%);
}
.step-flow-item { display: flex; gap: 24px; padding: 20px 0; }
.step-flow-num {
  width: 44px; height: 44px; flex-shrink: 0; z-index: 1;
  background: var(--bg-card); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  color: var(--gold); transition: border-color 0.3s, box-shadow 0.3s;
}
.step-flow-item:hover .step-flow-num { border-color: var(--gold); animation: stepPulse 2s ease infinite; }
.step-flow-body {
  flex: 1; background: linear-gradient(145deg, #131313 0%, #111111 100%);
  border: 1px solid var(--border); padding: 26px 32px;
  transition: border-color 0.3s, box-shadow 0.3s; position: relative; overflow: hidden;
}
.step-flow-body::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gradient-gold); opacity: 0; transition: opacity 0.3s;
}
.step-flow-item:hover .step-flow-body { border-color: var(--border-light); box-shadow: var(--shadow-gold); }
.step-flow-item:hover .step-flow-body::before { opacity: 1; }

/* ============================================================
   POPULAR PLAN — ANIMATED GLOW
   ============================================================ */
.plan-card.popular { animation: popularGlow 4s ease infinite; }
.plan-card.popular .btn-primary:hover {
  box-shadow: 0 8px 56px rgba(201,168,76,0.65), 0 0 0 2px rgba(201,168,76,0.4);
}

/* ============================================================
   TESTIMONIAL CARDS ENHANCED
   ============================================================ */
.testimonial-card {
  background: linear-gradient(145deg, #131313 0%, var(--bg-card) 100%);
  transition: border-color 0.35s, box-shadow 0.35s, transform 0.35s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 52px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,168,76,0.2); }

/* ============================================================
   CTA AMBIENT ORBS
   ============================================================ */
.cta-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px); z-index: 0; }
.cta-orb-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(201,168,76,0.10) 0%, transparent 70%);
  top: -140px; left: 50%; transform: translateX(-50%);
  animation: ctaOrb 12s ease-in-out infinite;
}
.cta-orb-2 {
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(46,204,113,0.06) 0%, transparent 70%);
  bottom: -20px; right: 8%;
  animation: ctaOrb 16s ease-in-out infinite 4s reverse;
}
.cta-inner { position: relative; z-index: 1; }

/* Stat progress bars */
.stat-progress-bar {
  position: absolute; bottom: -20px; left: 20px; right: 20px;
  height: 1px; background: var(--border); overflow: hidden;
}
.stat-progress-bar::after {
  content: ''; display: block; height: 100%; width: 0;
  background: var(--gradient-gold-h);
  transition: width 2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}
.stat-item.revealed .stat-progress-bar::after { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-content { grid-template-columns: 1fr; gap: 44px; }
  .hero-text { text-align: center; }
  .hero-text .hero-ornament { justify-content: center; }
  .hero-text .hero-desc { max-width: 640px; margin: 0 auto 48px; }
  .hero-text .hero-actions { justify-content: center; }
  .hero-text .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-img-wrap { max-width: 480px; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-desc { max-width: 100%; }
  .hero-stats { gap: 28px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgba(8,8,8,0.99);
    border-top: 1px solid var(--border);
    flex-direction: column; align-items: flex-start;
    padding: 28px 24px; gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99; overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: flex-start; width: 100%; gap: 4px; }
  .nav-link { font-size: 16px; padding: 12px 16px; width: 100%; }
  .nav-auth { flex-direction: column; width: 100%; gap: 10px; }
  .nav-auth .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .auth-card { padding: 36px 24px; }
  .telegram-cta-card { padding: 36px 24px; }
  .contact-form { padding: 32px 24px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .form-actions { flex-direction: column; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .hero-content { padding: 60px 0; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-visual { display: flex; }
  .hero-img-wrap { max-width: 340px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:not(:last-child)::after { display: none; }
}
