* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, system-ui;
  background: #fff;
  color: #111;
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(16px, 5vw, 60px);

  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.nav-left img {
  width: clamp(130px, 10vw, 180px);
}

.nav-center {
  display: flex;
}

.nav-center a {
  margin: 0 12px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

.nav-right {
  display: flex;
  gap: 10px;
}

/* MOBILE MENU */
.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

/* BUTTON */
.btn {
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn.primary {
  background: #1AA0B5;
  color: white;
}

.btn.ghost {
  background: #eee;
}

.btn.gradient {
  background: #1AA0B5;
  color: white;
}

/* HERO */

.hero {
  padding: 220px clamp(16px, 5vw, 60px) 80px;
  /* background-image: url('assets/hero-bg.png'); */
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* HERO BACKGROUND */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, #1a2a5a, rgba(15, 23, 42, 1));
  color: white;
}

/* FLOATING LAYER */
.floating-chips {
  position: absolute;
  inset: 0;
  /* pointer-events: none; */
  z-index: 1;
}

/* CHIP BASE */
.chip {
  position: absolute;

  padding: 8px 24px;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255,255,255,0.2);

  color: #fff;
  font-size: 14px;
  font-weight: 500;

  white-space: nowrap;

  transition: transform 0.3s ease;
}

/* INTERACTION */
.chip:hover {
  transform: scale(1.1);
  background: rgba(26,160,181,0.25);
  border-color: #1AA0B5;
  box-shadow: 0 0 20px rgba(26,160,181,0.4);
  cursor: pointer;
}

/* KEEP HERO CONTENT ABOVE */
.hero-inner {
  position: relative;
  z-index: 2;
}

/* LAYER */
.floating-chips {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* SVG LINES */
.network-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* STRONGER GLOW */
.center-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);

  background: radial-gradient(circle,
    rgba(26,160,181,0.55) 0%,
    rgba(26,160,181,0.25) 30%,
    transparent 70%
  );

  filter: blur(60px);
  z-index: 0;
}

/* CHIP */
.chip {
  position: absolute;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  z-index: 2;
  transition: transform 0.3s ease;
}

.chip:hover {
  transform: scale(1.1);
  background: rgba(26,160,181,0.25);
  border-color: #1AA0B5;
}

.hero-inner {
  max-width: 1000px;
  height: 35vh;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 40px; */
  background-color: rgba(0, 0, 0, .2);
  border-radius: 12px;
}

.hero-left {
  width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* background-color: red; */
}

.hero-left h1 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.2;
}

.hero-left p {
  margin: 20px 0;
  color: #666;
}

/* .hero-right img {
  width: 100%;
  max-width: 65vw;
  animation: float 5s ease-in-out infinite;
} */

/* ---------- CINEMATIC GLOW ---------- */
.center-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  border-radius: 50%;

  background: radial-gradient(circle,
    rgba(26,160,181,0.7) 0%,
    rgba(26,160,181,0.25) 30%,
    transparent 70%
  );

  filter: blur(80px);
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* ---------- NETWORK LINES ---------- */
.network-svg path {
  stroke: url(#lineGradient);
  stroke-width: 1.2;
  fill: none;
  stroke-linecap: round;
  opacity: 0.6;
  animation: lineFade 3s ease-in-out infinite alternate;
}

@keyframes lineFade {
  from { opacity: 0.2; }
  to { opacity: 0.8; }
}

/* ---------- CHIP DEPTH ---------- */
.chip {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* SECTIONS */
.section {
  max-width: 1200px;
  margin: auto;
  padding: 80px clamp(16px, 5vw, 60px);
  text-align: center;
}

.section h2 {
  font-size: clamp(28px, 3vw, 48px);
  margin-bottom: 20px;
}

.sub {
  color: #777;
  margin-bottom: 40px;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}

/* GRID */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cards img {
  width: 100%;
}

.cards .card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
  overflow: hidden;
  /* background-color: red; */
}

.cards .card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  cursor: pointer;}

.card h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* FLOW */
.flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;

  /* background-color: red; */
}

/* .flow img {
  width:clamp(100px,12vw,180px);
} */

.flow span {
  font-size: 20px;
  opacity: 0.5;
}

/* HIGHLIGHT */
.highlight {
  max-width: 700px;
  margin: 50px auto 0;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
}

/* Playbook */
.playbook {
  width: 30%;
  height: 375px;
  background-color: #ffffff;
  border: 1px solid #f0f0f0;

  text-decoration: none;
  color: inherit;
}

.playbook>div>span {
  color: #999;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.playbook:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;

  cursor: pointer;
  background-color: #132C42;
  color: #ffffff
}

.playbook:hover>div>span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.8);
}

.playbook:hover > p {
  color: rgba(255,255,255,0.8);
}

.playbook> div > div > img {
  filter: invert(40%) sepia(0%) saturate(1762%) hue-rotate(153deg) brightness(103%) contrast(108%);
}

.playbook > div > img {
  filter: invert(40%) sepia(0%) saturate(1762%) hue-rotate(153deg) brightness(103%) contrast(108%);
}

.playbook:hover > div > div > img{
  filter: none;
}

.playbook:hover  > div > img {
  filter: none;
}

/* CTA */
.cta {
  padding: 80px clamp(16px, 5vw, 60px);
  text-align: center;
  background: rgba(15, 23, 42, 1);
  color: white;
}

.cta h2 {
  max-width: 600px;
  margin: 0 auto 20px;
  font-size: clamp(22px, 2.5vw, 36px);
}

/* FOOTER */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px clamp(16px, 5vw, 60px);
}

/* -------- TABLET -------- */
@media (max-width: 900px) {

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-right img {
    max-width: 100vw;
  }

   .section h2 {
    font-size: clamp(24px, 4vw, 36px);
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .sub {
    width: 100%;
  }
}

/* -------- MOBILE -------- */
@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .nav-center {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }

  .nav-center a {
    margin: 10px 0;
    font-size: 16px;
  }

  .nav-center.active {
    display: flex;
  }

  .nav-right {
    display: none;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .flow span {
    display: none;
  }

  .arrow-down {
    display: inline-block;
    rotate: 90deg;
  }

  .footer-sub {
    width: 100% !important;
  }

  .cards .card {
    text-align: center;
    width: 100% !important;
  }
}

/* ACTIVE NAV LINK */
.nav-center a.active {
  color: #1AA0B5;
  font-weight: 600;
  position: relative;
}

/* underline animation (premium feel) */
.nav-center a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #1AA0B5;
}

/* mobile active state */
@media (max-width: 900px) {
  .nav-center a.active {
    background: rgba(31, 80, 173, 0.08);
    border-radius: 8px;
    padding: 8px 12px;
  }
}

/* HAMBURGER BASE */
.menu-toggle {
  display: none;
  width: 28px;
  height: 22px;
  position: relative;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #111;
  left: 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* 3 lines */
.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 9px;
}

.menu-toggle span:nth-child(3) {
  bottom: 0;
}

/* ---------- ACTIVE STATE (CROSS) ---------- */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 10px;
}

/* SHOW ONLY ON MOBILE */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
}

/* ---------- BASE ANIMATION ---------- */
.animate {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.animate.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- STAGGER (for cards) ---------- */
.cards>* {
  opacity: 0;
  transform: translateY(40px);
}

.cards.show>* {
  animation: cardReveal 0.7s forwards;
}

.cards.show>*:nth-child(1) {
  animation-delay: 0.05s;
}

.cards.show>*:nth-child(2) {
  animation-delay: 0.1s;
}

.cards.show>*:nth-child(3) {
  animation-delay: 0.15s;
}

.cards.show>*:nth-child(4) {
  animation-delay: 0.2s;
}

.cards.show>*:nth-child(5) {
  animation-delay: 0.25s;
}

.cards.show>*:nth-child(6) {
  animation-delay: 0.3s;
}

.cards.show>*:nth-child(7) {
  animation-delay: 0.35s;
}

.cards.show>*:nth-child(8) {
  animation-delay: 0.4s;
}

@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- HERO ENTRY ---------- */
.hero-left {
  animation: heroFade 1s ease forwards;
}

.hero-right {
  animation: heroFade 1.2s ease forwards;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- OVERLAY ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ---------- MOBILE MENU SLIDE ---------- */
@media (max-width: 900px) {

  .nav-center {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);

    flex-direction: column;
    align-items: center;
    gap: 16px;

    padding: 24px 0;

    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;

    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1000;
  }

  .nav-center.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-center a {
    font-size: 16px;
  }
}

/* ---------- BODY LOCK ---------- */
body.menu-open {
  overflow: hidden;
}

/* PLAYBOOK PAGE */

/* ---------- PLAYBOOK LAYOUT (FINAL FIX) ---------- */

.playbook-container {
  display: flex;
  max-width: 65vw;
  margin: 0 auto;

  height: calc(100vh - 80px); /* full viewport minus navbar */
  margin-top: 80px; /* offset for fixed navbar */

  overflow: hidden; /* 🔥 prevents full page scroll */
}

/* ---------- SIDEBAR (FIXED) ---------- */
.playbook-sidebar {
  width: 220px;
  flex-shrink: 0;

  position: fixed;
  top: 80px; /* below navbar */
  
  /* align with centered container */
  left: calc((100vw - 65vw) / 2);

  height: calc(100vh - 80px);
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  gap: 12px;

  padding-top: 40px;
}

.playbook-sidebar a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  transition: 0.2s;
}

.playbook-sidebar a:hover {
  color: #1AA0B5;
  text-decoration: underline;
}

/* ---------- CONTENT (SCROLLABLE AREA) ---------- */
.playbook-content {
  margin-left: 240px; /* space for sidebar */

  width: 100%;
  height: 100%;

  overflow-y: scroll; /* 🔥 only this scrolls */
  padding: 40px 0 40px 20px;
}

.playbook-content > img {
  width: 100%;
  margin-bottom: 10px;
}

/* hides scrollbar */
.playbook-content::-webkit-scrollbar {
  display: none;
}

.playbook-content{
  -ms-overflow-style: none;
}

/* ---------- SECTION FIX (NO MORE HACK) ---------- */
.playbook-content section {
  margin-bottom: 60px;

  scroll-margin-top: 120px; /* fixes anchor scroll */
}

/* ---------- BLOCKS ---------- */
.pb-block {
  border-left: 3px solid #1AA0B5;
  padding-left: 16px;
  margin-bottom: 30px;
  line-height: 32px;
}

.pb-quote {
  border-left: 3px solid #1AA0B5;
  padding: 16px;
  margin-bottom: 30px;
  background: #f9f9f9;
  border-radius: 8px;
}

/* ---------- MOBILE ---------- */
@media (max-width: 900px) {

  .playbook-container {
    flex-direction: column;
    max-width: 88vw;

    height: auto;
    overflow: visible;
  }

  .playbook-sidebar {
    display: none;
  }

  .playbook-header {
    display: block;
  }

  .playbook-content {
    margin-left: 0;
    height: auto;
    overflow: visible;
    padding: 20px 0;
  }

  .playbook-content > img {
    width: 100%;
    height: auto;
    margin: 0 auto 20px auto;
  }
}

/* .playbook-container {
  display:flex;
  max-width: 65vw;
  margin:0px auto;
  padding:0 20px;
  position: relative;
} */

/* .playbook-sidebar {
  display: block;
  width:11.5vw;
  position:sticky;
  position: -webkit-sticky;
  top:150px;
  z-index: 100;
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-top: 150px;
} */

.playbook-header {
  display: none;
}

/* .playbook-sidebar a {
  text-decoration:none;
  color:#555;
  font-size:14px;
} */

/* .playbook-sidebar a:hover {
  color:#1AA0B5;
  text-decoration: underline;
} */

/* .playbook-content {
  flex:1;
  padding-left:40px;
} */

/* .playbook-content section {
  margin-bottom:60px;
} */

/* .pb-block {
  border-left:3px solid #1AA0B5;
  padding-left:16px;
  margin-bottom:20px;
} */

/* .pb-quote {
  border-left:3px solid #1AA0B5;
  padding:16px;
  margin-bottom:20px;
  background:#f9f9f9;
  border-radius:8px;
} */

/* MOBILE */
@media (max-width:900px) {

  .playbook-container {
    flex-direction:column;
    max-width: 88vw;
    padding: 0;
    height: auto;
    overflow: visible;
  }

  .playbook-sidebar {
    display: none;
    /* width: 100%; */
    /* position: unset; */
    /* flex-direction:row; */
    /* overflow-x:auto; */
  }

  .playbook-header {
    display: block;
  }

  .playbook-content {
    padding-left:0;
    height: auto;
    overflow: visible;
    padding: 20px 0;
  }
}

/* activity cards */

.activity-card {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 0;
  color: #222;
}

/* HEADER */
.activity-label {
  font-size: 12px;
  letter-spacing: 3px;
  color: #1AA0B5;
  font-weight: 600;
  margin-bottom: 20px;
}

.activity-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.activity-title h1 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
}

/* ICON (approximation of graphic) */
.icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}

/* BODY */
.activity-body {
  margin-top: 20px;
}

/* ROW */
.row {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: start;
  padding: 18px 0;
}

/* LEFT LABEL */
.label {
  font-size: 12px;
  letter-spacing: 2px;
  color: #8a8a8a;
  font-weight: 600;
}

/* RIGHT CONTENT */
.content {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

/* DIVIDER */
.divider {
  height: 1px;
  background: #e5e5e5;
  margin-left: 220px;
}

/* quote card */

.story-card {
  max-width: 900px;
  margin: 40px auto;
  color: #222;
}

/* TITLE */
.story-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

/* SUBTITLE */
.story-sub {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #777;
  margin-bottom: 25px;
}

/* ROW */
.quote-row {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  position: relative;
}

/* LEFT BAR */
.quote-bar {
  width: 3px;
  background: #222;
  height: 100%;
  margin-top: 6px;
}

/* CONTENT */
.quote-content {
  flex: 1;
}

/* QUOTE */
.quote-text {
  font-size: 20px;
  font-style: italic;
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* AUTHOR */
.author {
  font-size: 14px;
  color: #666;
}

/* VIEW MORE */
.view-more {
  background: none;
  border: none;
  color: #1AA0B5;
  font-size: 14px;
  cursor: pointer;
  margin-left: auto;
  padding-top: 6px;
}

/* EXPANDABLE */
.extra-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;

  padding: 20px 0;
}

.story-card.expanded .extra-content {
  max-height: 200px;
  opacity: 1;
  margin-top: 12px;
}


/* ---------- TABLET (<= 900px) ---------- */
@media (max-width: 900px) {

  .activity-card {
    padding: 30px 0;
  }

  .activity-title h1 {
    font-size: 28px;
  }

  .row {
    grid-template-columns: 160px 1fr;
  }

  .divider {
    margin-left: 160px;
  }

}


/* ---------- MOBILE (<= 600px) ---------- */
@media (max-width: 900px) {

  .activity-card {
    padding: 20px 0;
  }

  /* HEADER */
  .activity-title {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .activity-title h1 {
    font-size: 22px;
  }

  .activity-label {
    font-size: 11px;
    letter-spacing: 2px;
  }

  /* STACK ROW */
  .row {
    display: block;
    padding: 16px 0;
  }

  .row .label,
  .row .content {
    text-align: left;
  }

  .label {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .content {
    font-size: 16px;
    line-height: 1.5;
  }

  /* FULL WIDTH DIVIDER */
  .divider {
    margin-left: 0;
  }

}