/* Custom styles for reevent landing page */

body { font-family: 'Inter', sans-serif; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; }

:root {
  --blue: #0059FF;
  --pink: #FF2D6B;
  --yellow: #FFE033;
  --green: #1A3D2B;
  --mint: #D4F0E0;
  --purple: #6B2A8E;
  --footer: #1C1010;
  --white: #FFFFFF;
  --ink: #14142B;
  --muted: #5C5C72;
}

html {
  scroll-behavior: smooth;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAV ---------- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ECECF2;
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.logo span {
  color: var(--blue);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--purple);
  color: #fff;
  padding: 13px 24px;
  font-size: 15px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(107, 42, 142, .35);
}
.btn-lg {
  padding: 18px 34px;
  font-size: 18px;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 11px 22px;
  font-size: 15px;
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}
@media(max-width: 760px) {
  .nav-links a:not(.btn) {
    display: none;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  padding: 96px 0 110px;
}

.hero .blob {
  position: absolute;
  border-radius: 32px;
  opacity: .95;
  z-index: 1;
}
.blob1 {
  width: 340px;
  height: 340px;
  background: var(--pink);
  right: -80px;
  top: -60px;
  transform: rotate(15deg);
}
.blob2 {
  width: 220px;
  height: 220px;
  background: var(--yellow);
  right: 180px;
  bottom: -70px;
  opacity: .9;
  transform: rotate(-12deg);
}
.blob3 {
  width: 150px;
  height: 150px;
  background: var(--mint);
  left: -50px;
  bottom: 40px;
  opacity: .85;
  transform: rotate(8deg);
}

.hero .wrap {
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .3);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  max-width: 14ch;
}
.hero .sub {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 400;
  max-width: 54ch;
  margin: 28px 0 38px;
  color: rgba(255, 255, 255, .92);
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.hero .btn-primary {
  background: #fff;
  color: var(--blue);
}
.hero .btn-primary:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
}
.hero .btn-ghost {
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
}
.hero .btn-ghost:hover {
  background: #fff;
  color: var(--blue);
}
.hero-note {
  margin-top: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
}

/* Fade-up reveal animations */
.fade {
  opacity: 0;
  transform: translateY(24px);
  animation: fade .7s ease forwards;
}
@keyframes fade {
  to {
    opacity: 1;
    transform: none;
  }
}
.d1 { animation-delay: .05s; }
.d2 { animation-delay: .18s; }
.d3 { animation-delay: .32s; }
.d4 { animation-delay: .46s; }

/* ---------- PROBLEM ---------- */
.problem {
  background: var(--white);
  padding: 96px 0;
}
.section-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 18px;
}
.problem h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  max-width: 18ch;
}
.problem .lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 60ch;
  margin-top: 24px;
  line-height: 1.55;
}
.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.pcard {
  background: #F7F8FC;
  border: 1px solid #E8E9F2;
  border-radius: 14px;
  padding: 32px 28px;
}
.pcard .ico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #E8E9F2;
  margin-bottom: 20px;
}
.pcard h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.pcard p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.55;
}
@media(max-width: 760px) {
  .pgrid {
    grid-template-columns: 1fr;
  }
}

/* ---------- SOLUTION ---------- */
.solution {
  background: var(--ink);
  color: #fff;
  padding: 96px 0;
}
.solution .section-tag {
  color: var(--yellow);
}
.solution h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  max-width: 20ch;
  margin-bottom: 50px;
}
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab {
  padding: 12px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
  color: rgba(255, 255, 255, .7);
  transition: all .2s;
}
.tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.tab:hover:not(.active) {
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}
.panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.panel.active {
  display: grid;
  animation: fade .5s ease;
}
.panel .step-no {
  font-size: 14px;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.panel h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.panel p {
  font-size: 17px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
}
.mock {
  background: linear-gradient(160deg, #222244, #15152e);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.mock::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(60px);
  opacity: .5;
}
.mock span {
  position: relative;
  font-weight: 700;
  color: rgba(255, 255, 255, .45);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
@media(max-width: 760px) {
  .panel.active {
    grid-template-columns: 1fr;
  }
  .mock {
    height: 200px;
  }
}

/* ---------- RISK REVERSAL ---------- */
.risk {
  background: var(--mint);
  padding: 96px 0;
}
.risk .section-tag {
  color: var(--green);
}
.risk h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  max-width: 16ch;
  color: var(--green);
}
.rgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 54px;
}
.rcard {
  background: #fff;
  border-radius: 16px;
  padding: 34px 30px;
  box-shadow: 0 4px 20px rgba(26, 61, 43, .07);
}
.rcard .num {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 20px;
}
.rcard h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--green);
}
.rcard p {
  font-size: 15.5px;
  color: #3a5a48;
  line-height: 1.6;
}
@media(max-width: 760px) {
  .rgrid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FINAL CTA ---------- */
.final {
  background: var(--blue);
  color: #fff;
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final .blob {
  position: absolute;
  border-radius: 32px;
  z-index: 1;
}
.fblob1 {
  width: 280px;
  height: 280px;
  background: var(--pink);
  left: -90px;
  top: -70px;
  opacity: .85;
  transform: rotate(-15deg);
}
.fblob2 {
  width: 200px;
  height: 200px;
  background: var(--yellow);
  right: -50px;
  bottom: -60px;
  opacity: .85;
  transform: rotate(10deg);
}

.final .wrap {
  position: relative;
  z-index: 2;
}
.final h2 {
  font-size: clamp(32px, 5vw, 58px);
  max-width: 18ch;
  margin: 0 auto 22px;
}
.final p {
  font-size: 19px;
  max-width: 50ch;
  margin: 0 auto 38px;
  color: rgba(255, 255, 255, .9);
}
.final .btn-primary {
  background: #fff;
  color: var(--blue);
}
.final .btn-primary:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--footer);
  color: rgba(255, 255, 255, .6);
  padding: 54px 0 40px;
}
.foot-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.foot-in .logo {
  color: #fff;
}
.foot-in .logo span {
  color: var(--blue);
}
footer .tag {
  font-size: 14px;
  max-width: 32ch;
  line-height: 1.5;
}

.reevent-ribbon {
  position: absolute;
  left: -50px;
  top: 0;
  width: 120px;
  height: 100%;
  background-color: #EF4444;
  transform: skewX(-5deg);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
}

.ribbon-text {
  writing-mode: vertical-rl;
  text-transform: lowercase;
  font-weight: bold;
  font-size: 2rem;
  color: white;
  white-space: nowrap;
  padding: 20px 0;
}

.reevent-circle {
  position: absolute;
  left: -80px;
  top: 300px;
  width: 200px;
  height: 200px;
  border: 35px solid #EF4444;
  border-radius: 50%;
  z-index: 20;
}

.text-balance {
  text-wrap: balance;
}
