/* ============================================================
   TECHCELER — home.css  (index.html)
   ============================================================ */

/* ============== SECTION 1 · HERO ============== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 40px);
  padding-bottom: 70px;
  background: linear-gradient(160deg, #1b2a3b 0%, #0d2137 100%);
  color: #fff;
  overflow: hidden;
}
.hero__mesh .mesh-blob:nth-child(1) {
  width: 540px;
  height: 540px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(255, 77, 139, 0.55), transparent 70%);
}
.hero__mesh .mesh-blob:nth-child(2) {
  width: 600px;
  height: 600px;
  bottom: -200px;
  left: -160px;
  background: radial-gradient(circle, rgba(123, 94, 167, 0.6), transparent 70%);
}
.hero__mesh .mesh-blob:nth-child(3) {
  width: 360px;
  height: 360px;
  top: 30%;
  left: 45%;
  background: radial-gradient(circle, rgba(123, 94, 167, 0.35), transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero__eyebrow {
  margin-bottom: 24px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  line-height: 1.06;
  margin-bottom: 26px;
}
.hero h1 .line {
  display: block;
}
.hero__sub {
  max-width: 540px;
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 34px;
}

/* floating decorative glass cards */
.hero__floats {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.hero__floats .float-card {
  position: absolute;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero__floats .fc1 {
  width: 120px;
  height: 120px;
  top: 18%;
  left: 8%;
}
.hero__floats .fc2 {
  width: 80px;
  height: 80px;
  bottom: 16%;
  left: 38%;
}
.hero__floats .fc3 {
  width: 150px;
  height: 100px;
  top: 22%;
  right: 6%;
}

/* stats panel */
.hero__panel {
  position: relative;
  padding: 14px;
  border-radius: var(--radius-lg);
}
.hero__panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat-tile {
  padding: 26px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-tile .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  background: linear-gradient(135deg, #c4b3e8, #ff8fb6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-tile .label {
  margin-top: 10px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.45;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll .line {
  width: 1px;
  height: 36px;
  background: linear-gradient(rgba(255, 255, 255, 0.5), transparent);
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__floats {
    display: none;
  }
}

/* ============== SECTION 2 · MARQUEE ============== */
.marquee-strip {
  background: var(--gradient);
  padding: 18px 0;
}
.marquee-strip .marquee__item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  padding-inline: 26px;
}
.marquee-strip .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
}

/* ============== SECTION 3 · PROBLEM (static) ============== */
.problem {
  background: var(--bg-page);
}
.problem__sticky {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px);
}
.problem__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.problem__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.35;
  color: var(--text-primary);
}
.problem__quote .accent {
  color: var(--purple);
}
.problem__kicker {
  margin-bottom: 22px;
}
.problem__cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pain {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  opacity: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.pain:hover {
  transform: translateX(8px);
  box-shadow: 0 18px 44px rgba(123, 94, 167, 0.2);
  border-color: rgba(123, 94, 167, 0.4);
}
.pain__num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--gradient);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.pain h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.pain p {
  font-size: 0.96rem;
}

@media (max-width: 860px) {
  .problem__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ============== SECTION 4 · FRAMEWORK (HORIZONTAL) ============== */
.framework {
  background: var(--bg-dark);
  color: #fff;
  overflow: hidden;
}
.framework__pin {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
}
.framework__track {
  display: flex;
  align-items: stretch;
  gap: 34px;
  padding-inline: clamp(20px, 6vw, 80px);
  will-change: transform;
}
.fw-panel {
  flex: 0 0 auto;
  width: min(82vw, 520px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fw-intro {
  width: min(86vw, 600px);
}
.fw-intro .eyebrow {
  margin-bottom: 22px;
}
.fw-intro h2 {
  color: #fff;
  margin-bottom: 22px;
}
.fw-intro p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 14px;
}
.fw-card {
  flex: 0 0 auto;
  width: min(82vw, 480px);
  height: min(74vh, 560px);
  padding: 44px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.fw-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient);
}
.fw-card .fw-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 5rem;
  line-height: 1;
  background: linear-gradient(135deg, #c4b3e8, #ff8fb6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}
.fw-card h3 {
  color: #fff;
  font-size: 2rem;
  margin: 18px 0 12px;
}
.fw-card .fw-body {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-top: auto;
}
.fw-card .tag-light {
  align-self: flex-start;
  margin-bottom: 8px;
}
.framework__progress {
  position: absolute;
  left: clamp(20px, 6vw, 80px);
  right: clamp(20px, 6vw, 80px);
  bottom: 46px;
}

/* fallback when JS/scrolltrigger unavailable: stack cards */
.framework.no-pin .framework__pin {
  height: auto;
  padding-block: 80px;
}
.framework.no-pin .framework__track {
  flex-direction: column;
}
.framework.no-pin .fw-panel,
.framework.no-pin .fw-card {
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .fw-card {
    height: auto;
    padding: 32px;
  }
  .fw-card .fw-num {
    font-size: 3.6rem;
  }
}

/* ============== SECTION · WHAT WE BRING ============== */
/* Editorial "index" treatment — numbered entries, hairline rules,
   an accent spine that draws in on hover. Deliberately un-boxy. */
.bring {
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(123, 94, 167, 0.06), transparent 60%),
    radial-gradient(110% 70% at 0% 100%, rgba(255, 77, 139, 0.05), transparent 55%),
    #fff;
}
.bring__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 0;
  row-gap: 0;
  /* hairline separators between cells */
  border-top: 1px solid rgba(40, 22, 60, 0.1);
}
.bring-card {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 38px 34px 38px 28px;
  border-bottom: 1px solid rgba(40, 22, 60, 0.1);
  border-right: 1px solid rgba(40, 22, 60, 0.1);
  overflow: hidden;
  transition: background 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
/* remove right border on last column */
.bring-card:nth-child(3n) {
  border-right: none;
}
/* the accent spine */
.bring-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 0;
  width: 3px;
  background: var(--gradient);
  transform: translateY(-50%);
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
/* soft gradient wash on hover */
.bring-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123, 94, 167, 0.07), rgba(255, 77, 139, 0.05));
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.bring-card:hover {
  transform: translateY(-3px);
}
.bring-card:hover::before {
  height: calc(100% - 76px);
}
.bring-card:hover::after {
  opacity: 1;
}
.bring-card:hover .bring-card__index {
  -webkit-text-stroke-color: transparent;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transform: translateY(-2px);
}
.bring-card__index {
  flex: 0 0 auto;
  font-family: var(--font-mono, "DM Mono", monospace);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  /* outlined ghost numeral */
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(123, 94, 167, 0.45);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), -webkit-text-stroke-color 0.3s ease;
}
.bring-card__body {
  position: relative;
}
.bring-card h3 {
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 4px 0 0;
  padding-bottom: 12px;
  position: relative;
}
/* short gradient underline under each title */
.bring-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.bring-card:hover h3::after {
  width: 56px;
}
.bring-card p {
  font-size: 0.96rem;
  line-height: 1.62;
  color: var(--text-secondary);
  margin: 14px 0 0;
}
@media (max-width: 940px) {
  .bring__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bring-card:nth-child(3n) {
    border-right: 1px solid rgba(40, 22, 60, 0.1);
  }
  .bring-card:nth-child(2n) {
    border-right: none;
  }
}
@media (max-width: 600px) {
  .bring__grid {
    grid-template-columns: 1fr;
  }
  .bring-card,
  .bring-card:nth-child(3n),
  .bring-card:nth-child(2n) {
    border-right: none;
  }
  .bring-card {
    padding: 28px 8px 28px 22px;
  }
  .bring-card__index {
    font-size: 2.1rem;
  }
}

/* ============== SECTION 5 · STATS STRIP ============== */
.stats-strip {
  background: var(--gradient);
  color: #fff;
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-big .num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  color: #fff;
}
.stat-big .label {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}
.stat-big + .stat-big {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
@media (max-width: 760px) {
  .stats-strip__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
  }
  .stat-big + .stat-big {
    border-left: none;
  }
}

/* ============== SECTION 6 · SECTORS ============== */
.sectors {
  background: #fff;
}
.sector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.sector-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: #fff;
  isolation: isolate;
  border: 1px solid var(--border);
}
.sector-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.sector-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(27, 42, 59, 0.2) 0%,
    rgba(13, 33, 55, 0.86) 100%
  );
}
.sector-card .sector-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}
.sector-card h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.sector-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
}
.sector-card .arrow {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
}
.sector-card .arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}
.sector-card:hover .arrow svg {
  transform: translateX(5px);
}
@media (max-width: 700px) {
  .sector-grid {
    grid-template-columns: 1fr;
  }
}

/* ============== SECTION 7 · EDUMITRA SPOTLIGHT ============== */
.edu-spot {
  background: var(--bg-page);
}
.edu-spot__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.edu-spot__panel {
  padding: 38px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #2a1840, #4a1f55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.edu-spot__panel .edu-mandala {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(224, 85, 153, 0.4),
    transparent 70%
  );
}
.edu-spot__panel h3 {
  color: #fff;
  margin-bottom: 22px;
  position: relative;
}
.edu-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.edu-step:last-child {
  border-bottom: none;
}
.edu-step .n {
  font-family: var(--font-mono);
  color: #e98bbd;
  font-weight: 700;
}
.edu-step h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.edu-step p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}
.edu-spot__logo {
  height: 44px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 22px;
}
@media (max-width: 820px) {
  .edu-spot__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ============== SECTION 8 · INSIGHTS TEASER ============== */
.insights-teaser {
  background: #fff;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.article-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.article-card__thumb {
  height: 190px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  overflow: hidden;
}
.article-card__thumb.g1 {
  background: linear-gradient(135deg, #7b5ea7, #ff4d8b);
}
.article-card__thumb.g2 {
  background: linear-gradient(135deg, #1b2a3b, #7b5ea7);
}
.article-card__thumb.g3 {
  background: linear-gradient(135deg, #ff4d8b, #7b5ea7);
}
.article-card__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.4s ease;
}
.article-card:hover .article-card__thumb img {
  transform: scale(1.05);
}
.article-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(123, 94, 167, 0.35) 0%,
    rgba(13, 33, 55, 0.72) 100%
  );
}
.article-card__thumb .tag-light {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.32);
}
.article-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card__body h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.article-card__body p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.article-card__meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--text-light);
}
@media (max-width: 860px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
}

/* ============== SECTION 9 · WHY TECHCELER ============== */
.why {
  background: var(--bg-page);
}
.why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.why__sticky {
  position: sticky;
  top: calc(var(--nav-h) + 30px);
}
.why__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.why-item {
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.why-item:hover {
  transform: translateX(10px);
  border-left-color: var(--pink);
  box-shadow: var(--shadow-md);
}
.why-item .why-num {
  font-family: var(--font-mono);
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 700;
}
.why-item h3 {
  font-size: 1.25rem;
  margin: 8px 0 8px;
}
.why-item p {
  font-size: 0.98rem;
}
@media (max-width: 860px) {
  .why__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .why__sticky {
    position: static;
  }
}

/* ============== SECTION 10 · CTA BAND ============== */
.cta-band {
  position: relative;
  background: linear-gradient(160deg, #1b2a3b, #0d2137);
  overflow: hidden;
}
.cta-band .mesh-blob:nth-child(1) {
  width: 480px;
  height: 480px;
  top: -160px;
  right: -60px;
  background: radial-gradient(circle, rgba(255, 77, 139, 0.4), transparent 70%);
}
.cta-band .mesh-blob:nth-child(2) {
  width: 480px;
  height: 480px;
  bottom: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(123, 94, 167, 0.45), transparent 70%);
}
.cta-panel {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  padding: clamp(40px, 6vw, 70px);
  border-radius: var(--radius-lg);
}
.cta-panel h2 {
  color: #fff;
  margin-bottom: 18px;
}
.cta-panel p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.12rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-inline: auto;
}
.cta-panel .btn-row {
  justify-content: center;
}
