/* ====================================================
   Vertex TRADING — HOMEPAGE PREMIUM LIGHT THEME
   ==================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

/* ── Design tokens (scoped so they don't bleed into header/footer) ── */
.ft-home {
  --bg-1:          #fafafc;
  --bg-2:          #ffffff;
  --bg-3:          #f0f2f5;
  --bg-card:       #ffffff;
  --border:        rgba(0,0,0,0.08);
  --border-hi:     rgba(0,0,0,0.14);
  --orange:        #f7931a;
  --orange-dark:   #d97706;
  --orange-dim:    rgba(247,147,26,0.10);
  --orange-glow:   rgba(247,147,26,0.28);
  --green:         #00a86b;
  --green-dim:     rgba(0,168,107,0.1);
  --red:           #e0364a;
  --text-1:        #293337;
  --text-2:        #5a6e7a;
  --text-3:        #8a9ba4;
  --radius:        16px;
  --shadow:        0 8px 40px rgba(0,0,0,0.10);
  --tr:            all 0.26s cubic-bezier(0.4,0,0.2,1);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}

.ft-home *, .ft-home *::before, .ft-home *::after { box-sizing: border-box; }

/* Remove template body-bg on this page */
.ft-home { background: var(--bg-1); }

/* ── Shared section padding ── */
.ft-section     { padding: 90px 0; }
.ft-section-sm  { padding: 55px 0; }

/* ── Section title / sub ── */
.ft-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid rgba(247,147,26,0.22);
  padding: 5px 15px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.ft-section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.6px;
  line-height: 1.18;
  margin-bottom: 14px;
}
.ft-section-sub {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}
.ft-gradient-text {
  background: linear-gradient(90deg, var(--orange) 0%, #f7c218 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Shared CTA buttons ── */
.ft-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 6px 24px var(--orange-glow);
  transition: var(--tr);
  letter-spacing: -0.1px;
  border: none;
}
.ft-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--orange-glow);
  color: #fff !important;
}
.ft-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: var(--text-2) !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none !important;
  border: 1px solid var(--border-hi);
  transition: var(--tr);
}
.ft-btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange) !important;
  background: var(--orange-dim);
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */

.ft-hero {
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

/* Dot-grid scanline overlay */
.ft-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.045) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}
/* Radial glow — bottom right */
.ft-hero::after {
  content: "";
  position: absolute;
  bottom: -220px;
  right: -220px;
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(247,147,26,0.08), transparent 70%);
  pointer-events: none;
}

/* Left glow */
.ft-hero-left-glow {
  position: absolute;
  top: -150px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(67,97,238,0.06), transparent 70%);
  pointer-events: none;
}

/* Eyebrow badge */
.ft-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(247,147,26,0.1);
  border: 1px solid rgba(247,147,26,0.22);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 22px;
}
.ft-pulse {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--orange);
  animation: heroPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes heroPulse {
  0%, 100% { opacity: 1;   transform: scale(1);   }
  50%       { opacity: 0.3; transform: scale(0.65); }
}

.ft-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  color: var(--text-1);
  line-height: 1.1;
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}
.ft-hero-desc {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.78;
  max-width: 500px;
  margin-bottom: 34px;
}

/* Hero stats */
.ft-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 38px;
  background: rgba(0,0,0,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: fit-content;
}
.ft-hero-stat {
  padding: 14px 26px;
  text-align: center;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ft-hero-stat:last-child { border-right: none; }
.ft-hero-stat-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.5px;
  line-height: 1;
}
.ft-hero-stat-num .accent { color: var(--orange); }
.ft-hero-stat-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-3);
}

/* CTA row */
.ft-cta-row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Chart card */
.ft-chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hi);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(0,0,0,0.12), 0 0 0 1px var(--border);
  position: relative;
  margin-left: 20px;
}
.ft-chart-card::before {
  content: "";
  position: absolute;
  top: -100px; left: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(247,147,26,0.07), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.ft-chart-topbar {
  display: flex;
  align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.03);
  gap: 12px;
  position: relative;
  z-index: 1;
}
.ft-dot-green {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: greenGlow 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes greenGlow {
  0%, 100% { box-shadow: 0 0 6px var(--green); }
  50%       { box-shadow: 0 0 14px var(--green); }
}
.ft-chart-pair {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 7px;
}
.ft-chart-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-1);
  margin-left: auto;
  letter-spacing: -0.3px;
}
.ft-chart-change {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}
.ft-up   { background: rgba(0,208,132,0.12);  color: var(--green); }
.ft-down { background: rgba(244,63,94,0.10);   color: var(--red);   }

/* ════════════════════════════════════════
   TICKER STRIP
════════════════════════════════════════ */

.ft-ticker {
  background: #f0f4f8;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 50px;
  overflow: hidden;
}

/* ════════════════════════════════════════
   TRUST BAR
════════════════════════════════════════ */

.ft-trust {
  background: var(--bg-2);
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.ft-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ft-trust-item {
  padding: 38px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  position: relative;
  transition: var(--tr);
}
.ft-trust-item:last-child { border-right: none; }
.ft-trust-item:hover { background: rgba(247,147,26,0.03); }
.ft-trust-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-1);
  letter-spacing: -1px;
  line-height: 1;
}
.ft-trust-num .accent { color: var(--orange); }
.ft-trust-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  color: var(--text-3);
}
.ft-trust-icon {
  font-size: 22px;
  color: var(--orange);
  opacity: 0.7;
  margin-bottom: 4px;
}

/* ════════════════════════════════════════
   FEATURES (4-card grid)
════════════════════════════════════════ */

.ft-features { background: var(--bg-1); }

.ft-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
.ft-feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  position: relative;
  overflow: hidden;
  transition: var(--tr);
}
.ft-feat-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #f7c218);
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: var(--tr);
}
.ft-feat-card:hover {
  border-color: rgba(247,147,26,0.28);
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}
.ft-feat-card:hover::after { opacity: 1; }
.ft-feat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--orange-dim);
  border: 1px solid rgba(247,147,26,0.15);
  color: var(--orange);
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.ft-feat-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}
.ft-feat-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.75;
  margin: 0;
}

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */

.ft-about { background: var(--bg-2); }
.ft-about-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.ft-about-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ft-about-body h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  line-height: 1.2;
}
.ft-about-body p {
  color: var(--text-2);
  line-height: 1.82;
  font-size: 14.5px;
  margin-bottom: 14px;
}
.ft-check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ft-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
.ft-check-list li i { color: var(--green); margin-top: 2px; flex-shrink: 0; }

/* ════════════════════════════════════════
   SERVICES GRID
════════════════════════════════════════ */

.ft-services { background: var(--bg-1); }
.ft-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 52px;
}
.ft-service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--tr);
  display: flex;
  flex-direction: column;
}
.ft-service-card:hover {
  border-color: rgba(247,147,26,0.28);
  transform: translateY(-5px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.12);
}
.ft-service-img-wrap { overflow: hidden; height: 165px; }
.ft-service-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.ft-service-card:hover .ft-service-img { transform: scale(1.06); }
.ft-service-body { padding: 20px 20px 22px; flex: 1; }
.ft-service-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid rgba(247,147,26,0.15);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.ft-service-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 8px;
}
.ft-service-body p {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.68;
  margin: 0;
}

/* ════════════════════════════════════════
   VIDEO + MARKET NEWS
════════════════════════════════════════ */

.ft-media { background: var(--bg-2); }
.ft-media-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-1);
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  gap: 8px;
}
.ft-media-title i { color: var(--orange); }
.ft-video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.ft-video-wrap video { width: 100%; display: block; }
.ft-news-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: 100%;
}

/* ════════════════════════════════════════
   WHY CHOOSE US
════════════════════════════════════════ */

.ft-why { background: var(--bg-1); }

/* Reuse .ft-feat-card styles for why-cards */
.ft-why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.ft-why-icon.ico-blue   { background: rgba(67,97,238,0.12);  color: #4361ee; }
.ft-why-icon.ico-green  { background: var(--green-dim);        color: var(--green); }
.ft-why-icon.ico-purple { background: rgba(139,92,246,0.12); color: #8b5cf6; }
.ft-why-icon.ico-orange { background: var(--orange-dim);       color: var(--orange); }

/* ════════════════════════════════════════
   PLATFORM / HOW IT WORKS
════════════════════════════════════════ */

.ft-platform { background: var(--bg-2); }
.ft-platform-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.ft-platform-img-wrap img { width: 100%; display: block; }

.ft-platform-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.ft-platform-feature:last-child { border-bottom: none; }
.ft-pf-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--orange-dim);
  border: 1px solid rgba(247,147,26,0.15);
  color: var(--orange);
  font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ft-platform-feature h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}
.ft-platform-feature p {
  font-size: 12.5px;
  color: var(--text-2);
  margin: 0;
  line-height: 1.65;
}

/* ════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════ */

.ft-testimonials { background: var(--bg-1); }
.ft-testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  margin: 6px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.ft-testi-card::before {
  content: '\201C';
  font-size: 90px;
  line-height: 1;
  color: var(--orange);
  opacity: 0.1;
  position: absolute;
  top: 8px; left: 18px;
  font-family: Georgia, serif;
  pointer-events: none;
}
.ft-stars { color: var(--orange); font-size: 13px; margin-bottom: 14px; letter-spacing: 2px; }
.ft-testi-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.ft-testi-author { display: flex; align-items: center; gap: 12px; }
.ft-testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ft-testi-name  { font-size: 13.5px; font-weight: 700; color: var(--text-1); line-height: 1.2; }
.ft-testi-role  { font-size: 11px;  color: var(--text-3); font-weight: 500; }

/* Owl theme overrides for dark */
.ft-testimonials .owl-dots .owl-dot span    { background: var(--text-3)  !important; }
.ft-testimonials .owl-dots .owl-dot.active span { background: var(--orange) !important; }
.ft-testimonials .owl-nav button { color: var(--text-2) !important; background: var(--bg-card) !important; border: 1px solid var(--border) !important; border-radius: 8px !important; }

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */

.ft-faq { background: var(--bg-2); }
.ft-faq .accordion-item {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 10px !important;
  margin-bottom: 10px !important;
  overflow: hidden;
}
.ft-faq .accordion-button {
  background: var(--bg-card) !important;
  color: var(--text-1) !important;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none !important;
  padding: 18px 22px;
}
.ft-faq .accordion-button:not(.collapsed) {
  color: var(--orange) !important;
  background: rgba(247,147,26,0.05) !important;
}
.ft-faq .accordion-body {
  background: rgba(247,147,26,0.02) !important;
  color: var(--text-2) !important;
  font-size: 13.5px;
  line-height: 1.78;
  border-top: 1px solid var(--border);
  padding: 18px 22px;
}
.ft-faq-intro h2 {
  font-size: clamp(26px,3vw,36px);
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  line-height: 1.22;
}
.ft-faq-intro p { color: var(--text-2); line-height: 1.8; font-size: 14.5px; margin-bottom: 14px; }

/* ════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════ */

.ft-cta-banner {
  background: linear-gradient(135deg, #162A53 0%, #0f2040 100%);
  border-top: 1px solid rgba(247,147,26,0.14);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ft-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
  background-size: 40px 40px;
  pointer-events: none;
}
.ft-cta-banner::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(247,147,26,0.07), transparent 70%);
  pointer-events: none;
}
.ft-cta-banner h2 {
  font-size: clamp(28px,4vw,46px);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -1px;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.ft-cta-banner p {
  font-size: 16px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 36px;
  position: relative; z-index: 1;
  max-width: 520px;
  margin-left: auto; margin-right: auto;
}
.ft-cta-banner .ft-cta-row {
  justify-content: center;
  position: relative; z-index: 1;
}

/* ════════════════════════════════════════
   DIVIDER LINE
════════════════════════════════════════ */

.ft-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-hi), transparent);
  margin: 0;
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */

@media (max-width: 1100px) {
  .ft-feat-grid,
  .ft-services-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-trust-grid    { grid-template-columns: repeat(2, 1fr); }
  .ft-trust-item:nth-child(even) { border-right: none; }
  .ft-trust-item:nth-child(n+3)  { border-top: 1px solid var(--border); }
}

@media (max-width: 991px) {
  .ft-hero { min-height: auto; padding: 80px 0 60px; align-items: flex-start; }
  .ft-chart-card { margin-left: 0; margin-top: 40px; }
}

@media (max-width: 767px) {
  .ft-hero h1    { font-size: 32px; }
  .ft-hero-stats { flex-wrap: wrap; }
  .ft-section    { padding: 60px 0; }
  .ft-feat-grid,
  .ft-services-grid { grid-template-columns: 1fr; }
  .ft-trust-grid    { grid-template-columns: repeat(2, 1fr); }
  .ft-section-title { font-size: 24px; }
  .ft-cta-banner h2 { font-size: 26px; }
  .ft-hero          { padding: 60px 0 50px; }
}
