/* AYA.AD portal landing — mobile-first */

.portal-hero {
  text-align: center;
  padding: 40px 0 32px;
  max-width: 720px;
  margin: 0 auto;
}

.portal-hero .hero-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  border: 1px solid var(--gold-border-muted);
  background: var(--gold-tint);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.portal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.portal-hero .hero-lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 36rem;
  margin: 0 auto 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 12px;
}

.btn-secondary {
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--bg-alt);
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--navy-soft);
  border: 1px dashed var(--border-strong);
  min-height: var(--touch);
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
}
.btn-ghost:hover { background: var(--bg-alt); }

.hero-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}
.hero-note a { font-weight: 600; }

.lang-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.lang-switch__btn {
  min-height: 36px;
  min-width: 44px;
  padding: 6px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}
.lang-switch__btn.is-active,
.lang-switch__btn[aria-pressed="true"] {
  background: var(--surface);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.lang-switch__btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.section {
  padding: 48px 0;
}
.section--alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 768px) {
  .section--alt { margin: 0 -24px; padding-left: 24px; padding-right: 24px; }
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--navy);
  margin-bottom: 10px;
}
.section-head p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.55;
}

.featured-tool {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--gold-border-muted);
  background: linear-gradient(145deg, var(--gold-tint) 0%, var(--surface) 55%, var(--green-soft) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.featured-tool__inner {
  padding: 28px 24px;
}
@media (min-width: 768px) {
  .featured-tool__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 36px 32px;
  }
}
.featured-tool__label {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  margin-bottom: 10px;
}
.featured-tool h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  color: var(--navy);
  margin-bottom: 12px;
}
.featured-tool__desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.55;
}
.featured-tool__bullets {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.featured-tool__bullets li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 1.5em;
  position: relative;
}
.featured-tool__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--green));
}
.featured-tool__cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .featured-tool__cta-wrap { align-items: flex-start; min-width: 220px; }
}

.learn-panel {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.learn-panel p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  line-height: 1.55;
}
.learn-panel p:last-child { margin-bottom: 0; }

.markets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.market-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  min-height: var(--touch);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.market-chip:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--navy);
}
.market-chip__flag { font-size: 1.25rem; line-height: 1; }
.market-chip__name { font-weight: 500; }

.why-grid {
  display: grid;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
.why-card {
  padding: 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.why-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
}
.why-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.future-grid {
  display: grid;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .future-grid { grid-template-columns: repeat(2, 1fr); }
}
.future-card {
  position: relative;
  padding: 22px 22px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  opacity: 0.92;
}
.future-card__soon {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  background: var(--gold-tint);
  border: 1px solid var(--gold-border-muted);
  padding: 4px 10px;
  border-radius: 100px;
}
.future-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 8px;
  padding-right: 5rem;
  font-weight: 700;
}
.future-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

footer.site-footer .footer-legal {
  margin-top: 10px;
  font-size: 14px;
}
footer.site-footer .footer-legal a {
  color: var(--navy-soft);
  font-weight: 500;
}
