.page-card .hero {
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 100px 60px;
}
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--text-muted);
  display: inline-block;
}
.eyebrow--center {
  justify-content: center;
  text-align: center;
}

/* ============================================================
   Forex intro — centered lead block under the hero
   ============================================================ */

.forex-intro {
  background: var(--bg-alt);
  text-align: center;
}
.forex-intro .container {
  max-width: 760px;
  margin: 0 auto;
}
.forex-intro .eyebrow {
  justify-content: center;
}
.forex-intro h2 {
  font-size: 32px;
  margin-bottom: 20px;
}
.forex-intro__lead {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   Highlights section header (eyebrow + centered lead paragraph)
   ============================================================ */

.highlights .container > .eyebrow {
  margin-bottom: 10px;
}
.highlights .container > h2 {
  text-align: center;
  margin-bottom: 12px;
}
.highlights-lead {
  text-align: center;
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
}

/* ============================================================
   Content CTA — simple centered banner (Start Trading Today)
   ============================================================ */

.content-cta {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 80px 24px;
}
.content-cta .container {
  max-width: 560px;
  margin: 0 auto;
}
.content-cta h2 {
  font-size: 30px;
  margin-bottom: 12px;
}
.content-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}
.content-cta__btn {
  display: inline-block;
  background: var(--lavender);
  color: var(--text-on-accent);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: background .15s ease, transform .15s ease;
}
.content-cta__btn:hover {
  background: var(--lavender-strong);
  color: var(--text-on-accent);
  transform: translateY(-1px);
}

/* ============================================================
   Row-card image sizing tweak for product pages
   (base row-card images are 220px — a touch small for these
   wide illustrative shots, so give this context more room)
   ============================================================ */

.highlights-section .row-card .card-row img {
  width: 100%;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
  .forex-intro h2 { font-size: 24px; }
  .content-cta { padding: 50px 16px; }
  .content-cta h2 { font-size: 24px; }
  .highlights-lead { margin-bottom: 28px; }
}


/* ============================================================
   Pairs grid — Major/Minor/Exotic/Leverage as column cards
   ============================================================ */

.pairs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch; /* make every card in the row the same height */
}

.pairs-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease;
  display: flex;
  flex-direction: column; /* image on top, body fills the rest */
}
.pairs-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.pairs-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  filter: grayscale(60%) brightness(0.95);
  transition: filter .25s ease, transform .25s ease;
}

.pairs-card:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.03);
}

.pairs-card-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex: 1; /* body stretches to fill remaining card height */
}

.pairs-card-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.pairs-card-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1; /* text block absorbs the extra space, not the button */
}

.pairs-card-body .about-btn {
  padding: 9px 18px;
  font-size: 13px;
  align-self: flex-start; /* button hugs its own width, doesn't stretch full-width */
  margin-top: auto; /* pins button to the bottom of the card */
}

/* Responsive — step down before it gets cramped */
@media (max-width: 1100px) {
  .pairs-grid { grid-template-columns: repeat(2, 1fr); }
  .pairs-card img { height: 180px; }
}

@media (max-width: 600px) {
  .pairs-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Product description — editorial closing block
   ============================================================ */

.product-description {
  padding: 90px 24px;
}
.product-description .container {
  max-width: 820px;
  margin: 0 auto;
}

.product-description-inner {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 56px;
  overflow: hidden;
}
.product-description-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--text-secondary), var(--text-muted));
}

.product-description h2 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.product-description h2::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--text-muted);
  margin-top: 12px;
}

.product-description p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-secondary);
}
.product-description p::first-letter {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  color: var(--text);
  float: left;
  line-height: 0.8;
  padding: 6px 8px 0 0;
}

@media (max-width: 768px) {
  .product-description { padding: 56px 16px; }
  .product-description-inner { padding: 32px 26px; }
  .product-description p::first-letter { font-size: 36px; }
}

/* ============================================================
   Platform Page — page-specific styles
   Loaded only on the Platform page via @push('styles').
   Reuses the design tokens (--surface-2, --lavender, --radius, etc.)
   already defined in :root inside home.css.
   ============================================================ */

/* ============================================================
   Hero Banner
   ============================================================ */

.platform-banner {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.8) 100%),
    url('/pics/cta.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.platform-banner__inner {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.platform-banner__tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--lavender-soft);
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.platform-banner__title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 16px;
}

.platform-banner__desc {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .platform-banner {
    min-height: 340px;
    padding: 48px 20px;
  }
  .platform-banner__title { font-size: 28px; }
  .platform-banner__desc { font-size: 14px; }
}

.padding-top    { padding-top: 90px; }
.padding-bottom { padding-bottom: 90px; }
.bg-color       { background: var(--bg-alt); }
.text-center    { text-align: center; }

/* ---------- Generic buttons (btn-primary / btn-outline) ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary {
  background: var(--lavender);
  color: var(--text-on-accent);
}
.btn-primary:hover {
  background: var(--lavender-strong);
  color: var(--text-on-accent);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--bg);
}

/* ---------- Shared section heading bits ---------- */
.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
}

.section-header.text-center .section-desc { margin: 0 auto; }

/* ============================================================
   Sync / "One Account, Every Device" section
   ============================================================ */

.platform-sync__wrapper {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.platform-sync__content {
  max-width: 640px;
  margin: 0 auto;
}

.platform-sync__content .section-title { margin-bottom: 16px; }
.platform-sync__content .section-desc { margin: 0 auto 28px; }

/* ============================================================
   Choose Your Platform — cards
   ============================================================ */

.platform-options .container,
.platform-features .container {
  max-width: var(--container);
  margin: 0 auto;
}

.platform-options .section-header,
.platform-features .section-header {
  max-width: 640px;
  margin: 0 auto 48px;
  display: block;
}

.platform-options__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
  transition: border-color .15s ease, transform .15s ease;
}
.platform-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.platform-card__icon {
  display: block;
  font-size: 40px;
  line-height: 1;
  color: var(--lavender);
  margin: 0 auto 16px;
}

.platform-card__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--lavender);
  margin-bottom: 10px;
}

.platform-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.platform-card__desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 22px;
}

/* ============================================================
   Features / "Built for Reliability"
   ============================================================ */

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

.feature-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: border-color .15s ease, transform .15s ease;
}
.feature-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.feature-item__icon {
  display: block;
  font-size: 30px;
  line-height: 1;
  color: var(--lavender);
  margin: 0 auto 14px;
}

.feature-item__title {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-item__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   Final CTA
   ============================================================ */

.platform-final-cta .container {
  max-width: 640px;
  margin: 0 auto;
}

.platform-final-cta .section-title { margin-bottom: 14px; }
.platform-final-cta .section-desc { margin: 0 auto 28px; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .platform-options__grid { grid-template-columns: 1fr 1fr; }
  .platform-features__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .padding-top    { padding-top: 60px; }
  .padding-bottom { padding-bottom: 60px; }

  .platform-options__grid { grid-template-columns: 1fr; }
  .platform-features__grid { grid-template-columns: 1fr; }

  .platform-card { padding: 24px 20px; }
  .section-desc { font-size: 14px; }
}