/*
 * AusbilderPilot visual polish
 * Final presentation layer for the public sales page.
 */

.home {
  --polish-paper: #f3f6f4;
  --polish-white: #ffffff;
  --polish-ink: #183234;
  --polish-night: #143c3e;
  --polish-stage: #204d4f;
  --polish-line: #cedbd7;
  --polish-soft-line: rgba(23, 66, 67, .12);
  --polish-gold: #eba93b;
  --polish-shadow: 0 28px 70px rgba(5, 31, 33, .24);
  background: var(--polish-paper);
}

.home .topbar {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 30px rgba(15, 51, 53, .08);
  backdrop-filter: blur(16px);
}

.home .nav {
  min-height: 82px;
}

.home .brand-logo {
  width: 194px;
  max-height: 57px;
}

.home .nav-actions .btn {
  min-height: 46px;
  border-radius: 7px;
}

.home .nav-actions .btn.primary,
.home .hero-actions .btn.primary,
.home .tour-cta .btn.primary,
.home .price-actions .btn.primary {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 26px rgba(130, 83, 12, .18);
}

/* Hero: real product proof with a more dimensional presentation. */

.home .hero {
  min-height: 742px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: var(--polish-night) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.home .hero::after {
  width: 47%;
  background: var(--polish-stage);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .05);
}

.home .hero-inner {
  min-height: 742px;
  grid-template-columns: minmax(445px, .9fr) minmax(610px, 1.1fr);
  gap: 64px;
  padding-top: 88px;
  padding-bottom: 76px;
}

.home .hero-copy {
  max-width: 625px;
}

.home .hero .eyebrow {
  margin-bottom: 25px;
  padding: 9px 13px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.home .hero h1,
.home h1 {
  max-width: 10.5ch;
  margin-bottom: 23px;
  font-size: 64px;
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}

.home .hero .claim {
  max-width: 51ch;
  font-size: 19px;
  line-height: 1.62;
}

.home .hero-actions {
  margin-top: 31px;
}

.home .hero-actions .btn {
  min-height: 52px;
  padding-inline: 24px;
  border-radius: 7px;
}

.home .hero-tour-link {
  margin-top: 20px;
}

.home .hero-tour-link span {
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.home .hero-status {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 25px;
}

.home .hero-status span {
  position: relative;
  padding: 0 11px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #cbdad7;
  font-size: 12px;
}

.home .hero-status span:first-child {
  padding-left: 0;
}

.home .hero-status span + span::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, .2);
  content: "";
  transform: translateY(-50%);
}

.home .hero-product {
  width: min(720px, 51vw);
  margin-right: -2vw;
}

.home .hero-product::before {
  position: absolute;
  z-index: -1;
  top: -20px;
  right: -20px;
  bottom: 41px;
  left: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: #2a595a;
  box-shadow: 0 34px 75px rgba(4, 25, 27, .2);
  content: "";
}

.home .product-window {
  border-color: rgba(255, 255, 255, .45);
  border-radius: 8px;
  box-shadow: var(--polish-shadow), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .22s ease, box-shadow .22s ease;
}

.home .product-window-bar {
  min-height: 38px;
  border-bottom: 1px solid #dce5e2;
  background: #f8faf9;
}

.home .hero-product figcaption {
  margin-top: 18px;
  padding-left: 2px;
}

/* Course scope becomes a bright editorial continuation instead of another dark block. */

.home .course-facts {
  border-top: 0;
  border-bottom: 1px solid var(--polish-line);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(17, 55, 57, .07);
}

.home .fact-row {
  min-height: 132px;
}

.home .fact-row > div {
  border-color: var(--polish-line);
}

.home .fact-row > div strong {
  color: var(--polish-ink) !important;
  font-size: 38px;
}

.home .fact-row span {
  color: #53686a;
}

/* More breathing room and a clear visual rhythm across the long-form page. */

.home section.band {
  padding-top: 112px;
  padding-bottom: 112px;
}

.home .section-head {
  margin-bottom: 54px;
}

.home .section-head h2 {
  max-width: 19ch;
  font-size: 46px;
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}

.home .section-head.centered h2 {
  margin-right: auto;
  margin-left: auto;
}

.home .section-head > p:not(.section-kicker) {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.72;
}

.home section.band.outcomes,
.home section.band.learning-flow,
.home section.band.trust-band,
.home section.band.white {
  background: #ffffff !important;
}

.home section.band.course-purpose,
.home section.band.learning-scenes,
.home section.band.product-tour,
.home section.band.syllabus,
.home section.band.guide-band {
  background: var(--polish-paper) !important;
}

.home .outcome-grid article {
  min-height: 285px;
  padding: 44px 38px 40px;
}

.home .outcome-grid h3 {
  font-size: 27px;
}

.home .course-purpose-layout {
  gap: 82px;
}

.home .course-purpose-points article {
  padding: 34px 32px;
}

/* Large authentic scenes instead of small decorative cards. */

.home .scene-grid {
  gap: 24px;
}

.home .scene-item {
  border: 1px solid rgba(22, 67, 68, .1);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(16, 51, 53, .12);
}

.home .scene-item img {
  aspect-ratio: 4 / 3;
}

.home .scene-item figcaption {
  min-height: 184px;
  padding: 28px 28px 30px;
  border-top-width: 3px;
}

.home .scene-item figcaption strong {
  font-size: 21px;
}

.home .flow-row article {
  padding: 28px 28px 30px;
}

/* Product tour uses stronger device framing and larger readable previews. */

.home .product-tour .product-row {
  min-height: 620px;
  grid-template-columns: minmax(0, 1.3fr) minmax(330px, .7fr);
  gap: 78px;
}

.home .product-tour .product-row.reverse {
  grid-template-columns: minmax(330px, .7fr) minmax(0, 1.3fr);
}

.home .product-visual .product-zoom {
  border-color: rgba(25, 61, 63, .2);
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(16, 50, 52, .17), inset 0 1px 0 #fff;
}

.home .product-copy h3 {
  font-size: 34px;
  line-height: 1.1;
}

.home .tour-cta,
.home .syllabus-note {
  border-radius: 8px;
  box-shadow: 0 24px 62px rgba(16, 51, 53, .12);
}

/* Founder becomes a genuine editorial trust feature. */

.home .founder-card {
  position: relative;
  overflow: hidden;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 22px 42px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 8px;
  background: var(--polish-night);
  box-shadow: 0 30px 75px rgba(11, 42, 44, .2);
  color: #fff;
}

.home .founder-card::after {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(255, 255, 255, .25);
  content: "";
}

.home .founder-card .contact-photo {
  width: 220px;
  height: 270px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 7px;
  box-shadow: 0 22px 48px rgba(3, 20, 22, .34);
}

.home .founder-card .founder-copy > span {
  color: #efb557;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.home .founder-card .founder-copy h3 {
  margin-top: 9px;
  color: #fff;
  font-size: 36px;
}

.home .founder-card .founder-role {
  max-width: 52ch;
  color: #d7e4e1;
  font-size: 17px;
}

.home .founder-story {
  gap: 30px;
  padding-top: 24px;
  border-top-color: rgba(255, 255, 255, .16);
}

.home .founder-story p {
  color: #c8d9d6;
  font-size: 15px;
  line-height: 1.75;
}

.home .founder-card > .technical-contact-link {
  color: #efb557;
}

.home .selflearning-details {
  margin-top: 20px;
  border: 1px solid var(--polish-line);
  border-radius: 8px;
  background: #f7f9f8;
}

.home .footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.home .footer-brand > img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 7px;
}

.home .footer-brand > div {
  display: grid;
  gap: 3px;
}

.home .footer-brand strong {
  color: #ffffff;
  font-size: 17px;
  line-height: 1.1;
}

.home .footer-brand span {
  color: #c3d4d1;
  font-size: 13px;
  line-height: 1.35;
}

@media (min-width: 1161px) and (max-width: 1320px) {
  .home .hero-inner {
    grid-template-columns: minmax(410px, .88fr) minmax(540px, 1.12fr);
    gap: 42px;
  }

  .home .hero h1,
  .home h1 {
    font-size: 56px;
  }
}

@media (max-width: 1160px) {
  .home .hero-inner {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .home .hero-product {
    width: min(920px, 100%);
    margin-right: 0;
  }

  .home .hero-product::before {
    right: -14px;
    left: 14px;
  }

  .home .product-tour .product-row,
  .home .product-tour .product-row.reverse {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 780px) {
  .home .nav {
    width: 100%;
    min-height: 64px;
    gap: 12px;
    padding-right: 16px;
    padding-left: 16px;
    box-sizing: border-box;
  }

  .home .brand-logo {
    width: 132px;
    max-height: 44px;
  }

  .home .nav-actions {
    min-width: 0;
    margin-left: auto;
  }

  .home .nav-actions .btn.login {
    min-width: 0;
    min-height: 42px;
    padding-right: 13px;
    padding-left: 13px;
    font-size: 12px;
  }

  .home .hero {
    min-height: 0;
  }

  .home .hero-inner {
    width: 100%;
    min-height: 0;
    gap: 42px;
    padding-top: 50px;
    padding-right: 16px;
    padding-bottom: 44px;
    padding-left: 16px;
    box-sizing: border-box;
  }

  .home .hero-copy,
  .home .hero-product {
    min-width: 0;
    width: 100%;
  }

  .home .hero h1,
  .home h1 {
    max-width: 11ch;
    font-size: 38px;
    overflow-wrap: break-word;
  }

  .home .hero .claim {
    font-size: 16px;
    line-height: 1.55;
  }

  .home .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home .hero-actions .btn {
    width: 100%;
    box-sizing: border-box;
  }

  .home .hero-status {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px 14px;
  }

  .home .hero-status span {
    padding: 0;
  }

  .home .hero-status span + span::before {
    display: none;
  }

  .home .hero-product::before {
    top: -10px;
    right: -7px;
    bottom: 48px;
    left: 8px;
  }

  .home .fact-row {
    min-height: 0;
  }

  .home section.band {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .home .section-head {
    margin-bottom: 38px;
  }

  .home .section-head h2 {
    font-size: 34px;
  }

  .home .scene-item figcaption {
    min-height: 0;
  }

  .home .founder-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 18px;
    padding: 24px;
  }

  .home .founder-card .contact-photo {
    width: 92px;
    height: 116px;
  }

  .home .founder-card .founder-copy h3 {
    font-size: 27px;
  }

  .home .founder-card .founder-role {
    font-size: 14px;
  }

  .home .founder-card .founder-story,
  .home .founder-card > .technical-contact-link {
    grid-column: 1 / -1;
  }

  .home .founder-story {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home .footer-row {
    align-items: flex-start;
  }

  .home .footer-brand {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .home .hero-inner {
    gap: 30px;
    padding-top: 42px;
    padding-bottom: 36px;
  }

  .home .hero h1,
  .home h1 {
    max-width: none;
    font-size: 31px;
  }

  .home .hero-status {
    display: none;
  }

  .home .hero-actions .btn {
    min-height: 50px;
  }

  .home .section-head h2 {
    font-size: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .product-window,
  .home .scene-item,
  .home .product-visual img {
    transition: none;
  }
}
