/* ANZ AI Academy — deep blue, AU/NZ marketing landing */

:root {
  --navy-950: #061018;
  --navy-900: #0a1628;
  --navy-800: #0b2a4a;
  --navy-700: #123a63;
  --sky-400: #4da3ff;
  --sky-300: #7cbcff;
  --sky-200: #b6d9ff;
  --ink: #0e1a2b;
  --ink-soft: #3d4f66;
  --surface: #f4f7fb;
  --surface-2: #e8eef6;
  --white: #ffffff;
  --line: rgba(14, 26, 43, 0.1);
  --line-strong: rgba(14, 26, 43, 0.16);
  --shadow: 0 18px 50px rgba(6, 16, 24, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --font-display: "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 22, 40, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--sky-400);
  color: var(--navy-950) !important;
  font-weight: 700 !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: transparent;
  place-items: center;
  gap: 6px;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--sky-300);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--sky-400);
  color: var(--navy-950);
}

.btn-primary:hover {
  background: var(--sky-300);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--navy-800);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background: #dce7f4;
}

.btn-block {
  width: 100%;
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 42%, var(--navy-800) 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 64px;
  background: var(--surface);
  clip-path: ellipse(70% 100% at 50% 100%);
  z-index: 1;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(125, 188, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 188, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, black, transparent 75%);
}

.hero-glow {
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -10%;
  top: -15%;
  background: radial-gradient(circle, rgba(77, 163, 255, 0.28), transparent 65%);
  filter: blur(10px);
  animation: glow-drift 12s ease-in-out infinite alternate;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
  mask-image: linear-gradient(90deg, transparent, black 30%, black 80%, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-left: auto;
  animation: hero-rise 0.9s var(--ease) both;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--sky-200);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  font-weight: 800;
  color: #eef6ff;
  max-width: 14ch;
  margin-bottom: 1.15rem;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: rgba(238, 246, 255, 0.82);
  max-width: 48ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.hero-stats li {
  padding: 1rem 0.9rem;
  border-radius: var(--radius-sm);
  background: rgba(6, 16, 24, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.hero-stats span {
  display: block;
  font-size: 0.82rem;
  color: rgba(238, 246, 255, 0.7);
}

/* Sections */

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.eyebrow--on-dark {
  color: var(--sky-300);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  max-width: 18ch;
}

.section h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--navy-800), var(--sky-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* Roadmap */

.roadmap-panel {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 480px;
}

.phase-list {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0d213a, #0a1628);
  padding: 0.75rem;
  gap: 0.4rem;
}

.phase-tab {
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 12px;
  padding: 0.75rem 0.85rem 0.8rem 0.95rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.phase-tab:hover {
  background: rgba(255, 255, 255, 0.06);
}

.phase-tab.is-active {
  background: rgba(77, 163, 255, 0.16);
  border-color: rgba(77, 163, 255, 0.45);
  color: var(--white);
}

.phase-meta {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sky-300);
  margin-bottom: 0.35rem;
}

.phase-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.phase-topics {
  display: block;
  font-size: 0.85rem;
  opacity: 0.75;
}

.phase-detail {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--white);
}

.phase-panel {
  animation: panel-in 0.35s var(--ease);
}

.phase-header {
  margin-bottom: 1.25rem;
}

.phase-header h3 {
  font-size: 1.7rem;
  margin-bottom: 0.45rem;
}

.phase-header p {
  color: var(--ink-soft);
  max-width: 52ch;
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.module-tab {
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.module-tab.is-active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.module-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.4rem;
}

.module-list li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--ink);
  font-weight: 500;
}

.module-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, var(--white), transparent 45%),
    var(--sky-400);
  box-shadow: 0 0 0 2px rgba(77, 163, 255, 0.2);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-row li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--navy-700);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Programmes */

.programmes {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(77, 163, 255, 0.1), transparent),
    var(--surface);
}

.programme-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.programme-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem 1.45rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.programme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(77, 163, 255, 0.35);
}

.programme-card--featured {
  background: linear-gradient(180deg, #0d2744 0%, #0a1628 100%);
  color: var(--white);
  border-color: rgba(77, 163, 255, 0.35);
  padding: 2rem 1.6rem;
  box-shadow: 0 22px 55px rgba(10, 22, 40, 0.28);
}

.programme-card--featured .programme-label {
  color: var(--sky-300);
}

.programme-card--featured p,
.programme-card--featured li {
  color: rgba(238, 246, 255, 0.82);
}

.programme-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.programme-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.programme-card ul {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  flex: 1;
}

.programme-card li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.programme-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--sky-400);
}

.programme-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Teams */

.teams {
  padding-top: 0;
}

.teams-inner {
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(77, 163, 255, 0.28), transparent 40%),
    linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.teams-copy {
  max-width: 640px;
}

.teams-copy h2 {
  max-width: 16ch;
  color: var(--white);
}

.teams-copy > p {
  color: rgba(238, 246, 255, 0.82);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.teams-points {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.teams-points li {
  position: relative;
  padding-left: 1.25rem;
  color: rgba(238, 246, 255, 0.88);
}

.teams-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sky-300);
}

/* Enquire */

.enquire {
  background: var(--white);
}

.enquire-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.enquire-copy .section-lead,
.enquire-copy p {
  color: var(--ink-soft);
  max-width: 40ch;
}

.enquire-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.form-row {
  display: grid;
  gap: 0.4rem;
}

.form-row label {
  font-weight: 600;
  font-size: 0.92rem;
}

.optional {
  font-weight: 500;
  color: var(--ink-soft);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--sky-400);
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.2);
}

.form-row textarea {
  resize: vertical;
  min-height: 110px;
}

.form-error {
  color: #9b1c1c;
  font-size: 0.92rem;
  font-weight: 600;
}

.form-success {
  color: #0b5d3b;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: #e7f7ef;
}

/* Footer */

.site-footer {
  background: var(--navy-950);
  color: rgba(238, 246, 255, 0.78);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.footer-note {
  max-width: 36ch;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
}

.footer-links a {
  color: rgba(238, 246, 255, 0.8);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--sky-300);
}

/* Animations */

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow-drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-4%, 6%) scale(1.08);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */

@media (max-width: 960px) {
  .programme-grid {
    grid-template-columns: 1fr;
  }

  .programme-card--featured {
    order: -1;
  }

  .roadmap-panel {
    grid-template-columns: 1fr;
  }

  .phase-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .enquire-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem;
    background: rgba(6, 16, 24, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 1rem;
    border-radius: 10px;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.35rem;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .hero::after {
    height: 40px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .phase-list {
    grid-template-columns: 1fr;
  }

  .section h2 {
    max-width: none;
  }

  .teams-copy h2 {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 1.25rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .module-tab {
    width: 100%;
    text-align: left;
  }
}
