/* ── Fonts ── */
@font-face {
  font-family: 'Sofia Pro';
  font-weight: 300;
  font-style: normal;
  src: url('https://srv2088-files.hstgr.io/33e67feb1f54a965/files/public_html/sofia-pro/Sofia%20Pro%20Light%20Az.woff') format('woff');
}
@font-face {
  font-family: 'Sofia Pro';
  font-weight: 400;
  font-style: normal;
  src: url('https://srv2088-files.hstgr.io/33e67feb1f54a965/files/public_html/sofia-pro/Sofia%20Pro%20Regular%20Az.woff') format('woff');
}
@font-face {
  font-family: 'Sofia Pro';
  font-weight: 600;
  font-style: normal;
  src: url('https://srv2088-files.hstgr.io/33e67feb1f54a965/files/public_html/sofia-pro/Sofia%20Pro%20Semi%20Bold%20Az.woff') format('woff');
}

/* ── Reset ── */
*, *::before, *::after {
  font-family: 'Sofia Pro', sans-serif !important;
  font-weight: 400 !important;
  text-transform: none !important;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
  background: #ffffff;
  color: #111;
  min-height: 100dvh;
}

/* ── Material Icons ── */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Utilities ── */
.max-w {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.accent { color: #0108A1; }

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #0108A1;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

/* ── Buttons ── */
.btn-primary {
  background: #0108A1;
  color: #fff;
  border-radius: 9999px;
  padding: 14px 32px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  background: transparent;
  color: #111;
  border-radius: 9999px;
  padding: 14px 28px;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.15);
  transition: background 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-ghost:hover { background: rgba(0,0,0,0.06); }

.btn-primary-sm {
  background: #0108A1;
  color: #fff !important;
  border-radius: 9999px;
  padding: 9px 18px !important;
  font-size: 13px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-ghost-sm {
  background: transparent;
  color: #111 !important;
  border-radius: 9999px;
  padding: 9px 14px !important;
  font-size: 13px;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-ghost-sm:hover { background: rgba(0,0,0,0.06); }

/* ── Nav ── */
.glass-nav {
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(20px);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Dropdown ── */
.cat-item {
  padding: 9px 12px;
  font-size: 14px;
  color: #888;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.cat-item:hover { color: #111; background: rgba(0,0,0,0.04); }
.cat-item.active { color: #111; background: rgba(0,0,0,0.05); }

.sub-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #aaa;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sub-link {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: color 0.15s;
}
.sub-link:last-child { border-bottom: none; }
.sub-link:hover { color: #0108A1; }

/* ── Footer ── */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* ── Layout helpers ── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
}

/* ── Typography ── */
h1 {
  font-size: clamp(40px, 8vw, 80px) !important;
  line-height: 1.05 !important;
  letter-spacing: -1px !important;
  padding: 0 16px;
}

h2 { font-size: clamp(22px, 4vw, 36px); line-height: 1.2; }

section { padding: 80px 24px; width: 100%; }

/* ── FAQ ── */
.faq-item { border-top: 1px solid rgba(0,0,0,0.1); }
.faq-item:last-child { border-bottom: 1px solid rgba(0,0,0,0.1); }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-num { font-size: 13px; color: #999; min-width: 20px; }
.faq-q { flex: 1; font-size: 16px; color: #111; }

.faq-icon {
  width: 28px; height: 28px; min-width: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: #111;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; }

.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-item.open .faq-icon { background: #0108A1; border-color: #0108A1; }
.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after { background: #fff; }

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item.open .faq-body { grid-template-rows: 1fr; }
.faq-inner { overflow: hidden; }
.faq-a { padding: 0 0 24px 44px; font-size: 14px; color: #555; line-height: 1.75; }

/* ── Fade-in animation ── */
.fade-in {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(16px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* Staggered delay helpers */
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }
.fade-in.delay-5 { transition-delay: 0.5s; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .market-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-img-col { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .split-grid { display: flex !important; flex-direction: column !important; }
  .feature-grid { display: flex !important; flex-direction: column !important; }
}

@media (max-width: 600px) {
  .market-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 16px; }
  h1 { padding: 0 8px; }
}