/* ============================================
   FOREXINDIAPRO.COM — DEEP GREEN PREMIUM
   Font: Bricolage Grotesque + Overpass
   ============================================ */

:root {
  --bg: #050d0a;
  --surface: #0a1612;
  --card: #0f1f1a;
  --border: #163028;
  --primary: #047857;
  --primary-light: #059669;
  --primary-glow: rgba(4, 120, 87, 0.15);
  --accent: #34d399;
  --accent-dark: #047857;
  --text: #e8f0ec;
  --text-muted: #8fa89c;
  --text-dim: #5c7a6d;
  --white: #f0faf5;
  --danger: #ef4444;
  --success: #22c55e;
  --radius: 8px;
  --border-thick: 3px;
  --transition: 0.28s ease;
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Overpass', sans-serif;
  --max-width: 1200px;
  --article-width: 820px;
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.72;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent); }

ul, ol { padding-left: 1.5rem; }

/* --- SUBTLE DOT PATTERN --- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: radial-gradient(rgba(4, 120, 87, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  color: var(--white);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-top: 2rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1.25rem; }

/* --- CONTAINER --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.container--narrow { max-width: var(--article-width); }

/* --- HEADER --- */
.header {
  background: var(--surface);
  border-bottom: var(--border-thick) solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.header__logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--bg);
}

.header__logo span { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav__link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 1rem;
  border-left: 1px solid var(--border);
  transition: all var(--transition);
}
.nav__link:first-child { border-left: none; }
.nav__link:hover, .nav__link--active {
  color: var(--accent);
  background: var(--primary-glow);
}

.nav__cta {
  background: var(--primary);
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  margin-left: 1rem;
  border-radius: var(--radius);
  border: 2px solid var(--primary-light);
  transition: all var(--transition);
}
.nav__cta:hover {
  background: var(--primary-light);
  border-color: var(--accent);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  transition: all var(--transition);
}

/* --- HERO --- */
.hero {
  background: linear-gradient(160deg, var(--bg) 0%, var(--surface) 40%, var(--bg) 100%);
  border-bottom: var(--border-thick) solid var(--border);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(4,120,87,0.05) 59px, rgba(4,120,87,0.05) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(4,120,87,0.05) 59px, rgba(4,120,87,0.05) 60px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  border: 2px solid var(--primary);
  padding: 0.4rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 100px;
}

.hero__title {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}
.hero__title span { color: var(--accent); }

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
}

.btn--primary {
  background: transparent;
  color: var(--accent);
  border-color: var(--primary);
}
.btn--primary:hover {
  background: var(--primary-glow);
  border-color: var(--accent);
  color: var(--accent);
}

.btn--accent, .btn.btn--accent.btn--large {
  display: inline-block;
  padding: 16px 40px;
  background: var(--primary) !important;
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius);
  border: 2px solid var(--primary-light);
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
}
.btn--accent:hover, .btn.btn--accent.btn--large:hover {
  background: var(--primary-light) !important;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn--large { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* --- STATS BAR --- */
.section--bordered {
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  background: var(--surface);
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

/* --- SECTIONS --- */
.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--surface);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: 2.25rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.section__desc {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- FEATURE GRID --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}

.feature:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(4, 120, 87, 0.1);
}

.feature__icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature__title {
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.feature__desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- CARD GRID --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.card__rank { margin-bottom: 0.75rem; }

.rank-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.7rem;
  border-radius: 4px;
}

.rank-badge--gold { background: rgba(52, 211, 153, 0.15); color: var(--accent); }
.rank-badge--steel { background: rgba(4, 120, 87, 0.15); color: var(--primary-light); }
.rank-badge--blue { background: rgba(143, 168, 156, 0.15); color: var(--text-muted); }

.card__title {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.card__title a {
  color: var(--white);
  transition: color var(--transition);
}
.card__title a:hover { color: var(--accent); }

.card__excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  align-items: center;
  flex-wrap: wrap;
}

/* --- CTA BOX --- */
.cta-box {
  background: var(--card);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}

.cta-box:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.cta-box__title {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.cta-box__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

/* --- FOOTER --- */
.footer {
  background: var(--surface);
  border-top: var(--border-thick) solid var(--primary);
  padding: 3.5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer__brand-name span { color: var(--accent); }

.footer__brand-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 1rem;
  margin-top: 0;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li { margin-bottom: 0.5rem; }

.footer__links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer__legal a:hover { color: var(--accent); }

.footer__disclaimer {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(4, 120, 87, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.footer__disclaimer strong {
  color: var(--danger);
}

/* --- BACK TO TOP --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* --- ARTICLE PAGE --- */
.article-hero {
  background: linear-gradient(160deg, var(--bg), var(--surface));
  border-bottom: var(--border-thick) solid var(--border);
  padding: 4rem 0 3rem;
}

.article-hero__breadcrumb {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.article-hero__breadcrumb a { color: var(--primary-light); }

.article-hero__title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.article-hero__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-body {
  padding: 3rem 0 4rem;
}

.article-body h2 {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
}

.article-body h3 {
  color: var(--accent);
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.article-body th {
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
}

.article-body td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.article-body tr:hover td {
  background: var(--primary-glow);
}

.article-body blockquote {
  border-left: 4px solid var(--accent);
  background: var(--card);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
  font-style: italic;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

/* Inline CTA */
.inline-cta {
  background: var(--card);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0;
  text-align: center;
}

.inline-cta p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* --- RESPONSIVE --- */
@media (max-width: 968px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--surface);
    flex-direction: column;
    border-top: 1px solid var(--border);
    padding: 1rem 0;
  }
  .nav.active { display: flex; }
  .nav__link { border-left: none; padding: 0.75rem 1.5rem; }
  .nav__cta { margin: 0.75rem 1.5rem; text-align: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero__title { font-size: 2rem; }
  h1 { font-size: 2rem; }
  .article-hero__title { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
}