/* ============================================
   SMARTTRADINGPIP - COMPLETE STYLESHEET v3
   Dark/Light theme · Mobile-first responsive
   ============================================ */

/* ---- DARK THEME (default) ---- */
:root {
  --gold: #f0b429;
  --gold-light: #fcd34d;
  --gold-dark: #c88f1a;
  --green: #10b981;
  --red: #ef4444;
  --blue: #3b82f6;
  --blue-light: #60a5fa;

  /* Dark theme surfaces */
  --bg:        #0a0d14;
  --bg-2:      #0f1420;
  --bg-3:      #161c2d;
  --bg-4:      #1e2640;
  --bg-5:      #252e48;
  --bg-card:   #161c2d;

  /* Dark theme text */
  --text:      #f8fafc;
  --text-2:    #cbd5e1;
  --text-3:    #64748b;

  /* Dark theme borders */
  --border:      rgba(255,255,255,0.08);
  --border-gold: rgba(240,180,41,0.30);

  /* Shadows */
  --shadow:      0 4px 24px rgba(0,0,0,0.40);
  --shadow-gold: 0 0 30px rgba(240,180,41,0.20);

  /* Misc */
  --radius:    12px;
  --radius-lg: 20px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:     68px;
}

/* ---- LIGHT THEME ---- */
[data-theme="light"] {
  --bg:        #f0f4f8;
  --bg-2:      #e4eaf2;
  --bg-3:      #ffffff;
  --bg-4:      #eef2f8;
  --bg-5:      #dde4ef;
  --bg-card:   #ffffff;
  --text:      #0f172a;
  --text-2:    #334155;
  --text-3:    #64748b;
  --border:      rgba(0,0,0,0.10);
  --border-gold: rgba(180,120,10,0.35);
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --shadow-gold: 0 0 30px rgba(200,143,26,0.25);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
a { text-decoration: none; color: inherit; transition: all 0.25s var(--ease); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

/* TYPOGRAPHY */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1rem, 1.8vw, 1.3rem); }

.gradient-text {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 60%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* LAYOUT */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.dark-section { background: var(--bg-2); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-20 { margin-top: 20px; }

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { margin: 12px 0 14px; }
.section-header p { color: var(--text-3); max-width: 560px; margin: 0 auto; font-size: 1rem; }
.section-header.light h2 { color: var(--text); }
.section-header.light p { color: var(--text-3); }

.section-tag {
  display: inline-block;
  background: rgba(240,180,41,0.10);
  color: var(--gold-dark);
  border: 1px solid var(--border-gold);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
[data-theme="light"] .section-tag { color: var(--gold-dark); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}
.btn-sm  { padding: 8px 16px; font-size: 0.82rem; }
.btn-lg  { padding: 15px 32px; font-size: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #0a0d14 !important;
  border-color: var(--gold);
  font-weight: 700;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(240,180,41,0.45); filter: brightness(1.08); }

.btn-outline {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold) !important; }

.btn-outline-dark {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--text-3);
}
.btn-outline-dark:hover { background: var(--text); color: var(--bg) !important; }

.btn-outline-light {
  background: transparent;
  color: #fff !important;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

.btn-gold {
  background: linear-gradient(135deg, #d97706, var(--gold));
  color: #0a0d14 !important;
  font-weight: 700;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header-top {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
  font-size: 0.8rem;
  color: var(--text-3);
}
.header-top-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.header-top-left  { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.header-top-left span { display: flex; align-items: center; gap: 5px; }
.header-top-right { display: flex; align-items: center; gap: 12px; }
.header-top-right a { color: var(--text-3); font-size: 0.88rem; display: flex; align-items: center; gap: 4px; }
.header-top-right a:hover { color: var(--gold); }

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-2);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.3); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}

/* LOGO */
.nav-logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0d14;
  font-size: 1rem;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: -0.3px;
}
.logo-sub {
  font-size: 0.62rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* NAV MENU */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.88rem;
  border-radius: 7px;
  transition: all 0.2s;
}
.nav-menu > li > a:hover { color: var(--text); background: var(--bg-4); }
.nav-menu > li > a.active { color: var(--gold); }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239,68,68,0.12);
  color: #ef4444;
  padding: 4px 11px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(239,68,68,0.25);
}
.live-badge i { animation: pulse 1.5s infinite; font-size: 0.5rem; }

/* DROPDOWN */
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 210px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow);
  z-index: 200;
}
.dropdown li a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  color: var(--text-2);
  font-size: 0.86rem;
  border-radius: 7px;
}
.dropdown li a:hover { background: rgba(240,180,41,0.08); color: var(--gold); }
.dropdown li a i { width: 14px; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* THEME TOGGLE */
.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-4);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
  border-radius: 7px;
  background: var(--bg-4);
  border: 1px solid var(--border);
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   TICKER — LIVE PRICES ONLY (no percentage)
   ============================================ */
.price-ticker {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-gold);
  padding: 0;
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
.tick-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  border-right: 1px solid var(--border);
  height: 38px;
  font-size: 0.82rem;
  font-weight: 500;
}
.tick-sym {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-3);
  min-width: 68px;
}
.tick-price {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.88rem;
  min-width: 72px;
}
.tick-change {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  min-width: 58px;
  text-align: center;
}
.tick-up   .tick-price  { color: var(--green); }
.tick-down .tick-price  { color: var(--red); }
.tick-up   .tick-change { background: rgba(16,185,129,0.12); color: var(--green); }
.tick-down .tick-change { background: rgba(239,68,68,0.12);  color: var(--red);   }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  padding: 80px 0 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(240,180,41,0.07) 0%, transparent 65%);
}
.chart-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,180,41,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,180,41,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16,185,129,0.10);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--green);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
  animation: fadeInUp 0.6s ease both;
}
.badge-dot { width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse 1.5s infinite; }
.hero-title { margin-bottom: 20px; animation: fadeInUp 0.7s ease 0.1s both; }
.hero-title .hero-sub { color: var(--text-3); font-weight: 400; }
.hero-desc { font-size: 1.05rem; color: var(--text-2); max-width: 520px; margin-bottom: 32px; animation: fadeInUp 0.7s ease 0.2s both; }
.hero-cta  { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; animation: fadeInUp 0.7s ease 0.3s both; }
.live-dot  { font-size: 0.6rem; color: #ef4444; animation: pulse 1.5s infinite; }

.hero-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  animation: fadeInUp 0.7s ease 0.4s both;
}
.stat { padding: 0 28px 0 0; }
.stat-num { display: block; font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; }
.stat-div { width: 1px; height: 36px; background: var(--border); margin-right: 28px; }

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  transition: all 0.3s var(--ease);
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: transparent;
  transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--border-gold); box-shadow: var(--shadow-gold); }
.feature-card:hover::after { background: linear-gradient(90deg, var(--gold), transparent); }
.feature-card.featured { background: linear-gradient(135deg, rgba(240,180,41,0.06), var(--bg-card)); border-color: var(--border-gold); }
.feature-badge { position: absolute; top: 14px; right: 14px; background: var(--gold); color: #0a0d14; font-size: 0.68rem; font-weight: 800; padding: 3px 10px; border-radius: 50px; text-transform: uppercase; }
.feature-icon { width: 50px; height: 50px; background: rgba(240,180,41,0.10); border: 1px solid var(--border-gold); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--gold); margin-bottom: 18px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-3); font-size: 0.9rem; line-height: 1.7; }
.feature-link { display: inline-flex; align-items: center; gap: 5px; color: var(--gold); font-size: 0.85rem; font-weight: 600; margin-top: 18px; }
.feature-link:hover { gap: 9px; }

/* ============================================
   SIGNALS TABLE
   ============================================ */
.signals-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.signals-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 600px; }
.signals-table thead tr { background: rgba(240,180,41,0.07); border-bottom: 1px solid var(--border-gold); }
.signals-table th { padding: 13px 18px; text-align: left; color: var(--gold-dark); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.5px; }
.signals-table td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: var(--text-2); }
.signals-table tbody tr:hover { background: rgba(240,180,41,0.03); }
.pair-badge { background: rgba(59,130,246,0.12); color: var(--blue-light); padding: 3px 9px; border-radius: 5px; font-weight: 700; font-size: 0.82rem; }
[data-theme="light"] .pair-badge { color: #1d4ed8; background: rgba(37,99,235,0.10); }
.type { padding: 4px 11px; border-radius: 50px; font-weight: 700; font-size: 0.78rem; }
.type.buy  { background: rgba(16,185,129,0.13); color: var(--green); }
.type.sell { background: rgba(239,68,68,0.13);  color: var(--red);   }
.status { padding: 3px 9px; border-radius: 5px; font-size: 0.78rem; font-weight: 600; }
.status.active  { background: rgba(59,130,246,0.12);  color: var(--blue-light); }
.status.win     { background: rgba(16,185,129,0.12);  color: var(--green); }
.status.pending { background: rgba(240,180,41,0.12);  color: var(--gold);  }
.locked-row td  { text-align: center; background: rgba(0,0,0,0.15); color: var(--text-3); padding: 18px; }
[data-theme="light"] .locked-row td { background: rgba(0,0,0,0.04); }
.locked-row td i { margin-right: 7px; color: var(--gold); }
.locked-row td a { color: var(--gold); font-weight: 600; }

/* ============================================
   COURSES GRID
   ============================================ */
.courses-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.course-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s; border: 1px solid var(--border); }
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.course-header { padding: 32px 22px 22px; position: relative; overflow: hidden; }
.course-green  { background: linear-gradient(135deg,#065f46,#059669); }
.course-blue   { background: linear-gradient(135deg,#1e3a5f,#2563eb); }
.course-gold   { background: linear-gradient(135deg,#78350f,#d97706); }
.course-purple { background: linear-gradient(135deg,#3b0764,#7c3aed); }
.course-icon-bg { font-size: 3.5rem; opacity: 0.12; position: absolute; right: -8px; bottom: -8px; color: white; }
.course-tag { display: inline-block; background: rgba(255,255,255,0.18); color: white; padding: 3px 11px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; }
.course-body { padding: 18px 20px; }
.course-body h3 { color: var(--text); font-size: 0.98rem; margin-bottom: 7px; }
.course-body p  { color: var(--text-3); font-size: 0.84rem; line-height: 1.6; margin-bottom: 14px; }
.course-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.76rem; color: var(--text-3); margin-bottom: 14px; }
.course-meta span { display: flex; align-items: center; gap: 4px; }
.course-meta i { color: var(--gold-dark); }
.course-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--border); }
.course-price { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--text); }

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; position: relative; transition: all 0.3s; }
.product-card:hover { border-color: var(--border-gold); transform: translateY(-4px); }
.product-type { display: inline-block; padding: 3px 11px; border-radius: 5px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 14px; }
.product-type.ea        { background: rgba(59,130,246,0.12); color: var(--blue-light); }
.product-type.indicator { background: rgba(240,180,41,0.12); color: var(--gold-dark); }
[data-theme="light"] .product-type.ea        { color: #1d4ed8; }
[data-theme="light"] .product-type.indicator { color: #92400e; }
.product-card h3 { color: var(--text); margin-bottom: 9px; font-size: 0.98rem; }
.product-card p  { color: var(--text-3); font-size: 0.86rem; line-height: 1.6; margin-bottom: 14px; }
.product-stats { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 18px; }
.product-stats span { background: var(--bg-4); color: var(--text-3); padding: 3px 9px; border-radius: 5px; font-size: 0.76rem; border: 1px solid var(--border); }
.product-footer { display: flex; justify-content: space-between; align-items: center; }
.product-price  { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; color: var(--gold); }
.mql-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: linear-gradient(135deg, rgba(240,180,41,0.05), var(--bg-card)); border-color: var(--border-gold); }
.mql-logo { width: 56px; height: 56px; background: rgba(240,180,41,0.10); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--gold); margin-bottom: 14px; }

/* ============================================
   CHARTS SECTION
   ============================================ */
.charts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.chart-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s; border: 1px solid var(--border); }
.chart-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.chart-img-placeholder { position: relative; background: var(--bg-2); height: 170px; overflow: hidden; }
.fake-chart { position: absolute; inset: 16px; }
.fake-chart svg { width: 100%; height: 100%; }
.chart-overlay { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.chart-pair { background: var(--gold); color: #0a0d14; padding: 2px 9px; border-radius: 5px; font-weight: 700; font-size: 0.76rem; }
.chart-tf   { background: rgba(255,255,255,0.14); color: #fff; padding: 2px 9px; border-radius: 5px; font-size: 0.76rem; }
.chart-info { padding: 14px 18px; }
.chart-type { font-weight: 600; font-size: 0.88rem; color: var(--text); }
.chart-meta { display: flex; gap: 10px; margin-top: 7px; font-size: 0.76rem; color: var(--text-3); }
.chart-meta i { color: var(--red); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; transition: all 0.3s; }
.testimonial-card:hover { border-color: var(--border-gold); }
.stars { color: var(--gold); font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { color: var(--text-3); font-size: 0.88rem; line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.author-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,var(--gold),var(--gold-dark)); color: #0a0d14; font-weight: 800; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.88rem; color: var(--text); }
.testimonial-author span  { color: var(--text-3); font-size: 0.76rem; }
.author-tag { margin-left: auto; background: rgba(240,180,41,0.10); color: var(--gold-dark); padding: 3px 8px; border-radius: 5px; font-size: 0.68rem; white-space: nowrap; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section { padding: 70px 0; }
.cta-box { background: linear-gradient(135deg, var(--bg-3), var(--bg-4)); border: 1px solid var(--border-gold); border-radius: 22px; padding: 60px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%); width: 500px; height: 500px; background: radial-gradient(circle, rgba(240,180,41,0.06), transparent 70%); pointer-events: none; }
.cta-content { position: relative; }
.cta-box h2  { color: var(--text); margin-bottom: 10px; }
.cta-box p   { color: var(--text-3); font-size: 1rem; margin-bottom: 30px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   PLANS / PRICING
   ============================================ */
.plans-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.plan-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; position: relative; transition: all 0.3s; }
.plan-card.popular { border-color: var(--gold); background: linear-gradient(135deg, rgba(240,180,41,0.05), var(--bg-card)); }
.plan-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #0a0d14; padding: 4px 18px; border-radius: 50px; font-size: 0.72rem; font-weight: 800; white-space: nowrap; }
.plan-name   { color: var(--text-3); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 7px; }
.plan-price  { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 3px; }
.plan-price span { font-size: 1.2rem; }
.plan-period { color: var(--text-3); font-size: 0.83rem; margin-bottom: 24px; }
.plan-features { margin-bottom: 24px; }
.plan-features li { display: flex; align-items: center; gap: 9px; color: var(--text-2); font-size: 0.88rem; padding: 6px 0; border-bottom: 1px solid var(--border); }
.plan-features li:last-child { border: none; }
.plan-features li i.fa-check { color: var(--green); }
.plan-features li i.fa-times  { color: var(--text-3); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 70px 0 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(240,180,41,0.025) 1px,transparent 1px), linear-gradient(90deg,rgba(240,180,41,0.025) 1px,transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--text); margin: 12px 0; }
.page-hero p  { color: var(--text-3); font-size: 1rem; max-width: 520px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 0.82rem; color: var(--text-3); margin-bottom: 14px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb i { font-size: 0.55rem; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start; }
.contact-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 14px; display: flex; gap: 14px; align-items: flex-start; transition: all 0.3s; }
.contact-card:hover { border-color: var(--border-gold); }
.contact-card-icon { width: 42px; height: 42px; background: rgba(240,180,41,0.10); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.contact-card h4 { color: var(--text); margin-bottom: 3px; font-size: 0.92rem; }
.contact-card p, .contact-card a { color: var(--text-3); font-size: 0.86rem; }
.contact-card a:hover { color: var(--gold); }
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; color: var(--text-2); font-size: 0.86rem; font-weight: 500; margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-4);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: var(--bg-3); }
.form-group select option { background: var(--bg-3); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); }
.footer-main { padding: 70px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand p { color: var(--text-3); font-size: 0.88rem; line-height: 1.7; margin: 14px 0 22px; max-width: 260px; }
.footer-logo span { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--text); }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 34px; height: 34px; background: var(--bg-4); border: 1px solid var(--border); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: var(--text-3); font-size: 0.86rem; transition: all 0.25s; }
.footer-social a:hover { background: rgba(240,180,41,0.10); color: var(--gold); border-color: var(--border-gold); }
.footer-col h4 { color: var(--text); font-size: 0.86rem; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { color: var(--text-3); font-size: 0.86rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: center; gap: 9px; color: var(--text-3); font-size: 0.86rem; margin-bottom: 11px; }
.footer-contact li i { color: var(--gold); width: 14px; }
.footer-trust { display: flex; gap: 10px; margin-top: 18px; }
.footer-trust span { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: var(--text-3); background: rgba(16,185,129,0.07); padding: 3px 9px; border-radius: 5px; }
.footer-trust span i { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--border); padding: 18px 0; }
.footer-bottom-inner p { color: var(--text-3); font-size: 0.8rem; margin-bottom: 5px; }
.footer-bottom-inner a { color: var(--gold); }
.footer-disclaimer { color: var(--text-3) !important; font-size: 0.76rem !important; }

/* ============================================
   LIVE CHAT WIDGET
   ============================================ */
.live-chat-widget { position: fixed; bottom: 22px; right: 22px; z-index: 9999; }
.chat-toggle { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg,var(--gold),var(--gold-dark)); color: #0a0d14; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(240,180,41,0.45); transition: all 0.3s; position: relative; }
.chat-toggle:hover { transform: scale(1.08); }
.chat-notif { position: absolute; top: -3px; right: -3px; width: 18px; height: 18px; background: var(--red); color: white; border-radius: 50%; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.chat-panel { position: absolute; bottom: 70px; right: 0; width: 340px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: none; flex-direction: column; overflow: hidden; max-height: 480px; }
.chat-panel.open { display: flex; }
.chat-header { background: var(--bg-4); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 34px; height: 34px; background: linear-gradient(135deg,var(--gold),var(--gold-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #0a0d14; font-size: 0.85rem; }
.chat-header strong { display: block; font-size: 0.86rem; color: var(--text); }
.chat-online { font-size: 0.72rem; color: var(--green); display: flex; align-items: center; gap: 3px; }
.chat-online i { font-size: 0.48rem; animation: pulse 1.5s infinite; }
.chat-close-btn { color: var(--text-3); }
.chat-tabs { display: flex; border-bottom: 1px solid var(--border); }
.chat-tab { flex: 1; padding: 9px; font-size: 0.78rem; font-weight: 600; color: var(--text-3); border-bottom: 2px solid transparent; transition: all 0.25s; }
.chat-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 11px; }
.chat-msg { display: flex; gap: 9px; }
.msg-avatar { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.72rem; color: white; flex-shrink: 0; }
.msg-avatar.blue  { background: var(--blue); }
.msg-avatar.gold  { background: var(--gold); color: #0a0d14; }
.msg-avatar.green { background: var(--green); }
.msg-content { flex: 1; }
.msg-name { font-size: 0.72rem; font-weight: 600; color: var(--gold); display: flex; align-items: center; gap: 3px; margin-bottom: 3px; }
.verified { color: var(--blue-light); font-size: 0.62rem; }
.msg-content p { font-size: 0.82rem; color: var(--text-2); background: var(--bg-4); padding: 7px 11px; border-radius: 0 9px 9px 9px; }
.msg-time { font-size: 0.68rem; color: var(--text-3); display: block; margin-top: 3px; }
.system-msg { background: rgba(240,180,41,0.07); border: 1px solid var(--border-gold); border-radius: 7px; padding: 9px 13px; font-size: 0.8rem; color: var(--gold-dark); }
.system-msg a { color: var(--gold); font-weight: 600; text-decoration: underline; }
.chat-input-area { border-top: 1px solid var(--border); }
.chat-login-prompt { padding: 18px; text-align: center; }
.chat-login-prompt i { font-size: 1.4rem; color: var(--gold); margin-bottom: 7px; }
.chat-login-prompt p { font-size: 0.83rem; color: var(--text-3); margin-bottom: 11px; }

/* BACK TO TOP */
.back-to-top { position: fixed; bottom: 90px; right: 22px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-4); border: 1px solid var(--border); color: var(--text-3); font-size: 0.85rem; display: none; align-items: center; justify-content: center; z-index: 998; transition: all 0.25s; }
.back-to-top:hover { background: var(--gold); color: #0a0d14; border-color: var(--gold); }
.back-to-top.show { display: flex; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   RESPONSIVE — TABLET 900px
   ============================================ */
@media (max-width: 1100px) {
  .features-grid      { grid-template-columns: repeat(2,1fr); }
  .courses-grid       { grid-template-columns: repeat(2,1fr); }
  .products-grid      { grid-template-columns: repeat(2,1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2,1fr); }
  .footer-grid        { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .charts-grid  { grid-template-columns: repeat(2,1fr); }
  .plans-grid   { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 24px; }
  .header-top   { display: none; }

  /* MOBILE NAV */
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--bg-2);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 16px 24px;
    gap: 2px;
    transition: right 0.3s var(--ease);
    border-left: 1px solid var(--border);
    z-index: 999;
    overflow-y: auto;
    justify-content: flex-start;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  .nav-menu.open { right: 0; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a { width: 100%; padding: 11px 14px; border-radius: 8px; font-size: 0.92rem; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: var(--bg-4);
    box-shadow: none;
    border: none;
    border-radius: 8px;
    margin-top: 4px;
    display: none;
    padding: 4px 8px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .hamburger   { display: flex; }
  .nav-actions .btn { display: none; }
}

/* ============================================
   RESPONSIVE — MOBILE 600px
   ============================================ */
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .container { padding: 0 16px; }

  .features-grid      { grid-template-columns: 1fr; }
  .courses-grid       { grid-template-columns: 1fr; }
  .products-grid      { grid-template-columns: 1fr; }
  .charts-grid        { grid-template-columns: 1fr; }
  .testimonials-grid  { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p     { max-width: 100%; }

  .hero { padding: 60px 0 80px; }
  .hero-cta     { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats   { gap: 16px; }
  .stat-div     { display: none; }
  .stat         { padding: 0 16px 0 0; }

  .cta-buttons  { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { justify-content: center; }
  .cta-box      { padding: 36px 22px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 22px 18px; }

  .page-hero    { padding: 48px 0 36px; }
  .section-header { margin-bottom: 36px; }

  .chat-panel   { width: calc(100vw - 28px); right: -4px; }

  .signals-table th,
  .signals-table td { padding: 10px 12px; font-size: 0.8rem; }

  /* Stack ticker items on very small screens */
  .tick-item { padding: 0 16px; }
  .tick-sym  { min-width: 54px; font-size: 0.75rem; }
  .tick-price { min-width: 60px; font-size: 0.82rem; }
  .tick-change { min-width: 50px; font-size: 0.7rem; padding: 1px 5px; }
}

@media (max-width: 400px) {
  .logo-main { font-size: 0.95rem; }
  .logo-sub  { display: none; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
}
