/* =============================================================
   KREASI AUTOMATION v2 — lapisan "hidup" di atas styles.css
   Hero gelap dengan aurora bergerak + jaringan titik, kartu aktivitas
   langsung, pita tugas berjalan, bukti angka, agen sales, tab demo.
   ============================================================= */

/* ---------- Aurora (latar bergerak, ringan: cuma CSS) ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.aurora span:nth-child(1) { width: 520px; height: 520px; background: #19B85A; top: -160px; left: -120px; animation: drift1 18s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { width: 460px; height: 460px; background: #E9FF65; bottom: -200px; right: -80px; opacity: .28; animation: drift2 22s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { width: 380px; height: 380px; background: #2fd3a0; top: 30%; left: 45%; opacity: .35; animation: drift3 26s ease-in-out infinite alternate; }
.aurora.soft span { opacity: .3; }
@keyframes drift1 { to { transform: translate(260px, 140px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-300px, -120px) scale(1.2); } }
@keyframes drift3 { to { transform: translate(-240px, 120px) scale(.85); } }

/* ---------- HERO v2 ---------- */
.hero2 { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 20% 0%, #0d7040 0%, #0A5D35 38%, #072d1b 100%); color: #e8f7ee; }
.hero-net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .4; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.04); animation: heroZoom 26s ease-in-out infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.12) translateX(-1.5%); } }
.hero-shade { position: absolute; inset: 0; z-index: 0; background:
  linear-gradient(90deg, rgba(5,32,19,.94) 0%, rgba(7,45,27,.86) 38%, rgba(10,93,53,.55) 70%, rgba(10,93,53,.38) 100%),
  linear-gradient(0deg, rgba(5,32,19,.75) 0%, transparent 35%); }
.hero2 .aurora span { mix-blend-mode: screen; opacity: .28; }
.hero2-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 3.5rem; align-items: center; padding-top: clamp(2.5rem, 6vw, 5.5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero2 h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.06; margin-bottom: 1.1rem; }
.hero2 h1 .hl { background: linear-gradient(100deg, #E9FF65 0%, #7ef0a8 60%, #19B85A 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero2 .lead { color: #c4e6d2; max-width: 44ch; margin-bottom: 1.8rem; }
.eyebrow.on-dark { background: rgba(255,255,255,.1); color: #E9FF65; border: 1px solid rgba(233,255,101,.25); backdrop-filter: blur(6px); }
.eyebrow.on-dark .eyebrow-dot { background: #E9FF65; box-shadow: 0 0 0 0 rgba(233,255,101,.6); animation: dotPulse 1.8s infinite; }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(233,255,101,.6); } 70% { box-shadow: 0 0 0 9px rgba(233,255,101,0); } 100% { box-shadow: 0 0 0 0 rgba(233,255,101,0); } }
.btn-glass { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255,255,255,.16); border-color: #fff; transform: translateY(-2px); }

.hero-stats { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.4rem; }
.hero-stats b { display: block; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 900; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.hero-stats span { display: block; font-size: .82rem; color: #a9d4ba; line-height: 1.4; margin-top: .3rem; }

/* Kartu aktivitas langsung */
.hero2-visual { position: relative; }
.feed { position: relative; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; padding: 20px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); animation: floatY 7s ease-in-out infinite; }
.feed::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(233,255,101,.6), transparent 40%, transparent 60%, rgba(25,184,90,.7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.feed-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.feed-head .live { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #E9FF65; }
.feed-head .live i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; animation: dotPulse 1.6s infinite; box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
.feed-clock { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.05rem; color: #fff; background: rgba(0,0,0,.25); padding: .2rem .65rem; border-radius: 8px; }
.feed-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; height: 318px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.feed-item { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 14px; padding: 11px 13px; animation: feedIn .55s var(--ease-out) both; flex-shrink: 0; }
.feed-item .fi-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; font-size: 1rem; background: var(--green-pale); }
.feed-item.k-wa .fi-ic { background: #dcfce7; } .feed-item.k-fb .fi-ic { background: #dbeafe; } .feed-item.k-nota .fi-ic { background: #fef9c3; } .feed-item.k-hot .fi-ic { background: #ffe4e6; } .feed-item.k-boss .fi-ic { background: #ede9fe; }
.feed-item b { display: block; font-size: .88rem; line-height: 1.3; }
.feed-item small { display: block; font-size: .76rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.feed-item time { margin-left: auto; font-size: .72rem; color: var(--muted); font-weight: 600; font-variant-numeric: tabular-nums; padding-left: 6px; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }
.feed-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.feed-foot div { background: rgba(0,0,0,.22); border-radius: 12px; padding: 10px 12px; text-align: center; }
.feed-foot b { display: block; color: #fff; font-size: 1.35rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.1; }
.feed-foot small { color: #a9d4ba; font-size: .72rem; }
.feed-foot b.bump { animation: bump .4s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.25); color: #E9FF65; } }
.feed-note { text-align: center; font-size: .78rem; color: #8fc3a5; margin: .8rem 0 0; letter-spacing: .02em; }
.feed-note.dark { color: var(--muted); }

/* ---------- Pita tugas berjalan ---------- */
.ticker { background: #072d1b; color: #E9FF65; overflow: hidden; border-top: 1px solid rgba(233,255,101,.15); padding: 14px 0; }
.ticker-track { display: flex; gap: 0; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font-weight: 700; font-size: .95rem; white-space: nowrap; padding: 0 1.6rem; display: inline-flex; align-items: center; gap: 1.6rem; }
.ticker span::after { content: "✦"; color: #19B85A; margin-left: 1.6rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Bukti angka ---------- */
.proof-band { position: relative; overflow: hidden; background: linear-gradient(160deg, #072d1b 0%, #0A5D35 100%); color: #e8f7ee; }
.proof-band .container { position: relative; z-index: 1; }
.proof-band h2 { color: #fff; }
.section-head p.on-dark-muted, .on-dark-muted { color: #b6dcc5; }
.proof-grid { align-items: stretch; }
.proof-card { position: relative; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; transition: transform .3s var(--ease), background .3s, border-color .3s; }
.proof-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); border-color: rgba(233,255,101,.45); }
.proof-shot { position: relative; margin: -24px -24px 18px; border-radius: 19px 19px 0 0; overflow: hidden; aspect-ratio: 4 / 3; background: #0a2a1a; }
.proof-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .6s var(--ease-out); }
.proof-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,45,27,.85) 100%); pointer-events: none; }
.proof-card:hover .proof-shot img { transform: scale(1.05); }
.proof-shot figcaption { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-size: .7rem; font-weight: 700; letter-spacing: .04em; color: #072d1b; background: #E9FF65; padding: .25rem .55rem; border-radius: 999px; }
.proof-tag { min-height: 2.9em; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #E9FF65; margin-bottom: .9rem; line-height: 1.4; }
.proof-num { font-size: clamp(2.2rem, 3.4vw, 2.9rem); font-weight: 900; color: #fff; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.proof-num small { font-size: .5em; font-weight: 800; letter-spacing: -.01em; color: #d6f2e1; }
.proof-label { color: #d6f2e1; font-weight: 600; font-size: .98rem; margin: .5rem 0 .8rem; line-height: 1.35; }
.proof-sub { color: #9cc9ae; font-size: .86rem; line-height: 1.5; margin: auto 0 0; }

/* ---------- Agen sales ---------- */
.sa-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.sa-copy h2 { margin-bottom: .8rem; }
.daybook { list-style: none; padding: 0; margin: 1.6rem 0 1.4rem; position: relative; }
.daybook::before { content: ""; position: absolute; left: 30px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.daybook::after { content: ""; position: absolute; left: 30px; top: 8px; width: 2px; height: var(--prog, 0%); background: linear-gradient(var(--green), var(--green-dark)); transition: height .5s var(--ease-out); }
.daybook li { display: grid; grid-template-columns: 62px 1fr; gap: 14px; padding: 9px 0; position: relative; opacity: .45; transition: opacity .4s; }
.daybook li.on { opacity: 1; }
.daybook time { position: relative; z-index: 1; justify-self: start; font-size: .78rem; font-weight: 800; color: var(--green-dark); background: var(--green-pale); border: 2px solid #fff; border-radius: 999px; padding: .25rem .55rem; height: fit-content; font-variant-numeric: tabular-nums; transition: background .3s, color .3s; }
.daybook li.on time { background: var(--green); color: #fff; }
.daybook b { display: block; font-size: 1rem; line-height: 1.3; }
.daybook span { display: block; color: var(--muted); font-size: .9rem; line-height: 1.45; margin-top: 2px; }
.guard { display: flex; gap: 14px; align-items: flex-start; background: var(--green-pale); border-radius: 16px; padding: 16px 18px; }
.guard svg { width: 26px; height: 26px; color: var(--green-dark); flex-shrink: 0; margin-top: 2px; }
.guard p { margin: 0; font-size: .92rem; color: var(--ink); line-height: 1.5; }
.device-glow::before { content: ""; position: absolute; inset: 10% -14%; background: radial-gradient(closest-side, rgba(25,184,90,.35), transparent); filter: blur(30px); z-index: -1; animation: glow 5s ease-in-out infinite alternate; }
@keyframes glow { to { transform: scale(1.12); opacity: .7; } }
.sa-visual .device { width: 320px; }
.sound-btn { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; border: 0; cursor: pointer; font: inherit; font-size: .82rem; font-weight: 700; color: #072d1b; background: #E9FF65; padding: .5rem .95rem; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); white-space: nowrap; transition: transform .2s; }
.sound-btn:hover { transform: translateX(-50%) translateY(-2px); }
.sound-btn[aria-pressed="true"] { background: #fff; }

/* ---------- Tab demo ---------- */
.tabs { display: flex; justify-content: center; gap: 8px; margin: 0 auto 2.2rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; width: fit-content; max-width: 100%; }
.tabs button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .95rem; padding: .7rem 1.3rem; border-radius: 999px; cursor: pointer; color: var(--muted); transition: background .25s, color .25s; }
.tabs button[aria-selected="true"] { background: var(--green); color: #fff; box-shadow: var(--sh-green); }
.demo-panel { display: none; }
.demo-panel.active { display: block; animation: fadeInUp .5s var(--ease-out); }
.demo-panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 1rem; }
.center-text { text-align: center; } .small { font-size: .86rem; margin-top: 1.6rem; }

/* ---------- Layanan: label dua lapis ---------- */
.cat-card .cat-num.ready, .cat-card .cat-num.custom { font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; }
.cat-card .cat-num.ready { background: var(--green-pale); color: var(--green-dark); }
.cat-card .cat-num.custom { background: #fef9c3; color: #854d0e; }
.usecase.alt { background: var(--green-pale); border-color: transparent; }
.included .eyebrow { margin-bottom: 1rem; }

/* ---------- Harga ---------- */
.price-grid { align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; transition: transform .25s var(--ease), box-shadow .3s, border-color .25s; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: var(--green); }
.price-card.hot { background: linear-gradient(165deg, #0A5D35, #072d1b); color: #fff; border-color: transparent; box-shadow: var(--sh-lg); }
.price-badge { position: absolute; top: -12px; right: 18px; background: #E9FF65; color: #072d1b; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.price-name { font-weight: 800; font-size: 1.05rem; }
.price-from { margin: .9rem 0 0; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.price-num { font-size: 2.3rem; font-weight: 900; letter-spacing: -.03em; line-height: 1.1; color: var(--green-dark); }
.price-num small { font-size: .9rem; font-weight: 700; margin-left: 3px; letter-spacing: 0; color: var(--muted); }
.price-setup { font-size: .84rem; color: var(--muted); margin: .3rem 0 1rem; }
.price-card ul { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: .45rem; }
.price-card li { font-size: .9rem; padding-left: 1.4rem; position: relative; line-height: 1.4; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.price-card.hot .price-from, .price-card.hot .price-setup, .price-card.hot .price-num small { color: #a9d4ba; }
.price-card.hot .price-num { color: #E9FF65; }
.price-card.hot li::before { color: #E9FF65; }
.pioneer { margin-top: 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; background: var(--green-pale); border: 1.5px dashed var(--green); border-radius: 18px; padding: 20px 24px; }
.pioneer b { font-size: 1.08rem; } .pioneer p { margin: .25rem 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 767px) { .pioneer { flex-direction: column; align-items: flex-start; } .pioneer .btn { width: 100%; } }

/* CTA dengan aurora */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; }

/* ---------- Responsif ---------- */
@media (max-width: 1023px) {
  .hero2-inner, .sa-inner { grid-template-columns: 1fr; }
  .hero2-visual { max-width: 460px; width: 100%; margin: 0 auto; }
  .sa-visual { order: 0; }
}
@media (max-width: 767px) {
  .hero-shade { background: linear-gradient(180deg, rgba(5,32,19,.9) 0%, rgba(7,45,27,.82) 55%, rgba(5,32,19,.93) 100%); }
  .hero-video { animation: none; transform: none; }
  .hero2-inner { gap: 2.2rem; padding-top: 2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
  .hero-stats b { font-size: 1.2rem; }
  .hero-stats span { font-size: .72rem; }
  .feed-list { height: 280px; }
  .aurora span { filter: blur(50px); }
  .aurora span:nth-child(1) { width: 320px; height: 320px; }
  .aurora span:nth-child(2) { width: 300px; height: 300px; }
  .aurora span:nth-child(3) { display: none; }
  .tabs button { padding: .6rem .9rem; font-size: .86rem; }
  .sa-visual .device { width: 240px; }
  .proof-card { padding: 20px; }
  .proof-shot { margin: -20px -20px 16px; }
  .wa-float { display: none; } /* bar tombol bawah sudah ada di HP */
}
@media (prefers-reduced-motion: reduce) {
  .aurora span, .ticker-track, .feed, .hero-video { animation: none !important; }
}

/* Cegah halaman melebar di HP (elemen yang masuk dari samping) */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: hidden; } }

/* ---------- Form kontak: tulisan di kotak putih harus gelap (sebelumnya ikut putih dari .cta-band) ---------- */
.cta-band .form-card { color: var(--ink); }
.cta-inner .form-card p, .cta-inner .form-card .form-note { color: var(--muted); }
.cta-inner .form-card h3, .cta-inner .form-card h4 { color: var(--ink); }

/* ---------- Tautan Area Klien (tidak mencolok) ---------- */
.nav-login { font-size: .88rem; font-weight: 600; color: var(--muted, #5D6A62); padding: .4rem .2rem; margin-right: .6rem; text-decoration: none; transition: color .15s; }
.nav-login:hover { color: var(--green-dark, #0A5D35); }
@media (max-width: 980px) { .nav-login { display: none; } }
