/* ===== Invest Academy — Landing page ===== */
:root {
  --bg: #0c0e12;
  --bg-elevated: #14171f;
  --bg-card: #1a1e28;
  --text: #e8eaef;
  --text-muted: #8b92a4;
  --accent: #d4a853;
  --accent-hover: #e4bc6a;
  --accent-dim: rgba(212, 168, 83, 0.15);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: "Syne", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --space: 1.5rem;
  --container: min(1120px, 100% - 2rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 14, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: var(--space);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent);
  color: #0c0e12;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-cta-header {
  white-space: nowrap;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--accent-dim), transparent),
    radial-gradient(ellipse 60% 40% at 80% 50%, rgba(212, 168, 83, 0.06), transparent),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(212, 168, 83, 0.05), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 42rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-title .highlight {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 36rem;
}

/* ----- Sections ----- */
.section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 32rem;
}

/* ----- Partners (ABS + OFI) ----- */
.section-partners {
  background: var(--bg-elevated);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.partner-card:hover {
  border-color: rgba(212, 168, 83, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.partner-pole {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.partner-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text);
  line-height: 1.4;
  padding-bottom: 0.15em;
  overflow: visible;
}

.partner-name .partner-def {
  font-weight: 700;
  font-size: 0.9em;
  color: inherit;
  font-style: normal;
  margin-left: 0.35em;
}

.partner-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.partner-list {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-left: 1.25rem;
}

.partner-list li {
  margin-bottom: 0.35rem;
}

.partner-list li::marker {
  color: var(--accent);
}

/* ----- Channel grid ----- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.channel-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.channel-card:hover {
  border-color: rgba(212, 168, 83, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.channel-emoji {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.75rem;
}

.channel-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.375rem;
}

.channel-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----- Rules ----- */
.section-rules {
  background: var(--bg-elevated);
}

.rules-list {
  max-width: 40rem;
}

.rules-list li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.rules-list li:last-child {
  border-bottom: none;
}

.rules-list strong {
  color: var(--text);
  font-weight: 600;
  flex-shrink: 0;
  min-width: 11ch;
}

/* ----- CTA section ----- */
.section-cta {
  padding: 5rem 0 6rem;
}

.cta-inner {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.cta-desc {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ----- Footer ----- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.footer-slogan {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-legal {
  font-size: 0.8125rem;
  color: var(--text-muted);
  opacity: 0.8;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: 3rem;
    padding: 0.5rem 0;
    gap: 0.5rem;
  }

  .logo {
    font-size: 0.9375rem;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.25rem;
  }

  .nav a {
    font-size: 0.75rem;
  }

  .btn-cta-header {
    order: 2;
    padding: 0.4rem 0.75rem;
    font-size: 0.8125rem;
  }

  .hero {
    padding: 5rem 0 3rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }

  .channel-grid {
    grid-template-columns: 1fr;
  }

  .rules-list li {
    flex-direction: column;
    gap: 0.25rem;
  }

  .rules-list strong {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .header-inner {
    min-height: 2.75rem;
    padding: 0.4rem 0;
  }

  .logo {
    font-size: 0.875rem;
  }

  .nav a {
    font-size: 0.6875rem;
  }

  .btn-cta-header {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }

  .btn-cta-header .btn-icon {
    display: none;
  }
}
