/**
 * Earnsphere green branding — homepage sections (loaded after homepage.css).
 */
:root {
  --es-cta-gradient: linear-gradient(135deg, #34d399 0%, #22c55e 55%, #059669 100%);
  --es-cta-gradient-hover: linear-gradient(135deg, #22c55e 0%, #059669 50%, #047857 100%);
  --es-card-gradient: linear-gradient(
    168deg,
    #1a3d2a 0%,
    #122e20 48%,
    #0f2a1c 100%
  );
  --es-panel-gradient: linear-gradient(180deg, #0c2618 0%, #0f2a1c 72%, #061510 100%);
}

/* What Makes Earnsphere Different */
.earnsphere-brand {
  background: var(--es-cta-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

.why-choose-heading {
  background: linear-gradient(
    180deg,
    rgba(6, 21, 16, 0.35) 0%,
    rgba(10, 31, 24, 0.5) 100%
  );
  padding-top: 48px;
  border-radius: 16px 16px 0 0;
}

.feature-icon-line {
  background: rgba(34, 197, 94, 0.15) !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
}

.feature-card,
.hero-left .features-grid .feature-card {
  background:
    radial-gradient(ellipse 130% 90% at 50% -35%, rgba(52, 211, 153, 0.14), transparent 52%),
    radial-gradient(ellipse 70% 55% at 105% 102%, rgba(22, 163, 74, 0.12), transparent 48%),
    var(--es-card-gradient) !important;
  border-color: rgba(52, 211, 153, 0.22) !important;
}

.feature-card:hover {
  border-color: rgba(52, 211, 153, 0.45) !important;
  box-shadow: 0 20px 48px rgba(4, 15, 10, 0.45) !important;
}

/* Earnsphere in Their Own Words — testimonials */
.earnsphere-edge-section {
  background:
    radial-gradient(120% 140% at 50% -20%, rgba(52, 211, 153, 0.22) 0%, transparent 58%),
    var(--es-panel-gradient) !important;
  border-color: rgba(52, 211, 153, 0.12) !important;
}

.earnsphere-edge-brand {
  color: #34d399 !important;
}

.earnsphere-edge-card {
  background:
    radial-gradient(ellipse 130% 90% at 50% -35%, rgba(52, 211, 153, 0.14), transparent 52%),
    radial-gradient(ellipse 70% 55% at 105% 102%, rgba(22, 163, 74, 0.1), transparent 48%),
    var(--es-card-gradient) !important;
  border-color: rgba(52, 211, 153, 0.2) !important;
}

.earnsphere-edge-card:hover {
  border-color: rgba(52, 211, 153, 0.42) !important;
}

.earnsphere-edge-orb {
  background: radial-gradient(circle at 30% 25%, #6ee7b7, #22c55e 55%, #059669) !important;
}

/* Earn ready beats */
.earn-ready-orb--a {
  background: radial-gradient(circle, rgba(52, 211, 153, 0.55) 0%, transparent 70%) !important;
}

.earn-ready-orb--b {
  background: radial-gradient(circle, rgba(34, 197, 94, 0.5) 0%, transparent 68%) !important;
}

.earn-ready-orb--c {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.45) 0%, transparent 72%) !important;
}

.earn-ready-cta-card {
  border-color: rgba(52, 211, 153, 0.35) !important;
  background: rgba(6, 21, 16, 0.35) !important;
}

.earn-ready-cta-mesh {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(52, 211, 153, 0.4) 0%, transparent 52%),
    radial-gradient(90% 80% at 100% 100%, rgba(22, 163, 74, 0.45) 0%, transparent 52%),
    linear-gradient(128deg, #059669 0%, #047857 48%, #065f46 88%, #064e3b 100%) !important;
}

.earn-ready-cta-kicker {
  color: rgba(167, 243, 208, 0.95) !important;
}

.earn-ready-btn-primary {
  color: #047857 !important;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.2) !important;
}

.earn-ready-btn-primary:hover {
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35) !important;
}

/* Social trading — right side */
.social-trading-section {
  background:
    radial-gradient(circle at top left, rgba(52, 211, 153, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(22, 163, 74, 0.14), transparent 55%),
    #061510 !important;
  border-color: rgba(22, 163, 74, 0.45) !important;
}

.social-trader-column {
  border-color: rgba(34, 197, 94, 0.4) !important;
}

.social-phone-frame {
  background: #22c55e !important;
}

.social-phone-mock {
  border-color: rgba(34, 197, 94, 0.35) !important;
}

.feature-promo-btn {
  background: var(--es-cta-gradient) !important;
}

.feature-promo-btn:hover {
  background: var(--es-cta-gradient-hover) !important;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4) !important;
}

.feature-promo-banner {
  background: radial-gradient(circle at 20% 50%, rgba(52, 211, 153, 0.3), transparent 50%) !important;
}

/* Hero stats strip */
.hero-stats {
  background: linear-gradient(
    180deg,
    rgba(6, 21, 16, 0.4) 0%,
    rgba(10, 31, 24, 0.25) 100%
  ) !important;
  border-radius: 20px;
  padding: 8px 4px !important;
}

.hero-stat-card {
  background:
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(52, 211, 153, 0.12), transparent 55%),
    var(--es-card-gradient) !important;
  border: 1px solid rgba(52, 211, 153, 0.32) !important;
  box-shadow: 0 12px 30px rgba(4, 15, 10, 0.75) !important;
}

.hero-stat-value {
  color: #4ade80 !important;
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
}

.hero-stat-label {
  color: #a7f3d0 !important;
}

/* Strategy cards (incl. metals / instruments row) */
.strategy-card {
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(52, 211, 153, 0.1), transparent 50%),
    rgba(10, 31, 24, 0.92) !important;
  border-color: rgba(52, 211, 153, 0.28) !important;
}

.strategy-card:hover {
  border-color: rgba(52, 211, 153, 0.5) !important;
  box-shadow: 0 8px 24px rgba(4, 15, 10, 0.45) !important;
}

.strategy-card-blue {
  border-color: rgba(52, 211, 153, 0.45) !important;
  background:
    radial-gradient(ellipse 100% 70% at 50% 0%, rgba(52, 211, 153, 0.14), transparent 50%),
    rgba(12, 40, 28, 0.95) !important;
}

.strategy-card-green {
  border-color: rgba(74, 222, 128, 0.55) !important;
}

/* Market ticker — XAU, XAG, etc. */
.market-ticker {
  background: linear-gradient(90deg, #061510 0%, #0a1f18 50%, #061510 100%) !important;
  border-top-color: rgba(52, 211, 153, 0.22) !important;
  border-bottom-color: rgba(34, 197, 94, 0.15) !important;
}

.ticker-item {
  padding: 4px 10px 4px 6px !important;
  margin: 0 2px;
  border-radius: 8px;
  background: rgba(15, 42, 28, 0.55);
  border: 1px solid rgba(52, 211, 153, 0.12);
}

.ticker-ico-xau {
  background: linear-gradient(145deg, #6ee7b7 0%, #22c55e 55%, #059669 100%) !important;
  color: #ecfdf5 !important;
}

.ticker-ico-xag {
  background: linear-gradient(145deg, #a7f3d0 0%, #34d399 45%, #047857 100%) !important;
  color: #ecfdf5 !important;
}

.ticker-ico-wti {
  background: linear-gradient(145deg, #1a3d2a, #0f2a1c) !important;
}

.ticker-ico-eur,
.ticker-ico-spx {
  background: linear-gradient(145deg, #34d399, #059669) !important;
}

.ticker-sym {
  color: #ecfdf5 !important;
}

.ticker-divider {
  background: rgba(52, 211, 153, 0.25) !important;
}
