/* ============================================================
   REINO EDUCATION — v2 DUO STYLES
   Append-only stylesheet for the new landing + auth pages.
   Builds on top of assets/style.css (reuses CSS variables).
   ============================================================ */

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ===== HERO ===== */
.duo-hero { min-height: calc(100vh - 80px); padding: 60px 0 60px; position: relative; overflow: hidden; display: flex; align-items: center; }
.duo-hero .wrap { width: 100%; }
.duo-hero::before { content:''; position:absolute; width:600px; height:600px; border-radius:50%; background: var(--yellow-soft); top: -250px; right: -200px; z-index:0; }
.duo-hero::after  { content:''; position:absolute; width:400px; height:400px; border-radius:50%; background: var(--green-soft); bottom: -200px; left: -150px; z-index:0; }
.duo-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.duo-hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--green-soft); color: var(--green-deep); border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 22px; border: 2px solid var(--green); }
.duo-hero-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: -2px; margin: 0 0 22px; color: var(--ink); }
.duo-hero-title .accent-pink { color: var(--pink); }
.duo-hero-title .accent-stamp { background: var(--yellow); color: var(--ink); padding: 0 14px; border-radius: 16px; display: inline-block; transform: rotate(-2deg); box-shadow: 0 5px 0 var(--yellow-deep); }
.duo-hero-sub { font-size: 19px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 32px; max-width: 520px; font-weight: 700; }
.duo-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.duo-hero-foot { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.avatar-stack { display: flex; }
.avatar-stack .av { width: 38px; height: 38px; border-radius: 50%; background: var(--green); border: 3px solid #fff; color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-left: -10px; }
.avatar-stack .av:first-child { margin-left: 0; background: var(--pink); }
.avatar-stack .av:nth-child(2) { background: var(--yellow); color: var(--ink); }
.avatar-stack .av:nth-child(3) { background: var(--blue); }
.avatar-stack .av:nth-child(4) { background: var(--purple); }
.duo-hero-foot-text { font-weight: 700; font-size: 14px; color: var(--ink-soft); }
.duo-hero-foot-text strong { color: var(--ink); }

.duo-hero-stage { position: relative; height: 480px; display: grid; place-items: center; }
.duo-hero-stage-bg { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--pink-soft); z-index: 0; }
.duo-hero-stage-bg::before { content:''; position:absolute; width: 60px; height: 60px; background: var(--yellow); top: 30px; right: 0; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 4px 0 var(--yellow-deep); }
.duo-hero-stage-bg::after { content:''; position:absolute; width: 40px; height: 40px; background: var(--green); bottom: 60px; left: -10px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 3px 0 var(--green-deep); }

.duo-speech { position: absolute; top: 30px; left: 0; background: #fff; border: 3px solid var(--ink); border-radius: 22px; padding: 14px 18px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--ink); box-shadow: 0 5px 0 var(--ink); z-index: 3; max-width: 220px; line-height: 1.3; }
.duo-speech::after { content:''; position: absolute; bottom: -14px; right: 30px; width: 24px; height: 24px; background: #fff; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(45deg); }
.duo-speech-tag { display: inline-block; background: var(--yellow); color: var(--ink); padding: 2px 8px; border-radius: 6px; font-size: 12px; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

.duo-float-sticker { position: absolute; width: 72px; height: 72px; border-radius: 22px; background: #fff; border: 3px solid var(--ink); display: grid; place-items: center; box-shadow: 0 5px 0 var(--ink); z-index: 2; animation: stickerFloat 4s ease-in-out infinite; }
.duo-float-sticker.s1 { top: 50px; right: 20px; color: var(--pink); }
.duo-float-sticker.s2 { bottom: 100px; left: 10px; color: var(--green-deep); animation-delay: -1.5s; }
.duo-float-sticker.s3 { bottom: 20px; right: 60px; color: var(--blue); animation-delay: -3s; }
@keyframes stickerFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }

/* ===== NAV MENU CENTER ===== */
.navbar .nav-inner { position: relative; }
.nav-menu.nav-menu-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); margin-left: 0; }
@media (max-width: 900px) { .nav-menu.nav-menu-center { position: static; transform: none; } }

/* ===== TRUST BAND ===== */
.duo-trust-band { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 3px solid var(--ink); border-radius: 24px; padding: 28px 0; box-shadow: 0 6px 0 var(--ink); margin: -20px auto 40px; position: relative; z-index: 2; }
.trust-cell { text-align: center; border-right: 3px dashed var(--line); padding: 0 20px; }
.trust-cell:last-child { border-right: 0; }
.trust-num { font-family: var(--font-display); font-weight: 800; font-size: 38px; color: var(--pink); line-height: 1; }
.trust-cell:nth-child(2) .trust-num { color: var(--yellow-deep); }
.trust-cell:nth-child(3) .trust-num { color: var(--green-deep); }
.trust-cell:nth-child(4) .trust-num { color: var(--blue-deep); }
.trust-lbl { font-weight: 700; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.6px; margin-top: 6px; }

/* ===== SECTION HEADS ===== */
.duo-section { padding: 70px 0; position: relative; }
.duo-section-tinted { background: var(--bg); border-top: 3px solid var(--line); border-bottom: 3px solid var(--line); }
.duo-section-head { text-align: center; margin-bottom: 48px; }
.duo-section-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: var(--blue-soft); color: var(--blue-deep); border-radius: 999px; font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; border: 2px solid var(--blue); }
.duo-section-eyebrow.pink   { background: var(--pink-soft);   color: var(--pink-deep);   border-color: var(--pink); }
.duo-section-eyebrow.mint   { background: var(--green-soft);  color: var(--green-deep);  border-color: var(--green); }
.duo-section-eyebrow.yellow { background: var(--yellow-soft); color: var(--yellow-deep); border-color: var(--yellow); }
.duo-section-eyebrow.purple { background: var(--purple-soft); color: var(--purple-deep); border-color: var(--purple); }
.duo-section-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.15; letter-spacing: -1.5px; margin: 0; color: var(--ink); }
.duo-section-title .stamp { background: var(--pink); color: #fff; padding: 0 12px; border-radius: 14px; display: inline-block; transform: rotate(-2deg); box-shadow: 0 5px 0 var(--pink-shadow); }
.duo-section-title .stamp.yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 var(--yellow-deep); }
.duo-section-title .stamp.mint { background: var(--green); box-shadow: 0 5px 0 var(--green-deep); }
.duo-section-title .stamp.blue { background: var(--blue); box-shadow: 0 5px 0 var(--blue-shadow); }
.duo-section-sub { color: var(--muted); font-size: 17px; line-height: 1.55; margin: 14px auto 0; max-width: 580px; font-weight: 600; }

/* ===== PILLARS ===== */
.duo-pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.duo-pillar { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: 26px; padding: 32px 28px 28px; box-shadow: 0 6px 0 var(--ink); transition: transform .2s; }
.duo-pillar:hover { transform: translateY(-4px); }
.pillar-num { position: absolute; top: -18px; left: 28px; width: 44px; height: 44px; border-radius: 14px; background: var(--pink); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 22px; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.pillar-art { height: 180px; border-radius: 20px; margin: 6px 0 22px; position: relative; overflow: hidden; display: grid; place-items: center; border: 3px solid var(--ink); }
.pillar-title { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--ink); margin: 0 0 8px; }
.pillar-desc { font-weight: 600; font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 16px; }
.pillar-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--bg); border: 2px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 11px; color: var(--ink); text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== TWO-CARD CATEGORIES ===== */
.twocat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.twocat { position: relative; border-radius: 30px; padding: 40px 36px 36px; color: #fff; border: 3px solid var(--ink); overflow: hidden; transition: transform .2s; display: flex; flex-direction: column; gap: 18px; cursor: pointer; }
.twocat:hover { transform: translateY(-4px); }
.twocat.fizikal { background: linear-gradient(160deg, var(--pink) 0%, var(--pink-deep) 100%); box-shadow: 0 8px 0 var(--pink-shadow); }
.twocat.digital { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); box-shadow: 0 8px 0 var(--blue-shadow); }
.twocat::before { content:''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.18); top: -90px; right: -70px; }
.twocat > * { position: relative; z-index: 1; }
.twocat-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.twocat-icon { width: 80px; height: 80px; border-radius: 22px; background: rgba(255,255,255,0.25); border: 3px solid rgba(255,255,255,0.5); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.twocat-count { background: rgba(0,0,0,0.18); padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; }
.twocat-eyebrow { font-weight: 800; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; opacity: 0.9; }
.twocat-title { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1; color: #fff; margin: 4px 0 0; }
.twocat-desc { font-weight: 600; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.92); }
.twocat-feats { display: flex; flex-direction: column; gap: 10px; }
.twocat-feat { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; }
.twocat-feat-check { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,0.25); border: 2px solid rgba(255,255,255,0.5); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.twocat-cta { margin-top: auto; align-self: flex-start; }

/* ===== TYPE TABS ===== */
.type-tabs { display: inline-flex; background: #fff; border: 3px solid var(--line); border-radius: 18px; padding: 4px; gap: 4px; margin-bottom: 28px; box-shadow: 0 4px 0 var(--line); }
.type-tab { padding: 12px 22px; border-radius: 12px; font-family: var(--font-display); font-weight: 800; font-size: 13px; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; letter-spacing: 0.5px; cursor: pointer; background: transparent; border: 0; transition: background 0.15s, color 0.15s; }
.type-tab:hover { color: var(--ink); }
.type-tab.active { background: var(--ink); color: #fff; }

/* Subcategory chips — below type tabs */
.sub-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 32px;
    max-width: 920px;
    padding: 0 16px;
}
.sub-tab {
    appearance: none;
    background: #fff;
    border: 2px solid var(--line);
    color: var(--muted);
    padding: 8px 16px;
    border-radius: 999px;
    font-family: var(--font-head, system-ui), sans-serif;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.3px;
    transition: all 0.15s;
}
.sub-tab:hover {
    border-color: var(--pink);
    color: var(--pink);
}
.sub-tab.active {
    background: linear-gradient(135deg, var(--pink, #EC4899), #FF7A66);
    border-color: var(--pink-deep, #BE185D);
    color: #fff;
    box-shadow: 0 3px 0 var(--pink-deep, #BE185D);
}
.sub-tab.active svg { color: #fff; }

/* ===== PRODUCT TILES ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-tile { background: #fff; border: 3px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .15s, box-shadow .15s, border-color .15s; cursor: pointer; display: flex; flex-direction: column; color: var(--ink); }
.product-tile:hover { transform: translateY(-4px); box-shadow: 0 6px 0 var(--line); border-color: var(--pink); }
.product-tile-image { aspect-ratio: 1; display: grid; place-items: center; position: relative; overflow: hidden; }
.product-tile-illu { width: 100%; height: 100%; transition: transform .3s; }
.product-tile:hover .product-tile-illu { transform: scale(1.04); }
.product-tile-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge { padding: 3px 10px; border-radius: 10px; font-weight: 800; font-size: 10px; letter-spacing: 0.7px; text-transform: uppercase; border: 2px solid var(--ink); box-shadow: 0 2px 0 var(--ink); background: #fff; color: var(--ink); }
.type-chip { position: absolute; top: 12px; right: 12px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 10px; letter-spacing: 0.5px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 4px; z-index: 2; }
.product-tile-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-tile-age { font-weight: 800; font-size: 11px; color: var(--green-deep); text-transform: uppercase; letter-spacing: 0.6px; }
.product-tile-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); line-height: 1.2; margin: 0; min-height: 42px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-tile-rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 12px; color: var(--yellow-deep); }
.product-tile-rating svg { fill: var(--yellow); }
.product-tile-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 2px dashed var(--line); }
.price-now { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--pink); line-height: 1; }
.price-was { font-weight: 700; font-size: 11px; color: var(--muted); text-decoration: line-through; }

/* ===== SOCIAL RATINGS ===== */
.ratings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rating-card { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: 28px; padding: 28px; box-shadow: 0 8px 0 var(--ink); transition: transform 0.15s; overflow: hidden; color: var(--ink); display: block; }
.rating-card:hover { transform: translateY(-4px); }
.rating-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; position: relative; z-index: 1; }
.platform-icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); flex-shrink: 0; }
.platform-icon.shopee { background: #EE4D2D; }
.platform-icon.tiktok { background: #2D3047; }
.rating-platform-name { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink); line-height: 1; display: flex; align-items: center; gap: 6px; }
.verified-badge { color: var(--blue); display: inline-flex; }
.rating-shop-name { font-weight: 700; font-size: 14px; color: var(--muted); margin-top: 4px; }
.rating-preview { background: var(--bg); border: 2px solid var(--line); border-radius: 18px; padding: 18px; margin-bottom: 18px; }
.rating-stars-big { display: flex; gap: 4px; margin-bottom: 6px; color: var(--yellow-deep); }
.rating-stars-big svg { fill: var(--yellow); }
.rating-num { font-family: var(--font-display); font-weight: 800; font-size: 38px; color: var(--ink); line-height: 1; }
.rating-num small { font-family: var(--font-body); font-weight: 700; font-size: 16px; color: var(--muted); }
.rating-meta { font-weight: 700; font-size: 13px; color: var(--muted); margin-top: 4px; }
.rating-mini-row { display: flex; gap: 10px; margin: 14px 0; }
.rating-mini { flex: 1; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 10px 12px; text-align: center; }
.rating-mini-num { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--ink); line-height: 1; }
.rating-mini-lbl { font-weight: 700; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
.rating-cta { width: 100%; justify-content: center; }

/* ===== HOW STEPS ===== */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.how-card { background: #fff; border: 3px solid var(--line); border-radius: 22px; padding: 26px 22px; transition: transform .15s; }
.how-card:hover { transform: translateY(-4px); }
.how-num { display: inline-grid; place-items: center; width: 48px; height: 48px; background: var(--pink); color: #fff; border-radius: 14px; font-family: var(--font-display); font-weight: 800; font-size: 22px; box-shadow: 0 4px 0 var(--pink-shadow); margin-bottom: 16px; }
.how-card:nth-child(2) .how-num { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 var(--yellow-deep); }
.how-card:nth-child(3) .how-num { background: var(--green); box-shadow: 0 4px 0 var(--green-deep); }
.how-card:nth-child(4) .how-num { background: var(--blue); box-shadow: 0 4px 0 var(--blue-shadow); }
.how-card h5 { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin: 0 0 8px; color: var(--ink); }
.how-card p { font-weight: 600; font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ===== FAQ ===== */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 3px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .15s; }
.faq-item.open { border-color: var(--pink); }
.faq-q { padding: 18px 22px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; }
.faq-toggle { width: 30px; height: 30px; border-radius: 10px; background: var(--bg); color: var(--ink); display: grid; place-items: center; transition: background .15s, transform .15s; }
.faq-item.open .faq-toggle { background: var(--pink); color: #fff; transform: rotate(45deg); }
.faq-a { padding: 0 22px 22px; font-weight: 600; font-size: 15px; color: var(--ink-soft); line-height: 1.55; display: none; }
.faq-item.open .faq-a { display: block; }

/* ===== BIG CTA ===== */
.big-cta { background: var(--ink); border-radius: 36px; padding: 56px; color: #fff; text-align: center; position: relative; overflow: hidden; border: 3px solid var(--ink); }
.big-cta::before { content:''; position: absolute; width: 280px; height: 280px; background: var(--pink); border-radius: 50%; opacity: 0.3; top: -120px; left: -120px; filter: blur(40px); }
.big-cta::after  { content:''; position: absolute; width: 320px; height: 320px; background: var(--green); border-radius: 50%; opacity: 0.3; bottom: -160px; right: -120px; filter: blur(40px); }
.big-cta-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(255,255,255,0.12); color: var(--yellow); border-radius: 999px; font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; position: relative; z-index: 1; }
.big-cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -1.5px; margin: 0 0 18px; color: #fff; position: relative; z-index: 1; }
.big-cta p { font-weight: 600; font-size: 17px; color: rgba(255,255,255,0.78); line-height: 1.55; margin: 0 auto 30px; max-width: 580px; position: relative; z-index: 1; }
.big-cta-ctas { display: inline-flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; justify-content: center; }

/* ===== RIO MASCOT ANIMATIONS ===== */
.rio { overflow: visible; }
.rio-mascot { line-height: 0; }
.rio-body { animation: rio-float 3.6s ease-in-out infinite; }
@keyframes rio-float { 0%,100% { transform: translateY(0) rotate(-0.6deg); } 50% { transform: translateY(-10px) rotate(0.6deg); } }
.rio-shadow { animation: rio-shadow 3.6s ease-in-out infinite; }
@keyframes rio-shadow { 0%,100% { transform: scaleX(1); opacity: 0.18; } 50% { transform: scaleX(0.78); opacity: 0.1; } }
.rio-eye { animation: rio-blink 5.4s ease-in-out infinite; }
@keyframes rio-blink { 0%,92%,100% { transform: scaleY(1); } 94%,97% { transform: scaleY(0.08); } }
.rio-pupil { animation: rio-glance 7s ease-in-out infinite; }
@keyframes rio-glance { 0%,18%,100% { transform: translateX(0); } 25%,35% { transform: translateX(-2.5px); } 50%,60% { transform: translateX(2.5px); } 72%,80% { transform: translateX(0); } }
.rio-arm-right { animation: rio-wave 2.6s ease-in-out infinite; }
@keyframes rio-wave { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(12deg); } }
.rio-star { animation: rio-star-pulse 1.6s ease-in-out infinite; }
@keyframes rio-star-pulse { 0%,100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.15) rotate(10deg); } }
.rio-arm-left { animation: rio-arm-l 3.6s ease-in-out infinite; }
@keyframes rio-arm-l { 0%,100% { transform: rotate(3deg); } 50% { transform: rotate(-4deg); } }
.rio-ear-left  { animation: rio-ear-l 3.6s ease-in-out infinite; }
.rio-ear-right { animation: rio-ear-r 3.6s ease-in-out infinite; }
@keyframes rio-ear-l { 0%,100% { transform: rotate(-5deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-2px); } }
@keyframes rio-ear-r { 0%,100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-2px); } }
@media (prefers-reduced-motion: reduce) {
  .rio-body, .rio-shadow, .rio-eye, .rio-pupil, .rio-arm-left, .rio-arm-right, .rio-star, .rio-ear-left, .rio-ear-right { animation: none !important; }
  .duo-float-sticker { animation: none !important; }
}

/* ===== AUTH PAGE ===== */
.duo-auth-main { max-width: 1560px; margin: 0 auto; padding: 30px 28px 60px; }
.duo-auth-wrap { background: #fff; border: 3px solid var(--ink); border-radius: 40px; box-shadow: 0 10px 0 var(--ink); overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 680px; }
.duo-auth-left { background: linear-gradient(160deg, var(--pink-soft) 0%, var(--yellow-soft) 60%, var(--green-soft) 100%); padding: 60px 60px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; position: relative; overflow: hidden; }
.duo-auth-left .deco-shape { position: absolute; border-radius: 50%; z-index: 0; }
.duo-auth-left .deco-shape.d1 { width: 220px; height: 220px; background: rgba(255,255,255,0.4); top: -80px; right: -60px; }
.duo-auth-left .deco-shape.d2 { width: 140px; height: 140px; background: var(--yellow); opacity: 0.5; bottom: 80px; right: -40px; filter: blur(2px); }
.duo-auth-left .deco-shape.d3 { width: 80px; height: 80px; background: var(--green); opacity: 0.7; bottom: 200px; left: 30px; border: 4px solid #fff; }
.deco-sticker { position: absolute; width: 70px; height: 70px; background: #fff; border: 3px solid var(--ink); border-radius: 22px; display: grid; place-items: center; box-shadow: 0 5px 0 var(--ink); z-index: 2; animation: stickerFloat 4s ease-in-out infinite; }
.deco-sticker.ds1 { top: 80px; right: 70px; color: var(--pink); }
.deco-sticker.ds2 { bottom: 200px; right: 60px; color: var(--yellow-deep); animation-delay: -2s; }

.welcome-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: #fff; color: var(--pink-deep); border-radius: 999px; font-weight: 800; font-size: 13px; letter-spacing: 0.5px; text-transform: uppercase; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); align-self: flex-start; position: relative; z-index: 2; }
.welcome-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -1.5px; margin: 18px 0 0; color: var(--ink); position: relative; z-index: 2; }
.welcome-title .word-stamp { background: var(--yellow); padding: 0 12px; border-radius: 14px; display: inline-block; transform: rotate(-2deg); box-shadow: 0 5px 0 var(--yellow-deep); }
.welcome-sub { font-size: 17px; line-height: 1.55; color: var(--ink-soft); margin: 16px 0 0; font-weight: 600; max-width: 460px; position: relative; z-index: 2; }
.rio-stage { position: relative; display: grid; place-items: center end; width: 100%; padding-right: 100px; z-index: 3; }
.duo-auth-left .duo-speech { top: 8%; bottom: auto; left: -10px; transform: none; animation: speechBob 3.6s ease-in-out infinite; }
.duo-auth-left .duo-speech::after,
.login-left .duo-speech::after { top: 50%; right: -14px; bottom: auto; margin-top: -12px; border-top: 3px solid var(--ink); border-right: 3px solid var(--ink); border-bottom: none; }
.login-left .duo-speech { top: 8%; bottom: auto; left: -10px; transform: none; animation: speechBob 3.6s ease-in-out infinite; }
@keyframes speechBob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-4px) rotate(1deg); } }

.duo-auth-right { display: flex; align-items: center; justify-content: center; padding: 60px 60px; }
.duo-auth-card { width: 100%; max-width: 560px; }

.auth-tabs { display: flex; background: var(--bg); border: 3px solid var(--line); border-radius: 16px; padding: 4px; gap: 4px; margin-bottom: 22px; }
.auth-tab { flex: 1; padding: 12px 16px; border-radius: 12px; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase; color: var(--muted); text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.auth-tab:hover { color: var(--ink); }
.auth-tab.active { background: var(--ink); color: #fff; box-shadow: 0 3px 0 #1A1B30; }

.duo-form-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: var(--blue-soft); color: var(--blue-deep); border-radius: 999px; font-weight: 800; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; border: 2px solid var(--blue); margin-bottom: 14px; }
.duo-form-title { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: 1.05; letter-spacing: -1px; color: var(--ink); margin: 0 0 8px; }
.duo-form-sub { color: var(--muted); font-weight: 600; font-size: 14px; margin: 0 0 28px; }

.duo-field { margin-bottom: 18px; }
.duo-field label { display: block; font-weight: 800; font-size: 12px; color: var(--ink); text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 6px; }
.duo-field-wrap { display: flex; align-items: center; background: #fff; border: 3px solid var(--line); border-radius: 14px; transition: border-color .12s, box-shadow .12s; }
.duo-field-wrap:focus-within { border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.duo-field-wrap.has-error { border-color: var(--pink); box-shadow: 0 4px 0 var(--pink-shadow); }
.field-ic { width: 44px; flex: 0 0 44px; display: grid; place-items: center; color: var(--muted); }
.duo-field input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 17px 12px 17px 0; font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--ink); outline: 0; }
.duo-field input::placeholder { color: var(--muted-light); font-weight: 600; }
.toggle-pass { flex: 0 0 44px; width: 44px; background: transparent; border: 0; padding: 0; height: 100%; display: grid; place-items: center; color: var(--muted); cursor: pointer; }
.toggle-pass:hover { color: var(--ink); }
.duo-field-error { color: var(--pink-deep); font-weight: 700; font-size: 12px; margin-top: 6px; }

.row-between { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 22px; font-size: 13px; }
.check-row { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-soft); cursor: pointer; user-select: none; }
.check-box { width: 22px; height: 22px; border: 3px solid var(--line); border-radius: 7px; display: grid; place-items: center; color: transparent; background: #fff; transition: background .12s, border-color .12s, color .12s; }
.check-row input { display: none; }
.check-row input:checked + .check-box { background: var(--green); border-color: var(--green-deep); color: #fff; box-shadow: 0 2px 0 var(--green-deep); }
.forgot-link { font-weight: 800; color: var(--pink-deep); font-size: 13px; }
.forgot-link:hover { color: var(--ink); }

.submit-btn { width: 100%; padding: 18px 28px; font-size: 16px; border-radius: 18px; }
.duo-form-foot { margin-top: 22px; text-align: center; font-weight: 700; font-size: 14px; color: var(--muted); }
.duo-form-foot a { color: var(--pink-deep); font-weight: 800; }
.duo-form-foot a:hover { color: var(--ink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .duo-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .duo-hero { padding: 40px 0; min-height: 0; }
  .duo-trust-band { grid-template-columns: repeat(2, 1fr); padding: 18px 0; }
  .trust-cell { border-right: 0; border-bottom: 2px dashed var(--line); padding: 8px 0; }
  .trust-cell:nth-child(odd) { border-right: 2px dashed var(--line); }
  .trust-cell:nth-last-child(-n+2) { border-bottom: 0; }
  .duo-pillars-grid { grid-template-columns: 1fr; }
  .twocat-grid { grid-template-columns: 1fr; }
  .ratings-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .big-cta { padding: 36px 24px; }
  .duo-auth-wrap { grid-template-columns: 1fr; min-height: 0; border-radius: 28px; }
  .duo-auth-left, .duo-auth-right { padding: 36px 26px; }
  .duo-auth-left .duo-speech { display: none; }
  .deco-sticker { display: none; }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .how-grid { grid-template-columns: 1fr; }
  .twocat { padding: 28px 24px; }
  .twocat-title { font-size: 28px; }
}


/* ============================================================
   ACCOUNT PAGE (e-commerce style — Shopee/Lazada-like)
   ============================================================ */

.account-page { padding: 28px 0 64px; }

/* — Greeting strip — */
.acc-greeting {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 6px 0 var(--ink);
  padding: 20px 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.acc-greeting-avatar {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--pink), var(--pink-deep));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  display: grid; place-items: center;
  border: 3px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  flex-shrink: 0;
}
.acc-greeting-text { flex: 1; min-width: 200px; }
.acc-greeting-text h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  margin: 0 0 4px;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.acc-greeting-text p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}
.acc-greeting-mini {
  display: flex;
  gap: 8px;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 10px 16px;
}
.agm-cell {
  text-align: center;
  padding: 0 14px;
  border-right: 1px dashed var(--line);
}
.agm-cell:last-child { border-right: 0; }
.agm-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  color: var(--ink);
  line-height: 1.1;
}
.agm-lbl {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink-soft);
  font-weight: 800;
  margin-top: 2px;
}

/* — Horizontal tab bar (Shopee-style) — */
.acc-tabs {
  display: flex;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--ink);
  padding: 6px;
  gap: 4px;
  margin-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.acc-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}
.acc-tab:hover { color: var(--ink); background: var(--bg); }
.acc-tab.active {
  background: var(--ink);
  color: #fff;
}
.acc-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 7px;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  border: 2px solid #fff;
}
.acc-tab.active .acc-tab-count { background: var(--yellow); color: var(--ink); border-color: var(--ink); }

/* — Empty state — */
.acc-empty {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 5px 0 var(--ink);
  padding: 56px 24px;
  text-align: center;
}
.acc-empty-ic {
  display: inline-grid;
  place-items: center;
  width: 76px; height: 76px;
  border-radius: 22px;
  background: var(--yellow-soft);
  color: var(--ink);
  border: 3px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  margin-bottom: 18px;
}
.acc-empty h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--ink);
}
.acc-empty p {
  color: var(--ink-soft);
  font-weight: 600;
  margin: 0 auto 22px;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.55;
}

/* — Order card (Shopee-style) — */
.order-card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 5px 0 var(--ink);
  margin-bottom: 16px;
  overflow: hidden;
}
.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg);
  border-bottom: 2px solid var(--line);
  flex-wrap: wrap;
}
.oc-id {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
}
.oc-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 3px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border: 2px solid var(--ink);
}
.status-chip.status-pending { background: var(--yellow-soft); color: var(--ink); }
.status-chip.status-shipped { background: var(--blue-soft); color: var(--blue-deep); }
.status-chip.status-delivered { background: var(--green-soft); color: #166534; }

.order-card-items { padding: 8px 20px; }
.order-card-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.order-card-item:last-child { border-bottom: 0; }
.oci-pic {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 2px solid var(--ink);
}
.oci-meta { flex: 1; min-width: 0; }
.oci-name {
  font-weight: 800;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.oci-qty {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}
.oci-line {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  font-size: 14px;
  flex-shrink: 0;
}

.order-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--bg);
  border-top: 2px dashed var(--line);
  flex-wrap: wrap;
}
.oc-total { display: inline-flex; align-items: baseline; gap: 8px; }
.oc-total-lbl {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.oc-total-amt {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 20px;
  color: var(--pink-deep);
}
.oc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-sm {
  padding: 8px 14px !important;
  font-size: 13px !important;
}

/* — Digital library grid — */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.dl-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 5px 0 var(--ink);
  padding: 16px;
  gap: 14px;
}
.dl-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  display: grid; place-items: center;
  border: 2px solid var(--ink);
}
.dl-info { flex: 1; }
.dl-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.3;
}
.dl-meta {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* — Profile cards — */
.acc-card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 0 5px 0 var(--ink);
  padding: 24px;
  margin-bottom: 18px;
}
.acc-card-head { margin-bottom: 18px; }
.acc-card-head h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--ink);
}
.acc-card-sub {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}
.acc-card-actions { margin-top: 18px; }

.profile-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.profile-form .field { display: flex; flex-direction: column; gap: 6px; }
.profile-form .field label {
  font-weight: 800;
  font-size: 12px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.profile-form .field input {
  padding: 13px 16px;
  border: 3px solid var(--line);
  border-radius: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  outline: 0;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.profile-form .field input:focus { border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.profile-form .field input:disabled {
  background: var(--line-soft);
  color: var(--ink-soft);
  cursor: not-allowed;
}

/* — Responsive — */
@media (max-width: 760px) {
  .acc-greeting-mini { width: 100%; justify-content: space-around; }
  .acc-greeting-text { min-width: 0; }
  .acc-tab { font-size: 11px; padding: 11px 12px; letter-spacing: 0.3px; }
  .acc-tab span:not(.acc-tab-count) { display: none; }
  .acc-tab .acc-tab-count { margin-left: 2px; }
  .profile-form { grid-template-columns: 1fr; }
  .dl-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .acc-greeting { padding: 16px; gap: 14px; }
  .acc-greeting-avatar { width: 50px; height: 50px; font-size: 22px; border-radius: 14px; }
  .acc-greeting-text h1 { font-size: 20px; }
  .agm-cell { padding: 0 10px; }
  .agm-num { font-size: 16px; }
  .order-card-head, .order-card-foot { padding: 12px 16px; }
  .order-card-items { padding: 4px 16px; }
  .oci-pic { width: 48px; height: 48px; }
  .acc-card { padding: 20px; }
  .acc-empty { padding: 40px 20px; }
}

/* ============================================================
   MOBILE HERO SPACING FIX — added by ChatGPT
   Tujuan: bagi ruang atas mobile lebih selesa dan tak nampak terlalu rapat
   ============================================================ */
@media (max-width: 600px) {
  .duo-hero {
    padding-top: 72px !important;
    padding-bottom: 84px !important;
  }

  .duo-hero-grid {
    gap: 54px !important;
  }

  .duo-hero-ctas {
    margin-bottom: 14px !important;
  }

  .duo-hero-title {
    margin-top: 6px !important;
  }

  .duo-hero-stage {
    margin-top: 8px !important;
  }
}
