/* =============================================================
   04-section-layout.css
   Home page layout: welcome row, hero, tile row, bottom grid
   ============================================================= */

/* ── Welcome ── */
.welcome-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
  animation: fadeUp 0.4s ease both;
}
.w-greet {
  font-size: 12px;
  color: #9da4ae;
  margin-bottom: 3px;
}
.w-title {
  font-size: 26px;
  font-weight: 700;
  color: #111927;
  letter-spacing: -0.4px;
}
.w-date {
  font-size: 12px;
  color: #9da4ae;
  margin-top: 4px;
}

/* ── Hero ── */
.hero {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 468px;
  margin-bottom: 18px;
  animation: fadeUp 0.45s ease 0.05s both;
  box-shadow: 0 4px 12px rgba(17, 25, 39, 0.04);
}
.hero-slides {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero-slide.active {
  opacity: 1;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-ov {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #232a36 23.18%, rgba(35, 42, 54, 0.1) 45.41%),
    linear-gradient(
      180deg,
      rgba(10, 10, 12, 0.3) 0%,
      rgba(10, 10, 12, 0.1) 57.21%,
      rgba(10, 10, 12, 0.4) 95.68%
    );
  background-blend-mode: multiply, normal;
}
.hero-cnt {
  position: absolute;
  left: 36px;
  top: 28px;
  bottom: 28px;
  width: 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: heroIn 0.6s ease 0.15s both;
}
.h-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(30, 40, 55, 0.45);
  backdrop-filter: blur(50px) saturate(180%);
  -webkit-backdrop-filter: blur(50px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  width: fit-content;
  margin-bottom: 12px;
}
.h-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
}
.h-ctx {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}
.h-head {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.6px;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}
.h-cta-group {
  display: inline-flex;
  flex-direction: column;
  margin-bottom: 18px;
  align-self: flex-start;
}
.h-info-row {
  display: flex;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(50px) saturate(180%);
  -webkit-backdrop-filter: blur(50px) saturate(180%);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: 100%;
  overflow: hidden;
}
.h-info-cell {
  padding: 8px 13px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.h-info-cell:last-child {
  border-right: none;
}
.h-info-lbl {
  font-size: 9.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
  text-align: center;
}
.h-info-val {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.h-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
}
.btn-p {
  background: #fff;
  color: #111927;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 24px;
  cursor: pointer;
  transition:
    transform 0.12s,
    box-shadow 0.12s;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Inter", sans-serif;
}
.btn-p:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}
.btn-g {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(50px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px;
  cursor: pointer;
  transition:
    background 0.12s,
    transform 0.12s;
  font-family: "Inter", sans-serif;
}
.btn-g:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.02);
}
.h-why-lbl {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.h-why-item {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.h-why-item::before {
  content: "·";
  color: rgba(255, 255, 255, 0.35);
  font-size: 16px;
}
.h-float {
  position: absolute;
  right: 36px;
  bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: floatIn 0.7s ease 0.3s both;
}
.float-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(50px) saturate(180%);
  -webkit-backdrop-filter: blur(50px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 14px 18px;
  min-width: 200px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}
.float-lbl {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.conf-bg {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  margin-bottom: 10px;
  overflow: hidden;
}
.conf-fill {
  height: 100%;
  background: #4ade80;
  border-radius: 3px;
  width: 85%;
  animation: barFill 1s ease 0.5s both;
}
.float-val {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.float-val-sm {
  font-size: 15px;
}
.float-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}
.dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  align-items: center;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}
.dot.active {
  width: 16px;
  background: rgba(255, 255, 255, 0.94);
}

/* ── Tile row ── */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  animation: fadeUp 0.45s ease 0.12s both;
  align-items: stretch;
}
.tile {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(17, 25, 39, 0.04);
  padding: 15px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  cursor: pointer;
  height: 100%;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(17, 25, 39, 0.06);
}
.t-lbl {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  color: #9da4ae;
  margin-bottom: 9px;
}
.t-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d2d6db;
  display: inline-block;
}
.t-dot-indigo {
  background: #a5b4fc;
}
.t-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  height: 108px;
  margin-bottom: 11px;
  flex-shrink: 0;
  position: relative;
}
.t-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.live-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  background: rgba(17, 25, 39, 0.68);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
}
.t-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.t-head {
  font-size: 12.5px;
  font-weight: 700;
  color: #111927;
  line-height: 1.35;
  margin-bottom: 6px;
}
.t-sup {
  font-size: 11px;
  color: #6c737f;
  line-height: 1.45;
  margin-bottom: 2px;
}
.t-cta {
  margin-top: auto;
  padding-top: 10px;
}
.t-btn {
  width: 100%;
  background: #1f2a37;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  padding: 13px 12px;
  cursor: pointer;
  transition:
    background 0.12s,
    transform 0.12s;
  font-family: "Inter", sans-serif;
  text-align: center;
}
.t-btn:hover {
  background: #111927;
  transform: scale(1.02);
}

/* ── Brand urgent tile variant ── */
.tile.brand-urgent {
  border: 1.5px solid #a5b4fc;
  background: #fafafe;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.08);
}
.tile.brand-urgent .t-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 8px 0;
}
.tile.brand-urgent .t-prog-lbl {
  font-size: 12px;
  font-weight: 500;
  color: #9da4ae;
  margin-bottom: 12px;
  text-align: center;
}
.tile.brand-urgent .t-head {
  font-size: 20px;
  font-weight: 800;
  color: #111927;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
  text-align: center;
}
.tile.brand-urgent .t-sup {
  font-size: 12px;
  color: #9da4ae;
  line-height: 1.5;
  margin-bottom: 2px;
  text-align: center;
}
.tile.brand-urgent .t-sup:first-of-type {
  font-weight: 600;
  color: #6c737f;
}
.tile.brand-urgent .t-cta {
  margin-top: auto;
  padding-top: 16px;
  width: 100%;
}
.tile.brand-urgent .t-btn {
  font-size: 14px;
}

/* ── Bottom grid ── */
.bottom-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 18px;
  animation: fadeUp 0.45s ease 0.18s both;
}
.deepdive-card {
  grid-column: 1/2;
  grid-row: 1/2;
}
.nextsteps-card {
  grid-column: 2/4;
  grid-row: 1/2;
}
.brandstore-card {
  grid-column: 4/5;
  grid-row: 1/3;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.jumpbackin-card {
  grid-column: 1/4;
  grid-row: 2/3;
  align-self: end;
}
