@charset "UTF-8";

/* =========================================================
   GLOBAL / styles.css
   (NAV + CLASSIC PAGES HAVE PRIORITY)
========================================================= */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: url("../media/tridentu-abstract.webp") no-repeat center center /
    cover;
  margin-top: -10vh;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background-color: rgba(255, 255, 255, 0.75); */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(255, 255, 255, 0.8) 75%,
    #ffffff 100%
  );

  z-index: 1;
}

.hero > div {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-color);
}

/* Content blocks */
.content-wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}

.text-block {
  flex: 1 1 500px;
}

.text-block h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.text-block p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.image-block {
  flex: 1 1 500px;
}

.image-block img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

/* How it works */
.how-it-works-grid {
  background-color: var(--back-dark);
  text-align: center;
}

.how-it-works-wrapper h2,
.timeline-wrapper h2,
.skill-grid-wrapper h2 {
  font-size: 2.5rem;
  color: var(--text-color);
}

.how-it-works-wrapper .subtitle,
.timeline-wrapper .subtitle,
.skill-grid-wrapper .subtitle {
  font-size: 1.125rem;
  color: var(--text-color);
  margin-bottom: 3rem;
}

.how-it-works-grid-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.how-box,
.timeline-step,
.skill-card {
  background: var(--back-light);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.how-box:hover,
.timeline-step:hover,
.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Timeline */
.timeline-section {
  background-color: var(--back-dark);
  text-align: center;
}

.timeline-steps.five-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

.step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--text-color);
  color: var(--back-dark);
  border-radius: 50%;
  line-height: 40px;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Skills */
.skill-grid-section {
  background: var(--back-light);
  text-align: center;
}

.skill-grid.vertical {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.level-badge {
  display: inline-block;
  font-weight: bold;
  background-color: var(--text-color);
  color: var(--back-light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

/* =========================================================
   FUNNEL NEUTRALIZATION (IMPORTANT)
   styles.css MUST WIN OVER funnel where nav is concerned
========================================================= */

body.funnel-page .hero,
body.funnel-page .hero::before {
  all: unset;
}

/* =========================================================
   FUNNEL / start.css
   (ISOLATED — NO NAV OVERRIDES)
========================================================= */

:root {
  --f-max: 980px;
  --t: #00bfff;
  --ink-strong: rgba(0, 0, 0, 0.92);
  --ink: rgba(0, 0, 0, 0.82);
  --ink-soft: rgba(0, 0, 0, 0.68);
  --ink-muted: rgba(0, 0, 0, 0.56);
  --white-strong: rgba(255, 255, 255, 0.94);
  --white: rgba(255, 255, 255, 0.86);
  --panel: rgba(255, 255, 255, 0.86);
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 16px 44px rgba(0, 0, 0, 0.08);
  --radius: 18px;
}

body.funnel-page {
  background: var(--back-light);
}

body.funnel-page::before {
  content: "";
  position: fixed;
  inset: 0;
  height: 100vh;
  background: url("../media/tridentu-abstract.webp") no-repeat center / cover;
  z-index: -2;
}

body.funnel-page::after {
  content: "";
  position: fixed;
  inset: 0;
  height: 100vh;
  background: linear-gradient(
    180deg,
    rgba(0, 191, 255, 0.12) 0%,
    rgba(0, 191, 255, 0.08) 40%,
    rgba(255, 255, 255, 0.6) 75%,
    rgba(255, 255, 255, 0.9) 100%
  );
  z-index: -1;
}

/* HERO */
.f-hero {
  min-height: 100vh;
  padding-top: 170px;
  padding-bottom: 90px;
  display: flex;
  align-items: center;
  text-align: center;
}

.f-hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.75rem);
  color: var(--white-strong);
  text-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.f-sub {
  max-width: 420px;
  margin: 0 auto 26px;
  font-size: 1.08rem;
  color: var(--white);
}

.f-btn {
  padding: 13px 22px;
  border-radius: 14px;
  background: var(--t);
  color: #fff;
  border: 2px solid var(--t);
  font-weight: 900;
  transition: all 0.2s;
}

.f-btn:hover {
  background: transparent;
  color: var(--t);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
  .timeline-steps.five-cols {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}
