*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000000;
  --pink: #EC008C;
  --orange: #FC6767;
  --white: #ffffff;
  --grey: rgba(255,255,255,0.55);
}

html, body {
  height: 100%;
  background: var(--black);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 60px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 70%, transparent 100%);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo span {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 52px;
  list-style: none;
}

.nav-links a {
  color: var(--grey);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 60px;
  overflow: hidden;
}



.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
}

h2 {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 28px;
  color: var(--white);
}

h1 {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 28px;
  white-space: nowrap;
}

h1 .accent-1 {
  /* "Real-World" – solid pink */
  background: linear-gradient(90deg, var(--pink), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 .accent-2 {
  /* "future" – slightly lighter gradient */
  background: linear-gradient(90deg, #f84daa, var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 2;
  max-width: 420px;
  margin-bottom: 44px;
}

.hero-cta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: var(--white);
  border: none;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
  padding: 13px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: var(--white);
  transform: translateY(-1px);
}

/* ─── ILLUSTRATION ─── */
.hero-illustration {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 52vw;
  max-width: 680px;
  z-index: 1;
  pointer-events: none;
  animation: blobReveal 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both, floatBlob 7s ease-in-out 1.4s infinite;
}

@keyframes floatBlob {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50%       { transform: translateY(-52%) scale(1.025); }
}

@keyframes blobReveal {
  0%   { opacity: 0; transform: translateY(-46%) scale(0.88); filter: blur(18px); }
  60%  { opacity: 1; filter: blur(0px); }
  100% { opacity: 1; transform: translateY(-50%) scale(1); filter: blur(0px); }
}

/* ─── STAGGERED TEXT ENTRANCE (after blob) ─── */
nav {
  animation: fadeDown 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s both;
}

h1 {
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s both;
}

.hero-desc {
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.2s both;
}

.hero-cta {
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.4s both;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SECTION 2 ─── */
.section-2 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 60px;
  overflow: hidden;
}

.section-2-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
}

.section-2 h2 {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 32px;
}

.section-2 .hero-desc {
  margin-bottom: 44px;
}

.section-2-illustration {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 52vw;
  max-width: 680px;
  z-index: 1;
  pointer-events: none;
}

/* ─── SCROLL FADE-IN ─── */
.scroll-fade {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade-img {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-fade-img.visible {
  opacity: 1;
}

/* stagger delays for text children */
.section-2-content .scroll-fade:nth-child(1) { transition-delay: 0.1s; }
.section-2-content .scroll-fade:nth-child(2) { transition-delay: 0.3s; }
.section-2-content .scroll-fade:nth-child(3) { transition-delay: 0.5s; }

/* ─── SECTION 3 ─── */
.section-3 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px;
  overflow: hidden;
  text-align: center;
}

.section-3-illustration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  max-width: 700px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-3-illustration.visible {
  opacity: 1;
}

.section-3-content {
  position: relative;
  z-index: 10;
  max-width: 780px;
}

.section-3-content h2 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 40px;
}

.section-3-content .hero-desc {
  text-align: center;
  max-width: 100%;
  margin-bottom: 28px;
}

.section-3-content .hero-cta {
  margin-top: 20px;
}

/* stagger delays for section-3 children */
.section-3-content .scroll-fade:nth-child(1) { transition-delay: 0.1s; }
.section-3-content .scroll-fade:nth-child(2) { transition-delay: 0.3s; }
.section-3-content .scroll-fade:nth-child(3) { transition-delay: 0.45s; }
.section-3-content .scroll-fade:nth-child(4) { transition-delay: 0.6s; }

/* ─── SECTION 4 ─── */
.section-4 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px;
  overflow: hidden;
  text-align: center;
}

.section-4-illustration {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;
  max-width: 520px;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.section-4-illustration.visible { opacity: 1; }

.section-4-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  width: 100%;
}

.section-4-content h2 {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  margin-bottom: 60px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  gap: 24px;
  justify-content: center;
}

.card {
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(252, 103, 103, 0.4);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: left;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover { border-color: rgba(252, 103, 103, 0.9); }

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 2;
}

/* stagger delays for cards */
.cards-grid .card:nth-child(1) { transition-delay: 0.1s; }
.cards-grid .card:nth-child(2) { transition-delay: 0.25s; }
.cards-grid .card:nth-child(3) { transition-delay: 0.4s; }

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .section-4 { padding: 100px 24px 60px; }
}

/* ─── SECTION 5 – PARTNERS ─── */
.section-5 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px;
  text-align: center;
}

.section-5-content {
  max-width: 780px;
  width: 100%;
}

.section-5-content h2 {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  margin-bottom: 32px;
}

.section-5-content .hero-desc {
  text-align: center;
  max-width: 100%;
  margin-bottom: 64px;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.partner-logo {
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1);
  transition: transform 0.3s;
}

.partner-logo img:hover { transform: scale(1.08); }

.partner-more {
  width: 130px;
  height: 130px;
  border: 1px solid rgba(252, 103, 103, 0.5);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: border-color 0.3s;
}

.partner-more:hover { border-color: rgba(252, 103, 103, 0.9); }

.more-label {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--grey);
}

.more-plus {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}

/* ─── SECTION 6 – COMMUNITY ─── */
.section-6 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 60px;
  text-align: center;
}

.section-6-content {
  max-width: 1000px;
  width: 100%;
}

.section-6-content h2 {
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  margin-bottom: 24px;
}

.section-6-content .hero-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.community-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.community-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.community-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 160px;
  padding: 32px 20px;
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(252, 103, 103, 0.35);
  border-radius: 20px;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.community-card:hover {
  border-color: rgba(252, 103, 103, 0.9);
  transform: translateY(-6px);
  background: rgba(252, 103, 103, 0.06);
}

.community-icon {
  width: 40px;
  height: 40px;
}

.community-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.community-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
}

.community-card p {
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--grey);
  line-height: 1.5;
  text-align: center;
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 200;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.97);
  z-index: 155;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 300;
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--pink); }

/* ─── RESPONSIVE 768px ─── */
@media (max-width: 768px) {

  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  /* Hero */
  .hero {
    padding: 120px 24px 60px;
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
  }

  .hero-content { max-width: 100%; }

  h1 {
    font-size: 2.2rem;
    white-space: normal;
    word-break: break-word;
  }

  h2,
  .section-2 h2,
  .section-3-content h2,
  .section-4-content h2,
  .section-5-content h2,
  .section-6-content h2 {
    font-size: 1.75rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
  }

  .hero-illustration {
    position: relative;
    right: auto; top: auto;
    transform: none;
    width: 100%;
    max-width: 340px;
    margin: 40px auto 0;
    animation: floatBlob2 7s ease-in-out infinite;
  }

  @keyframes floatBlob2 {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.025); }
  }

  .hero-illustration,
  .section-2-illustration,
  .section-3-illustration,
  .section-4-illustration {
    width: 100vw;
    max-width: 100vw;
    margin-left: -24px;
  }
  .section-2 {
    padding: 80px 24px 60px;
    flex-direction: column;
    position: relative;
  }

  .section-2-content { max-width: 100%; }

  .section-2-illustration {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    opacity: 0.5;
  }

  .section-3-illustration {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 100vw;
    margin-left: 0;
    margin-bottom: 0;
  }

  .section-3-illustration {
    width: 90vw;
    max-width: 320px;
  }

  /* Section 3 */
  .section-3 { padding: 80px 24px 60px; }

  /* Section 4 */
  .section-4 { padding: 80px 24px 60px; }

  .section-4-illustration {
    width: 80vw;
    max-width: 300px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
  }

  /* Section 5 */
  .section-5 { padding: 80px 24px 60px; }

  .partners-grid { gap: 32px; }

  /* Section 6 */
  .section-6 { padding: 80px 24px 60px; }

  .community-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
  }

  .community-row {
    display: contents;
  }

  .community-card {
    width: 100%;
    padding: 24px 16px;
  }

  .community-card p {
    display: none;
  }

  .hero-desc {
    font-size: 0.85rem;
    line-height: 1.7;
  }
  .hero-cta { flex-direction: column; align-items: flex-start; }

  .section-3-content .hero-cta,
  .section-5-content .hero-cta,
  .section-6-content .hero-cta { align-items: center; }
}
