/* BullMarkets homepage — strong visual system (overrides Bootstrap defaults) */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --h-ink: #050b12;
  --h-navy: #0a1624;
  --h-panel: #122033;
  --h-line: rgba(255, 255, 255, 0.12);
  --h-gold: #c9a227;
  --h-gold-2: #f0d78c;
  --h-teal: #2f9d8a;
  --h-teal-2: #5ee0c5;
  --h-surface: #eef2f6;
  --h-card: #ffffff;
  --h-text: #101820;
  --h-muted: #5d6b7a;
  --h-radius: 1.25rem;
  --h-shadow: 0 24px 60px rgba(5, 11, 18, 0.18);
  --h-shadow-sm: 0 10px 28px rgba(5, 11, 18, 0.1);
}

html[dir="rtl"] .page-home { font-family: "Cairo", "Manrope", system-ui, sans-serif; }
html[dir="ltr"] .page-home { font-family: "Manrope", "Cairo", system-ui, sans-serif; }

.page-home {
  color: var(--h-text);
}

.page-home .bm-page-shell,
.page-home .container-fluid {
  max-width: none;
  width: 100%;
}

/* ===== HERO ===== */
.hero-section {
  position: relative;
  overflow: hidden;
  margin: 0 0 2.5rem !important;
  padding: 3.75rem clamp(1rem, 3vw, 2.5rem) 4rem !important;
  border-radius: 0 !important;
  width: 100% !important;
  max-width: none !important;
  color: #fff !important;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(47, 157, 138, 0.28), transparent 55%),
    radial-gradient(700px 380px at 0% 100%, rgba(201, 162, 39, 0.2), transparent 50%),
    linear-gradient(155deg, #050b12 0%, #0a1624 42%, #14304a 100%) !important;
  box-shadow: none;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 40% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 215, 140, 0.16), transparent 70%);
  pointer-events: none;
}

html[dir="rtl"] .hero-section::after {
  right: auto;
  left: -80px;
}

.hero-section > .row {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin-inline: auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 215, 140, 0.35);
  background: rgba(201, 162, 39, 0.12);
  color: var(--h-gold-2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-section h1,
.hero-section .display-5 {
  font-size: clamp(2rem, 4.2vw, 3.35rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em;
  line-height: 1.12;
  max-width: 14ch;
  margin-bottom: 1.1rem !important;
}

html[dir="rtl"] .hero-section h1 {
  max-width: 16ch;
}

.hero-section .lead {
  font-size: 1.12rem !important;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78) !important;
  max-width: 36rem;
}

.hero-section .btn-warning {
  background: linear-gradient(135deg, #e2c15a, #b8901a) !important;
  border: 0 !important;
  color: #111 !important;
  font-weight: 800;
  border-radius: 0.85rem;
  padding: 0.95rem 1.45rem;
  box-shadow: 0 14px 34px rgba(201, 162, 39, 0.35);
}

.hero-section .btn-outline-light {
  border-width: 1.5px !important;
  border-radius: 0.85rem;
  font-weight: 700;
  padding: 0.95rem 1.35rem;
  background: rgba(255, 255, 255, 0.04);
}

.hero-section .btn-outline-light:hover {
  background: #fff !important;
  color: #0a1624 !important;
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--h-line);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero-trust-pill i {
  color: var(--h-teal-2);
  font-size: 0.7rem;
}

/* Product preview panel */
.hero-product {
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.35rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.hero-product-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: 1px solid var(--h-line);
}

.hero-product-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.hero-product-dot:nth-child(1) { background: #ff5f57; }
.hero-product-dot:nth-child(2) { background: #febc2e; }
.hero-product-dot:nth-child(3) { background: #28c840; }

.hero-product-bar span {
  margin-inline-start: auto;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}

.hero-product-body {
  padding: 1.15rem 1.2rem 1.35rem;
}

.hero-product-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.25rem;
}

.hero-product-heading {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-chart {
  width: 100%;
  height: 140px;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--h-line);
  margin-bottom: 1rem;
  overflow: hidden;
}

.hero-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-features-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-features-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 1.45;
}

html[dir="rtl"] .hero-features-list li {
  padding: 0.65rem 1.2rem 0.65rem 0;
}

.hero-features-list li::before {
  content: "";
  position: absolute;
  top: 1rem;
  inset-inline-start: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--h-teal-2);
  box-shadow: 0 0 0 4px rgba(47, 157, 138, 0.2);
}

/* ===== SECTIONS ===== */
.section-block {
  margin-bottom: 3.25rem !important;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--h-teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-block > .h3,
.section-block h2.h3 {
  font-weight: 800 !important;
  letter-spacing: -0.025em;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem) !important;
  margin-bottom: 1.35rem !important;
}

.section-lead {
  color: var(--h-muted);
  max-width: 40rem;
  margin-top: -0.6rem;
  margin-bottom: 1.5rem;
}

/* Feature grid */
.feature-card {
  position: relative;
  background: var(--h-card) !important;
  border: 1px solid rgba(16, 24, 32, 0.08) !important;
  border-radius: 1.15rem !important;
  padding: 1.35rem !important;
  box-shadow: var(--h-shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--h-teal), var(--h-gold));
  opacity: 0.85;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--h-shadow);
}

.feature-card .feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: rgba(47, 157, 138, 0.12);
  color: var(--h-teal);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}

.feature-card h3 {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem !important;
}

.feature-card p {
  color: var(--h-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Broker band */
.broker-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(500px 200px at 100% 0%, rgba(201, 162, 39, 0.12), transparent 60%),
    linear-gradient(180deg, #fff, #f7fafc) !important;
  border: 1px solid rgba(16, 24, 32, 0.08) !important;
  border-radius: 1.5rem !important;
  box-shadow: var(--h-shadow-sm);
}

.broker-subtitle {
  max-width: 46rem;
  color: var(--h-muted) !important;
  font-size: 1.02rem !important;
}

.broker-logo-card {
  min-width: 200px;
  padding: 1.25rem 1.5rem !important;
  background: #fff !important;
  border: 1px solid rgba(16, 24, 32, 0.08) !important;
  border-radius: 1rem !important;
  box-shadow: var(--h-shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.broker-logo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.45) !important;
}

.broker-logo-text {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--h-navy);
}

.broker-logo-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--h-muted);
  margin-top: 0.15rem;
}

/* Market cards */
.market-card {
  position: relative;
  background: var(--h-card) !important;
  border: 1px solid rgba(16, 24, 32, 0.08) !important;
  border-radius: 1.25rem !important;
  padding: 1.4rem !important;
  box-shadow: var(--h-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.market-card::after {
  content: "";
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  top: 0;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--h-teal), var(--h-gold));
}

.market-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--h-shadow);
}

.market-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
  color: var(--h-navy);
}

.market-card .btn {
  border-radius: 0.7rem;
  font-weight: 700;
}

.market-card .btn-primary {
  background: var(--h-navy) !important;
  border-color: var(--h-navy) !important;
}

.market-card .btn-success {
  background: linear-gradient(135deg, #2f9d8a, #217a6b) !important;
  border: 0 !important;
}

/* Highlight / premium */
.highlight-card {
  background: var(--h-card) !important;
  border: 1px solid rgba(16, 24, 32, 0.08) !important;
  border-radius: 1.35rem !important;
  box-shadow: var(--h-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--h-shadow);
}

.highlight-card-experts {
  background:
    linear-gradient(145deg, rgba(47, 157, 138, 0.08), transparent 55%),
    #fff !important;
}

.highlight-card-copy {
  background:
    linear-gradient(145deg, rgba(201, 162, 39, 0.1), transparent 55%),
    #fff !important;
}

.highlight-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(16, 24, 32, 0.06);
  color: var(--h-navy);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* Platform feature chips */
.feature-chip {
  background: var(--h-card) !important;
  border: 1px solid rgba(16, 24, 32, 0.08) !important;
  border-radius: 1rem !important;
  padding: 1rem 1.1rem !important;
  font-weight: 650;
  box-shadow: var(--h-shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 157, 138, 0.35) !important;
}

/* Pricing */
.pricing-trust-badge {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(47, 157, 138, 0.12);
  color: #1d6f62;
  font-weight: 700;
  font-size: 0.85rem;
}

.pricing-market-btn {
  border-radius: 999px !important;
  border: 1px solid rgba(16, 24, 32, 0.12) !important;
  background: #fff !important;
  color: var(--h-text) !important;
  font-weight: 700 !important;
  padding: 0.55rem 1rem !important;
}

.pricing-market-btn.active,
.pricing-market-btn[aria-selected="true"] {
  background: var(--h-navy) !important;
  color: #fff !important;
  border-color: var(--h-navy) !important;
}

.pricing-card {
  background: #fff !important;
  border: 1px solid rgba(16, 24, 32, 0.08) !important;
  border-radius: 1.35rem !important;
  box-shadow: var(--h-shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--h-shadow);
}

.pricing-card-popular {
  border-color: rgba(201, 162, 39, 0.55) !important;
  box-shadow: 0 18px 40px rgba(201, 162, 39, 0.18) !important;
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.08), transparent 40%),
    #fff !important;
}

.pricing-popular-badge {
  background: linear-gradient(135deg, #e2c15a, #b8901a) !important;
  color: #111 !important;
  font-weight: 800;
}

.pricing-price {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--h-navy);
}

.pricing-features li {
  padding: 0.35rem 0;
  color: var(--h-muted);
}

/* Trust / transparency */
.testimonial-card {
  background: #fff !important;
  border: 1px solid rgba(16, 24, 32, 0.08) !important;
  border-radius: 1.25rem !important;
  box-shadow: var(--h-shadow-sm);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--h-shadow);
}

.testimonial-author {
  color: var(--h-navy);
}

/* FAQ */
.faq-accordion .accordion-item,
.accordion-item {
  border: 1px solid rgba(16, 24, 32, 0.08) !important;
  border-radius: 1rem !important;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: #fff;
  box-shadow: var(--h-shadow-sm);
}

.accordion-button {
  font-weight: 700 !important;
  color: var(--h-navy) !important;
  background: #fff !important;
}

.accordion-button:not(.collapsed) {
  background: rgba(47, 157, 138, 0.08) !important;
  color: #1d6f62 !important;
  box-shadow: none !important;
}

/* CTA */
.cta-section {
  position: relative;
  overflow: hidden;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 3rem clamp(1rem, 3vw, 2.5rem) !important;
  background:
    radial-gradient(600px 240px at 85% 0%, rgba(201, 162, 39, 0.25), transparent 60%),
    linear-gradient(135deg, #050b12, #14304a) !important;
  border-radius: 0 !important;
  border: 0;
  box-shadow: none;
  color: #fff;
}

.cta-section h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-section .btn-warning {
  background: linear-gradient(135deg, #e2c15a, #b8901a) !important;
  border: 0 !important;
  color: #111 !important;
  font-weight: 800;
  border-radius: 0.8rem;
}

.cta-section .btn-success {
  background: var(--h-teal) !important;
  border: 0 !important;
  font-weight: 700;
  border-radius: 0.8rem;
}

.cta-section .btn-outline-light {
  border-radius: 0.8rem;
  font-weight: 650;
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .hero-section .col-lg-7,
  .hero-product,
  .section-block,
  .feature-card,
  .market-card,
  .highlight-card {
    animation: home-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-product { animation-delay: 0.12s; }
  .feature-card:nth-child(1) { animation-delay: 0.05s; }
  .feature-card:nth-child(2) { animation-delay: 0.1s; }
  .feature-card:nth-child(3) { animation-delay: 0.15s; }
  .feature-card:nth-child(4) { animation-delay: 0.2s; }
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767.98px) {
  .hero-section {
    margin: 0 0 2rem !important;
    padding: 2.4rem 1.1rem 2.6rem !important;
  }
  .hero-section h1 { max-width: none; }
}
