    :root {
      --bg1: #fff7da;
      --bg2: #ffe5f5;
      --bg3: #e5fff6;
      --card: #ffffff;
      --primary: #ff8ac7;  /* pink */
      --primary-soft: #ffd0ea;
      --accent: #ffd45b;   /* yellow */
      --mint: #9af1d4;
      --text: #4b2147;
      --text-soft: #885976;
      --radius-lg: 28px;
      --radius-md: 20px;
      --shadow-soft: 0 14px 35px rgba(255, 144, 200, 0.35);
    }

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

    body {
      font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      background: radial-gradient(circle at top left, var(--bg2) 0, var(--bg1) 40%, var(--bg3) 90%);
      color: var(--text);
      line-height: 1.7;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    /* ========== NAVBAR ========== */
    header {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(14px);
      background: rgba(255, 246, 250, 0.85);
      border-bottom: 1px solid rgba(255, 138, 199, 0.25);
    }

    .nav {
      max-width: 1120px;
      margin: 0 auto;
      padding: 12px 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      font-family: "Baloo 2", cursive;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 700;
      font-size: 1.60rem;
    }
    
    .logo-img {
      width: 54px;
      height: 54px;
      border-radius: 50%;
      object-fit: cover;
      box-shadow: 0 6px 16px rgba(255, 138, 199, 0.6);
    }
    
    .logo-badge {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: conic-gradient(from 220deg, #ffafdf, #ffd45b, #9af1d4, #ffafdf);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 700;
      font-size: 1.1rem;
      box-shadow: var(--shadow-soft);
    }

    .nav-links {
      display: flex;
      gap: 18px;
      font-size: 0.9rem;
      font-weight: 600;
    }

    .nav-links a {
      position: relative;
      padding-bottom: 2px;
    }

    .nav-links a::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 0;
      height: 3px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--primary), var(--accent));
      transition: width 0.2s ease;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    .nav-cta {
      border: none;
      cursor: pointer;
      font-weight: 700;
      font-size: 0.9rem;
      padding: 8px 16px;
      border-radius: 999px;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #fff;
      box-shadow: var(--shadow-soft);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .nav-cta:hover {
      transform: translateY(-1px);
    }

    /* ========== LAYOUT ========== */
    main {
      max-width: 1120px;
      margin: 0 auto;
      padding: 28px 18px 70px;
    }

    section {
      margin-bottom: 70px;
      position: relative;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 4px;
    }

    .section-subtitle {
      font-size: 0.95rem;
      color: var(--text-soft);
      margin-bottom: 20px;
    }

    .card {
      background: var(--card);
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-soft);
      padding: 20px 22px;
      position: relative;
    }

    /* Floating emoji stickers in sections */
    section::before {
      content: "✨";
      position: absolute;
      font-size: 28px;
      opacity: 0.8;
      top: -16px;
      right: 8%;
      animation: float 4s ease-in-out infinite;
    }

    section::after {
      content: "💖";
      position: absolute;
      font-size: 26px;
      opacity: 0.7;
      bottom: -14px;
      left: 4%;
      animation: float 5s ease-in-out infinite;
    }

    /* ========== HERO ========== */
    .hero {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
      gap: 32px;
      align-items: center;
    }

    .hero-chip-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 10px;
      font-size: 0.8rem;
    }

    .chip {
      background: rgba(255, 255, 255, 0.8);
      border-radius: 999px;
      padding: 4px 11px;
      box-shadow: 0 4px 12px rgba(255, 155, 208, 0.35);
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .chip span {
      font-size: 1rem;
    }

    .hero-title {
      font-size: clamp(2.4rem, 4vw, 2.9rem);
      line-height: 1.05;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .hero-highlight {
      background: linear-gradient(120deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      color: transparent;
    }

    .hero-text {
      font-size: 0.97rem;
      color: var(--text-soft);
      max-width: 480px;
      margin-bottom: 14px;
    }

    .hero-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 8px;
      margin-bottom: 4px;
    }

    .btn {
      border: none;
      cursor: pointer;
      border-radius: 999px;
      padding: 10px 18px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 600;
      font-size: 0.9rem;
      font-family: "Baloo 2", cursive;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--primary), var(--accent));
      color: #fff;
      box-shadow: var(--shadow-soft);
    }

    .btn-outline {
      background: rgba(255, 255, 255, 0.9);
      border: 2px dashed var(--primary);
      color: var(--text);
    }

    .btn:hover {
      transform: translateY(-1px) scale(1.01);
      box-shadow: 0 12px 26px rgba(255, 145, 205, 0.4);
    }

    .hero-note {
      font-size: 0.75rem;
      color: var(--text-soft);
      margin-top: 6px;
    }

    .hero-image-wrapper {
      position: relative;
      max-width: 380px;
      margin-left: auto;
    }

    .hero-bubble {
      position: absolute;
      width: 110%;
      height: 110%;
      background: radial-gradient(circle at top, #ffe9f7 0, #fffef7 45%, #ffe8ff 100%);
      border-radius: 50%;
      top: -8%;
      left: -5%;
      z-index: -1;
      box-shadow: var(--shadow-soft);
    }

    .ciwi-hero {
      animation: wiggle 2.4s ease-in-out infinite;
      transform-origin: bottom center;
    }

    .hero-sparkle-left,
    .hero-sparkle-right {
      position: absolute;
      font-size: 30px;
      animation: float 4s ease-in-out infinite;
    }

    .hero-sparkle-left {
      left: -18px;
      top: 18px;
    }

    .hero-sparkle-right {
      right: -18px;
      bottom: 24px;
    }

    .hero-card {
      position: absolute;
      right: -10px;
      bottom: -12px;
      background: #fffdfb;
      border-radius: var(--radius-md);
      padding: 10px 12px;
      font-size: 0.8rem;
      box-shadow: var(--shadow-soft);
    }

    .hero-card-title {
      font-weight: 700;
      margin-bottom: 4px;
      font-size: 0.85rem;
    }

    .hero-card-row {
      display: flex;
      justify-content: space-between;
      color: var(--text-soft);
    }

    /* ========== GRID & TABLES ========== */
    .grid-2 {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;
    }

    .token-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
    }

    .token-table th,
    .token-table td {
      padding: 8px 8px;
      border-bottom: 1px solid rgba(230, 180, 220, 0.6);
      text-align: left;
    }

    .token-table th {
      color: var(--text);
      white-space: nowrap;
    }

    .pill {
      display: inline-flex;
      padding: 3px 10px;
      border-radius: 999px;
      background: var(--primary-soft);
      font-size: 0.8rem;
      color: var(--text);
    }

    ul {
      list-style: none;
      font-size: 0.9rem;
    }

    ul li {
      margin-bottom: 6px;
      color: var(--text-soft);
      position: relative;
      padding-left: 18px;
    }

    ul li::before {
      content: "★";
      position: absolute;
      left: 0;
      top: 0;
      font-size: 0.7rem;
      color: var(--primary);
    }

/* ================================
   CIWI ROADMAP - FULL CSS
   ================================ */

/* Roadmap container */
.roadmap-flow {
  position: relative;
  margin: 40px auto;
  padding: 0px 0;
}

/* Curved pastel path */
.roadmap-curve {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Zig-zag item */
.roadmap-step {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 60px 0;
}

/* left or right alignment */
.roadmap-left {
  justify-content: flex-start;
}

.roadmap-right {
  justify-content: flex-end;
}

.done {
  text-decoration: line-through;
  opacity: 0.6;
}

/* Phase Box */
.phase-box {
  width: 140px;
  min-height: 60px;
  background: linear-gradient(180deg, #ffb3e6 0%, #ffcfae 50%, #ffe780 100%);
  border-radius: 26px;
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-shadow: 0 8px 18px rgba(255, 180, 220, 0.35);
}

.phase-box-title {
  font-size: 1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.25);
}

/* Stickers (sprite) */
.ciwi-sticker {
  width: 100px;
  height: 120px;
  background-image: url('https://ciwi.family/assets/images/done_soon.png');
  background-size: 200% auto;
  border-radius: 22px;
  background-color: #fff;
  box-shadow: 0 8px 18px rgba(255, 150, 200, 0.45);
}

.ciwi-done {
  background-position: left center;
}

.ciwi-soon {
  background-position: right center;
}

/* White background content */
.roadmap-content {
  width: 55%;
  background: #ffffff;
  padding: 20px 26px;
  border-radius: 22px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.roadmap-content strong {
  font-size: 1.2rem;
  font-weight: 800;
}

.roadmap-content ul {
  margin-top: 10px;
}

.roadmap-content ul li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: var(--text-soft);
}

    /* ========== BUY STEPS ========== */
    .steps {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }

    .step-number {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 700;
      font-size: 0.8rem;
      margin-bottom: 6px;
    }

    /* ========== FAQ & COMMUNITY ========== */
    .faq {
      display: grid;
      gap: 12px;
      font-size: 0.9rem;
    }

    .faq-q {
      font-weight: 700;
      margin-bottom: 4px;
    }

    .faq-q::before {
      content: "Q: ";
      color: var(--primary);
    }

    .faq-a {
      color: var(--text-soft);
    }

    .faq-a::before {
      content: "A: ";
      color: #30b46a;
    }

    .community-links {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .community-pill {
      border-radius: 999px;
      background: #ffffff;
      padding: 8px 14px;
      font-size: 0.9rem;
      box-shadow: var(--shadow-soft);
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    footer {
      text-align: center;
      font-size: 0.8rem;
      color: var(--text-soft);
      padding: 20px 16px 30px;
    }

    /* ========== ANIMATIONS ========== */
    @keyframes float {
      0%   { transform: translateY(0px); }
      50%  { transform: translateY(-10px); }
      100% { transform: translateY(0px); }
    }

    @keyframes wiggle {
      0%, 100% { transform: rotate(0deg); }
      20%      { transform: rotate(1.5deg); }
      60%      { transform: rotate(-1.5deg); }
    }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 900px) {
      .hero {
        grid-template-columns: minmax(0, 1fr);
      }
      .hero-image-wrapper {
        margin: 0 auto;
      }
      .grid-2 {
        grid-template-columns: minmax(0, 1fr);
      }
      .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .nav {
        flex-wrap: wrap;
        justify-content: center;
      }
      .nav-links {
        display: none;
      }
      main {
        padding-top: 22px;
      }
      section::before,
      section::after {
        opacity: 0.4;
      }
      .steps {
        grid-template-columns: minmax(0, 1fr);
      }
    }
    
    /* ================================
   MOBILE: PHASE BOX & CONTENT SIDE-BY-SIDE
   ================================ */
@media (max-width: 768px) {

  /* Hilangkan curve path */
  .roadmap-curve {
    display: none;
  }

  /* Step menjadi horizontal, bukan vertical */
  .roadmap-step {
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 14px;
    margin: 30px 0;
  }

  /* Phase box lebih kecil dan rapat */
  .phase-box {
    width: 95px;
    min-height: 90px;
    padding: 12px 8px;
    border-radius: 18px;
  }

  .phase-box-title {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .ciwi-sticker {
    width: 70px;
    height: 85px;
    border-radius: 14px;
  }

  /* Content card tetap rapi di kanan */
  .roadmap-content {
    width: calc(100% - 110px); /* sisanya dari phase box */
    padding: 14px 16px;
    border-radius: 18px;
  }

  .roadmap-content strong {
    font-size: 1rem;
  }

  .roadmap-content ul li {
    font-size: 0.88rem;
    margin-bottom: 4px;
  }

  /* Hilangkan zig-zag behavior */
  .roadmap-left,
  .roadmap-right {
    justify-content: flex-start !important;
  }
}




/* Default: hanya desktop button tampil */
.nav-desktop { display: inline-block; }
.nav-mobile { display: none; }

/* Jika layar kecil (HP), tampilkan versi mobile */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: inline-block; }
}

#ciwiModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
  padding: 20px; /* Supaya bisa scroll */
  overflow-y: auto; /* SCROLL DI SINI */
}

.ciwi-popup {
  width: 95%;
  max-width: 480px;
  background: #ffdfea;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 18px 40px rgba(0,0,0,0.25);
  animation: fadeUp .25s ease-out;
  position: relative;
}

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

.ciwi-close {
  position:absolute;
  top:10px;
  right:15px;
  font-size:26px;
  color:#ff4f8c;
  cursor:pointer;
  z-index:10;
}

#ciwiFrame {
  width: 100%;
  height: 720px; /* LEBIH TINGGI SUPAYA BISA SCROLL */
  border: none;
}



/* POPUP CONTRACT ADDRESS */

.contract-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: linear-gradient(135deg, var(--primary), var(--card));
  padding: 24px;
  border-radius: 12px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.contract-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
      background: rgba(255, 255, 255, 0.9);
      border: 2px dashed var(--primary);
      color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  margin: 18px 0;
  font-family: monospace;
  font-size: 0.9rem;
}

.contract-box span {
  display: block;
  white-space: nowrap;
  overflow-x: auto;
  word-break: break-all;
  max-width: 100%;
}

.copy-btn {
  background: #cc6316;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  color: #000;
  cursor: pointer;
  font-weight: bold;
}

.copy-btn:hover {
  background: #27ae60;
}

.close-btn {
  margin-top: 12px;
  padding: 8px 18px;
  border: none;
  border-radius: 6px;
  background: #444;
  color: #fff;
  cursor: pointer;
}

.close-btn:hover {
  background: #555;
}
