/* =========================
   🔥 GLOBAL RESET
   ========================= */

body {
  margin: 0;
  padding: 0;
}

/* =========================
   🌐 BASE
   ========================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;

  /* 🔥 BRIGHTER, CLEANER BACKGROUND */
  background: radial-gradient(
    circle at 50% -20%,
    #334155 0%,   /* soft top light */
    #1e293b 35%,  /* main surface */
    #0f172a 70%,  /* depth */
    #020617 100%  /* base */
  );

  color: #e2e8f0;
}

/* =========================
   🧾 HEADINGS
   ========================= */
h1, h2, h3 {
  margin: 0 0 10px;
  color: #f1f5f9; /* slightly brighter than body text */
}

/* =========================
   📄 PARAGRAPHS
   ========================= */
p {
  color: #cbd5f5; /* brighter, easier to read */
  line-height: 1.6;
}

/* =========================
   📦 BASIC CONTAINER
   ========================= */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* =========================
   🧱 CARD / PANEL BASE
   ========================= */
.card {
  background: #111827;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 20px;
}

/* =========================
   ✨ SECTION SPACING
   ========================= */
.section {
  margin: 60px auto;
}

/* =========================
   🔘 BUTTON (MATCH YOUR STYLE)
   ========================= */
.nav-cta {
  background: #22c55e;
  color: #020617;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.nav-cta:hover {
  opacity: 0.9;
}

/* =========================
   🚀 HERO FIX (FINAL)
   ========================= */

.hero {
  position: relative;
  text-align: center;
  padding: 140px 20px 80px;
  background: #020617;
  overflow: hidden;
}

/* overlay sits behind */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.7);
  z-index: 1;
}

/* logo sits above overlay */
.hero-logo-wrap {
  position: relative;
  z-index: 2;
  margin-bottom: 15px;
}

/* content on top */
.hero-content {
  position: relative;
  z-index: 2;
}

/* text sizing */
.hero-title {
  font-size: 60px;
  font-weight: bold;
  color: #22c55e;
}

.hero-sub {
  font-size: 24px;
  margin-top: 10px;
}

.hero-desc {
  color: #94a3b8;
  margin-top: 10px;
}

/* =========================
   🎯 HERO VISUAL FIX
   ========================= */



/* OVERLAY STRONGER */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.75);
  z-index: 1;
}

/* =========================
   🎯 HERO FINAL POLISH
   ========================= */

.hero {
  position: relative;
  text-align: center;
  padding: 160px 20px 100px;

  background: url('/images/hero-bg.png') center/cover no-repeat;

  /* subtle dark overlay */
  box-shadow: inset 0 0 0 1000px rgba(2,6,23,0.75);

  /* clean separation */
  border-bottom: 1px solid #1e293b;
}

/* =========================
   🔥 GRID FIX (CRITICAL)
   ========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;

  max-width: 1000px;
  margin: 0 auto;
}

/* =========================
   🧱 CARD
   ========================= */
.card {
  background: linear-gradient(160deg, #0f172a, #020617);
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: 14px;
  padding: 24px;

  box-shadow:
    0 0 20px rgba(34,197,94,0.05),
    0 10px 30px rgba(0,0,0,0.6);

  transition: 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(34,197,94,0.4);
  box-shadow:
    0 0 30px rgba(34,197,94,0.2),
    0 20px 50px rgba(0,0,0,0.8);
}

/* =========================
   📊 STATS
   ========================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 30px auto;
}

.stat {
  background: #0f172a;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #1e293b;
}

.value {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

/* =========================
   📊 STATS FIX
   ========================= */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  max-width: 900px;
  margin: 40px auto;
}

.stat-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

/* =========================
   🔘 BUTTONS
   ========================= */
.btn-primary {
  background: #22c55e;
  border: none;
  padding: 12px 26px;
  border-radius: 10px;
  color: white;
  cursor: pointer;
}

/* =========================
   📌 FOOTER
   ========================= */
.footer {
  margin-top: 80px;
  padding: 40px 20px;
  border-top: 1px solid #1e293b;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  color: #64748b;
}


/* =========================
   🔥 FIX NAV TEXT COLOUR
   ========================= */

.logo-text {
  color: #22c55e !important;   /* green */
  text-decoration: none !important;
}

.logo-text:visited {
  color: #22c55e !important;
}

.logo-text:hover {
  color: #16a34a !important;
}

/* =========================
   🎯 CENTER SECTION TEXT FIX
   ========================= */

.section p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* =========================
   🚀 CTA SECTION FIX
   ========================= */

.cta {
  text-align: center;
  max-width: 800px;
  margin: 80px auto;
  padding: 40px 20px;
}

.cta h2 {
  margin-bottom: 10px;
}

.cta p {
  margin-bottom: 20px;
}

/* =========================
   🔥 FOOTER LINK FIX
   ========================= */

.footer a {
  color: #94a3b8;
  text-decoration: none;
}

.footer a:visited {
  color: #94a3b8;
}

.footer a:hover {
  color: #22c55e;
}


/* =========================
   ✨ HEADING GLOW
   ========================= */

h1, h2 {
  text-shadow: 0 0 20px rgba(34,197,94,0.15);
}

/* =========================
   📦 WATCHLIST CARDS
   ========================= */

.watch-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 16px;

  display: flex;
  flex-direction: column;
  gap: 6px;

  min-height: 140px;
}

/* =========================
   📦 WATCHLIST CARDS
   ========================= */

.watch-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;

  padding: 16px;

  display: flex;
  flex-direction: column;
  gap: 6px;

  min-height: 120px;
}

.symbol {
  font-size: 14px;
  font-weight: bold;
}

.percent {
  font-size: 22px;
  font-weight: bold;
}

.meta {
  font-size: 12px;
  color: #64748b;
}

.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;

  max-width: 1000px;
  margin: 30px auto;
}

.watch-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;

  height: 140px;              /* 🔥 forces equal size */
  padding: 16px;

  display: flex;
  flex-direction: column;
  justify-content: center;    /* centers content vertically */
  align-items: center;        /* centers horizontally */
  text-align: center;
}

.watch-card > * {
  margin: 2px 0;
}

.symbol {
  font-weight: bold;
  font-size: 14px;
}

.percent {
  font-size: 20px;
  font-weight: bold;
}

.meta {
  font-size: 12px;
  color: #64748b;
}

.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;

  max-width: 900px;
  margin: 30px auto;
}

.watch-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 20px;
}

.stat-line {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 14px;
}

/* =========================
   📊 TRADE ROW STRUCTURE
   ========================= */

.trade-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;

  padding: 10px 0;
  border-bottom: 1px solid #1e293b;
}

.trade-symbol {
  font-weight: bold;
  font-size: 14px;
}

.trade-info {
  font-size: 12px;
  color: #94a3b8;
  text-align: center;
}

.trade-percent {
  text-align: right;
  font-weight: bold;
  font-size: 14px;
}

.trade-group {
  max-width: 900px;
  margin: 40px auto;
}

.trade-group h3 {
  text-align: center;
  margin-bottom: 15px;
}

.trade-group + .trade-group {
  margin-top: 60px;
}

.trade-row:hover {
  background: rgba(34,197,94,0.05);
}

/* =========================
   📊 TRADE GROUP BOX
   ========================= */

.trade-group {
  max-width: 900px;
  margin: 40px auto;

  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 14px;
  padding: 20px;
}

/* =========================
   📦 TRADE BOX
   ========================= */

.trade-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;

  padding: 14px 16px;
  margin-bottom: 10px;

  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 10px;
}

.trade-symbol {
  font-weight: bold;
  font-size: 14px;
}

.trade-info {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

.trade-percent {
  text-align: right;
  font-weight: bold;
  font-size: 14px;
}

.trade-row.green {
  border-left: 3px solid #22c55e;
}

.trade-row.red {
  border-left: 3px solid #ef4444;
}

.trade-row:hover {
  background: rgba(34,197,94,0.05);
  transform: translateY(-2px);
}

/* =========================
   📊 FORCE STRUCTURE FIX
   ========================= */

/* target each group container */
#smallSection,
#midSection,
#largeSection {
  max-width: 900px;
  margin: 40px auto;
}

/* target EACH TRADE ROW (this is the trick) */
#smallSection > div,
#midSection > div,
#largeSection > div {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;

  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 10px;

  padding: 12px 16px;
  margin-bottom: 10px;
}

/* LEFT (symbol) */
#smallSection > div > :first-child,
#midSection > div > :first-child,
#largeSection > div > :first-child {
  font-weight: bold;
}

/* CENTER (entry text) */
#smallSection > div > :nth-child(2),
#midSection > div > :nth-child(2),
#largeSection > div > :nth-child(2) {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

/* RIGHT (% return) */
#smallSection > div > :last-child,
#midSection > div > :last-child,
#largeSection > div > :last-child {
  text-align: right;
  font-weight: bold;
}

/* HOVER */
#smallSection > div:hover,
#midSection > div:hover,
#largeSection > div:hover {
  background: rgba(34,197,94,0.05);
}

/* =========================
   💰 RETURN COLOURS
   ========================= */

#smallSection > div > :last-child,
#midSection > div > :last-child,
#largeSection > div > :last-child {
  font-weight: bold;
}

/* positive */
.positive {
  color: #22c55e;
}

/* negative */
.negative {
  color: #ef4444;
}

/* =========================
   📊 EDGE BAR
   ========================= */

#smallSection > div,
#midSection > div,
#largeSection > div {
  border-left: 3px solid transparent;
}

/* subtle default */
#smallSection > div { border-left-color: #22c55e33; }
#midSection > div { border-left-color: #facc1533; }
#largeSection > div { border-left-color: #3b82f633; }

/* =========================
   🔥 NAV LOGO FIX (GLOBAL)
   ========================= */

.nav-logo {
  width: 30px;
  height: auto;
  display: block;
}

/* optional: tighten spacing */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================
   🔥 HERO LOGO (MATCH WATCHLIST)
   ========================= */

.hero-logo {
  width: 30px;
  height: auto;
  display: block;

  filter: drop-shadow(0 0 10px rgba(34,197,94,0.4));
}

.header {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================
   🎯 HEADER CENTER FIX
   ========================= */


.header img,
.hero-logo {
  margin-bottom: 10px;
}

.header p {
  max-width: 500px;
  margin: 0 auto;
}

.header-sub {
  color: #94a3b8;
  margin: 6px 0;
}

/* =========================
   🚀 FOOTER BUTTON STYLE
   ========================= */

.footer button {
  background: linear-gradient(90deg, #22c55e, #16a34a);
  border: none;

  padding: 12px 18px;
  border-radius: 10px;

  color: white;
  font-weight: bold;
  cursor: pointer;

  transition: 0.2s;

  width: auto;
  display: inline-block;   /* makes it look like a proper CTA */
}

/* hover effect */
.footer button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34,197,94,0.3);
}

.footer-col button {
  max-width: 180px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col p {
  margin-bottom: 10px;
}

.footer-col button {
  align-self: flex-start; /* keeps it neat under text */
}

/* =========================
   💰 PRICING CARD
   ========================= */

.pricing-card {
  background: linear-gradient(160deg, #0f172a, #020617);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 16px;

  padding: 30px;
  margin: 30px auto;

  max-width: 400px;
  text-align: center;
}

.price {
  font-size: 40px;
  font-weight: bold;
  color: #22c55e;
}

.price span {
  font-size: 18px;
  color: #94a3b8;
}

.sub {
  margin-top: 8px;
  color: #94a3b8;
  font-size: 14px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.features li {
  margin: 8px 0;
}

.small {
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
}

.trust-line {
  margin-top: 15px;
  font-size: 13px;
  color: #64748b;
}

/* =========================
   🎯 SCROLL OFFSET FIX
   ========================= */

#how-it-works,
#performance {
  scroll-margin-top: 80px;
}

html {
  scroll-behavior: smooth;
}


.section p {
  max-width: 700px;
  margin: 0 auto 20px;
}


.nav-logo {
  width: 30px;
}

.logo-text {
  color: #22c55e;
  font-weight: bold;
  text-decoration: none;
}

.nav-cta {
  background: #22c55e;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.header {
  margin-top: 20px;
}

/* =========================
   🔥 NAV HEIGHT FIX
   ========================= */



.hero-logo {
  width: 30px;
  margin-bottom: 10px;
}

/* =========================
   🔥 FORCE NAVBAR SIZE FIX
   ========================= */




/* =========================
   🔥 FORCE FIX NAV (GUIDE PAGE)
   ========================= */


.hero-logo {
  width: 30px;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================
   📊 CENTER CURRENT TRADES
   ========================= */

#currentTrades,
.current-trades {
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
}

.current-trades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;

  justify-content: center;
  align-items: stretch;

  max-width: 800px;
  margin: 20px auto;
}

.trade-card {
  text-align: center;
}

.current-trades h2,
#currentTrades h2 {
  text-align: center;
}


.header-sub {
  color: #94a3b8;
  margin-top: 6px;

  max-width: 500px;
}

/* =========================
   🎯 CENTER CURRENT TRADES HEADER
   ========================= */

.current-trades-header {
  max-width: 800px;
  margin: 40px auto 20px auto;
  text-align: center;
}

.current-trades-header p {
  color: #94a3b8;
  margin-top: 6px;
}

.current-trades-header {
  margin-top: 20px;
}

/* =========================
   📊 PERFORMANCE BAR CLEAN
   ========================= */

.performance-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 20px auto;
}

.performance-label {
  font-size: 12px;
  color: #94a3b8;
}

.performance-sub {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 6px;
}

.performance-bar {
  background: #1e293b;
  height: 10px;
  border-radius: 6px;
  overflow: hidden;
}

.performance-fill {
  height: 100%;
  width: 0%;
  background: #22c55e;
  transition: width 0.4s ease;
}

.performance-bar {
  height: 8px;
}

/* =========================
   🔙 GUIDE BACK BUTTON
   ========================= */

.guide-cta {
  text-align: center;
  margin: 40px auto;
}

.btn-primary {
  transition: all 0.2s ease;
}

/* =========================
   🔙 CENTER BUTTON
   ========================= */

.guide-cta {
  display: flex;
  justify-content: center;
  margin: 40px auto;
}

.guide-cta {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* 🔥 FORCE CENTER BUTTON */

.guide-cta {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  width: 100% !important;
  margin: 40px auto !important;
}

.guide-cta button {
  margin: 0 auto !important;
}

.cta button {
  width: auto;
}

.guide-cta {
  text-align: center;
  margin: 30px auto;
}

/* 🔥 FIX FOOTER BUTTON TEXT WRAP */

.footer button {
  width: auto;
  display: inline-block;
  white-space: nowrap;
}

.footer button {
  padding: 8px 14px;
  border-radius: 8px;
}

/* =========================
   🔥 FIX ALL LOGO SIZES
   ========================= */

.nav-logo {
  width: 30px;
  height: auto;
}

.hero-logo {
  width: 30px;
  height: auto;
}

/* prevent global image stretch */
img {
  max-width: 100%;
  height: auto;
}

.nav-logo {
  width: 30px;
  height: auto;
}

.hero-logo {
  width: 30px;
  height: auto;
}

.footer {
  width: 100%;
  background: #020617;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* =========================
   🔥 GLOBAL SPACING POLISH
   ========================= */

.section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.header {
  margin: 40px auto 20px auto;
}

h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

p {
  line-height: 1.6;
}

.btn-primary,
.nav-cta,
.footer button {
  background: linear-gradient(90deg, #22c55e, #16a34a);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.btn-primary:hover,
.nav-cta:hover,
.footer button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34,197,94,0.3);
}


.header-sub {
  max-width: 500px;
  color: #94a3b8;
}

.card {
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 20px;
}

.card:hover {
  border-color: #22c55e;
}

.footer {
  background: #020617;
  padding: 50px 20px 20px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #1e293b;
}

.faq-item h3 {
  margin-bottom: 8px;
}

.faq-item p {
  color: #94a3b8;
}

/* =========================
   🔥 FORCE NORMAL LAYOUT
   ========================= */

body {
  display: block !important;
}


.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}




/* 🔥 STOP SIDE SCROLL */
html, body {
  overflow-x: hidden;
}

/* =========================
   🔥 GLOBAL SPACING RESET
   ========================= */

.header {
  margin: 40px auto 20px auto;
}

.hero {
  padding: 80px 20px 60px;
}



.section h2 {
  margin-bottom: 10px;
}

.section p {
  margin-bottom: 15px;
}


.footer {
  margin-top: 60px;
}

/* 🔥 FIX OVERLAPPING SECTIONS */


.card {
  margin-bottom: 20px;
}

/* =========================
   🔥 FINAL CLEAN LAYOUT
   ========================= */

.section {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 40px auto 20px auto;
}

.grid {
  display: grid;
  gap: 25px;
  max-width: 900px;
  margin: 30px auto;
}

.card {
  margin-bottom: 20px;
}

.cta {
  max-width: 900px;
  margin: 60px auto;
  text-align: center;
}

#statsGrid {
  scroll-margin-top: 80px;
}

/* =========================
   🔥 FINAL STATS GRID FIX
   ========================= */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  max-width: 900px;
  margin: 30px auto;
}

.stat-box {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.paywall {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(8px);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

.paywall-content {
  text-align: center;
  padding: 40px;
}

.unlock-btn {
  margin-top: 20px;
  padding: 12px 24px;
  background: #22c55e;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

body.locked {
  overflow: hidden;
}

.locked .content {
  filter: blur(6px);
  pointer-events: none;
}

body.locked {
  overflow: hidden;
}

.locked .container {
  filter: blur(6px);
  pointer-events: none;
}

.nav-cta {
  color: #020617;
  font-weight: 600;
}

.nav-cta {
  color: white !important;
}

body {
  padding-top: 60px;
}


  


  .footer-col {
    align-items: center;
  }

  .footer-col button {
    align-self: center;
  }



.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  text-align: center;
}

.footer-disclaimer {
  color: #64748b;
  font-size: 12px;
  margin-top: 5px;
}

/* Parent company block */
.footer-parent-block {
  margin-top: 20px;
}

.footer-logo {
  height: 130px;   /* bigger again */
  margin-bottom: 8px;
  opacity: 1;
}

.footer-parent {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}


/* =========================
   📊 CHART SECTION
========================= */

.chart-container {
  margin-top: 20px;
  padding: 20px;

  background: #020617;              /* matches your theme */
  border: 1px solid #1e293b;
  border-radius: 14px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Chart area */
#tv_chart {
  width: 100%;
  height: 420px;
  border-radius: 10px;
  overflow: hidden;
}

/* Section title (Price Chart) */
.section h3 {
  color: white;
  font-weight: 600;
}

/* =========================
   🖱️ CLICKABLE TRADE BOXES
========================= */

.box {
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover effect */
.box:hover {
  transform: scale(1.02);
  border-color: #22c55e;
  background: rgba(34,197,94,0.05);
}


/* =========================
   CHART PAGE
   ========================= */

.chart-container {
  position: relative;
  margin: 20px auto;
  width: 95%;
  max-width: 1200px;
  height: 700px; /* ✅ FIXED */
  border: 1px solid #1e293b;
  border-radius: 12px;
  overflow: hidden;
}

/* ENTRY LINE */
#entryLine {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #22c55e;
  top: 50%;
  left: 0;
  z-index: 10;
  opacity: 0.9;
}

/* ENTRY LABEL */
#entryLabel {
  position: absolute;
  right: 10px;
  top: 48%;
  background: #22c55e;
  color: black;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 6px;
  z-index: 11;
  font-weight: bold;
}

/* STOP LINE */
#stopLine {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #ef4444;
  left: 0;
  z-index: 10;
  opacity: 0.9;
}

/* STOP LABEL */
#stopLabel {
  position: absolute;
  right: 10px;
  background: #ef4444;
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 6px;
  z-index: 11;
  font-weight: bold;
}

/* BREAKOUT ZONE */
#breakoutZone {
  position: absolute;
  width: 100%;
  height: 40px;
  background: rgba(56, 189, 248, 0.2);
  border-top: 2px solid #38bdf8;
  border-bottom: 2px solid #38bdf8;
  z-index: 5;
}

/* RISK (RED) */
#riskBox {
  position: absolute;
  width: 100%;
  background: rgba(239, 68, 68, 0.25);
  z-index: 4;
}

/* REWARD (GREEN) */
#rewardBox {
  position: absolute;
  width: 100%;
  background: rgba(34, 197, 94, 0.25);
  z-index: 4;
}

/* RR LABEL */
#rrLabel {
  position: absolute;
  right: 10px;
  background: #020617;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 6px;
  z-index: 12;
  border: 1px solid #1e293b;
}

.chart-container {
  margin-top: 20px;
}

.section {
  padding-top: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: white;
}

.logo img {
  height: 32px;
  width: auto;
}

.footer-note {
  display: flex;
  flex-direction: column;
  align-items: center;   /* 🔥 THIS CENTERS IT PROPERLY */
  justify-content: center;
  text-align: center;
  margin: 60px auto;
  color: #94a3b8;
}

.footer-note p {
  margin: 4px 0;
}

.chart-search {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 30px 0;
}

.chart-search input {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #1e293b;
  background: #020617;
  color: white;
  width: 220px;
}

.chart-search button {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  background: #22c55e;
  color: black;
  font-weight: 600;
  cursor: pointer;
}

.chart-search button:hover {
  background: #16a34a;
}

.chart-note {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #94a3b8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.chart-note span {
  display: block;
  margin-top: 8px;
  color: #64748b;
}

.step-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  border: 1px solid #1e293b;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feature-card {
  text-align: center;
}

.feature-img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #1e293b;
  margin-bottom: 15px;
}

.feature-sub {
  color: #64748b;
  font-size: 13px;
  margin-top: 6px;
}

/* =========================
   📱 MOBILE OPTIMISATION (FINAL CLEAN)
========================= */

@media (max-width: 768px) {

  /* =========================
     GLOBAL
  ========================= */
  html, body {
    overflow-x: hidden;
    background: #020617;
    font-size: 16px;
  }

  * {
    max-width: 100%;
    box-sizing: border-box;
  }

  
  /* =========================
     HERO
  ========================= */
  .hero-logo {
    width: 90px !important;
  }

  .hero-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  /* =========================
     SECTIONS
  ========================= */
  .section {
    max-width: 100%;
    padding: 20px 15px;
  }

  /* =========================
     GRIDS (STACKED CLEAN)
  ========================= */
  .feature-grid {
    grid-template-columns: 1fr !important;
    gap: 50px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .stats,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .watchlist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* =========================
     CHART
  ========================= */
  .chart-container {
    padding: 15px;
    margin-top: 15px;
  }

  #tv_chart {
    height: 300px;
  }

  /* =========================
     FOOTER
  ========================= */
  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    width: 100%;
    max-width: 300px;
  }

  .footer-logo {
    margin: 0 auto 10px auto;
  }

  .footer-parent-block {
    text-align: center;
  }

  footer {
    width: 100%;
    margin: 0 auto;
  }

  /* =========================
     BUTTONS
  ========================= */
  .btn-primary,
  .nav-cta {
    padding: 14px 20px;
    font-size: 16px;
  }

}
/* REMOVE DEFAULT LINK STYLING */
a {
  text-decoration: none;
  color: inherit;
}

/* PREVENT PURPLE VISITED LINKS */
a:visited {
  color: inherit;
}

/* OPTIONAL: HOVER STYLE */
a:hover {
  opacity: 0.8;
}

.section {
  background: #020617;              /* dark card */
  border: 1px solid #1e293b;        /* subtle edge */
  border-radius: 12px;              /* smooth corners */
  padding: 30px;
}

.section {
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.login-hero {
  background: url('/images/hero-bg.png') center/cover no-repeat;
  box-shadow: inset 0 0 0 1000px rgba(2,6,23,0.75);

  padding: 80px 20px;   /* space between nav + footer */
}

.hero {
  min-height: 90vh;   /* 👈 THIS FIXES IT */
}

.hero-logo {
  width: 110px;      /* was ~90 */
  margin-bottom: 15px;
}

/* =========================
✅ NAV FINAL (CLEAN + FIXED)
========================= */

/* NAV BAR */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: #020617;
  border-bottom: 1px solid #1e293b;
  z-index: 1000;
}

/* INNER */
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
}

/* LEFT */
.nav-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* LOGO */
.nav-logo {
  width: 28px;
}

/* DESKTOP LINKS (FIXED SPACING ISSUE) */
.nav-links {
  display: flex;
  align-items: center;

  gap: 12px;          /* ✅ tight spacing */
  width: auto;        /* ✅ stop full-width stretch */
  flex: 0 0 auto;     /* ✅ CRITICAL: prevents spreading */
}

/* LINKS */
.nav-links a {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #22c55e;
}

/* CTA */
.nav-cta {
  background: #22c55e;
  color: #020617;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
}

/* BURGER */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  margin-left: auto;   /* ✅ forces right */
}

/* =========================
📱 MOBILE (FIXED PROPERLY)
========================= */

@media (max-width: 768px) {

  /* hide desktop nav completely */
  .nav-links {
    display: none;
  }

  /* show burger */
  .menu-toggle {
    display: block;
  }

  /* dropdown */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    align-items: center;

    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;

    background: #020617;
    padding: 20px 0;
    border-top: 1px solid #1e293b;
    z-index: 999;
  }

  .nav-links.active a {
    padding: 14px 0;
    width: 100%;
    text-align: center;
  }
}

/* =========================
FIX NAV SPACING (REAL FIX)
========================= */

/* wrapper controls alignment */
.nav-links-wrap {
  display: flex;
  justify-content: flex-end;
}

/* actual links stay tight */
.nav-links {
  display: flex;
  gap: 12px;
  width: auto;
}

/* STOP stretching */
.nav-inner {
  display: flex;
  justify-content: space-between;
}

/* =========================
MOBILE FIX
========================= */

@media (max-width: 768px) {

  .nav-links-wrap {
    width: 100%;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

.lock-icon {
  margin-left: 6px;
  opacity: 0.6;
  font-size: 12px;
}

/* GUIDE PAGE FIX */
.guide-container {
  max-width: 900px;
  margin: 120px auto 60px auto;
  padding: 20px;
  line-height: 1.6;
}

.guide-container h1 {
  text-align: center;
  margin-bottom: 30px;
}

.guide-container h2 {
  margin-top: 40px;
}

.guide-container h3 {
  margin-top: 25px;
}

.guide-container p {
  margin: 15px 0;
}

.guide-container ul {
  margin: 15px 0 15px 20px;
}

.divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 40px 0;
}