* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* saat keluar */
body.fade-out {
  opacity: 0;
  transform: translateX(-30px);
}

/* saat masuk */
body.fade-in {
  opacity: 0;
  transform: translateX(30px);
}

/* SLIDE */
.slide {
  width: 100%;
  height: 100vh;
  display: flex;
}

/* LEFT */
.left {
  width: 50%;
  background: #ffffff;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title {
  font-size: 42px;
  font-weight: 700;
  color: #0f172a;
}

.title span {
  background: linear-gradient(90deg, #2563eb, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 16px;
  color: #475569;
  margin: 15px 0;
}

.tagline {
  font-size: 18px;
  font-weight: 500;
  background: linear-gradient(90deg, #2563eb, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 30px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 20px;
  border-radius: 16px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(37,99,235,0.15);
}

.card h3 {
  font-size: 16px;
  color: #0f172a;
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  color: #64748b;
}

/* FOOTER */
.footer {
  margin-top: 25px;
  font-size: 14px;
  color: #475569;
}

/* RIGHT */
.right {
  width: 50%;
  background: linear-gradient(135deg, #2563eb, #38bdf8, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 300px;
}

.right img {
  width: 350px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* NEXT BUTTON */
.next-btn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.next-btn:hover {
  transform: scale(1.1);
}

.next-btn span {
  color: white;
  font-size: 24px;
}

/* LABEL */
.label {
  font-size: 14px;
  font-weight: 500;
  color: #22c55e;
  margin-bottom: 10px;
}

/* PROBLEM CARD */
.card.problem {
  border-left: 4px solid #ef4444;
  background: #fff;
}

.card.problem:hover {
  box-shadow: 0 10px 25px rgba(239,68,68,0.15);
}

/* RIGHT DARK VARIANT */
.right.dark {
  background: linear-gradient(135deg, #0f172a, #1e293b);
}

/* NAV BUTTON (PREV + NEXT) */
.nav-btn {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 15px;
}

.nav-btn a {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  color: white;
  background: linear-gradient(135deg, #2563eb, #22c55e);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.nav-btn a:hover {
  transform: scale(1.1);
}

/* SOLUTION CARD */
.card.solution {
  border-left: 4px solid #22c55e;
  background: #f8fafc;
}

.card.solution:hover {
  box-shadow: 0 10px 25px rgba(34,197,94,0.2);
}

/* REVENUE CARD */
.card.revenue {
  border-left: 4px solid #2563eb;
  background: #f8fafc;
}

.card.revenue:hover {
  box-shadow: 0 10px 25px rgba(37,99,235,0.2);
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media (max-width: 1024px) {
  .left {
    padding: 40px;
  }

  .title {
    font-size: 32px;
  }

  .right img {
    width: 280px;
  }
}

@media (max-width: 768px) {

  /* STACK LAYOUT */
  .slide {
    flex-direction: column;
    height: auto;
  }

  .left, .right {
    width: 100%;
    height: auto;
  }

  /* LEFT CONTENT */
  .left {
    padding: 30px 20px;
  }

  .title {
    font-size: 26px;
  }

  .subtitle {
    font-size: 14px;
  }

  .tagline {
    font-size: 15px;
  }

  /* GRID → 1 COLUMN */
  .grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .card {
    padding: 16px;
  }

  .card h3 {
    font-size: 14px;
  }

  .card p {
    font-size: 12px;
  }

  /* RIGHT SECTION */
  .right {
    width: 100%;
    height: auto;
    padding: 30px 20px;
  }

  .right img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  }

  /* NAV BUTTON */
  .nav-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    gap: 10px;
  }

  .nav-btn a {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  /* NEXT BUTTON (SLIDE 1) */
  .next-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px) {

  .title {
    font-size: 22px;
  }

  .subtitle {
    font-size: 13px;
  }

  .footer {
    font-size: 12px;
  }

  .right img {
    width: 180px;
  }
}

.slide {
  min-height: 100vh;
  height: auto;
}

/* MARKET CARD */
.card.market {
  border-left: 4px solid #22c55e;
  background: #f8fafc;
}

.card.market:hover {
  box-shadow: 0 10px 25px rgba(34,197,94,0.2);
}

/* TRACTION CARD */
.card.traction {
  border-left: 4px solid #f59e0b;
  background: #f8fafc;
}

.card.traction:hover {
  box-shadow: 0 10px 25px rgba(245,158,11,0.25);
}

/* GROWTH CARD */
.card.growth {
  border-left: 4px solid #8b5cf6;
  background: #f8fafc;
}

.card.growth:hover {
  box-shadow: 0 10px 25px rgba(139,92,246,0.25);
}

/* ROADMAP CARD */
.card.roadmap {
  border-left: 4px solid #06b6d4;
  background: #f8fafc;
}

.card.roadmap:hover {
  box-shadow: 0 10px 25px rgba(6,182,212,0.25);
}

/* CLOSING SLIDE */
.closing-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #2563eb, #38bdf8, #22c55e);
  color: white;
  flex-direction: column;
}

.closing-content {
  max-width: 700px;
  padding: 20px;
}

.closing-slide .title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.closing-slide .title span {
  color: #fde047;
  -webkit-text-fill-color: unset;
  background: none;
}

.closing-slide .subtitle {
  font-size: 18px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.9);
}

.closing-slide .tagline {
  font-size: 20px;
  margin-bottom: 30px;
  color: #fde047;
}

.cta {
  font-size: 22px;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 30px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  display: inline-block;
}

/* MOBILE */
@media (max-width: 768px) {
  .closing-slide .title {
    font-size: 26px;
  }

  .closing-slide .subtitle {
    font-size: 14px;
  }

  .closing-slide .tagline {
    font-size: 16px;
  }

  .cta {
    font-size: 16px;
    padding: 10px 20px;
  }
}

