/**
 * Icarus IFE homepage styles.
 * All selectors are scoped to .home-clean.
 */

.home-clean {
  --home-accent: #8bb8ff;
  --home-accent-strong: #5d96ff;
  --home-text: #f5f8ff;
  --home-muted: #c8d4e8;
  --home-panel: rgba(8, 24, 44, 0.88);
  --home-panel-soft: rgba(19, 47, 76, 0.78);
  --home-border: rgba(174, 205, 255, 0.25);
  --home-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  color: var(--home-text);
  background:
    linear-gradient(180deg, rgba(3, 15, 30, 0.08) 0, rgba(3, 15, 30, 0.78) 18rem, rgba(3, 15, 30, 0.94) 54rem, #061426 100%);
  overflow: hidden;
}

.home-clean *,
.home-clean *::before,
.home-clean *::after {
  box-sizing: border-box;
}

.home-clean .home-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.home-clean .hero-section,
.home-clean .home-section {
  color: var(--home-text);
}

body.page-template-page-home-clean .home-clean .hero-section {
  min-height: 0 !important;
  margin-top: 0 !important;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: left;
}

body.page-template-page-home-clean .home-clean .hero-section::before {
  display: none !important;
}

.home-clean .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.home-clean .home-eyebrow {
  margin: 0 0 0.75rem;
  color: #a9c9ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.home-clean h1,
.home-clean h2,
.home-clean h3 {
  color: var(--home-text);
}

.home-clean h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.5rem, 5.4vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.home-clean h1 span {
  display: block;
  color: var(--home-accent);
}

.home-clean h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.home-clean h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.home-clean .home-hero-lead,
.home-clean .home-section-lead,
.home-clean .home-section-heading > p:last-child,
.home-clean .home-feature-card p,
.home-clean .home-comparison-card p,
.home-clean .home-brief-card p,
.home-clean .home-final-card > p {
  color: var(--home-muted);
}

.home-clean .home-hero-lead {
  max-width: 62ch;
  margin: 1.4rem 0 0;
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.7;
}

.home-clean .home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.65rem;
}

.home-clean .btn {
  min-height: 48px;
  justify-content: center;
  padding: 0.85rem 1.35rem;
}

.home-clean .btn-primary {
  background: linear-gradient(135deg, #a7ceff 0%, #79a9ff 100%);
  color: #061426 !important;
  border-color: transparent;
}

.home-clean .btn-primary:hover,
.home-clean .btn-primary:focus-visible {
  color: #061426 !important;
}

.home-clean .btn-secondary {
  color: #dbe8ff;
  border-color: #91bcff;
  background: rgba(6, 20, 38, 0.56);
}

.home-clean .btn-secondary:hover,
.home-clean .btn-secondary:focus-visible {
  color: #061426;
  background: #91bcff;
}

.home-clean a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.home-clean .home-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.home-clean .home-trust-chips li {
  padding: 0.5rem 0.8rem;
  color: #e8f1ff;
  background: rgba(16, 46, 76, 0.82);
  border: 1px solid rgba(174, 205, 255, 0.34);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.home-clean .home-proof-line {
  margin: 1.15rem 0 0;
  color: #d7e4f8;
  font-size: 0.88rem;
  line-height: 1.5;
}

.home-clean .home-proof-line span {
  margin-inline: 0.4rem;
  color: var(--home-accent);
}

.home-clean .home-hero-visual {
  margin: 0;
  overflow: hidden;
  background: #071426;
  border: 1px solid rgba(174, 205, 255, 0.35);
  border-radius: 22px;
  box-shadow: var(--home-shadow);
}

.home-clean .home-hero-visual picture,
.home-clean .home-hero-visual img {
  display: block;
  width: 100%;
}

.home-clean .home-hero-visual img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-clean .home-hero-visual figcaption {
  padding: 0.9rem 1rem 1rem;
  color: #cbd8ec;
  font-size: 0.86rem;
  line-height: 1.5;
}

.home-clean .home-hero-visual figcaption strong {
  color: #fff;
}

.home-clean .home-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  border-top: 1px solid rgba(174, 205, 255, 0.12);
}

.home-clean .home-section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.home-clean .home-section-heading > p:last-child,
.home-clean .home-section-lead {
  max-width: 64ch;
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-clean .home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-clean .home-feature-card,
.home-clean .home-comparison-card,
.home-clean .home-brief-card,
.home-clean .home-final-card {
  background: var(--home-panel);
  border: 1px solid var(--home-border);
  box-shadow: var(--home-shadow);
}

.home-clean .home-feature-card {
  display: flex;
  min-height: 100%;
  padding: 1.6rem;
  flex-direction: column;
  border-radius: 18px;
}

.home-clean .home-feature-media {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 0 0 1.25rem;
  overflow: hidden;
  background: #07101f;
  border: 1px solid rgba(127, 179, 255, 0.2);
  border-radius: 13px;
}

.home-clean .home-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-clean .home-feature-media figcaption {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  padding: 0.35rem 0.55rem;
  color: #fff;
  background: rgba(5, 12, 24, 0.82);
  border: 1px solid rgba(169, 201, 255, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.home-clean .home-feature-card p {
  margin: 0.8rem 0 1.25rem;
  line-height: 1.65;
}

.home-clean .home-text-link {
  display: inline-flex;
  min-height: 44px;
  margin-top: auto;
  align-items: center;
  gap: 0.35rem;
  color: #a9c9ff;
  font-weight: 800;
  text-decoration: none;
}

.home-clean .home-text-link:hover {
  color: #fff;
  text-decoration: underline;
}

.home-clean .home-product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.home-clean .home-check-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.home-clean .home-check-list li {
  position: relative;
  padding-left: 1.8rem;
  color: #e5eeff;
}

.home-clean .home-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #66e3a2;
  font-weight: 900;
}

.home-clean .home-trade-link {
  margin-top: 0;
}

.home-clean .home-system-visual {
  display: grid;
  min-height: 330px;
  padding: 2rem;
  place-items: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(127, 179, 255, 0.34), transparent 36%),
    linear-gradient(145deg, #07182d, #102f50);
  border: 1px solid var(--home-border);
  border-radius: 30px;
  box-shadow: var(--home-shadow);
}

.home-clean .home-system-panel {
  width: min(100%, 390px);
  padding: 1.5rem;
  background: rgba(4, 17, 32, 0.84);
  border: 1px solid rgba(178, 210, 255, 0.32);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

.home-clean .home-system-brand {
  margin: 0;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-clean .home-system-state {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin: 1.1rem 0 0;
  color: #cfe0f6;
}

.home-clean .home-system-state span {
  width: 10px;
  height: 10px;
  background: #44d692;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(68, 214, 146, 0.14);
}

.home-clean .home-system-modules {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.home-clean .home-system-modules span {
  padding: 0.75rem 0.9rem;
  color: #e6efff;
  background: rgba(127, 179, 255, 0.1);
  border: 1px solid rgba(127, 179, 255, 0.2);
  border-radius: 10px;
}

.home-clean .home-comparison-card,
.home-clean .home-brief-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  padding: clamp(1.7rem, 4vw, 2.7rem);
  align-items: center;
  border-radius: 22px;
}

.home-clean .home-comparison-card p,
.home-clean .home-brief-card p {
  max-width: 64ch;
  margin: 0.8rem 0 0;
  line-height: 1.65;
}

.home-clean .home-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.home-clean .home-proof-grid > div {
  padding: 1.6rem;
  text-align: center;
  background: var(--home-panel-soft);
  border: 1px solid var(--home-border);
  border-radius: 18px;
}

.home-clean .home-proof-grid dt {
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
}

.home-clean .home-proof-grid > div:last-child dt {
  font-size: clamp(1.55rem, 3.3vw, 2.8rem);
}

.home-clean .home-proof-grid dd {
  margin: 0.7rem 0 0;
  color: var(--home-muted);
}

.home-clean .home-proof-actions {
  justify-content: center;
  margin-top: 1.5rem;
}

.home-clean .home-final-card {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.8rem);
  text-align: center;
  border-radius: 24px;
}

.home-clean .home-final-card > p {
  max-width: 62ch;
  margin: 1rem auto 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-clean .home-final-card .home-actions {
  justify-content: center;
}

body.page-template-page-home-clean .site-footer {
  margin-top: 0;
}

@media (max-width: 960px) {
  .home-clean .home-hero-grid,
  .home-clean .home-product-grid {
    grid-template-columns: 1fr;
  }

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

  .home-clean .home-hero-visual {
    max-width: 820px;
  }

  .home-clean .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-clean .home-system-visual {
    min-height: 280px;
  }
}

@media (max-width: 700px) {
  .home-clean .home-container {
    width: min(100% - 28px, 1180px);
  }

  body.page-template-page-home-clean .home-clean .hero-section {
    padding-top: 2.5rem !important;
  }

  .home-clean h1 {
    font-size: clamp(2.3rem, 11vw, 3.35rem);
  }

  .home-clean h2 {
    font-size: clamp(1.8rem, 8.5vw, 2.55rem);
  }

  .home-clean .home-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-clean .home-actions .btn {
    width: 100%;
  }

  .home-clean .home-trade-link {
    justify-content: center;
    text-align: center;
  }

  .home-clean .home-trust-chips {
    align-items: stretch;
    flex-direction: column;
  }

  .home-clean .home-trust-chips li {
    text-align: center;
  }

  .home-clean .home-comparison-card,
  .home-clean .home-brief-card {
    grid-template-columns: 1fr;
  }

  .home-clean .home-comparison-card .btn,
  .home-clean .home-brief-card .btn {
    width: 100%;
  }

  .home-clean .home-proof-grid {
    grid-template-columns: 1fr;
  }

  .home-clean .home-system-visual {
    min-height: 0;
    padding: 1rem;
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-clean *,
  .home-clean *::before,
  .home-clean *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
