@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #ffffff;
  --soft-bg: linear-gradient(180deg, #f8fbff 0%, #f5f3ff 100%);
  --panel: #ffffff;
  --navy: #172554;
  --navy-2: #1e3a8a;
  --blue: #2563eb;
  --violet: #7c3aed;
  --text: #0f172a;
  --muted: #64748b;
  --line: #dbeafe;
  --line-indigo: #c7d2fe;
  --green: #059669;
  --red: #e11d48;
  --shadow-card: 0 18px 45px -18px rgba(30, 58, 138, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}
a { color: var(--blue); text-decoration: none; }
a:hover { opacity: 0.88; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  background: #eff6ff;
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--blue);
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* Topbar */
.topbar-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
}
.topbar {
  max-width: 1000px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15.5px; color: var(--navy); letter-spacing: -0.02em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.nav-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; font-family: inherit; font-weight: 700; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: 0.18s ease;
}
.btn-gold, .btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(37, 99, 235, 0.45);
}
.btn-gold:hover, .btn-primary:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 14px 28px -8px rgba(37, 99, 235, 0.55); }
.btn-ghost { background: #fff; border-color: #cbd5e1; color: var(--navy); }
.btn-ghost:hover { background: #f8fafc; border-color: #94a3b8; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* Pill Eyebrows & Gradient Headings */
.eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--blue); background: #eff6ff; border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}
.grad-text {
  background: linear-gradient(90deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.muted { color: var(--muted); font-size: 14px; }

/* 1. Hero Section */
.hero-section {
  padding: 58px 0 64px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}
.hero-section h1 {
  font-size: clamp(30px, 5.2vw, 48px);
  font-weight: 800; line-height: 1.14; margin: 0 auto 16px; max-width: 760px; color: var(--navy); letter-spacing: -0.03em;
}
.hero-section p.lead {
  color: var(--muted); font-size: 16px; max-width: 640px; margin: 0 auto 24px;
}
.hero-pills {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 30px;
}
.hero-pill {
  background: #fff; border: 1px solid var(--line); color: var(--navy-2);
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}
.hero-card {
  max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 12px; box-shadow: var(--shadow-card);
}
.hero-card-inner {
  background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
  border-radius: 16px; padding: 34px 24px;
}
.hero-card-inner h2 { margin: 8px 0 6px; font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: 0.5px; }
.hero-card-inner p { margin: 0; color: #475569; font-size: 14.5px; }

/* Sections */
.section { padding: 64px 0; }
.section.soft { background: var(--soft-bg); }
.demo-section { padding: 64px 0; background: linear-gradient(180deg, #f1f5ff 0%, #ffffff 100%); }
.section-head { text-align: center; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; color: var(--navy); margin: 0 0 10px; letter-spacing: -0.025em; }
.section-head p { color: var(--muted); font-size: 15px; max-width: 620px; margin: 0 auto; }

/* 2. Demo Section */
.demo-main {
  max-width: 850px; margin: 0 auto 24px; background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 18px; box-shadow: var(--shadow-card);
}
.demo-badge {
  display: inline-block; font-size: 11px; font-weight: 800; color: #b45309; background: #fef3c7;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.video-frame { position: relative; width: 100%; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #0f172a; }
.video-frame.shorts { padding-top: 177.77%; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-main h3 { margin: 14px 0 4px; font-size: 18px; color: var(--navy); }
.demo-main p { margin: 0; color: var(--muted); font-size: 14px; }

.demo-extra-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 850px; margin: 0 auto; }
@media (max-width: 640px) { .demo-extra-grid { grid-template-columns: 1fr; } }
.demo-extra-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: var(--shadow-card); }
.demo-extra-card .cap { margin-top: 10px; font-size: 12.5px; font-weight: 800; color: var(--navy-2); text-transform: uppercase; letter-spacing: 0.5px; }

/* 3. Video Showcase Marquee */
.marquee-wrap { overflow: hidden; width: 100%; padding: 8px 0; }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee-left 28s linear infinite; }
.marquee-track.reverse { animation-name: marquee-right; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-right { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.showcase-card {
  width: 230px; flex-shrink: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 10px; box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}
.showcase-card .cap { margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--navy); text-align: center; }

/* 4. Features 3x3 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04); }
.icon-box {
  width: 45px; height: 45px; border-radius: 12px; display: grid; place-items: center; font-size: 21px;
  background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%); margin-bottom: 14px;
}
.feature-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--navy); }
.feature-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* 5. Workflow */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 700px) { .how-grid { grid-template-columns: 1fr; } }
.how-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 20px; text-align: center; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04); }
.step-num {
  width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--blue), var(--violet)); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
}
.how-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--navy); }
.how-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* 6. Testimonials + Bonus */
.testi-img-card {
  width: 260px; flex-shrink: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}
.testi-img-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.testi-img-card .cap { padding: 8px 12px; font-size: 12px; color: var(--muted); }

.testi-text-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 700px) { .testi-text-grid { grid-template-columns: 1fr; } }
.testi-quote { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; margin-bottom: 8px; }
.testi-quote p { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--navy); }
.testi-quote span { font-size: 12.5px; color: var(--muted); }

.bonus-premium {
  margin-top: 38px; border-radius: 25px; padding: 34px 26px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  border: 1px solid var(--line-indigo); box-shadow: var(--shadow-card); text-align: center;
}
.bonus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0; text-align: left; }
@media (max-width: 700px) { .bonus-grid { grid-template-columns: 1fr; } }
.bonus-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid #e0e7ff; border-radius: 16px; padding: 18px; }
.bonus-item h4 { margin: 0 0 4px; font-size: 15px; color: var(--navy); }
.bonus-item p { margin: 0; font-size: 13px; color: var(--muted); }
.bonus-foot { font-size: 12px; font-weight: 800; letter-spacing: 0.8px; color: var(--violet); }

/* 7. Pricing & Checkout */
.price-section { padding: 64px 0; background: linear-gradient(180deg, #f8fbff 0%, #eef2ff 100%); }
.price-card {
  max-width: 550px; margin: 0 auto; background: #fff; border: 1px solid var(--line-indigo);
  border-radius: 25px; padding: 32px 26px; text-align: center; box-shadow: var(--shadow-card);
}
.strike { text-decoration: line-through; color: #94a3b8; font-weight: 700; }
.price-now { font-size: clamp(40px, 8vw, 56px); font-weight: 800; color: var(--navy-2); line-height: 1.05; margin: 8px 0; letter-spacing: -0.03em; }
.price-timeline {
  margin: 22px 0 16px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px 16px; text-align: left;
}
.price-timeline h4 { margin: 0 0 8px; font-size: 12px; font-weight: 800; color: var(--navy); letter-spacing: 0.8px; }
.tl-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; border-bottom: 1px dashed #cbd5e1; }
.tl-row:last-child { border-bottom: 0; }
.blue-note { background: #eff6ff; border: 1px solid var(--line); color: var(--navy-2); font-size: 12.5px; padding: 10px 14px; border-radius: 12px; }

/* Cards, Forms & Admin */
.card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 26px; box-shadow: var(--shadow-card);
}
.card h2 { margin: 0 0 6px; font-size: 20px; color: var(--navy); }
.field { margin-bottom: 14px; text-align: left; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid #cbd5e1; background: #fff; color: var(--text); font-size: 14px; font-family: inherit;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14); }
.price-box {
  background: #eff6ff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 15px; margin: 14px 0 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.price-box strong { color: var(--navy-2); font-size: 17px; }

.alert { padding: 11px 14px; border-radius: 10px; font-size: 13.5px; margin-bottom: 14px; }
.alert-err { background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; }
.alert-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857; }
.hidden { display: none !important; }
.qris-wrap { text-align: center; padding: 10px 0; }
.qris-wrap img { max-width: 230px; width: 100%; border-radius: 12px; border: 1px solid #e2e8f0; padding: 8px; background: #fff; }

.footer {
  padding: 26px 20px; border-top: 1px solid #e2e8f0; max-width: 1000px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted);
}

/* Admin Tabs, Stats & Tables */
.tabs { display: inline-flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 22px; padding: 5px; background: #f1f5f9; border-radius: 12px; }
.tab-btn { padding: 9px 14px; border-radius: 8px; background: transparent; border: none; color: #475569; font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.tab-btn.active { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; }
.stat-card span { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: 0.06em; }
.stat-card strong { display: block; font-size: 21px; font-weight: 800; margin-top: 4px; color: var(--navy-2); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { text-align: left; padding: 11px 8px; border-bottom: 1px solid #e2e8f0; }
th { color: var(--muted); font-weight: 700; font-size: 11.5px; text-transform: uppercase; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.badge-paid { background: #d1fae5; color: #065f46; }
.badge-pending { background: #fef3c7; color: #92400e; }
.badge-cancel { background: #ffe4e6; color: #9f1239; }

.lightbox { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 999; padding: 20px; cursor: zoom-out; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 14px; }
