/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { min-height: 100%; scroll-behavior: smooth; }

:root {
  /* New color system: violet/indigo with mint accents */
  --bg: #0b0b14;
  --surface: #141428;
  --elev-1: #1b1b36;
  --elev-2: #232347;
  --text: #edf0ff;
  --muted: #b7bce1;
  --primary: #7c5cff; /* violet */
  --primary-600: #6a4bff;
  --primary-700: #5a3cff;
  --accent: #28e6b7; /* mint */
  --accent-700: #1fb692;
  --danger: #ff5c7a;
  --shadow: 0 10px 25px rgba(0,0,0,.35), 0 4px 12px rgba(0,0,0,.25);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 24px;

  --container: 1124px;

  --h-font: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  --b-font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
}

body.page {
  font-family: var(--b-font);
  color: var(--text);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(124,92,255,.25), transparent 60%),
              radial-gradient(800px 400px at 0% 10%, rgba(40,230,183,.12), transparent 50%),
              var(--bg);
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 12px; top: 12px; width: auto; height: auto; padding: 10px 14px; background: var(--accent); color: #041215; border-radius: 8px; z-index: 1000; }

.container { width: 90%; max-width: var(--container); margin: 0 auto; position: relative; }

/* Header */
.site-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 20; padding: 20px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.brand img { filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }

/* Hero */
.site-main { display: block; }
.hero { position: relative; padding: 120px 0 48px; background-image: url(../images/bg.png);    background-repeat: no-repeat;
    background-size: cover;}
    .hero:after{
      content: "";
      position: absolute;
          background-color: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    top: 0;
    }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 560px; object-fit: cover; object-position: center; opacity: .25; mix-blend-mode: screen; }
.hero__content { position: relative; z-index: 2; }
.display { font-family: var(--h-font); font-size: clamp(32px, 5vw, 54px); line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; }
.lead { margin-top: 14px; color: var(--muted); font-size: clamp(16px, 2.2vw, 20px); }

/* Cards Grid */
.broker-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; }

/* Broker Card */
.broker-card { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; display: grid; grid-template-columns: 1fr; gap: 14px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; outline: none; }
.broker-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.5); box-shadow: 0 16px 36px rgba(124,92,255,.18), 0 8px 18px rgba(0,0,0,.35); }
.broker-card:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(40,230,183,.35), var(--shadow); }

.broker-card__brand { display: flex; align-items: center; gap: 12px; padding: 10px 0 6px; border-bottom: 1px dashed rgba(255,255,255,.12); }
.brand-stars { width: 96px; height: auto; opacity: .95; }
.brand-logo { width: 160px; height: auto; margin-left: auto; filter: saturate(1.1) drop-shadow(0 6px 18px rgba(0,0,0,.35)); }

.broker-card__stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.stat { background: var(--elev-1); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 12px; }
.stat__label { color: var(--muted); font-size: 14px; font-weight: 500; }
.stat__value { color: var(--accent); font-weight: 700; font-size: 20px; margin-top: 4px; }

.feature-list { display: grid; gap: 10px; margin-top: 4px; list-style-type: none; }
.feature-item { position: relative; padding-left: 18px; color: var(--text); font-size: 15px; }
.feature-item::before { content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 2px; transform: translateY(-50%); background: currentColor; opacity: .8; }
.feature-item.is-strong { color: var(--primary); font-weight: 700; }

.broker-card__cta { display: flex; justify-content: flex-end; margin-top: 4px; }
.btn { --btn-bg: var(--primary); --btn-bg-hover: var(--primary-700); --btn-text: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; min-width: 180px; font-weight: 700; border-radius: 12px; color: var(--btn-text); background: var(--btn-bg); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 6px 16px rgba(124,92,255,.35); transform: translateZ(0); transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.btn:hover { background: var(--btn-bg-hover); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(124,92,255,.45); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn--primary { }

/* FAQ */
.faq { padding: 64px 0; background: linear-gradient(180deg, rgba(124,92,255,.06), rgba(40,230,183,.04)); }
.section-title { font-family: var(--h-font); font-size: clamp(26px, 4vw, 36px); font-weight: 700; margin-bottom: 18px; }
.faq__list { display: grid; gap: 14px; }
.faq-accordion__item { background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); cursor: pointer; transition: border-color .2s ease, transform .2s ease; }
.faq-accordion__item:hover { border-color: var(--primary); transform: translateY(-2px); }
.faq-accordion__question { font-family: var(--h-font); font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-accordion__answer { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .35s ease; color: var(--muted); }
.faq-accordion__item[aria-expanded="true"] .faq-accordion__answer { margin-top: 10px; padding-top: 6px; border-top: 1px dashed rgba(255,255,255,.12); max-height: 320px; opacity: 1; }

/* Footer */
.site-footer { background: #0d0d1d; padding: 60px 0 36px; border-top: 1px solid rgba(255,255,255,.06); }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; color: var(--muted); }
.footer-link { font-weight: 600; }
.footer-link:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.divider { width: 10px; height: 2px; background: rgba(255,255,255,.22); display: inline-block; }
.footer__badges { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.badge { height: 44px; width: auto; filter: saturate(1.05) drop-shadow(0 8px 16px rgba(0,0,0,.5)); }
.footer__legal { margin-top: 20px; }
.notices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.notice { background: var(--elev-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.notice__title { font-family: var(--h-font); font-size: 18px; margin-bottom: 8px; }
.notice__text { color: var(--muted); font-size: 15px; }

.copyright { margin-top: 18px; color: var(--muted); font-size: 14px; text-align: center; }

/* Utilities */
[role="button"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }

/* Responsive */
@media (max-width: 1199px) {
  .broker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-logo { width: 140px; }
}

@media (max-width: 599px) {
  .hero { padding-top: 100px; }
  .hero__bg { height: 420px; }
  .broker-grid { grid-template-columns: 1fr; }
  /* Ensure at least one full card visible */
  .broker-card { min-width: 0; }
  .footer__top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .notices { grid-template-columns: 1fr; }
  .badge { height: 36px; }
}

/* Policy page base styles (reused) */
.policy { padding: 50px 0; }
.policy .section-heading { text-align: center; font-family: var(--h-font); font-size: clamp(28px, 4vw, 40px); font-weight: 700; margin-bottom: 24px; }
.policy .card-text { font-size: 16px; margin-top: 12px; color: var(--muted); }
.policy .card-heading { font-size: 20px; margin-top: 18px; font-weight: 600; }
