/************************************************
  FUTURE LOGIC EDUCATION
  MAIN STYLESHEET
  css/style.css
************************************************/

/******** RESET ********/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #050816;
  color: #ffffff;
  line-height: 1.6;
}

/******** GLOBAL ********/
a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/******** HEADER / NAVIGATION ********/
header {
  padding: 18px 0;
  border-bottom: 1px solid rgba(0, 212, 255, 0.18);
  position: sticky;
  top: 0;
  background: rgba(5, 8, 22, 0.94);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: clamp(42px, 5vw, 68px);
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
  color: #c7d2fe;
}

.nav-links a:hover {
  color: #00d4ff;
}

.nav-video-btn {
  padding: 8px 14px;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  transition: 0.25s ease;
}

.nav-video-btn:hover {
  color: #00d4ff;
  border-color: #00d4ff;
  background: rgba(0,212,255,0.08);
}

/******** HERO ********/
.hero {
  min-height: 58vh;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
  text-align: center;
}

.home-hero {
  min-height: 82vh;
  padding: 80px 0;
}

.hero::before {
  content: "010101001101011010010101110010101010111001010101";
  position: absolute;
  inset: 0;
  color: rgba(0, 212, 255, 0.06);
  font-size: 6rem;
  font-weight: 800;
  line-height: 1.1;
  word-break: break-all;
  transform: rotate(-8deg) scale(1.1);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.home-hero .hero-content {
  max-width: 780px;
}

/******** TYPOGRAPHY ********/
h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1;
  margin-bottom: 22px;
  letter-spacing: -2px;
}

.home-hero h1 {
  font-size: clamp(2.4rem, 7vw, 5.2rem);
}

.hero p {
  color: #c7d2fe;
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  max-width: 720px;
  margin: 0 auto 32px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 14px;
  text-align: center;
}

.section-subtitle {
  color: #aeb9e8;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
  font-size: 1.05rem;
}

.highlight {
  color: #00d4ff;
  text-shadow: 0 0 28px rgba(0, 212, 255, 0.45);
}

/******** BADGES / PILLS ********/
.badge,
.pill {
  display: inline-block;
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 999px;
  font-weight: 700;
}

.badge {
  padding: 8px 14px;
  margin-bottom: 22px;
  font-size: 0.9rem;
}

.pill {
  padding: 6px 10px;
  font-size: 0.82rem;
}

/******** BUTTONS ********/
.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  transition: 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #00d4ff;
  color: #04111f;
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 0 42px rgba(0, 212, 255, 0.55);
}

.btn-secondary {
  border: 1px solid rgba(199, 210, 254, 0.4);
  color: #ffffff;
  background: rgba(255,255,255,0.04);
}

.btn-secondary:hover {
  border-color: #00d4ff;
  color: #00d4ff;
}

.btn-small {
  padding: 10px 14px;
  font-size: 0.9rem;
  border-radius: 12px;
}

/******** SECTIONS ********/
section {
  padding: 72px 0;
}

/******** GRIDS / CARDS ********/
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.45);
}

.card h3 {
  color: #00d4ff;
  margin: 14px 0 10px;
  font-size: 1.25rem;
}

.card p {
  color: #c7d2fe;
  font-size: 0.98rem;
  margin-bottom: 16px;
}

/******** HOME FEATURE / PDF PREVIEW ********/
/******** HOME STARTER CARD (compact lead magnet) ********/
.starter-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(0, 212, 255, 0.2), transparent 42%), rgba(255,255,255,0.04);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 22px 70px rgba(0,0,0,0.25);
}

.starter-card-image {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  box-shadow: 0 0 38px rgba(0, 212, 255, 0.16);
}

.starter-card-content h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.08;
  margin: 14px 0 14px;
}

.starter-card-content p {
  color: #c7d2fe;
  margin-bottom: 22px;
}

.starter-card-buttons {
  justify-content: flex-start;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(0, 212, 255, 0.2), transparent 38%), rgba(255,255,255,0.04);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 28px;
  padding: 34px;
}

.feature h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.feature p {
  color: #c7d2fe;
  margin-bottom: 22px;
}

.pdf-box {
  min-height: 260px;
  border-radius: 22px;
  background: #020617;
  border: 1px solid rgba(0, 212, 255, 0.3);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  box-shadow: inset 0 0 60px rgba(0, 212, 255, 0.08);
}

.pdf-box span {
  display: block;
  color: #00d4ff;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.pdf-preview-card {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,212,255,0.2);
}

.pdf-preview-image {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(0,212,255,0.2);
}

.pdf-preview-content h3 {
  color: #00d4ff;
  margin-bottom: 16px;
}

.pdf-preview-content p,
.pdf-preview-content li {
  color: #c7d2fe;
}

.pdf-preview-content ul {
  margin: 20px 0;
  padding-left: 20px;
}

.pdf-preview-content li {
  margin-bottom: 8px;
}

/******** FEATURED VIDEO / RESOURCE ********/
.featured-video,
.featured-resource {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
  background: radial-gradient(circle at top left, rgba(0, 212, 255, 0.22), transparent 38%), rgba(255,255,255,0.04);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 22px 70px rgba(0,0,0,0.25);
}

.featured-video h2,
.featured-resource h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.featured-video p,
.featured-resource p,
.featured-resource li {
  color: #c7d2fe;
}

.featured-resource ul {
  margin: 20px 0 24px;
  padding-left: 20px;
}

.featured-resource li {
  margin-bottom: 8px;
}

.featured-thumb-wrap {
  position: relative;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(135deg, rgba(0,212,255,0.28), rgba(99,102,241,0.08));
  box-shadow: 0 0 45px rgba(0, 212, 255, 0.18);
}

.featured-thumb-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  border: 1px solid rgba(0, 212, 255, 0.35);
  pointer-events: none;
}

/******** THUMBNAILS ********/
.featured-video img,
.featured-thumb,
.thumbnail,
.resource-thumbnail {
  width: 100%;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(0, 212, 255, 0.28);
  transition: 0.25s ease;
}

.featured-thumb {
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
}

.thumbnail {
  margin-bottom: 16px;
}

.resource-thumbnail {
  width: 100%;
  height: 160px;
  aspect-ratio: unset;
  object-fit: cover;
  object-position: center center;
  margin-bottom: 18px;
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.14);
  overflow: hidden;
  flex-shrink: 0;
}

.card:hover .resource-thumbnail,
.video-card-link:hover .thumbnail {
  transform: scale(1.02);
  box-shadow: 0 0 42px rgba(0, 212, 255, 0.25);
}

/******** VIDEO / RESOURCE META ********/
.video-meta,
.resource-meta,
.resource-row,
.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.video-meta,
.resource-meta {
  margin-bottom: 22px;
}

.resource-row {
  margin: 14px 0 18px;
}

.platform-row {
  margin-top: 14px;
}

.video-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/******** RESOURCE ICONS ********/
.resource-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  font-weight: 900;
  font-size: 1.15rem;
}

/******** TOPICS ********/
.topic-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.topic-box {
  border-radius: 18px;
  border: 1px solid rgba(0,212,255,0.18);
  background: rgba(255,255,255,0.04);
  padding: 18px;
  text-align: center;
}

.topic-box strong {
  color: #00d4ff;
  display: block;
  margin-bottom: 6px;
}

.topic-box span {
  color: #aeb9e8;
  font-size: 0.9rem;
}

/******** CTA / SIGNUP ********/
.cta-panel,
.signup {
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.16), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(0, 212, 255, 0.24);
  border-radius: 28px;
  padding: 42px;
}

.signup form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

input[type=email] {
  width: min(360px, 100%);
  padding: 15px 16px;
  border-radius: 12px;
  border: 1px solid rgba(199, 210, 254, 0.35);
  background: rgba(2, 6, 23, 0.7);
  color: white;
  font-size: 1rem;
  outline: none;
}

/******** FOOTER ********/
footer {
  padding: 34px 0;
  border-top: 1px solid rgba(0, 212, 255, 0.18);
  color: #8f9bd3;
  text-align: center;
  font-size: 0.92rem;
}

/******** RESPONSIVE ********/
@media (max-width: 920px) {
  .grid,
  .feature,
  .featured-video,
  .featured-resource,
  .topic-strip,
  .pdf-preview-card,
  .starter-card {
    grid-template-columns: 1fr;
  }

  .starter-card-buttons {
    justify-content: center;
  }
}

@media (max-width: 820px) {
  .nav {
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    letter-spacing: -1px;
  }

  .feature,
  .featured-video,
  .featured-resource {
    padding: 22px;
  }
}


/******** RESOURCE VAULT / COMMUNITY PAGE ADDITIONS ********/
/******** LEAD MAGNET LABELS ********/
.lead-magnet-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.lead-magnet-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
}

.community-panel--alt {
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.22), transparent 42%), rgba(255,255,255,0.04);
  border-color: rgba(99, 102, 241, 0.3);
}

.community-panel--alt .form-panel {
  border-color: rgba(99, 102, 241, 0.3);
}
.resource-grid { align-items: stretch; }
.vault-category { margin-top: 52px; }
.vault-category:first-of-type { margin-top: 28px; }
.category-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(0, 212, 255, 0.18); }
.category-heading h3 { color: #ffffff; font-size: clamp(1.35rem, 3vw, 2rem); }
.resource-card { display: flex; flex-direction: column; overflow: hidden; }
.resource-card > img.resource-thumbnail { border-radius: 18px 18px 0 0; margin-bottom: 0; }
.resource-card .btn { margin-top: auto; width: fit-content; }
.community-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: flex-start; background: radial-gradient(circle at top left, rgba(0, 212, 255, 0.22), transparent 42%), rgba(255,255,255,0.04); border: 1px solid rgba(0, 212, 255, 0.22); border-radius: 28px; padding: 34px; box-shadow: 0 22px 70px rgba(0,0,0,0.25); }
.form-panel { background: rgba(2, 6, 23, 0.55); border: 1px solid rgba(0, 212, 255, 0.22); border-radius: 24px; padding: 28px; min-height: 260px; }
.community-list { margin: 20px 0 0; padding-left: 20px; color: #c7d2fe; }
.community-list li { margin-bottom: 10px; }
.contact-card { text-align: center; }
.contact-email { color: #00d4ff; font-weight: 800; word-break: break-word; }
@media (max-width: 920px) { .community-panel { grid-template-columns: 1fr; } .category-heading { align-items: flex-start; flex-direction: column; } }

/*------ new navigation links ---*/

/* MailerLite subscribe button house style */
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button.primary,
.ml-block-form .ml-form-embedSubmit button {
  background: #00d4ff !important;
  color: #04111f !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 14px 22px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  width: 100% !important;
  cursor: pointer !important;
  box-shadow: 0 0 28px rgba(0, 212, 255, 0.35) !important;
  transition: 0.25s ease !important;
  margin-top: 10px !important;
}

.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-embedSubmit button:hover,
.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow button.primary:hover {
  box-shadow: 0 0 42px rgba(0, 212, 255, 0.55) !important;
  transform: translateY(-2px) !important;
}

/* MailerLite email input house style */
.ml-form-embedContainer .ml-form-fieldRow input[type="email"],
.ml-form-embedContainer .ml-form-horizontalRow input[type="email"] {
  border-radius: 12px !important;
  border: 1px solid rgba(199, 210, 254, 0.35) !important;
  background: rgba(2, 6, 23, 0.7) !important;
  color: white !important;
  padding: 14px 16px !important;
  font-size: 1rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.ml-form-embedContainer .ml-form-embedWrapper {
  background-color: transparent !important;
  width: 100% !important;
  max-width: 100% !important;
}

.ml-form-embedContainer {
  width: 100% !important;
}

.topic-progress-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.topic-nav-btn {
  padding: 0.9rem 1.4rem;
  border: 1px solid rgba(0,255,255,0.25);
  border-radius: 12px;
  background: rgba(0,255,255,0.04);
  color: #d9f6ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.topic-nav-btn:hover {
  border-color: #00e5ff;
  box-shadow: 0 0 15px rgba(0,229,255,0.35);
  transform: translateY(-2px);
}











