/* ============================================================
   LearnAiGRC — Landing Page Styles
   Theme: Deep Navy / Charcoal · Teal & Gold Accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --navy: #050d1a;
  --navy-2: #091424;
  --navy-3: #0d1f35;
  --card-bg: rgba(14, 30, 54, 0.72);
  --teal: #00d4b8;
  --teal-dim: #00b09a;
  --gold: #f5c842;
  --gold-dim: #d4a800;
  --white: #f0f6ff;
  --muted: #8ea3bc;
  --border: rgba(0, 212, 184, 0.18);
  --radius: 16px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
  --glow-teal: 0 0 40px rgba(0, 212, 184, 0.22);
}

/* ── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ── Utility ───────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, #00a896 100%);
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(0, 212, 184, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 212, 184, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dim) 100%);
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(245, 200, 66, 0.3);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(245, 200, 66, 0.5);
}

/* ── Fade-in Animation ─────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navbar ────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  padding: 0;
  background: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 184, 0.1);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: rgba(5, 13, 26, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity var(--transition);
}

.nav-logo:hover {
  opacity: 0.85;
}

/* Icon mark — inverted to white */
.nav-icon-img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

/* Gradient text — same as hero .highlight */
.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, var(--teal) 0%, #4dd9c8 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

/* Mobile menu brand row */
.mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  margin-left: 1rem;
}

#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

#hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 184, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 80%, rgba(245, 200, 66, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 184, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(0, 212, 184, 0.07);
  margin-bottom: 1.5rem;
  letter-spacing: 0.06em;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  background: linear-gradient(90deg, var(--teal) 0%, #4dd9c8 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-val span {
  color: var(--teal);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* ── Marquee Strip ─────────────────────────────────────────── */
#strip {
  padding: 1.2rem 0;
  background: rgba(0, 212, 184, 0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 22s linear infinite;
}

.marquee-track span {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.marquee-track span::after {
  content: '✦';
  color: var(--gold);
  opacity: 0.7;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Why Section ───────────────────────────────────────────── */
#why {
  padding: 7rem 0;
  background: var(--navy-2);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  backdrop-filter: blur(14px);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  border-color: var(--teal);
  box-shadow: var(--glow-teal);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 212, 184, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.why-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--white);
}

.why-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── Pillars Section ───────────────────────────────────────── */
#pillars {
  padding: 7rem 0;
  background: var(--navy);
  position: relative;
}

#pillars::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--teal));
}

.pillars-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.pillars-header .section-subtitle {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: left;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 212, 184, 0.4);
}

.pillar-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(0, 212, 184, 0.1);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.pillar-emoji {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

.pillar-topics {
  list-style: none;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pillar-topics li {
  font-size: 0.82rem;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
}

.pillar-topics li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.75rem;
}

/* ── Courses / Maven CTA ───────────────────────────────────── */
#courses {
  padding: 7rem 0;
  background: var(--navy-2);
}

.courses-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.courses-header .section-subtitle {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.course-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.course-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-dim);
  box-shadow: 0 12px 40px rgba(245, 200, 66, 0.15);
}

.course-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  background: rgba(245, 200, 66, 0.12);
  color: var(--gold);
  border: 1px solid rgba(245, 200, 66, 0.25);
}

.course-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
}

.course-card p {
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
}

.course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.course-platform {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.course-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: background var(--transition), border-color var(--transition);
  font-size: 1rem;
  text-decoration: none;
}

.course-arrow:hover {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}

.maven-cta-banner {
  background: linear-gradient(135deg, rgba(0, 212, 184, 0.1) 0%, rgba(245, 200, 66, 0.07) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5rem;
  text-align: center;
  backdrop-filter: blur(14px);
  max-width: 700px;
  margin: 0 auto;
}

.maven-cta-banner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.maven-cta-banner p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.maven-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* ── Instructor ────────────────────────────────────────────── */
#instructor {
  padding: 7rem 0;
  background: var(--navy-3);
}

.instructor-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 860px;
}

.instructor-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--teal);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--glow-teal);
}

.instructor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.instructor-content blockquote {
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.8;
  font-style: italic;
  border-left: 3px solid var(--teal);
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.instructor-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.instructor-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.instructor-role {
  font-size: 0.88rem;
  color: var(--teal);
  font-weight: 500;
}

/* ── Footer ────────────────────────────────────────────────── */
#footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo-img {
  height: 96px;
  width: auto;
  display: block;
  /* Same invert so logo reads white on dark footer */
  filter: brightness(0) invert(1);
  transition: filter var(--transition), opacity var(--transition);
}

.footer-logo-img:hover {
  opacity: 0.8;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.3rem;
}

.mobile-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .instructor-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .instructor-avatar {
    margin: 0 auto;
  }

  .instructor-content blockquote {
    border-left: none;
    padding-left: 0;
    border-top: 3px solid var(--teal);
    padding-top: 1rem;
  }
}

@media (max-width: 640px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  #hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .maven-cta-banner {
    padding: 2rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 13, 26, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--teal);
}

.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}