/* =======================================
   MOBILE-FIRST PREMIUM HOMEPAGE
======================================= */
:root {
  --navy: #0A2D64;
  --navy-deep: #08244f;
  --teal: #1CA7A3;
  --blue: #136A84;

  --ink: #122033;
  --text: #4b5563;
  --text-soft: #667085;

  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --bg-muted: #eef4fb;
  --card: #ffffff;

  --line: rgba(10, 45, 100, 0.08);
  --line-strong: rgba(10, 45, 100, 0.14);

  --teal-soft: rgba(28, 167, 163, 0.12);
  --navy-soft: rgba(10, 45, 100, 0.08);
  --blue-soft: rgba(19, 106, 132, 0.12);

  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 36px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 54px rgba(15, 23, 42, 0.14);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 28px;

  --max-width: 1180px;
}
/* =======================================
   BASE
======================================= */
input::placeholder {
  color: #333;
  opacity: 1;
}

article a {
  margin-top: auto;
}
section {
  padding: 3.25rem 1.1rem;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 1.75rem;
}

.section-heading h2 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 1.9rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
}

/* =======================================
   BUTTONS
======================================= */
.btn,
.secondary-btn,
.tertiary-btn,
.card-link,
.pillars-cta {
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease,
              border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0.95rem 1.3rem;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 14px 28px rgba(28, 167, 163, 0.20);
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  color: #fff;
}

.secondary-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(8px);
}

.secondary-btn:hover,
.secondary-btn:focus {
  transform: translateY(-1px);
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.tertiary-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0.95rem 1.25rem;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.20);
  background: transparent;
  color: rgba(255, 255, 255, 0.94);
}

.tertiary-btn:hover,
.tertiary-btn:focus {
  transform: translateY(-1px);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.dark-outline,
.light-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.dark-outline:hover,
.dark-outline:focus,
.light-outline:hover,
.light-outline:focus {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--navy);
  font-weight: 800;
}

.card-link:hover,
.card-link:focus {
  color: var(--teal);
}

.pillars-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--navy);
}

.pillars-cta:hover,
.pillars-cta:focus {
  background: rgba(28, 167, 163, 0.18);
  color: var(--navy);
}

/* =======================================
   CARD BASE
======================================= */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
/* =======================================
   HERO
======================================= */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 4.5rem 1.5rem 4rem;
  color: #fff;
  background:
    radial-gradient(750px 420px at 13% 16%, rgba(28, 167, 163, 0.24), transparent 60%),
    radial-gradient(700px 420px at 82% 24%, rgba(65, 214, 210, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

/* integrated hero image */
.hero-bg-image {
  position: absolute;
  right: 50px !important;
  inset: 0;
  z-index: 0;
  filter: saturate(1.05) brightness(1.05);
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0,0,0,1) 65%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to left,
    rgba(0,0,0,1) 65%,
    rgba(0,0,0,0) 100%
  );

  background:
    /* LEFT SIDE protection for text */
    linear-gradient(90deg,
      var(--navy-deep) 0%,
      rgba(6, 43, 95, 0.92) 35%,
      rgba(6, 43, 95, 0.65) 50%,
      rgba(6, 43, 95, 0.15) 65%,
      transparent 75%
    ),

    /* SUBTLE bottom blend */
    linear-gradient(180deg,
      transparent 0%,
      rgba(6, 43, 95, 0.35) 75%,
      var(--navy-deep) 100%
    ),

    /* IMAGE */
    url("/static/images/hero-image-Photoroom.png") right center / auto 85% no-repeat;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, var(--navy-deep) 90%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero-text {
  /* max-width: 650px; */
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.hero-text h1 {
  margin: 1rem 0 0.95rem;
  color: #fff;
  font-size: clamp(3.4rem, 5vw, 5.4rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  max-width: 13ch;
}

.hero-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.72;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-actions .btn,
.hero-actions .secondary-btn,
.hero-actions .tertiary-btn {
  text-align: center;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.4rem;
  margin-top: 2rem;
}

.hero-points span {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  line-height: 1.45;
  /* margin: 0 auto; */
}

.hero-points span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #41d6d2;
  box-shadow: 0 0 0 4px rgba(65, 214, 210, 0.14);
}

/* Tablet */
@media (max-width: 1000px) {
  .hero-section {
    min-height: auto;
    padding: 4rem 1.25rem 4.5rem;
  }

  .hero-bg-image {
    background:
      linear-gradient(90deg,
        var(--navy-deep) 0%,
        rgba(6, 43, 95, 0.96) 42%,
        rgba(6, 43, 95, 0.72) 72%,
        var(--navy-deep) 100%
      ),
      linear-gradient(180deg,
        rgba(6, 43, 95, 0.1) 0%,
        var(--navy-deep) 100%
      ),
      url("/static/images/hero-image-Photoroom.png") right center / auto 70% no-repeat;
    opacity: 0.55;
  }

  .hero-content {
    min-height: auto;
  }

  .hero-text h1 {
    font-size: clamp(2.7rem, 8vw, 4.2rem);
  }
}

/* Mobile */
@media (max-width: 700px) {
  .hero-section {
    padding: 3.5rem 1rem 3.75rem;
  }

  .hero-bg-image {
    opacity: 0.22;
    background:
      linear-gradient(180deg,
        rgba(6, 43, 95, 0.88) 0%,
        var(--navy-deep) 100%
      ),
      url("/static/images/hero-image-Photoroom.png") center bottom / 130% auto no-repeat;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-actions .secondary-btn,
  .hero-actions .tertiary-btn {
    width: 100%;
  }

  .hero-points {
    display: grid;
    gap: 0.75rem;
  }
}
/* ================================
   RESUME FEEDBACK CTA
================================ */

.resume-feedback-cta {
  padding: 3rem 1.5rem;
}

.resume-feedback-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 24px;
  background: #f7fbfb;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.resume-feedback-copy {
  max-width: 500px;
}

.resume-feedback-copy h2 {
  margin: 0.5rem 0;
  color: #002b5c;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.15;
}

.resume-feedback-copy p {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.6;
}

.resume-feedback-form {
  display: flex;
  gap: 0.75rem;
  min-width: 360px;
}

.resume-feedback-form input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
  outline: none;
}

.resume-feedback-form input:focus {
  border-color: #20a7a0;
  box-shadow: 0 0 0 3px rgba(32, 167, 160, 0.15);
}

.resume-feedback-form button {
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 800px) {
  .resume-feedback-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .resume-feedback-form {
    width: 100%;
    min-width: 0;
    flex-direction: column;
  }

  .resume-feedback-form button {
    width: 100%;
  }
}

/* =======================================
   PLATFORM OVERVIEW
======================================= */
.platform-overview {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.platform-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.platform-card {
  padding: 1.35rem 1.2rem 1.3rem;
  text-align: left;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
}

.feature-community .feature-badge {
  background: var(--teal-soft);
  color: var(--teal);
}

.feature-blog .feature-badge {
  background: var(--navy-soft);
  color: var(--navy);
}

.feature-resume .feature-badge {
  background: var(--blue-soft);
  color: var(--blue);
}

.platform-card h3 {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1.2;
}

.platform-card p {
  margin: 0 0 0.95rem;
  color: var(--text);
  line-height: 1.68;
  font-size: 0.98rem;
}

.feature-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: 0.95rem;
}

.feature-list li + li {
  margin-top: 0.15rem;
}

/* =======================================
   COMMUNITY SPOTLIGHT
======================================= */
.community-spotlight, .chartedu-spotlight {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
}

.community-copy h2 {
  margin: 0 0 0.9rem;
  color: var(--navy);
  font-size: 1.95rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.community-copy p {
  margin: 0 0 0.9rem;
  color: var(--text);
  line-height: 1.72;
}

.community-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.community-actions .btn,
.community-actions .secondary-btn {
  width: 100%;
  text-align: center;
}

.community-panel {
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-md);
}

.mini-thread {
  display: grid;
  gap: 0.8rem;
}

.mini-label {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mini-post {
  padding: 0.95rem 0.95rem 0.9rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(10, 45, 100, 0.07);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.mini-post h4 {
  margin: 0 0 0.35rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.4;
}

.mini-post p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.58;
}

/* =======================================
   PILLARS
======================================= */
.pillars {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.pillars-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.pillar {
  padding: 1.35rem 1.2rem 1.25rem;
  border-radius: 22px;
  text-align: left;
}

.pillar h3 {
  margin: 0 0 0.7rem;
  color: var(--navy);
  font-size: 1.24rem;
  line-height: 1.2;
}

.pillar p {
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.7;
  font-size: 0.98rem;
}

.pillar-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pillar-links .secondary-btn,
.pillar-links .pillars-cta {
  width: 100%;
  text-align: center;
}

/* =======================================
   PROOF EXAMPLES
======================================= */
.proof-examples {
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(28, 167, 163, 0.14), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(10, 45, 100, 0.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  text-align: center;
}

.examples-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.example {
  position: relative;
  text-align: left;
  padding: 1.3rem 1.15rem 1.2rem;
  border-radius: 22px;
}

.example::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--teal), #28b6d1, var(--navy));
}

.example h3 {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  color: var(--ink);
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.example-text {
  margin: 0 0 0.95rem;
  color: #334155;
  line-height: 1.68;
  font-size: 0.96rem;
}

.example .example-text:nth-of-type(1) {
  color: #6b7280;
}

.examples-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.examples-actions .btn,
.examples-actions .secondary-btn {
  width: 100%;
  text-align: center;
}

/* =======================================
   HOW IT WORKS
======================================= */
.how-it-works {
  background: var(--bg-soft);
  text-align: center;
}

.steps {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.step1,
.step2,
.step3 {
  position: relative;
  padding: 1.6rem 1.2rem 1.35rem;
  border-radius: 22px;
}

.step1::before,
.step2::before,
.step3::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 7px;
}

.step1::before {
  background: linear-gradient(90deg, var(--teal), rgba(28, 167, 163, 0.45));
}

.step2::before {
  background: linear-gradient(90deg, var(--navy), rgba(10, 45, 100, 0.45));
}

.step3::before {
  background: linear-gradient(90deg, var(--blue), rgba(19, 106, 132, 0.45));
}

.step1 img,
.step2 img,
.step3 img {
  display: block;
  max-width: 132px;
  margin: 0 auto;
}

.step1 h3,
.step2 h3,
.step3 h3 {
  margin: 0.95rem 0 0.6rem;
  font-size: 1.22rem;
}

.step1 h3 { color: var(--teal); }
.step2 h3 { color: var(--navy); }
.step3 h3 { color: var(--blue); }

.step1 p,
.step2 p,
.step3 p {
  margin: 0;
  color: var(--text);
  line-height: 1.68;
  font-size: 0.97rem;
}

/* =======================================
   FINAL CTA
======================================= */
.final-cta {
  padding: 3.5rem 1.1rem 4rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: #fff;
}

.final-cta h2 {
  margin: 0 0 0.8rem;
  color: var(--navy);
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.final-cta p {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  color: var(--text);
  line-height: 1.72;
}

/* =======================================
   TABLET
======================================= */
@media (min-width: 640px) {
  section {
    padding: 4rem 1.5rem;
  }

  .hero-section {
    padding: 2rem 1.5rem 4.5rem;
  }

  .hero-text h1 {
    font-size: 2.8rem;
    max-width: 13ch;
  }

  .hero-actions,
  .community-actions,
  .examples-actions,
  .pillar-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2rem;
  }

  .hero-actions .btn,
  .hero-actions .secondary-btn,
  .hero-actions .tertiary-btn,
  .community-actions .btn,
  .community-actions .secondary-btn,
  .examples-actions .btn,
  .examples-actions .secondary-btn {
    width: auto;
  }

  .platform-grid,
  .pillars-grid,
  .examples-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .examples-grid > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .hero-section img {
    max-width: 360px;
  }
}

/* =======================================
   DESKTOP
======================================= */
@media (min-width: 960px) {
  section {
    padding: 5rem 1.75rem;
  }

  .hero-section {
    padding: 2.5rem 1.75rem 5.5rem;
  }

  .hero-content {
    /* grid-template-columns: 1.08fr 0.92fr; */
    gap: 3rem;
  }

  .hero-text h1 {
    font-size: 4rem;
    max-width: 11ch;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-actions .btn,
  .hero-actions .secondary-btn,
  .hero-actions .tertiary-btn {
    width: auto;
  }

  .hero-points {
    grid-template-columns: repeat(3, auto);
    gap: 1rem 1.4rem;
  }

  .hero-section img {
    max-width: 470px;
  }

  .platform-grid,
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pillars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .examples-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .examples-grid > :nth-child(3) {
    grid-column: auto;
  }

  .community-spotlight, .chartedu-spotlight {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.2rem;
  }
}