
/* GenAius Academy – World Class Front-End */
/* Color palette and base styles */
:root {
  --bg-dark: #020617;
  --bg-darker: #020314;
  --bg-card: #02081f;
  --accent-violet: #7c3aed;
  --accent-blue: #0ea5e9;
  --accent-red: #ef4444;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2937;
  --radius-xl: 1.5rem;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020314 50%, #000 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2,6,23,0.95), rgba(2,6,23,0.8));
  border-bottom: 1px solid rgba(148,163,184,0.15);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 20%, #0ea5e9, #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(14,165,233,0.8);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-text-main {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.brand-text-main span.ai {
  color: var(--accent-red);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding: 0.25rem 0;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: #f9fafb;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-violet), var(--accent-blue));
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent-violet), var(--accent-blue));
  color: #f9fafb;
  box-shadow: 0 10px 30px rgba(59,130,246,0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(59,130,246,0.7);
}

.btn-ghost {
  background: rgba(15,23,42,0.75);
  border-color: rgba(148,163,184,0.4);
  color: var(--text-muted);
}

.btn-ghost:hover {
  border-color: var(--accent-blue);
  color: #f9fafb;
}

.nav-hamburger {
  display: none;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  padding: 0.4rem 0.55rem;
  background: rgba(15,23,42,0.8);
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 3px 0;
}

@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: block;
  }
  .nav-mobile-panel {
    display: none;
    border-top: 1px solid rgba(148,163,184,0.2);
    background: radial-gradient(circle at top, #020617, #020314);
  }
  .nav-mobile-panel.open {
    display: block;
  }
  .nav-mobile-inner {
    padding: 0.75rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .nav-mobile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    font-size: 0.9rem;
  }
  .nav-mobile-links a {
    color: var(--text-muted);
  }
  .nav-mobile-links a.active {
    color: #f9fafb;
  }
  .nav-mobile-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
}

/* Layout */
.main {
  flex: 1;
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2.75rem;
}

.section-hero {
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

@media (max-width: 960px) {
  .section-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 2.25rem;
  }
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.08;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 34rem;
  margin-bottom: 1.3rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.3rem;
}

.badge {
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.35);
  font-size: 0.72rem;
  padding: 0.25rem 0.6rem;
  color: var(--text-muted);
  background: radial-gradient(circle at top left, rgba(56,189,248,0.12), rgba(15,23,42,0.9));
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.hero-footnote {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-footnote span {
  color: var(--accent-blue);
}

.hero-visual {
  border-radius: 1.75rem;
  border: 1px solid rgba(148,163,184,0.15);
  background:
    radial-gradient(circle at 10% 0, rgba(56,189,248,0.22), transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(129,140,248,0.25), transparent 55%),
    linear-gradient(145deg, #020617, #020314);
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.hero-visual-inner {
  border-radius: 1.25rem;
  border: 1px solid rgba(148,163,184,0.35);
  padding: 1.1rem;
  background: radial-gradient(circle at top left, rgba(15,23,42,0.9), #020617);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-card {
  border-radius: 1.1rem;
  padding: 0.85rem;
  background: radial-gradient(circle at top left, rgba(30,64,175,0.6), rgba(15,23,42,0.95));
  border: 1px solid rgba(129,140,248,0.5);
  font-size: 0.8rem;
}

.hero-card:nth-child(2) {
  background: radial-gradient(circle at top left, rgba(8,47,73,0.7), rgba(15,23,42,0.95));
  border-color: rgba(56,189,248,0.65);
}

.hero-card:nth-child(3) {
  background: radial-gradient(circle at top left, rgba(148,27,129,0.7), rgba(15,23,42,0.95));
  border-color: rgba(244,114,182,0.7);
}

.hero-card:nth-child(4) {
  background: radial-gradient(circle at top left, rgba(22,101,52,0.7), rgba(15,23,42,0.95));
  border-color: rgba(45,212,191,0.7);
}

.hero-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.hero-card-body {
  font-size: 0.73rem;
  color: #e5e7eb;
  opacity: 0.9;
}

.hero-chip-row {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.hero-chip {
  font-size: 0.65rem;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(148,163,184,0.5);
  color: var(--text-muted);
}

/* Shared sections */
.section-heading {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(15,23,42,0.9), #020617);
  border: 1px solid rgba(148,163,184,0.2);
  padding: 1.25rem;
  box-shadow: 0 18px 45px rgba(15,23,42,0.6);
}

.card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.card-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.card-tag {
  font-size: 0.7rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.5);
  color: var(--text-muted);
}

/* CTA Banner */
.section-cta {
  max-width: 1120px;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem 2.5rem;
}

.cta-banner {
  border-radius: 1.75rem;
  background: radial-gradient(circle at top left, rgba(59,130,246,0.2), rgba(15,23,42,1));
  border: 1px solid rgba(129,140,248,0.6);
  padding: 1.5rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
}

.cta-banner-text {
  max-width: 30rem;
}

.cta-banner-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.cta-banner-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(148,163,184,0.2);
  background: radial-gradient(circle at top, #020617, #020314);
  padding: 1.5rem 1.25rem 2rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* WhatsApp Floating Button */
.whatsapp-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.1rem;
  z-index: 50;
}

.whatsapp-fab a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #22c55e, #15803d);
  box-shadow: 0 18px 40px rgba(21,128,61,0.9);
  color: #ecfdf5;
  font-size: 1.4rem;
}

@media (max-width: 600px) {
  .whatsapp-fab {
    right: 0.85rem;
    bottom: 0.85rem;
  }
}
