/* ==========================================================================
   FUTURE TECH CREATORS ACADEMY : stylesheet
   --------------------------------------------------------------------------
   PROPOSED ORIGINAL VISUAL IDENTITY (not yet approved):
   violet + sunshine + coral + sky on white, chunky rounded type,
   sticker-style badges, and an original mascot ("Nova") drawn in inline SVG.
   All identity decisions live in the :root token block, so an approved
   identity can be applied by editing tokens and swapping the mascot SVGs.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* color: bright, saturated, small palette */
  --violet: #6247e0;      /* primary */
  --violet-deep: #4a33b8; /* hover, dark blocks */
  --sun: #ffc53d;         /* highlight and CTA pop */
  --coral: #ff6a5b;       /* energy accent */
  --sky: #38b6e3;         /* cool accent */
  --plum: #2a2140;        /* text */
  --plum-soft: #5d5478;   /* secondary text */
  --cloud: #ffffff;       /* page background */
  --violet-tint: #f1eefc; /* soft section background */
  --sun-tint: #fff4d6;
  --coral-tint: #ffe9e6;
  --sky-tint: #e2f5fc;

  /* type */
  --font-display: "Baloo 2", "Arial Rounded MT Bold", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;

  /* rhythm: everything is chunkier and rounder than the hub */
  --radius: 20px;
  --radius-lg: 32px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-pad: clamp(3.5rem, 9vw, 6.5rem);
  --shadow: 0 12px 32px rgba(42, 33, 64, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--plum);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }

p { margin: 0 0 1em; }

:focus-visible {
  outline: 4px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--plum);
  color: var(--cloud);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

.wrap {
  width: min(1120px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

section { padding-block: var(--section-pad); }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--sun);
  color: var(--plum);
  border-radius: 999px;
  padding: 0.3rem 1.1rem;
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--plum-soft);
  max-width: 40rem;
}

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--violet);
  color: var(--cloud);
  box-shadow: 0 6px 0 var(--violet-deep);
}
.btn-primary:hover { background: var(--violet-deep); box-shadow: 0 4px 0 #392a8f; }
.btn-sun {
  background: var(--sun);
  color: var(--plum);
  box-shadow: 0 6px 0 #d9a022;
}
.btn-sun:hover { background: #ffd063; }

/* ---- Header ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--violet-tint);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
}
/* LOGO PLACEHOLDER: wordmark until an approved logo exists */
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--violet);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-cta { display: flex; align-items: center; gap: 0.8rem; }
.nav-cta .hub-link {
  font-size: 0.92rem;
  color: var(--plum-soft);
  text-decoration: none;
  font-weight: 700;
}
.nav-cta .hub-link:hover { color: var(--plum); text-decoration: underline; }
.nav-cta .btn { padding: 0.55rem 1.3rem; font-size: 0.95rem; }
@media (max-width: 560px) {
  .nav-cta .hub-link { display: none; }
}

/* ---- Hero ------------------------------------------------------------------ */
.hero {
  background:
    radial-gradient(1100px 500px at 80% -10%, var(--violet-tint) 0%, transparent 60%),
    radial-gradient(700px 400px at 5% 110%, var(--sun-tint) 0%, transparent 60%);
  padding-block: clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}
.hero h1 .h1-pop { color: var(--violet); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
.hero-note {
  font-size: 0.9rem;
  color: var(--plum-soft);
  margin-top: 1rem;
}
.hero-mascot { width: min(380px, 100%); margin-inline: auto; }
.hero-mascot svg { width: 100%; height: auto; }

/* Gentle idle float for the mascot, disabled for reduced motion */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-mascot svg { animation: float 5s ease-in-out infinite; }

/* ---- The shift (problem/reframe) ------------------------------------------- */
.shift { background: var(--plum); color: var(--cloud); text-align: center; }
.shift .kicker { background: var(--coral); color: var(--cloud); }
.shift h2 { color: var(--cloud); }
.shift .big-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  max-width: 46rem;
  margin: 0 auto 1rem;
  line-height: 1.25;
}
.shift .big-line .strike {
  text-decoration: line-through;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 4px;
  opacity: 0.7;
}
.shift .big-line .glow { color: var(--sun); }
.shift p { color: #c9c3dd; max-width: 38rem; margin-inline: auto; }

/* ---- Pillars ----------------------------------------------------------------- */
.pillar {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: var(--section-pad);
}
.pillar:last-child { margin-bottom: 0; }
@media (min-width: 860px) {
  .pillar { grid-template-columns: 1fr 1fr; }
  .pillar.flip > .pillar-media { order: 2; }
}

/* Colored block behind each pillar illustration, LESA-style */
.pillar-media {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: grid;
  place-items: center;
  min-height: 260px;
}
.pillar-media svg { width: min(240px, 100%); height: auto; }
.media-violet { background: var(--violet-tint); }
.media-sun { background: var(--sun-tint); }
.media-coral { background: var(--coral-tint); }
.media-sky { background: var(--sky-tint); }

.pillar-emoji { font-size: 1.6rem; margin-right: 0.4rem; }
.pillar h3 { display: flex; align-items: center; }
.pillar p { color: var(--plum-soft); }
.pillar ul {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pillar ul li {
  background: var(--cloud);
  border: 2px solid var(--violet-tint);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--plum-soft);
}

/* Flagship pillar (AI Creators Lab) gets extra weight */
.pillar-flagship {
  background: var(--violet);
  color: var(--cloud);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.pillar-flagship h3, .pillar-flagship p { color: var(--cloud); }
.pillar-flagship p { color: #d8d1f5; }
.pillar-flagship .flag-tag {
  display: inline-block;
  background: var(--sun);
  color: var(--plum);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  margin-bottom: 0.8rem;
}
.pillar-flagship ul li {
  background: rgba(255, 255, 255, 0.12);
  border-color: transparent;
  color: var(--cloud);
}
.pillar-flagship .pillar-media { background: rgba(255, 255, 255, 0.1); }

/* ---- Missions cards ------------------------------------------------------------ */
.missions { background: var(--violet-tint); }
.mission-row {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 2rem;
}
.mission-card {
  background: var(--cloud);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  box-shadow: var(--shadow);
  border-bottom: 6px solid var(--sun);
}
.mission-card:nth-child(2) { border-bottom-color: var(--coral); }
.mission-card:nth-child(3) { border-bottom-color: var(--violet); }
.mission-card:nth-child(4) { border-bottom-color: var(--sky); }
.mission-card:nth-child(5) { border-bottom-color: var(--sun); }
.mission-card .mission-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--plum-soft);
}
.mission-card h3 { font-size: 1.15rem; margin: 0.3rem 0 0.4rem; }
.mission-card p { font-size: 0.92rem; color: var(--plum-soft); margin: 0; }

/* ---- Badges and progression -------------------------------------------------- */
.badge-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 2rem;
}
.badge {
  text-align: center;
  background: var(--cloud);
  border: 3px solid var(--violet-tint);
  border-radius: var(--radius);
  padding: 1.2rem 0.8rem;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.badge:hover { transform: rotate(-2deg) scale(1.04); border-color: var(--sun); }
.badge .badge-art {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
}
.badge .badge-art i { line-height: 1; }
.badge .badge-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
}
.b-violet { background: var(--violet-tint); }
.b-sun { background: var(--sun-tint); }
.b-coral { background: var(--coral-tint); }
.b-sky { background: var(--sky-tint); }

/* Progression path */
.path {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.path .path-step {
  background: var(--plum);
  color: var(--cloud);
  border-radius: 999px;
  padding: 0.5rem 1.3rem;
  font-size: 0.95rem;
}
.path .path-step.current { background: var(--violet); }
.path .path-arrow { color: var(--plum-soft); font-size: 1.2rem; }

/* ---- Competitions --------------------------------------------------------------- */
.competitions { background: var(--sun-tint); }
.comp-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 2rem;
}
.comp-card {
  background: var(--cloud);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}
.comp-card .c-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.comp-card .c-icon i { line-height: 1; }
.comp-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.comp-card p { font-size: 0.9rem; color: var(--plum-soft); margin: 0; }
.prize-strip {
  margin-top: 2rem;
  background: var(--plum);
  color: var(--cloud);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  align-items: center;
  font-weight: 700;
}
.prize-strip .prize-label { color: var(--sun); font-family: var(--font-display); }

/* ---- Portfolio outcome (credibility) --------------------------------------------- */
.portfolio-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}
.portfolio-card {
  border: 3px solid var(--violet-tint);
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  background: var(--cloud);
}
.portfolio-card .p-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}
.p-icon.b-violet,
.badge-art.b-violet,
.c-icon.b-violet { color: var(--violet); }
.p-icon.b-sky,
.badge-art.b-sky,
.c-icon.b-sky { color: var(--sky); }
.p-icon.b-coral,
.badge-art.b-coral,
.c-icon.b-coral { color: var(--coral); }
.p-icon.b-sun,
.badge-art.b-sun,
.c-icon.b-sun { color: #c98a00; }
.portfolio-card .p-icon i { line-height: 1; }
.portfolio-card h3 { font-size: 1.1rem; }
.portfolio-card p { font-size: 0.92rem; color: var(--plum-soft); margin: 0; }

/* ---- Community -------------------------------------------------------------------- */
.community { background: var(--sky-tint); }
.community-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.community-list li {
  background: var(--cloud);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.community-list li span { display: block; font-weight: 400; font-size: 0.9rem; color: var(--plum-soft); margin-top: 0.3rem; }

/* ---- Membership --------------------------------------------------------------------- */
.membership-box {
  background: var(--violet);
  color: var(--cloud);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 2rem;
}
@media (min-width: 820px) {
  .membership-box { grid-template-columns: 1fr 1fr; align-items: center; }
}
.membership-box h2 { color: var(--cloud); }
.membership-box > div > p { color: #d8d1f5; }
.membership-box ul { list-style: none; margin: 0; padding: 0; }
.membership-box ul li {
  padding: 0.55rem 0 0.55rem 2.2rem;
  position: relative;
  font-weight: 700;
}
.membership-box ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sun) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232a2140" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4 10-10"/></svg>') center / 13px no-repeat;
}

/* ---- Team ------------------------------------------------------------------------------ */
.team-section {
  background: var(--violet);
  color: var(--cloud);
  text-align: center;
}
.team-section .kicker {
  background: var(--sun);
  color: var(--plum);
}
.team-section h2 { color: var(--cloud); }
.team-section .lede { margin-inline: auto; color: rgba(255, 255, 255, 0.82); }

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(1.5rem, 4vw, 2.2rem);
  margin-top: 2.5rem;
}
.team-card {
  flex: 0 1 200px;
  max-width: 240px;
  text-align: center;
}
.team-card:nth-child(1) { transform: rotate(-4deg); }
.team-card:nth-child(2) { transform: rotate(3.5deg); }
.team-card:nth-child(3) { transform: rotate(-3deg); }

.team-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 1rem;
  box-shadow: 0 18px 42px rgba(42, 33, 64, 0.28);
}
.team-card--sun .team-photo { background: var(--sun); }
.team-card--pink .team-photo { background: #ff4d9e; }
.team-card--green .team-photo { background: #5ed45a; }

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.team-card h3 {
  color: var(--cloud);
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}
.team-card .role {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

@media (max-width: 640px) {
  .team-card { transform: none !important; max-width: 220px; }
}

@media (prefers-reduced-motion: no-preference) {
  .team-card { transition: transform 0.25s ease; }
  .team-card:hover { transform: rotate(0deg) scale(1.03); }
}

/* Shared placeholder block for photos/illustrations not yet supplied */
.img-placeholder {
  background: linear-gradient(135deg, var(--violet-tint), var(--sky-tint));
  border: 2px dashed #c9bff2;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--plum-soft);
  min-height: 160px;
}

/* ---- Final CTA and form ------------------------------------------------------------------ */
.final-cta {
  background:
    radial-gradient(900px 500px at 50% 120%, var(--violet-deep) 0%, transparent 70%),
    var(--plum);
  color: var(--cloud);
  text-align: center;
}
.final-cta h2 { color: var(--cloud); font-size: clamp(2rem, 5.5vw, 3.4rem); }
.final-cta .lede { margin-inline: auto; color: #c9c3dd; }

.waitlist-form {
  margin: 2.2rem auto 0;
  max-width: 480px;
  display: grid;
  gap: 0.9rem;
  text-align: left;
}
.waitlist-form label {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--cloud);
}
.waitlist-form input, .waitlist-form select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: none;
  margin-top: 0.3rem;
  color: var(--plum);
  background: var(--cloud);
}
.waitlist-form .btn { justify-self: center; margin-top: 0.5rem; }
.form-note { font-size: 0.8rem; color: #a79ecb; text-align: center; }

/* ---- Footer -------------------------------------------------------------------------------- */
.site-footer {
  background: var(--plum);
  color: #c9c3dd;
  padding-block: 2rem;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: var(--sun); font-weight: 700; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---- Motion ---------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
