/* =========================================================

   DNAWELLCODE — CLEAN MASTER CSS

   ========================================================= */

* {

  box-sizing: border-box;

}

html {

  scroll-behavior: smooth;

  scroll-padding-top: 90px;

}

body {

  margin: 0;

  background: #031c27;

  color: #eef7f5;

  font-family: Inter, Arial, sans-serif;

  overflow-x: hidden;

}

img {

  max-width: 100%;

}

/* =========================================================

   BACKGROUND

   ========================================================= */

.bg-grid {

  position: fixed;

  inset: 0;

  z-index: -3;

  pointer-events: none;

  background:

    radial-gradient(circle at 70% 20%, rgba(123,191,74,.12), transparent 28%),

    radial-gradient(circle at 15% 80%, rgba(0,51,72,.9), transparent 35%),

    #02141d;

}

.bg-grid::after {

  content: "";

  position: absolute;

  inset: 0;

  background-image:

    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),

    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);

  background-size: 55px 55px;

  mask-image: linear-gradient(to bottom, #000, transparent 90%);

}

/* =========================================================

   LARGE DIAGONAL DNA BACKGROUND

   ========================================================= */

#dnaCanvas {

  position: fixed;

  width: 82vw;

  height: 125vh;

  left: 8vw;

  top: -12vh;

  z-index: 0;

  display: block;

  pointer-events: none;

  opacity: .18;

  transform: rotate(-28deg);

  transform-origin: center center;

  filter: drop-shadow(0 0 35px rgba(94,220,170,.15));

  transition: opacity .35s ease;

}

/* =========================================================

   CONTENT LAYERS

   ========================================================= */

.nav,

main,

footer {

  position: relative;

  z-index: 2;

}

main {

  isolation: isolate;

}

/* =========================================================

   NAVIGATION

   ========================================================= */

.nav {

  min-height: 78px;

  padding: 0 5vw;

  display: flex;

  align-items: center;

  justify-content: space-between;

  position: sticky;

  top: 0;

  z-index: 100;

  background: rgba(2,20,29,.88);

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255,255,255,.08);

}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand span span,

.brand-mark {

  color: #8bd05a;

}

.brand-mark {

  font-size: 12px;

  letter-spacing: 0;

  border: 1px solid rgba(139,208,90,.5);

  padding: 5px 6px;

  border-radius: 5px;

}

.nav nav {

  display: flex;

  align-items: center;

  gap: 28px;

}

.nav nav a {

  color: #b7c9ce;

  text-decoration: none;

  font-size: 13px;

  transition: color .2s ease;

}

.nav nav a:hover {

  color: white;

}

.nav-cta,

.button {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  text-decoration: none;

  border-radius: 999px;

  padding: 13px 20px;

  font-weight: 700;

  font-size: 13px;

  cursor: pointer;

}

.nav-cta,

.primary {

  background: #8bd05a;

  color: #071d21;

  border: 1px solid #8bd05a;

}

.ghost {

  border: 1px solid rgba(255,255,255,.16);

  color: white;

  background: rgba(255,255,255,.03);

}

/* =========================================================

   COMMON

   ========================================================= */

.section {

  padding: 120px 7vw;

  max-width: 1450px;

  margin: auto;

}

.eyebrow {

  color: #8bd05a;

  font-size: 11px;

  letter-spacing: .22em;

  font-weight: 800;

}

.section-head {

  margin-bottom: 55px;

}

.section-head h2 {

  font-size: clamp(42px,5.5vw,78px);

  line-height: .98;

  letter-spacing: -.055em;

  margin: 15px 0;

}

.section-head h2 span,

.kit-copy h2 span,

.assessment-intro h2 span {

  color: #8bd05a;

}

/* =========================================================

   HERO

   ========================================================= */

.hero {

  min-height: calc(100vh - 78px);

  padding: 7vh 7vw 8vh;

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 4vw;

  max-width: 1500px;

  margin: auto;

  position: relative;

  z-index: 3;

}

.hero-copy {

  position: relative;

  z-index: 4;

}

.hero h1 {

  font-size: clamp(56px,5.5vw,120px);

  line-height: .84;

  letter-spacing: -.07em;

  margin: 16px 0 28px;

}

.hero h1 em {

  font-style: normal;

  color: #8bd05a;

}

.hero-text {

  max-width: 620px;

  color: #b7c9ce;

  font-size: 18px;

  line-height: 1.7;

}

.hero-actions {

  display: flex;

  gap: 12px;

  flex-wrap: wrap;

  margin-top: 34px;

}

/* This is the important area:

   cards + rotating logo all live together here. */

.hero-visual {

  min-height: 560px;

  position: relative;

  z-index: 4;

}

/* =========================================================

   FLOATING HERO CARDS

   ========================================================= */

.floating-card {

  position: absolute;

  width: 154px;

  min-height: 98px;

  background: rgba(4,29,39,.88);

  border: 1px solid rgba(139,208,90,.22);

  border-radius: 18px;

  padding: 18px 20px;

  box-shadow: 0 20px 60px rgba(0,0,0,.25);

  backdrop-filter: blur(12px);

  z-index: 8;

}

.floating-card small {

  display: block;

  color: #8bd05a;

  font-size: 9px;

  letter-spacing: .18em;

}

.floating-card strong {

  display: block;

  font-size: 17px;

  margin: 6px 0;

}

.floating-card span {

  color: #91aab0;

  font-size: 11px;

}

/* Top right */

.card-a {

  right: 0;

  top: 15%;

}

/* Bottom left */

.card-b {

  left: 3%;

  bottom: 16%;

}

/* =========================================================

   3D DNAWELLCODE GLB LOGO

   Kept centered between the two hero cards.

   ========================================================= */

.hero-3d-logo {

  position: absolute;

  left: 50%;

  top: 50%;

  width: 220px;

  height: 220px;

  transform: translate(-50%, calc(-50% + var(--logo-scroll-y, 0px)));

  z-index: 7;

  display: flex;

  align-items: center;

  justify-content: center;

  pointer-events: auto;

}

.hero-3d-logo model-viewer {

  width: 100%;

  height: 100%;

  display: block;

  background: transparent;

  --poster-color: transparent;

  --progress-bar-color: #8bd05a;

  --progress-mask: transparent;

}

/* The GLB is the only logo shown here. */

.hero-3d-logo .logo-3d-inner,

.hero-3d-logo .logo-face {

  display: none;

}

/* =========================================================

   PROBLEM / APPROACH

   ========================================================= */

.pain-grid {

  display: grid;

  grid-template-columns: repeat(4,1fr);

  gap: 12px;

}

.pain-grid article,

.steps article {

  padding: 28px;

  border: 1px solid rgba(255,255,255,.08);

  background: rgba(255,255,255,.025);

  border-radius: 18px;

  min-height: 190px;

  transition: .3s;

}

.pain-grid article:hover,

.steps article:hover {

  transform: translateY(-5px);

  border-color: rgba(139,208,90,.3);

  background: rgba(139,208,90,.04);

}

.pain-grid b {

  color: #8bd05a;

  font-size: 11px;

}

.pain-grid h3,

.steps h3 {

  font-size: 19px;

  margin: 24px 0 8px;

}

.pain-grid p,

.steps p,

.kit-copy p {

  color: #91aab0;

  line-height: 1.6;

  font-size: 14px;

}

.pain-summary {

  max-width: 1050px;

  margin: 58px auto 0;

  padding: 0 12px;

  text-align: center;

}

.pain-summary p {

  margin: 0;

  color: #eef7f5;

  font-size: clamp(20px, 2.2vw, 30px);

  line-height: 1.45;

  font-weight: 600;

  letter-spacing: -0.025em;

}

.pain-summary .pain-summary-close {

  margin-top: 14px;

  color: #8bd05a;

  font-size: clamp(25px, 3vw, 40px);

  line-height: 1.12;

  font-weight: 800;

  letter-spacing: -0.04em;

}

@media (max-width: 600px) {

  .pain-summary {

    margin-top: 36px;

    padding: 0 4px;

  }

  .pain-summary p {

    font-size: 19px;

    line-height: 1.55;

  }

  .pain-summary .pain-summary-close {

    margin-top: 12px;

    font-size: clamp(25px, 7vw, 32px);

  }

}

.steps {

  display: grid;

  grid-template-columns: repeat(4,1fr);

  gap: 15px;

}

.steps article span {

  display: grid;

  place-items: center;

  width: 38px;

  height: 38px;

  border-radius: 50%;

  border: 1px solid rgba(139,208,90,.4);

  color: #8bd05a;

  font-size: 11px;

}

/* =========================================================

   KIT

   ========================================================= */

.kit {

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 8vw;

}

.kit-box {

  height: 520px;

  position: relative;

  display: grid;

  place-items: center;

  perspective: 900px;

}

.box-face {

  width: 310px;

  height: 310px;

  background: linear-gradient(145deg,#075064,#003348);

  border: 1px solid rgba(139,208,90,.5);

  box-shadow: 35px 35px 80px rgba(0,0,0,.4);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  transform: rotateY(-18deg) rotateX(5deg);

  position: relative;

  z-index: 2;

}

.box-face::after {

  content: "";

  position: absolute;

  inset: 16px;

  border: 1px solid rgba(255,255,255,.08);

}

.box-logo {

  font-size: 30px;

  font-weight: 900;

}

.box-logo span {

  color: #8bd05a;

}

.box-face p {

  color: #8bd05a;

  letter-spacing: .2em;

  font-size: 10px;

  text-align: center;

}

.box-top {

  position: absolute;

  width: 310px;

  height: 65px;

  top: 75px;

  background: #8bd05a;

  color: #06212b;

  font-weight: 900;

  display: grid;

  place-items: center;

  transform: rotateX(58deg) translateY(-15px);

  z-index: 3;

}

.box-side {

  position: absolute;

  width: 70px;

  height: 310px;

  background: #064052;

  transform: translateX(190px) skewY(28deg);

  z-index: 1;

}

.kit-copy h2 {

  font-size: clamp(44px,5vw,70px);

  line-height: .95;

  letter-spacing: -.05em;

  margin: 15px 0 25px;

}

.kit-copy > p {

  max-width: 560px;

}

.kit-copy ul {

  list-style: none;

  padding: 0;

  margin: 28px 0;

  display: grid;

  gap: 12px;

}

.kit-copy li::before {

  content: "";

  display: inline-block;

  width: 7px;

  height: 7px;

  border-radius: 50%;

  background: #8bd05a;

  margin-right: 12px;

}

/* =========================================================

   FOUNDERS

   ========================================================= */

.founders-section {

  width: 100%;

  min-height: 100vh;

  padding: 120px 5vw;

  display: flex;

  flex-direction: column;

  align-items: center;

  position: relative;

  z-index: 3;

}

.section-heading {

  text-align: center;

  margin-bottom: 60px;

}

.section-heading p {

  margin: 0 0 12px;

  color: #8bd646;

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 4px;

}

.section-heading h2 {

  margin: 0 0 16px;

  color: #fff;

  font-size: clamp(36px,5vw,64px);

  line-height: 1;

}

.section-heading span {

  color: #91a7ad;

  font-size: 16px;

}

.founders-grid {

  width: 100%;

  max-width: 1200px;

  display: grid;

  grid-template-columns: repeat(2,minmax(0,1fr));

  gap: 30px;

}

.founder-card {

  width: 100%;

  height: 560px;

  position: relative;

  perspective: 1400px;

  cursor: pointer;

  touch-action: manipulation;

  -webkit-tap-highlight-color: transparent;

}

.founder-card .card-inner {

  width: 100%;

  height: 100%;

  position: relative;

  transform-style: preserve-3d;

  transition: transform .75s cubic-bezier(.22,.61,.36,1);

}

.founder-card.flipped .card-inner {

  transform: rotateY(180deg);

}

.card-face {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  overflow: hidden;

  border-radius: 28px;

  background: linear-gradient(145deg,#07323b 0%,#031f28 100%);

  border: 1px solid rgba(139,214,70,.20);

  box-shadow: 0 25px 70px rgba(0,0,0,.30);

  backface-visibility: hidden;

  -webkit-backface-visibility: hidden;

}

.card-face::before {

  content: "";

  position: absolute;

  width: 350px;

  height: 350px;

  right: -160px;

  top: -150px;

  border-radius: 50%;

  border: 1px solid rgba(139,214,70,.10);

  pointer-events: none;

}

.logo {

  position: relative;

  z-index: 5;

  padding: 32px 38px 0;

  color: #fff;

  font-size: 30px;

  font-weight: 900;

  letter-spacing: -1.5px;

}

.logo span {

  color: #8bd646;

}

.card-front {

  display: flex;

  flex-direction: column;

  justify-content: space-between;

}

.founder-photo {

  position: absolute;

  left: 50%;

  top: 65px;

  transform: translateX(-50%);

  width: 280px;

  height: 320px;

  display: flex;

  justify-content: center;

  align-items: flex-end;

  z-index: 2;

  overflow: hidden;

}

.founder-photo img {

  width: 100%;

  height: 100%;

  object-fit: contain;

  object-position: center bottom;

  display: block;

  user-select: none;

  -webkit-user-drag: none;

}

.founder-bottom {

  position: absolute;

  left: 38px;

  right: 38px;

  bottom: 32px;

  z-index: 5;

}

.founder-label,

.back-label {

  color: #8bd646;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 3px;

}

.founder-label {

  margin-bottom: 9px;

}

.founder-bottom h2,

.back-content h2 {

  margin: 0;

  color: #fff;

  line-height: 1.1;

}

.founder-bottom h2 {

  font-size: clamp(30px,3vw,44px);

}

.flip-hint {

  margin-top: 14px;

  color: #91a7ad;

  font-size: 12px;

}

.card-back {

  transform: rotateY(180deg);

  display: flex;

  flex-direction: column;

}

.back-content {

  position: relative;

  z-index: 5;

  padding: 55px 38px 20px;

  flex: 1;

}

.back-label {

  margin-bottom: 12px;

}

.back-content h2 {

  font-size: 40px;

  margin-bottom: 18px;

}

.back-content p {

  max-width: 500px;

  margin: 0;

  color: #a9bdc2;

  font-size: 15px;

  line-height: 1.7;

}

.social-links {

  display: flex;

  flex-direction: row;

  align-items: center;

  gap: 18px;

  margin-top: 30px;

  flex-wrap: wrap;

}

.social-links a {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 7px;

  min-width: 75px;

  padding: 10px 8px;

  color: #fff;

  text-decoration: none;

  font-size: 11px;

  font-weight: 600;

  border-radius: 12px;

  transition: background .25s ease, transform .25s ease;

}

.social-links a:hover {

  background: rgba(139,214,70,.10);

  transform: translateY(-3px);

}

.social-icon {

  width: 40px;

  height: 40px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: rgba(255,255,255,.08);

  font-size: 19px;

}

.social-icon.instagram {

  color: #ff4f91;

}

.social-icon.linkedin {

  color: #4d9cff;

}

.social-icon.whatsapp {

  color: #45d879;

}

.back-hint {

  position: relative;

  z-index: 5;

  padding: 0 38px 30px;

}

/* =========================================================

   ASSESSMENT

   ========================================================= */

.assessment {

  padding-top: 80px;

}

.assessment-panel {

  display: grid;

  grid-template-columns: .7fr 1.3fr;

  border: 1px solid rgba(139,208,90,.2);

  border-radius: 28px;

  background: rgba(3,29,39,.88);

  overflow: hidden;

}

.assessment-intro {

  padding: 55px;

  background: linear-gradient(145deg,rgba(139,208,90,.08),transparent);

}

.assessment-intro h2 {

  font-size: clamp(44px,5vw,68px);

  line-height: .95;

  letter-spacing: -.055em;

}

.assessment-intro p:not(.eyebrow) {

  color: #91aab0;

  line-height: 1.6;

}

.progress {

  height: 3px;

  background: rgba(255,255,255,.1);

  margin: 55px 0 12px;

}

.progress i {

  display: block;

  height: 100%;

  width: 25%;

  background: #8bd05a;

  transition: .3s;

}

.assessment-intro small {

  color: #8bd05a;

  font-size: 10px;

  letter-spacing: .12em;

}

#quiz {

  padding: 55px;

}

.question {

  display: none;

}

.question.active {

  display: block;

}

.q-label {

  font-size: 10px;

  color: #8bd05a;

  letter-spacing: .2em;

  font-weight: 800;

}

.question h3 {

  font-size: 32px;

  line-height: 1.1;

  margin: 15px 0 28px;

}

.question label {

  display: block;

  border: 1px solid rgba(255,255,255,.09);

  padding: 17px 18px;

  margin: 9px 0;

  border-radius: 12px;

  color: #c5d3d5;

  cursor: pointer;

  transition: .2s;

}

.question label:hover {

  border-color: #8bd05a;

}

.question input {

  accent-color: #8bd05a;

  margin-right: 12px;

}

textarea {

  width: 100%;

  min-height: 170px;

  resize: vertical;

  background: rgba(0,0,0,.18);

  border: 1px solid rgba(255,255,255,.12);

  border-radius: 15px;

  padding: 18px;

  color: white;

  font: inherit;

  outline: none;

}

textarea:focus {

  border-color: #8bd05a;

}

.assessment-text-input {

  display: block;

  width: 100%;

  min-height: 56px;

  background: rgba(0,0,0,.18);

  border: 1px solid rgba(255,255,255,.12);

  border-radius: 12px;

  padding: 16px 18px;

  color: white;

  font: inherit;

  outline: none;

}

.assessment-text-input::placeholder {

  color: #91aab0;

}

.assessment-text-input:focus {

  border-color: #8bd05a;

}

.q-help {

  color: #91aab0;

  font-size: 13px;

  margin: -12px 0 18px;

}

.form-actions {

  display: flex;

  justify-content: space-between;

  margin-top: 28px;

}

.success {

  display: none;

  padding: 60px;

}

.success.show {

  display: block;

}

.success h3 {

  font-size: 35px;

}

.success p:not(.eyebrow) {

  color: #91aab0;

  line-height: 1.7;

}

/* =========================================================

   FOOTER

   ========================================================= */

footer {

  padding: 40px 7vw;

  border-top: 1px solid rgba(255,255,255,.08);

  display: flex;

  justify-content: space-between;

  align-items: center;

  color: #91aab0;

  font-size: 12px;

  background: rgba(2,20,29,.55);

}

/* =========================================================

   TABLET

   ========================================================= */

@media (max-width: 900px) {

  .nav nav {

    display: none;

  }

  .hero,

  .kit,

  .assessment-panel {

    grid-template-columns: 1fr;

  }

  .hero {

    padding-top: 60px;

  }

  .hero-visual {

    min-height: 360px;

  }

  .pain-grid,

  .steps {

    grid-template-columns: repeat(2,1fr);

  }

  .founders-grid {

    grid-template-columns: 1fr;

    max-width: 560px;

  }

  .assessment-intro,

  #quiz {

    padding: 40px;

  }

  #dnaCanvas {

    width: 110vw;

    height: 110vh;

    left: -5vw;

    top: -5vh;

  }

  .hero-3d-logo {

    width: 170px;

    height: 170px;

  }

}

/* =========================================================

   MOBILE

   ========================================================= */

@media (max-width: 600px) {

  .nav {

    min-height: 70px;

    padding: 0 18px;

  }

  .brand {

    font-size: 18px;

  }

  .nav-cta {

    padding: 10px 13px;

    font-size: 10px;

  }

  .section {

    padding: 75px 20px;

  }

  .hero {

    min-height: auto;

    padding: 30px 20px 20px;

    display: grid;

    grid-template-columns: 1fr;

    gap: 0;

  }

  .hero h1 {

    font-size: 52px;

    line-height: .9;

    margin: 12px 0 20px;

  }

  .hero-text {

    font-size: 15px;

    line-height: 1.5;

  }

  .hero-actions {

    margin-top: 22px;

    gap: 10px;

  }

  .hero-actions .button {

    width: 100%;

  }

  /* Compact mobile visual so there is no giant empty gap */

  .hero-visual {

    height: 250px;

    min-height: 250px;

    margin-top: 5px;

    overflow: visible;

  }

  .floating-card {

    width: 136px;

    min-height: 88px;

    padding: 12px 14px;

    border-radius: 14px;

    z-index: 8;

  }

  .floating-card small {

    font-size: 8px;

  }

  .floating-card strong {

    font-size: 14px;

    margin: 4px 0;

  }

  .floating-card span {

    font-size: 9px;

  }

  .card-a {

    right: 0;

    top: 10px;

  }

  .card-b {

    left: 0;

    bottom: 8px;

  }

  .hero-3d-logo {

    width: 125px;

    height: 125px;

    left: 50%;

    top: 50%;

  }

  #dnaCanvas {

    width: 135vw;

    height: 100vh;

    left: -18vw;

    top: 0;

    opacity: .12;

  }

  .pain.section {

    padding-top: 45px;

  }

  .pain-grid,

  .steps {

    grid-template-columns: 1fr;

  }

  .kit-box {

    transform: scale(.8);

    margin: -50px 0;

  }

  .founders-section {

    padding: 70px 18px;

  }

  .section-heading {

    margin-bottom: 40px;

  }

  .section-heading h2 {

    font-size: 38px;

  }

  .section-heading span {

    font-size: 14px;

  }

  .founder-card {

    height: 510px;

  }

  .logo {

    padding: 26px 26px 0;

    font-size: 27px;

  }

  .founder-photo {

    width: 235px;

    height: 275px;

    top: 65px;

  }

  .founder-bottom {

    left: 26px;

    right: 26px;

    bottom: 26px;

  }

  .founder-bottom h2 {

    font-size: 31px;

  }

  .back-content {

    padding: 45px 26px 20px;

  }

  .back-content h2 {

    font-size: 32px;

  }

  .back-content p {

    font-size: 14px;

  }

  .back-hint {

    padding: 0 26px 26px;

  }

  .social-links {

    gap: 8px;

  }

  .social-links a {

    min-width: 70px;

  }

  .assessment-intro,

  #quiz {

    padding: 30px;

  }

  .question h3 {

    font-size: 26px;

  }

  footer {

    flex-direction: column;

    gap: 15px;

    align-items: flex-start;

  }

}

/* =========================================================

   SMALL PHONES

   ========================================================= */

@media (max-width: 400px) {

  .hero h1 {

    font-size: 48px;

  }

  .hero-visual {

    height: 225px;

    min-height: 225px;

  }

  .hero-3d-logo {

    width: 110px;

    height: 110px;

  }

  .founder-card {

    height: 490px;

  }

  .founder-photo {

    width: 210px;

    height: 255px;

  }

  .founder-bottom h2 {

    font-size: 28px;

  }

}

/* =========================================================

   RESPONSIVE 3D LOGO SIZING

   ========================================================= */

@media (max-width: 900px) {

  .hero-3d-logo {

    width: 175px;

    height: 175px;

  }

}

@media (max-width: 600px) {

  .hero-3d-logo {

    width: 118px;

    height: 118px;

    left: 50%;

    top: 50%;

    transform: translate(-50%, calc(-50% + var(--logo-scroll-y, 0px)));

  }

}

@media (max-width: 400px) {

  .hero-3d-logo {

    width: 104px;

    height: 104px;

  }

}

/* =========================================================

   LEAD REGISTRATION POPUP

   ========================================================= */

.lead-popup {

  position: fixed;

  inset: 0;

  z-index: 9999;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 24px;

  visibility: hidden;

  opacity: 0;

  pointer-events: none;

  transition: opacity .25s ease, visibility .25s ease;

}

.lead-popup.active {

  visibility: visible;

  opacity: 1;

  pointer-events: auto;

}

.lead-overlay {

  position: absolute;

  inset: 0;

  background: rgba(0, 10, 15, .78);

  backdrop-filter: blur(10px);

  -webkit-backdrop-filter: blur(10px);

}

.lead-modal {

  position: relative;

  width: min(100%, 470px);

  max-height: calc(100vh - 48px);

  overflow-y: auto;

  padding: 38px;

  border: 1px solid rgba(139, 208, 90, .30);

  border-radius: 26px;

  background: linear-gradient(145deg, #082c35 0%, #031c27 100%);

  box-shadow: 0 35px 100px rgba(0,0,0,.55);

  transform: translateY(16px) scale(.98);

  transition: transform .25s ease;

}

.lead-popup.active .lead-modal {

  transform: translateY(0) scale(1);

}

.lead-close {

  position: absolute;

  top: 16px;

  right: 16px;

  width: 36px;

  height: 36px;

  border: 1px solid rgba(255,255,255,.12);

  border-radius: 50%;

  background: rgba(255,255,255,.05);

  color: #fff;

  font-size: 25px;

  line-height: 1;

  cursor: pointer;

}

.lead-eyebrow {

  margin: 0 0 12px;

  color: #8bd05a;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: .20em;

}

.lead-modal h2 {

  margin: 0;

  font-size: clamp(38px, 7vw, 54px);

  line-height: .94;

  letter-spacing: -.055em;

}

.lead-modal h2 span {

  color: #8bd05a;

}

.lead-description {

  margin: 18px 0 26px;

  color: #91aab0;

  font-size: 14px;

  line-height: 1.6;

}

.lead-field {

  margin-bottom: 18px;

}

.lead-field label {

  display: block;

  margin-bottom: 8px;

  color: #dce9e8;

  font-size: 13px;

  font-weight: 700;

}

.lead-field input {

  width: 100%;

  height: 52px;

  border: 1px solid rgba(255,255,255,.12);

  border-radius: 13px;

  outline: none;

  padding: 0 15px;

  background: rgba(0,0,0,.20);

  color: #fff;

  font: inherit;

  font-size: 15px;

}

.lead-field input::placeholder {

  color: #71888d;

}

.lead-field input:focus {

  border-color: #8bd05a;

  box-shadow: 0 0 0 3px rgba(139,208,90,.08);

}

.lead-error {

  display: block;

  min-height: 16px;

  margin-top: 6px;

  color: #ff8e8e;

  font-size: 11px;

}

.lead-submit {

  width: 100%;

  margin-top: 4px;

  min-height: 52px;

}

@media (max-width: 600px) {

  .lead-popup {

    padding: 16px;

  }

  .lead-modal {

    padding: 30px 22px 24px;

    border-radius: 22px;

  }

  .lead-modal h2 {

    font-size: 40px;

  }

}

/* =========================================================

   TESTIMONIALS — portrait 9:16 reels cards

   ========================================================= */

.testimonials-section {

  padding: 100px clamp(20px, 6vw, 96px);

  position: relative;

  scroll-margin-top: 90px;

}

.testimonial-heading {

  text-align: center;

  margin: 0 auto 42px;

  max-width: 760px;

}

.testimonial-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: clamp(24px, 4vw, 52px);

  max-width: 790px;

  margin: 0 auto;

  align-items: start;

}

.testimonial-card {

  display: block;

  min-width: 0;

  color: inherit;

  text-decoration: none;

  border: 1px solid rgba(151, 208, 198, .17);

  border-radius: 22px;

  padding: 10px;

  background: linear-gradient(155deg, rgba(13, 45, 53, .98), rgba(3, 21, 30, .99));

  box-shadow: 0 22px 60px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255,255,255,.05);

  transition: border-color .25s ease, box-shadow .25s ease;

  animation: testimonialFloat 5.2s ease-in-out infinite;

  transform-origin: center;

}

.testimonial-card:nth-child(2) { animation-delay: -2.2s; }

.testimonial-card:hover,

.testimonial-card:focus-visible {

  border-color: rgba(139, 212, 80, .75);

  box-shadow: 0 22px 55px rgba(0, 0, 0, .28), 0 0 0 1px rgba(139, 212, 80, .12);

  outline: none;

}

.testimonial-thumbnail {

  position: relative;

  width: 100%;

  aspect-ratio: 9 / 16;

  overflow: hidden;

  border-radius: 15px;

  background: radial-gradient(ellipse at 50% 28%, rgba(40, 111, 119, .9), transparent 46%), linear-gradient(155deg, #103640 0%, #08242e 54%, #041923 100%);

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  padding: 24px 20px;

  isolation: isolate;

}

.testimonial-thumbnail::before {

  content: "";

  position: absolute;

  inset: 12px;

  border: 1px solid rgba(255,255,255,.09);

  border-radius: 10px;

  pointer-events: none;

  z-index: -1;

}

.testimonial-thumbnail::after {

  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(180deg, rgba(1,13,20,.05) 15%, rgba(1,13,20,.05) 42%, rgba(1,13,20,.82) 100%);

  z-index: -1;

}

.testimonial-thumb-testi2 {

  background: radial-gradient(ellipse at 70% 25%, rgba(111, 133, 63, .56), transparent 42%), linear-gradient(145deg, #163d3c 0%, #092b32 54%, #041923 100%);

}

.thumbnail-kicker {

  position: absolute;

  top: 30px;

  left: 24px;

  right: 24px;

  color: rgba(231, 248, 241, .74);

  font-size: 9px;

  letter-spacing: .16em;

  font-weight: 700;

}

.thumbnail-title {

  display: flex;

  flex-direction: column;

  gap: 5px;

  color: #fff;

  font-size: clamp(24px, 3vw, 36px);

  font-weight: 750;

  line-height: 1.04;

  letter-spacing: -.04em;

  max-width: 95%;

  margin-bottom: 10px;

}

.thumbnail-title span {

  color: #a5df73;

  font-size: .72em;

  letter-spacing: -.02em;

}

.thumbnail-subtitle {

  color: rgba(239, 248, 244, .76);

  font-size: 12px;

  line-height: 1.5;

  max-width: 190px;

  margin-bottom: 22px;

}

.testimonial-thumbnail img {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: transform .45s ease;

}

.testimonial-card:hover .testimonial-thumbnail img,

.testimonial-card:focus-visible .testimonial-thumbnail img {

  transform: scale(1.035);

}

.testimonial-play {

  position: absolute;

  left: 50%;

  top: 50%;

  width: 58px;

  height: 58px;

  display: grid;

  place-items: center;

  padding-left: 3px;

  border-radius: 50%;

  color: #09222a;

  background: #8bd450;

  box-shadow: 0 8px 28px rgba(0, 0, 0, .32);

  transform: translate(-50%, -50%);

}

.testimonial-tag {

  position: absolute;

  top: 12px;

  left: 12px;

  padding: 7px 10px;

  border: 1px solid rgba(255,255,255,.2);

  border-radius: 999px;

  color: #f3faf7;

  background: rgba(3, 25, 35, .65);

  font-size: 10px;

  font-weight: 700;

  letter-spacing: .12em;

  backdrop-filter: blur(8px);

}

.testimonial-caption {

  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 8px;

  padding: 14px 5px 7px;

  font-weight: 700;

}

.testimonial-watch {

  display: inline-flex;

  align-items: center;

  gap: 7px;

  color: #9bdc6a;

  font-size: 12px;

  font-weight: 600;

  white-space: nowrap;

}

@keyframes testimonialFloat {

  0%, 100% { translate: 0 0; }

  50% { translate: 0 -9px; }

}

@media (max-width: 760px) {

  .testimonials-section { padding: 72px 18px; }

  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

  .testimonial-card { padding: 7px; border-radius: 17px; }

  .testimonial-thumbnail { border-radius: 11px; padding: 16px 13px; }

  .thumbnail-kicker { top: 24px; left: 17px; right: 17px; font-size: 7px; }

  .thumbnail-title { font-size: clamp(18px, 4vw, 28px); }

  .thumbnail-subtitle { font-size: 10px; }

  .testimonial-caption { align-items: flex-start; flex-direction: column; gap: 6px; padding: 11px 4px 5px; }

}

@media (max-width: 420px) {

  .testimonial-grid { grid-template-columns: 1fr; max-width: 300px; }

}

@media (prefers-reduced-motion: reduce) {

  .testimonial-card { animation: none; transition: none; }

  .testimonial-thumbnail img { transition: none; }

}

/* Compact testimonial cards — UNO-style proportions */

.testimonial-grid {

  display: flex;

  justify-content: center;

  align-items: stretch;

  gap: 28px;

  flex-wrap: wrap;

}

.testimonial-card {

  position: relative;

  display: block;

  width: 220px;

  height: 310px;

  flex: 0 0 220px;

  aspect-ratio: auto;

  overflow: hidden;

  border-radius: 22px;

  padding: 10px;

  box-sizing: border-box;

  text-decoration: none;

  transform: translateY(0);

  transition:

    transform 0.3s ease,

    border-color 0.3s ease,

    box-shadow 0.3s ease;

}

.testimonial-card:hover {

  transform: translateY(-6px);

}

.testimonial-card img,

.testimonial-card .testimonial-thumbnail {

  width: 100%;

  height: 100%;

  object-fit: cover;

  border-radius: 15px;

}

.testimonial-card .play-button {

  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  width: 48px;

  height: 48px;

  border-radius: 50%;

  display: grid;

  place-items: center;

}

.testimonial-card .testimonial-info {

  position: absolute;

  bottom: 10px;

  left: 10px;

  right: 10px;

}

@media (max-width: 520px) {

  .testimonial-grid {

    gap: 16px;

  }

  .testimonial-card {

    width: 185px;

    height: 265px;

    flex-basis: 185px;

  }

}

/* =========================================================

   TESTIMONIAL COLLECTIBLE CARDS — NIGHT MARKET FLIP

   ========================================================= */

.testimonial-grid {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: clamp(18px, 4vw, 34px);

  flex-wrap: wrap;

  max-width: 620px;

  margin: 0 auto;

}

.testimonial-card {

  position: relative;

  display: block;

  width: 220px;

  height: 310px;

  flex: 0 0 220px;

  padding: 0;

  border: 0;

  border-radius: 20px;

  background: transparent;

  box-shadow: none;

  overflow: visible;

  perspective: 1000px;

  cursor: pointer;

  animation: testimonialFloat 5.2s ease-in-out infinite;

  -webkit-tap-highlight-color: transparent;

}

.testimonial-card:nth-child(2) { animation-delay: -2.2s; }

.testimonial-card:focus-visible { outline: 2px solid #8bd450; outline-offset: 5px; }

.testimonial-card-inner {

  position: relative;

  width: 100%;

  height: 100%;

  transform-style: preserve-3d;

  transition: transform .85s cubic-bezier(.2,.75,.25,1);

  border-radius: 20px;

}

.testimonial-card.revealed .testimonial-card-inner { transform: rotateY(180deg); }

.testimonial-card-back,

.testimonial-card-front {

  position: absolute;

  inset: 0;

  overflow: hidden;

  border-radius: 20px;

  border: 1px solid rgba(139,212,80,.38);

  backface-visibility: hidden;

  -webkit-backface-visibility: hidden;

  box-shadow: 0 18px 42px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.07);

}

.testimonial-card-back {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: space-between;

  padding: 24px 15px 18px;

  background: radial-gradient(ellipse at 50% 45%, rgba(35,112,111,.62), transparent 46%), linear-gradient(145deg,#0c333b,#041922 72%,#020e15);

}

.testimonial-card-back::before {

  content: ""; position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,.11);

  border-radius: 14px; pointer-events: none;

}

.testimonial-card-back::after {

  content: ""; position: absolute; width: 220px; height: 220px; border: 1px solid rgba(139,212,80,.17);

  border-radius: 50%; top: 55px; left: 50%; transform: translateX(-50%);

  box-shadow: 0 0 0 18px rgba(139,212,80,.025), 0 0 0 38px rgba(139,212,80,.02);

}

.dna-card-logo {

  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px;

  color: #f4fbf8; font-size: 20px; font-weight: 850; letter-spacing: -.7px;

}

.dna-card-mark {

  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;

  border: 1px solid rgba(139,212,80,.65); background: rgba(139,212,80,.09);

  color: #a7e477; font-size: 12px; letter-spacing: 1px;

  box-shadow: 0 0 24px rgba(139,212,80,.12);

}

.logo-green { color: #a5df73; }

.dna-card-orbit {

  position: absolute; z-index: 1; width: 105px; height: 105px; top: 50%; left: 50%;

  transform: translate(-50%,-50%); border: 1px solid rgba(139,212,80,.25); border-radius: 50%;

  animation: dnaCardOrbit 12s linear infinite;

}

.dna-card-orbit::before, .dna-card-orbit::after {

  content: ""; position: absolute; inset: 13px; border: 1px solid rgba(52,211,190,.27); border-radius: 50%; transform: rotateX(62deg) rotate(25deg);

}

.dna-card-orbit::after { transform: rotateY(62deg) rotate(-25deg); }

.dna-card-orbit span {

  position: absolute; width: 7px; height: 7px; background: #9fe16b; border-radius: 50%;

  box-shadow: 0 0 12px rgba(139,212,80,.8);

}

.dna-card-orbit span:nth-child(1) { top: 8px; left: 48px; }

.dna-card-orbit span:nth-child(2) { right: 5px; bottom: 30px; background: #37d4bd; }

.dna-card-orbit span:nth-child(3) { left: 8px; bottom: 22px; }

.dna-card-orbit-alt { filter: hue-rotate(22deg); animation-direction: reverse; }

.dna-card-back-label, .dna-card-tap { position: relative; z-index: 1; margin: 0; text-align: center; }

.dna-card-back-label { color: #b4c9c6; font-size: 8px; letter-spacing: .18em; font-weight: 750; }

.dna-card-tap { color: #a5df73; font-size: 9px; font-weight: 800; letter-spacing: .2em; animation: tapPulse 1.8s ease-in-out infinite; }

.testimonial-card-front { transform: rotateY(180deg); padding: 8px; background: linear-gradient(155deg,#0d2d35,#03151e); }

.testimonial-reel-link { display: flex; flex-direction: column; width: 100%; height: 100%; color: inherit; text-decoration: none; cursor: pointer; }

.testimonial-card-front .testimonial-thumbnail { flex: 1; min-height: 0; aspect-ratio: auto; border-radius: 13px; padding: 18px 14px; }

.testimonial-card-front .thumbnail-kicker { top: 25px; left: 17px; right: 17px; font-size: 7px; }

.testimonial-card-front .thumbnail-title { font-size: 22px; }

.testimonial-card-front .thumbnail-subtitle { font-size: 10px; margin-bottom: 18px; }

.testimonial-card-front .testimonial-play { width: 44px; height: 44px; }

.testimonial-card-front .testimonial-tag { top: 9px; left: 9px; font-size: 8px; padding: 6px 8px; }

.testimonial-card-front .testimonial-caption { padding: 9px 3px 2px; font-size: 12px; }

.testimonial-card-front .testimonial-watch { font-size: 10px; }

@keyframes dnaCardOrbit { to { transform: translate(-50%,-50%) rotate(360deg); } }

@keyframes tapPulse { 0%,100% { opacity: .65; } 50% { opacity: 1; } }

@media (max-width: 520px) {

  .testimonial-grid { gap: 14px; }

  .testimonial-card { width: 180px; height: 265px; flex-basis: 180px; }

  .testimonial-card-front .thumbnail-title { font-size: 18px; }

}

@media (max-width: 390px) {

  .testimonial-card { width: 160px; height: 240px; flex-basis: 160px; }

  .dna-card-logo { font-size: 17px; }

}

@media (prefers-reduced-motion: reduce) {

  .testimonial-card, .dna-card-orbit, .dna-card-tap { animation: none; }

  .testimonial-card-inner { transition-duration: .01ms; }

}

/* =========================================================

   DNAWELLCODE TESTIMONIAL CARDS — FIXED NIGHT MARKET FLIP

   Back tap -> flip to thumbnail -> tap thumbnail to open Reel

   ========================================================= */

.testimonial-grid {

  display: flex !important;

  justify-content: center;

  align-items: center;

  flex-wrap: wrap;

  gap: 34px;

  max-width: 620px;

  margin: 0 auto;

}

.testimonial-card {

  position: relative;

  display: block;

  width: 220px;

  height: 310px;

  flex: 0 0 220px;

  min-width: 0;

  padding: 0 !important;

  border: 0 !important;

  border-radius: 20px;

  background: transparent !important;

  box-shadow: none;

  overflow: visible !important;

  perspective: 1000px;

  cursor: pointer;

  text-decoration: none;

  -webkit-tap-highlight-color: transparent;

}

.testimonial-card:nth-child(2) {

  animation-delay: -2.2s;

}

.testimonial-card-inner {

  position: relative;

  width: 100%;

  height: 100%;

  border-radius: 20px;

  transform: rotateY(0deg);

  transform-style: preserve-3d;

  -webkit-transform-style: preserve-3d;

  transition: transform 0.85s cubic-bezier(.2,.75,.25,1);

}

.testimonial-card.revealed .testimonial-card-inner {

  transform: rotateY(180deg);

}

.testimonial-card-back,

.testimonial-card-front {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  overflow: hidden;

  border-radius: 20px;

  border: 1px solid rgba(139,212,80,.38);

  backface-visibility: hidden;

  -webkit-backface-visibility: hidden;

  box-shadow: 0 18px 42px rgba(0,0,0,.32),

              inset 0 1px 0 rgba(255,255,255,.07);

}

.testimonial-card-back {

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: space-between;

  padding: 24px 15px 18px;

  background:

    radial-gradient(ellipse at 50% 45%, rgba(35,112,111,.62), transparent 46%),

    linear-gradient(145deg,#0c333b,#041922 72%,#020e15);

  transform: rotateY(0deg);

}

.testimonial-card-front {

  transform: rotateY(180deg);

  padding: 8px;

  background: linear-gradient(155deg,#0d2d35,#03151e);

}

.testimonial-reel-link {

  display: flex;

  flex-direction: column;

  width: 100%;

  height: 100%;

  min-height: 0;

  color: inherit;

  text-decoration: none;

  cursor: pointer;

}

.testimonial-card-front .testimonial-thumbnail {

  flex: 1 1 auto;

  min-height: 0;

  width: 100%;

  height: auto;

  aspect-ratio: auto;

  border-radius: 13px;

  padding: 18px 14px;

}

.testimonial-card-front .thumbnail-kicker {

  top: 25px;

  left: 17px;

  right: 17px;

  font-size: 7px;

}

.testimonial-card-front .thumbnail-title {

  font-size: 22px;

}

.testimonial-card-front .thumbnail-subtitle {

  font-size: 10px;

  margin-bottom: 18px;

}

.testimonial-card-front .testimonial-play {

  width: 44px;

  height: 44px;

}

.testimonial-card-front .testimonial-tag {

  top: 9px;

  left: 9px;

  font-size: 8px;

  padding: 6px 8px;

}

.testimonial-card-front .testimonial-caption {

  flex: 0 0 auto;

  padding: 9px 3px 2px;

  font-size: 12px;

}

.testimonial-card-front .testimonial-watch {

  font-size: 10px;

}

.testimonial-card:focus-visible {

  outline: 2px solid #8bd450;

  outline-offset: 5px;

}

@media (max-width: 520px) {

  .testimonial-grid {

    gap: 14px;

  }

  .testimonial-card {

    width: 180px;

    height: 265px;

    flex-basis: 180px;

  }

  .testimonial-card-front .thumbnail-title {

    font-size: 18px;

  }

}

@media (max-width: 390px) {

  .testimonial-card {

    width: 160px;

    height: 240px;

    flex-basis: 160px;

  }

  .dna-card-logo {

    font-size: 17px;

  }

}

@media (prefers-reduced-motion: reduce) {

  .testimonial-card-inner {

    transition-duration: .01ms;

  }

}

/* TESTIMONIAL NIGHT-MARKET CARDS: compact size, auto flip, logo image */

.testimonial-grid {

  display: flex !important;

  justify-content: center;

  align-items: center;

  flex-wrap: wrap;

  gap: 28px;

  max-width: 620px;

  margin: 0 auto;

}

.testimonial-card {

  width: 210px !important;

  height: 300px !important;

  flex: 0 0 210px;

  min-width: 0;

  padding: 0 !important;

  border: 0 !important;

  border-radius: 20px;

  background: transparent !important;

  box-shadow: none !important;

  overflow: visible !important;

  perspective: 1000px;

  cursor: pointer;

  animation: testimonialFloat 5.2s ease-in-out infinite;

  -webkit-tap-highlight-color: transparent;

}

.testimonial-card-inner {

  position: relative;

  width: 100%;

  height: 100%;

  transform-style: preserve-3d;

  -webkit-transform-style: preserve-3d;

  transition: transform .8s cubic-bezier(.2,.75,.25,1);

}

.testimonial-card.revealed .testimonial-card-inner {

  transform: rotateY(180deg);

}

.testimonial-card-back,

.testimonial-card-front {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  overflow: hidden;

  border-radius: 20px;

  backface-visibility: hidden;

  -webkit-backface-visibility: hidden;

  border: 1px solid rgba(139,212,80,.42);

  box-shadow: 0 18px 42px rgba(0,0,0,.32);

}

.testimonial-card-back {

  transform: rotateY(0deg);

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 24px;

  padding: 20px;

  background: radial-gradient(ellipse at 50% 40%, rgba(35,112,111,.62), transparent 48%), linear-gradient(145deg,#0c333b,#041922 72%,#020e15);

}

.testimonial-card-front {

  transform: rotateY(180deg);

  padding: 8px;

  background: linear-gradient(155deg,#0d2d35,#03151e);

}

.dna-card-logo {

  display: flex;

  align-items: center;

  justify-content: center;

  width: 100%;

}

.dna-card-logo img {

  display: block;

  width: 145px;

  max-width: 90%;

  max-height: 90px;

  object-fit: contain;

}

.testimonial-card-front .testimonial-reel-link {

  display: flex;

  flex-direction: column;

  width: 100%;

  height: 100%;

  color: inherit;

  text-decoration: none;

}

.testimonial-card-front .testimonial-thumbnail {

  flex: 1 1 auto;

  min-height: 0;

  height: auto;

  aspect-ratio: auto;

  border-radius: 13px;

  padding: 18px 14px;

}

.testimonial-card-front .thumbnail-title { font-size: 21px; }

.testimonial-card-front .thumbnail-subtitle { font-size: 10px; margin-bottom: 16px; }

.testimonial-card-front .testimonial-play { width: 42px; height: 42px; }

.testimonial-card-front .testimonial-caption {

  flex: 0 0 auto;

  padding: 9px 3px 2px;

  font-size: 12px;

}

.testimonial-card:focus-visible { outline: 2px solid #8bd450; outline-offset: 5px; }

@media (max-width: 520px) {

  .testimonial-grid { gap: 14px; }

  .testimonial-card { width: 165px !important; height: 245px !important; flex-basis: 165px; }

  .testimonial-card-front .thumbnail-title { font-size: 17px; }

}

/* TESTIMONIAL FLIP FIX */

.testimonial-card {

  perspective: 1000px !important;

  cursor: pointer;

}

.testimonial-card-inner {

  position: relative !important;

  width: 100% !important;

  height: 100% !important;

  transform: rotateY(0deg);

  transform-style: preserve-3d !important;

  -webkit-transform-style: preserve-3d !important;

  transition: transform 0.85s ease !important;

}

.testimonial-card.revealed .testimonial-card-inner {

  transform: rotateY(180deg) !important;

  -webkit-transform: rotateY(180deg) !important;

}

.testimonial-card-back,

.testimonial-card-front {

  position: absolute !important;

  inset: 0 !important;

  backface-visibility: hidden !important;

  -webkit-backface-visibility: hidden !important;

}

.testimonial-card-back {

  transform: rotateY(0deg);

}

.testimonial-card-front {

  transform: rotateY(180deg);

}

.testimonial-card.revealed .testimonial-card-inner {

  transform: rotateY(180deg) !important;

  -webkit-transform: rotateY(180deg) !important;

}

/* Flip to your original designed front side */

.testimonial-card.revealed .testimonial-card-inner {

  transform: rotateY(180deg) !important;

  -webkit-transform: rotateY(180deg) !important;

}

/* FIX: keep animated DNA behind content and preserve the hero 3D logo */

#dnaCanvas {

  position: fixed !important;

  pointer-events: none !important;

  z-index: 0 !important;

}

.nav,

main,

footer {

  position: relative;

  z-index: 2;

}

.hero,

.hero-visual {

  position: relative;

  z-index: 3;

}

.hero-3d-logo {

  position: absolute;

  left: 50%;

  top: 50%;

  width: 220px;

  height: 220px;

  transform: translate(-50%, calc(-50% + var(--logo-scroll-y, 0px)));

  display: flex !important;

  align-items: center;

  justify-content: center;

  visibility: visible !important;

  opacity: 1 !important;

  z-index: 20 !important;

  overflow: visible !important;

  pointer-events: auto;

}

.hero-3d-logo model-viewer {

  display: block !important;

  width: 100% !important;

  height: 100% !important;

  visibility: visible !important;

  opacity: 1 !important;

  background: transparent !important;

  --poster-color: transparent;

  --progress-bar-color: #8bd05a;

}

@media (max-width: 900px) {

  .hero-3d-logo {

    width: 170px;

    height: 170px;

  }

}

@media (max-width: 600px) {

  .hero-3d-logo {

    width: 118px;

    height: 118px;

  }

}

@media (max-width: 400px) {

  .hero-3d-logo {

    width: 104px;

    height: 104px;

  }

}

/* =========================================================

   TESTIMONIAL FIX — MANUAL FLIP + PLAY BUTTON ONLY

   ========================================================= */

.testimonial-card {

  cursor: pointer;

  animation: none !important;

  -webkit-tap-highlight-color: transparent;

}

.testimonial-card-inner {

  transition: transform .8s cubic-bezier(.2, .75, .25, 1) !important;

}

.testimonial-card.revealed .testimonial-card-inner {

  transform: rotateY(180deg) !important;

  -webkit-transform: rotateY(180deg) !important;

}

.testimonial-reel-content {

  display: flex;

  flex-direction: column;

  width: 100%;

  height: 100%;

  min-height: 0;

}

.testimonial-card-front .testimonial-thumbnail {

  position: relative;

  flex: 1 1 auto;

  min-height: 0;

}

/* Only this green play circle is a link. */

.testimonial-card-front .testimonial-reel-link {

  position: absolute;

  top: 50%;

  left: 50%;

  z-index: 10;

  width: 44px;

  height: 44px;

  display: grid;

  place-items: center;

  border-radius: 50%;

  padding: 0;

  background: #8bd450;

  color: #09222a;

  text-decoration: none;

  transform: translate(-50%, -50%);

  overflow: hidden;

  isolation: isolate;

  box-shadow: 0 8px 25px rgba(0, 0, 0, .25);

  transition: box-shadow .25s ease;

}

.testimonial-card-front .testimonial-reel-link::before {

  content: "";

  position: absolute;

  inset: 0;

  border-radius: inherit;

  background: #c1f48c;

  transform: scale(0);

  transition: transform .28s ease;

  z-index: -1;

}

.testimonial-card-front .testimonial-reel-link:hover::before,

.testimonial-card-front .testimonial-reel-link:focus-visible::before,

.testimonial-card-front .testimonial-reel-link.is-playing::before {

  transform: scale(1);

}

.testimonial-card-front .testimonial-reel-link:active {

  box-shadow: 0 0 0 7px rgba(139, 212, 80, .18);

}

.testimonial-play-icon {

  display: grid;

  place-items: center;

  width: 100%;

  height: 100%;

  transition: transform .2s ease;

}

.testimonial-reel-link:active .testimonial-play-icon {

  transform: scale(.82);

}

.testimonial-reel-link i {

  font-size: 16px;

  margin-left: 2px;

}

.testimonial-reel-link:focus-visible {

  outline: 2px solid #fff;

  outline-offset: 4px;

}

/* Caption is informational and cannot trigger the Reel link. */

.testimonial-card-front .testimonial-caption {

  pointer-events: none;

}

@media (prefers-reduced-motion: reduce) {

  .testimonial-card-inner,

  .testimonial-reel-link,

  .testimonial-play-icon,

  .testimonial-reel-link::before {

    transition: none !important;

  }

}

/* TESTIMONIAL CARD INTERACTION: TAP TO OPEN/CLOSE + HORIZONTAL SWIPE */

.testimonial-card {

  touch-action: pan-y;

  user-select: none;

  -webkit-user-select: none;

  -webkit-tap-highlight-color: transparent;

}

.testimonial-card-inner { will-change: transform; }

.testimonial-card-back,

.testimonial-card-front {

  user-select: none;

  -webkit-user-select: none;

}

.testimonial-card .testimonial-reel-link {

  user-select: auto;

  -webkit-user-select: auto;

  touch-action: manipulation;

}

/* =========================================================

   LAYOUT RECOVERY — preserve the original desktop alignment

   ========================================================= */

/* Keep the hero copy in the left column and its visual in the right column. */

.hero {

  width: 100%;

  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);

  align-items: center;

  justify-items: stretch;

}

.hero-copy {

  grid-column: 1;

  width: 100%;

  min-width: 0;

  margin: 0;

  text-align: left;

}

.hero-visual {

  grid-column: 2;

  width: 100%;

  min-width: 0;

  margin: 0;

}

/* Keep the founders section and grid centered in the viewport. */

.founders-section {

  width: 100%;

  max-width: 100%;

  margin-inline: auto;

  align-items: center;

  overflow-x: clip;

}

.founders-grid {

  width: min(100%, 1200px);

  max-width: 1200px;

  margin-inline: auto;

  align-self: center;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  justify-items: stretch;

}

.founder-card {

  min-width: 0;

  width: 100%;

}

.card-inner,

.card-face {

  min-width: 0;

}

.back-content {

  min-width: 0;

}

.social-links a {

  flex-shrink: 0;

}

/* Tablet/mobile: stack sections naturally and keep all content centered. */

@media (max-width: 900px) {

  .hero {

    grid-template-columns: minmax(0, 1fr);

  }

  .hero-copy,

  .hero-visual {

    grid-column: 1;

    width: 100%;

  }

  .hero-copy {

    text-align: left;

  }

  .founders-grid {

    width: min(100%, 560px);

    grid-template-columns: minmax(0, 1fr);

    margin-inline: auto;

  }

}

@media (max-width: 600px) {

  .founders-section {

    padding-inline: 18px;

  }

  .founders-grid {

    width: 100%;

    max-width: 480px;

    gap: 22px;

  }

  .founder-card {

    height: 510px;

  }

  .back-content {

    padding: 45px 26px 20px;

  }

  .social-links {

    gap: 10px;

  }

  .social-links a {

    min-width: 68px;

  }

}

/* Founder social links: keep links clickable above the flipping card faces. */

.founder-card .card-back {

  isolation: isolate;

}

.founder-card .back-content,

.founder-card .social-links,

.founder-card .social-links a {

  position: relative;

  z-index: 10;

  pointer-events: auto;

}

.founder-card .social-links a {

  cursor: pointer;

}

/* SOCIAL LINK CLICK FIX — keep links above card layers */

.founder-card .card-face.card-back {

  isolation: isolate;

}

.founder-card .card-back .back-content,

.founder-card .card-back .social-links {

  position: relative;

  z-index: 100;

  pointer-events: auto;

}

.founder-card .card-back .social-links a {

  position: relative;

  z-index: 101;

  pointer-events: auto !important;

  cursor: pointer;

  touch-action: manipulation;

}

.founder-card .card-back .social-links a > * {

  pointer-events: none;

}

/* FIX: Social link cursor and hover states */

.founder-card .social-links,

.founder-card .social-links a {

  pointer-events: auto !important;

}

.founder-card .social-links a {

  position: relative;

  z-index: 999;

  cursor: pointer !important;

  -webkit-tap-highlight-color: transparent;

}

.founder-card .social-links a:hover {

  background: rgba(139, 214, 70, 0.10);

  border-radius: 12px;

  transform: translateY(-3px);

}

.founder-card .social-links a:focus-visible {

  outline: 2px solid #8bd05a;

  outline-offset: 3px;

}

/* Keep icons from blocking clicks */

.founder-card .social-links a i,

.founder-card .social-links a span {

  pointer-events: none;

}

/* FINAL FIX: founder social links hit area in the flipped 3D card */

.founder-card {

  isolation: isolate;

}

.founder-card .card-inner {

  position: relative;

  transform-style: preserve-3d;

}

.founder-card .card-face {

  position: absolute;

  inset: 0;

}

.founder-card .card-face::before,

.founder-card .card-face::after {

  pointer-events: none !important;

}

.founder-card .card-back {

  transform: rotateY(180deg);

}

.founder-card.flipped .card-back {

  z-index: 2;

}

.founder-card.flipped .card-front {

  z-index: 1;

}

.founder-card .card-back .back-content {

  position: relative;

  z-index: 20;

  pointer-events: none;

}

.founder-card .card-back .social-links {

  position: relative;

  z-index: 30;

  display: flex;

  align-items: center;

  gap: 18px;

  width: max-content;

  max-width: 100%;

  overflow: visible;

  pointer-events: none;

}

.founder-card .card-back .social-links a {

  position: relative;

  z-index: 31;

  display: flex;

  flex: 0 0 auto;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  min-width: 75px;

  min-height: 80px;

  padding: 10px 8px;

  border-radius: 12px;

  color: #fff;

  text-decoration: none;

  cursor: pointer !important;

  pointer-events: auto !important;

  touch-action: manipulation;

  -webkit-tap-highlight-color: transparent;

}

.founder-card .card-back .social-links a * {

  pointer-events: none !important;

}

.founder-card .card-back .social-links a:hover,

.founder-card .card-back .social-links a:focus-visible {

  background: rgba(139, 214, 70, 0.10);

}

.founder-card .card-back .social-links a:focus-visible {

  outline: 2px solid #8bd05a;

  outline-offset: 2px;

}

@media (max-width: 600px) {

  .founder-card .card-back .social-links {

    gap: 8px;

  }

  .founder-card .card-back .social-links a {

    min-width: 68px;

    min-height: 76px;

    padding: 8px 5px;

  }

}

/* FINAL SOCIAL-LINK HIT-TEST FIX (desktop + mobile)

   Only the visible card face receives pointer input. Links remain native anchors. */

.founder-card .card-inner {

  transform-style: preserve-3d;

}

.founder-card .card-face {

  backface-visibility: hidden;

  -webkit-backface-visibility: hidden;

}

.founder-card:not(.flipped) .card-front {

  pointer-events: auto !important;

}

.founder-card:not(.flipped) .card-back {

  pointer-events: none !important;

}

.founder-card.flipped .card-front {

  pointer-events: none !important;

}

.founder-card.flipped .card-back {

  pointer-events: auto !important;

}

.founder-card.flipped .card-back .back-content,

.founder-card.flipped .card-back .social-links {

  pointer-events: auto !important;

}

.founder-card.flipped .card-back .social-links a {

  position: relative;

  display: flex;

  z-index: 1000 !important;

  pointer-events: auto !important;

  cursor: pointer !important;

  touch-action: manipulation;

  -webkit-tap-highlight-color: rgba(139, 214, 70, .22);

}

.founder-card.flipped .card-back .social-links a > * {

  pointer-events: none !important;

}

/* FINAL FIX: keep the complete navigation bar and its bottom border visible while scrolling.

   This overrides the later legacy rule that reset .nav to position: relative.

   Sticky positioning keeps the header in normal document flow on desktop and mobile. */

header.nav {

  position: sticky !important;

  top: 0 !important;

  z-index: 10000 !important;

  align-self: start;

}

/* HAPPY USERS CTA: subtle attention animation for the hero button */

.hero-actions .button.ghost[href="#testimonials"] {

  position: relative;

  isolation: isolate;

  border: 1px solid rgba(139, 208, 90, 0.42);

  background: rgba(139, 208, 90, 0.07);

  box-shadow: 0 0 0 0 rgba(139, 208, 90, 0.34);

  animation: happyUsersAttention 2.6s ease-in-out infinite;

  transition: background-color 180ms ease, border-color 180ms ease,

              box-shadow 180ms ease, transform 180ms ease;

}

.hero-actions .button.ghost[href="#testimonials"]:hover,

.hero-actions .button.ghost[href="#testimonials"]:focus-visible {

  animation-play-state: paused;

  transform: translateY(-2px) scale(1.035);

  border-color: rgba(139, 208, 90, 0.95);

  background: rgba(139, 208, 90, 0.16);

  box-shadow: 0 0 0 4px rgba(139, 208, 90, 0.12),

              0 8px 24px rgba(0, 0, 0, 0.18);

  outline: none;

}

@keyframes happyUsersAttention {

  0%, 100% {

    transform: scale(1);

    box-shadow: 0 0 0 0 rgba(139, 208, 90, 0.30);

    border-color: rgba(139, 208, 90, 0.38);

  }

  50% {

    transform: scale(1.035);

    box-shadow: 0 0 0 7px rgba(139, 208, 90, 0.08),

                0 0 22px rgba(139, 208, 90, 0.16);

    border-color: rgba(139, 208, 90, 0.82);

  }

}

@media (prefers-reduced-motion: reduce) {

  .hero-actions .button.ghost[href="#testimonials"] {

    animation: none;

  }

}

/* MOBILE NAVIGATION FIX: keep every navigation link visible on small screens.

   Brand + roadmap CTA occupy the first row; links form a compact second row. */

@media (max-width: 900px) {

  header.nav {

    display: grid !important;

    grid-template-columns: minmax(0, 1fr) auto;

    grid-template-rows: auto auto;

    align-items: center;

    column-gap: 10px;

    row-gap: 8px;

    padding: 10px 18px 9px !important;

    min-height: 0 !important;

    width: 100%;

    box-sizing: border-box;

    background: rgba(2, 20, 29, .96) !important;

    border-bottom: 1px solid rgba(255,255,255,.12) !important;

  }

  header.nav > .brand {

    grid-column: 1;

    grid-row: 1;

    min-width: 0;

    white-space: nowrap;

    font-size: 18px;

  }

  header.nav > .nav-cta {

    grid-column: 2;

    grid-row: 1;

    justify-self: end;

    white-space: nowrap;

    padding: 9px 12px !important;

    font-size: 10px !important;

    line-height: 1.2;

  }

  header.nav > nav {

    display: flex !important;

    grid-column: 1 / -1;

    grid-row: 2;

    width: 100%;

    min-width: 0;

    align-items: center;

    justify-content: space-between;

    gap: clamp(7px, 2.5vw, 18px);

    overflow: visible;

  }

  header.nav > nav a {

    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    min-height: 26px;

    white-space: nowrap;

    font-size: clamp(10px, 2.8vw, 12px) !important;

    line-height: 1.2;

    flex: 0 0 auto;

  }

}

@media (max-width: 360px) {

  header.nav {

    padding-left: 12px !important;

    padding-right: 12px !important;

    column-gap: 6px;

  }

  header.nav > .brand {

    font-size: 16px;

    gap: 6px;

  }

  header.nav > .brand-mark {

    font-size: 10px;

  }

  header.nav > .nav-cta {

    padding: 8px 9px !important;

    font-size: 9px !important;

  }

  header.nav > nav {

    gap: 7px;

  }

  header.nav > nav a {

    font-size: 10px !important;

  }

}


/* =========================================================
   KIT — WHY PEOPLE CHOOSE DNAWELLCODE
   ========================================================= */

.kit-proof {
  width: 100%;
  max-width: 600px;
  margin: 30px 0 28px;
}

.kit-proof h3 {
  margin: 0 0 16px;
  color: #eef7f5;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.kit-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kit-proof-item {
  min-width: 0;
  min-height: 96px;
  padding: 15px 13px;
  border: 1px solid rgba(139, 208, 90, 0.2);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(139, 208, 90, 0.07), rgba(255, 255, 255, 0.025));
}

.kit-proof-item strong {
  display: block;
  margin-bottom: 7px;
  color: #8bd05a;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.kit-proof-item span {
  display: block;
  color: #b7c9ce;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .kit-proof {
    margin-top: 26px;
  }

  .kit-proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .kit-proof {
    margin: 24px 0;
  }

  .kit-proof h3 {
    font-size: 20px;
  }

  .kit-proof-grid {
    gap: 9px;
  }

  .kit-proof-item {
    min-height: 88px;
    padding: 13px 11px;
    border-radius: 12px;
  }

  .kit-proof-item strong {
    font-size: 21px;
  }

  .kit-proof-item span {
    font-size: 11px;
  }
}

/* DNAWellCode logo — subtle shiny animation */
.brand-logo {
  display: block;
  width: 190px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(137, 211, 79, 0.12));
  }

  50% {
    filter: drop-shadow(0 0 6px rgba(137, 211, 79, 0.35));
  }
}

@media (max-width: 600px) {
  .brand-logo {
    width: 155px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo {
    animation: none;
  }
}

/* Gentle glow */
@keyframes logoGlow {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(137, 211, 79, 0.12));
  }

  50% {
    filter: drop-shadow(0 0 8px rgba(137, 211, 79, 0.45));
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .brand-logo {
    animation: none;
  }
}


/* =========================================================
   TESTIMONIAL THUMBNAILS — use the supplied 3:4 artwork
   Keep the artwork unchanged; fit it inside the existing cards.
   Place these files inside the project's images/ folder:
   Sagar-thumbnail-3x4.jpg
   Sneha-thumbnail-3x4.jpg
   ========================================================= */

.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sagr {
  background-image: url("images/Sagar-thumbnail-3x4.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-testi2,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sneha {
  background-image: url("images/Sneha-thumbnail-3x4.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* The supplied thumbnails already contain their own text and design. */
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sagr::before,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sagr::after,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-testi2::before,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-testi2::after,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sneha::before,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sneha::after {
  display: none;
}

.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sagr .thumbnail-kicker,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sagr .thumbnail-title,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sagr .thumbnail-subtitle,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-testi2 .thumbnail-kicker,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-testi2 .thumbnail-title,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-testi2 .thumbnail-subtitle,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sneha .thumbnail-kicker,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sneha .thumbnail-title,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sneha .thumbnail-subtitle {
  display: none;
}

/* Keep the artwork's original 3:4 composition visible within the card. */
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sagr,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-testi2,
.testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sneha {
  padding: 0;
  background-color: #031c27;
}

/* Mobile: hide the floating TESTIMONIAL badge so it does not cover faces
   in the supplied portrait thumbnail artwork. */
@media (max-width: 600px) {
  .testimonial-card-front .testimonial-tag {
    display: none !important;
  }
}


.assessment-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 20px;
}

.assessment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  color: #eaf4f5;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.assessment-option:hover {
  border-color: #8bd450;
  background: rgba(139, 212, 80, 0.08);
}

.assessment-option:has(input:checked) {
  border-color: #8bd450;
  background: rgba(139, 212, 80, 0.12);
}

.assessment-option input[type="radio"] {
  accent-color: #8bd450;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  cursor: pointer;
}

.assessment-option span {
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .assessment-option {
    padding: 14px;
  }

  .assessment-option span {
    font-size: 14px;
  }
}



/* =========================================================
   DELAYED WHATSAPP INVITATION POPUP
   ========================================================= */
.whatsapp-invite-popup {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 22px; visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}
.whatsapp-invite-popup.active {
  visibility: visible; opacity: 1; pointer-events: auto;
}
.whatsapp-invite-overlay {
  position: absolute; inset: 0; background: rgba(0, 10, 15, .78);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
}
.whatsapp-invite-modal {
  position: relative; z-index: 1; width: min(100%, 460px);
  padding: 38px 34px 28px; border: 1px solid rgba(139,208,90,.38);
  border-radius: 26px;
  background: radial-gradient(circle at 90% 0%, rgba(139,208,90,.13), transparent 38%),
              linear-gradient(145deg, #07323b, #031821 78%);
  box-shadow: 0 28px 90px rgba(0,0,0,.5), 0 0 36px rgba(139,208,90,.08);
  text-align: center; transform: translateY(16px) scale(.98);
  transition: transform .28s ease;
}
.whatsapp-invite-popup.active .whatsapp-invite-modal { transform: translateY(0) scale(1); }
.whatsapp-invite-close {
  position: absolute; top: 13px; right: 15px; width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.13); border-radius: 50%;
  background: rgba(255,255,255,.04); color: #d9e8e8; font-size: 25px;
  line-height: 1; cursor: pointer;
}
.whatsapp-invite-icon {
  display: grid; place-items: center; width: 62px; height: 62px;
  margin: 0 auto 18px; border: 1px solid rgba(139,208,90,.42);
  border-radius: 20px; background: rgba(139,208,90,.1); color: #8bd05a;
  font-size: 32px; box-shadow: 0 0 28px rgba(139,208,90,.1);
}
.whatsapp-invite-eyebrow {
  margin: 0 0 12px; color: #8bd05a; font-size: 10px;
  font-weight: 800; letter-spacing: .22em;
}
.whatsapp-invite-modal h2 {
  margin: 0 auto 14px; max-width: 360px; color: #f4fbf8;
  font-size: clamp(28px, 5vw, 38px); line-height: 1.08; letter-spacing: -.045em;
}
.whatsapp-invite-modal h2 span { color: #8bd05a; }
.whatsapp-invite-modal > p:not(.whatsapp-invite-eyebrow) {
  margin: 0 auto 24px; max-width: 350px; color: #a9c0c5;
  font-size: 14px; line-height: 1.7;
}
.whatsapp-invite-join {
  width: 100%; min-height: 50px; gap: 10px;
}
.whatsapp-invite-later {
  display: block; margin: 15px auto 0; padding: 8px 14px;
  border: 0; background: transparent; color: #91aab0;
  font: inherit; font-size: 13px; cursor: pointer;
}
.whatsapp-invite-later:hover { color: #fff; }
@media (max-width: 600px) {
  .whatsapp-invite-popup { padding: 16px; }
  .whatsapp-invite-modal { padding: 34px 22px 24px; border-radius: 22px; }
  .whatsapp-invite-modal h2 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-invite-popup, .whatsapp-invite-modal { transition: none; }
}


/* =========================================================
   CONSISTENT HORIZONTAL DNAWELLCODE LOGO
   Header, founder-card fronts/backs, and footer use one asset.
   ========================================================= */
.logo {
  display: flex;
  align-items: flex-start;
  padding: 26px 30px 0;
  min-height: 82px;
}

.founder-logo {
  display: block;
  width: min(100%, 250px);
  height: 58px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(139, 208, 90, 0.12));
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-logo {
  width: 190px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 600px) {
  .logo {
    padding: 22px 22px 0;
    min-height: 70px;
  }

  .founder-logo {
    width: min(100%, 205px);
    height: 48px;
  }

  footer {
    gap: 16px;
    flex-wrap: wrap;
  }

  .footer-logo {
    width: 155px;
    height: 40px;
  }
}


/* Fix testimonial thumbnail cropping on mobile */
@media (max-width: 600px) {
  .testimonial-thumbnail {
    background-position: center top;
  }

  .testimonial-thumbnail img {
    object-fit: contain;
    object-position: center top;
  }
}


/* MOBILE FIX: give Sneha's portrait extra breathing room above the head.
   This thumbnail is a CSS background image, not an <img>, so background
   sizing/positioning is what controls its crop. */
@media (max-width: 600px) {
  .testimonial-card-front .testimonial-thumbnail.testimonial-thumb-sneha,
  .testimonial-card-front .testimonial-thumbnail.testimonial-thumb-testi2 {
    background-size: 94% auto !important;
    background-position: center 4px !important;
    background-repeat: no-repeat !important;
    background-color: #031c27 !important;
  }
}

/* =========================================================
   FOOTER — BRAND SOCIAL LINKS + COPYRIGHT
   ========================================================= */
.site-footer {
  display: block;
  padding: 30px clamp(20px, 7vw, 100px) 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(2,20,29,.72);
}

.site-footer .footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
}

.site-footer .footer-tagline {
  margin: 0;
  color: #91aab0;
  font-size: 12px;
  text-align: center;
}

.site-footer .footer-domain {
  color: #91aab0;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
}

.site-footer .footer-domain:hover {
  color: #8bd05a;
}

.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.site-footer .footer-socials {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.site-footer .footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dce9e8;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: color .2s ease, transform .2s ease;
}

.site-footer .footer-social-link:hover {
  color: #a5df73;
  transform: translateY(-2px);
}

.site-footer .footer-social-link .social-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  font-size: 16px;
}

.site-footer .footer-social-link .social-icon.instagram {
  color: #ff4f91;
}

.site-footer .footer-social-link .social-icon.whatsapp {
  color: #45d879;
}

.site-footer .footer-copyright {
  margin: 0;
  color: #71888d;
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

@media (max-width: 700px) {
  .site-footer {
    padding: 26px 20px 20px;
  }

  .site-footer .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-footer .footer-tagline {
    text-align: left;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .site-footer .footer-socials {
    gap: 16px;
  }

  .site-footer .footer-copyright {
    text-align: left;
  }
}
