/* ============================================================
   SeeplusApps — Stylesheet Utama
   ============================================================ */

:root {
  --primary: #4f46e5;
  --primary-2: #7c3aed;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --grad: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  --grad-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

section { padding: 72px 0; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(79, 70, 229, 0.45); }

.btn-outline {
  border: 2px solid var(--border);
  color: var(--dark);
  background: #fff;
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--primary); box-shadow: 0 10px 24px rgba(0,0,0,0.25); }
.btn-light:hover { transform: translateY(-2px); }

.btn-whatsapp {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(34, 197, 94, 0.45); }

.btn-ghost { color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn svg { width: 18px; height: 18px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(79, 70, 229, 0.4);
  flex-shrink: 0;
}
.logo span b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--dark-2);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { color: var(--primary); background: #eef2ff; }
.nav-links a.active {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}

.nav-cta { margin-left: 8px; padding: 10px 20px; font-size: 0.88rem; }
.nav-logout { display: inline; margin: 0; }
.nav-logout .btn { margin-left: 6px; }

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  place-items: center;
}
.hamburger span {
  width: 20px; height: 2px; background: var(--dark); border-radius: 2px;
  display: block; position: relative; transition: 0.3s;
}
.hamburger span::before, .hamburger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: 0.3s;
}
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { top: 0; transform: rotate(45deg); }
.hamburger.open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(124, 58, 237, 0.55), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(6, 182, 212, 0.4), transparent 60%),
    linear-gradient(160deg, #0b1023 0%, #151a3a 55%, #1e1b4b 100%);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.5), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #c7d2fe;
  margin-bottom: 22px;
}
.hero-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.grad-text {
  background: linear-gradient(92deg, #a5b4fc 0%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.sub {
  color: #cbd5e1;
  font-size: 1.06rem;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hero-stats .stat b {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(92deg, #fff, #c7d2fe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stats .stat span { font-size: 0.85rem; color: #94a3b8; }

.hero-visual { position: relative; }
.hero-visual img.hero-mock { border-radius: 22px; box-shadow: var(--shadow-lg); }

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: floaty 5s ease-in-out infinite;
}
.float-card .ic {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; color: #fff; font-size: 1rem;
}
.float-card small { display: block; font-weight: 600; color: var(--muted); font-size: 0.72rem; }
.fc-1 { top: 26px; left: -34px; animation-delay: 0s; }
.fc-2 { bottom: 40px; right: -22px; animation-delay: 1.6s; }
.fc-3 { bottom: -24px; left: 30px; animation-delay: 3s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Judul bagian ---------- */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); font-size: 1rem; }
.section-head.left { text-align: left; margin-inline: 0; }

/* ---------- Fitur (Home) ---------- */
.features { background: #fff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: #c7d2fe;
}
.feature-card .f-ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.feature-card .f-ic svg { width: 26px; height: 26px; stroke: var(--primary); }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Kartu Produk ---------- */
.products { background: var(--bg); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }

.product-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.product-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-thumb img { transform: scale(1.07); }

.product-thumb .badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.product-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 { font-size: 1.12rem; font-weight: 800; margin-bottom: 6px; }
.product-body .cat { font-size: 0.78rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.product-body p { color: var(--muted); font-size: 0.9rem; flex: 1; margin-bottom: 16px; }

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.product-footer .price { font-weight: 800; color: var(--primary); }
.product-footer .price small { font-weight: 600; color: var(--muted); font-size: 0.75rem; }
.link-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
  transition: gap 0.2s ease;
}
.link-detail:hover { gap: 10px; }
.link-detail svg { width: 16px; height: 16px; }

.section-foot { text-align: center; margin-top: 40px; }

/* ---------- Galeri mosaik (Produk) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 18px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
  border: 1px solid var(--border);
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 35%, rgba(9, 12, 28, 0.88) 100%);
  color: #fff;
  opacity: 0.94;
  transition: opacity 0.3s ease;
}
.gallery-overlay .g-cat { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #a5b4fc; }
.gallery-overlay h3 { font-size: 1.05rem; font-weight: 800; margin: 4px 0 10px; }
.gallery-overlay .g-actions { display: flex; align-items: center; gap: 12px; opacity: 0; transform: translateY(6px); transition: 0.3s ease; }
.gallery-item:hover .g-actions { opacity: 1; transform: translateY(0); }
.gallery-overlay .link-detail { color: #c7d2fe; font-size: 0.85rem; }
.gallery-overlay .link-detail:hover { color: #fff; }

/* ---------- Header halaman dalam ---------- */
.page-header {
  position: relative;
  background:
    radial-gradient(600px 300px at 90% -20%, rgba(124, 58, 237, 0.5), transparent 60%),
    radial-gradient(500px 300px at 0% 120%, rgba(6, 182, 212, 0.35), transparent 60%),
    linear-gradient(160deg, #0b1023, #1e1b4b);
  color: #fff;
  padding: 64px 0;
  overflow: hidden;
}
.page-header h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.page-header p { color: #cbd5e1; max-width: 560px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: #94a3b8; margin-bottom: 16px; }
.breadcrumb a { color: #c7d2fe; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- Profil ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-grid .about-art img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-grid h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.about-grid p { color: var(--muted); margin-bottom: 14px; }
.about-grid ul li { display: flex; gap: 10px; margin-bottom: 10px; font-weight: 600; font-size: 0.95rem; }
.about-grid ul li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: #dcfce7; color: #16a34a;
  border-radius: 50%; font-size: 0.75rem; font-weight: 800;
}

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.vm-card .vm-ic {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad);
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: #fff;
}
.vm-card .vm-ic svg { width: 28px; height: 28px; }
.vm-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.vm-card p { color: var(--muted); font-size: 0.95rem; }
.vm-card ul { margin-top: 12px; }
.vm-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 0.92rem; font-weight: 600; }
.vm-card ul li:last-child { border-bottom: none; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 22px; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .v-num { font-size: 0.85rem; font-weight: 800; color: var(--primary); letter-spacing: 0.1em; }
.value-card h3 { font-size: 1.05rem; font-weight: 800; margin: 8px 0; }
.value-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  display: flex;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card .i-ic {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 13px;
  background: var(--grad-soft);
  display: grid; place-items: center;
  color: var(--primary);
}
.info-card .i-ic svg { width: 22px; height: 22px; }
.info-card h4 { font-size: 0.95rem; font-weight: 800; margin-bottom: 3px; }
.info-card p { color: var(--muted); font-size: 0.88rem; }
.info-card a:hover { color: var(--primary); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

/* ---------- Panel formulir Order ---------- */
.form-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-panel h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.form-panel > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }
.order-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 24px;
}
.order-summary img { width: 64px; height: 46px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.order-summary .os-name { font-weight: 800; font-size: 1.05rem; }
.order-summary .os-cat { color: var(--muted); font-size: 0.82rem; }
.order-summary .os-price { color: var(--primary); font-weight: 800; font-size: 0.9rem; }
.order-wrap { max-width: 720px; margin: 0 auto; }

/* ---------- Akun demo di halaman detail ---------- */
.demo-account {
  margin-top: 18px;
  background: rgba(124, 58, 237, 0.06);
  border: 1.5px dashed var(--primary);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.demo-account h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.demo-account h4 svg { width: 15px; height: 15px; }
.demo-account pre {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre-wrap;
  color: var(--dark);
}
.demo-account p { font-size: 0.78rem; color: var(--muted); margin: 0; }

/* ---------- Kartu paket (halaman detail) ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan-card.popular {
  border-color: var(--primary);
  box-shadow: 0 14px 34px rgba(79, 70, 229, 0.18);
}
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.plan-head h3 { font-size: 1.15rem; font-weight: 800; margin: 0; }
.plan-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}
.plan-price { margin-bottom: 12px; }
.plan-price .pp { font-size: 1.7rem; font-weight: 800; color: var(--dark); }
.plan-price .pu { color: var(--muted); font-size: 0.9rem; }
.plan-price .py { color: var(--muted); font-size: 0.8rem; margin-top: 2px; }
.plan-desc { color: var(--muted); font-size: 0.86rem; margin-bottom: 14px; }
.plan-features { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.plan-features li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.87rem;
  padding: 5px 0;
  color: var(--dark);
}
.plan-features li::before {
  content: "✓";
  color: #16a34a;
  font-weight: 800;
  flex-shrink: 0;
}
.plan-cta { width: 100%; justify-content: center; }

/* ---------- Pilihan paket di form langganan ---------- */
.plan-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.plan-option:hover { border-color: var(--primary); }
.plan-option.selected {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.06);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-option .po-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-option .po-name { font-weight: 800; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.plan-option .po-count { font-size: 0.74rem; color: var(--muted); white-space: nowrap; }
.plan-option .po-price { color: var(--primary); font-weight: 800; font-size: 0.92rem; }
.plan-option .po-yearly { display: block; color: var(--muted); font-weight: 600; font-size: 0.76rem; margin-top: 2px; }
@media (max-width: 560px) {
  .plan-options { grid-template-columns: 1fr; }
}

/* ---------- Pilihan siklus pembayaran (SaaS) ---------- */
.cycle-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cycle-option {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.cycle-option:hover { border-color: var(--primary); }
.cycle-option.selected {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.06);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}
.cycle-option input { position: absolute; opacity: 0; pointer-events: none; }
.cycle-option .co-name { font-weight: 800; font-size: 0.95rem; display: flex; align-items: center; gap: 8px; }
.cycle-option .co-badge {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  color: #16a34a;
  background: #dcfce7;
  border-radius: 999px;
  padding: 2px 8px;
}
.cycle-option .co-price { color: var(--primary); font-weight: 800; font-size: 0.9rem; }
@media (max-width: 480px) {
  .cycle-options { grid-template-columns: 1fr; }
}

/* ---------- Info invoice di halaman sukses ---------- */
.invoice-info {
  max-width: 420px;
  margin: 0 auto 26px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
}
.invoice-info > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  font-size: 0.88rem;
}
.invoice-info > div:nth-child(odd) { background: var(--bg); }
.invoice-info span { color: var(--muted); }

/* ---------- Halaman sukses order ---------- */
.success-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 36px;
  box-shadow: var(--shadow);
}
.success-box .check {
  width: 76px; height: 76px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: grid;
  place-items: center;
}
.success-box .check svg { width: 38px; height: 38px; }
.success-box h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.success-box > p { color: var(--muted); margin-bottom: 22px; }
.success-box .order-code {
  display: inline-block;
  background: var(--grad-soft);
  color: var(--primary);
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  padding: 8px 22px;
  margin-bottom: 18px;
}
.success-box .product-line { color: var(--dark); font-weight: 700; margin-bottom: 26px; }
.success-box .success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.contact-form h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.contact-form > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 12px; text-align: center; }
.captcha-row { display: flex; gap: 10px; align-items: stretch; }
.captcha-question {
  display: inline-flex;
  align-items: center;
  min-width: 96px;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary);
  background: rgba(79, 70, 229, 0.08);
  border: 1.5px dashed var(--primary);
  border-radius: 12px;
  padding: 0 14px;
  white-space: nowrap;
}
.captcha-row input { flex: 1; min-width: 0; }
.captcha-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 0 14px;
  cursor: pointer;
  color: var(--muted);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.captcha-refresh:hover { border-color: var(--primary); color: var(--primary); background: rgba(79, 70, 229, 0.05); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 320px at 20% -30%, rgba(124, 58, 237, 0.6), transparent 60%),
    radial-gradient(600px 300px at 90% 130%, rgba(6, 182, 212, 0.45), transparent 60%),
    linear-gradient(150deg, #0b1023, #1e1b4b);
  color: #fff;
  text-align: center;
  padding: 76px 0;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.cta-band p { color: #cbd5e1; max-width: 540px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Detail Aplikasi ---------- */
.detail-top { padding: 48px 0 8px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.9rem; color: var(--primary); margin-bottom: 22px; }
.back-link:hover { gap: 12px; }
.back-link svg { width: 18px; height: 18px; transition: transform 0.2s ease; }
.back-link:hover svg { transform: translateX(-3px); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

/* Slider */
.slider-wrap { position: relative; }
.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0b1023;
  box-shadow: var(--shadow-lg);
  cursor: zoom-in;
  user-select: none;
}
.slider-track { display: flex; height: 100%; transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
.slide { flex: 0 0 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 1.4rem;
  display: grid; place-items: center;
  z-index: 5;
  transition: background 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(255,255,255,0.2);
}
.slide-btn:hover { background: var(--primary); }
.slide-btn.prev { left: 14px; }
.slide-btn.next { right: 14px; }
.slide-btn:active { transform: translateY(-50%) scale(0.92); }

.slide-count {
  position: absolute;
  right: 14px; bottom: 14px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 5;
  letter-spacing: 0.04em;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.slider-dots .dot {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  transition: width 0.25s ease, background 0.25s ease;
  padding: 0;
}
.slider-dots .dot.active {
  width: 26px;
  background: #fff;
}

.zoom-hint {
  position: absolute;
  left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  z-index: 5;
}
.zoom-hint svg { width: 14px; height: 14px; }

.thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.thumb {
  flex: 1;
  aspect-ratio: 16 / 9.6;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 3px solid transparent;
  opacity: 0.65;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  padding: 0;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; transform: translateY(-2px); }
.thumb.active { border-color: var(--primary); opacity: 1; }

/* Panel info detail */
.detail-info { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.detail-info .d-cat { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--primary); }
.detail-info h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 8px; }
.detail-info .tagline { color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; }

.d-price-row { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-top: 1px dashed var(--border); border-bottom: 1px dashed var(--border); margin-bottom: 18px; }
.d-price-row .price { font-size: 1.7rem; font-weight: 800; color: var(--primary); }
.d-price-row .license { font-size: 0.8rem; color: var(--success); font-weight: 700; }

.order-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.order-buttons .btn { flex: 1; justify-content: center; min-width: 170px; }

.d-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.d-meta .m {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}
.d-meta .m b { display: block; font-size: 0.95rem; }
.d-meta .m span { font-size: 0.74rem; color: var(--muted); }

/* Bagian detail: deskripsi, spesifikasi, video */
.detail-sections { padding-top: 8px; }
.detail-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.detail-block h2 { font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.detail-block h2 .h-ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad-soft);
  display: grid; place-items: center;
  color: var(--primary);
}
.detail-block h2 .h-ic svg { width: 20px; height: 20px; }
.detail-block p.lead { color: var(--muted); margin-bottom: 16px; }

.fitur-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.fitur-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; font-weight: 600; }
.fitur-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: #dcfce7; color: #16a34a;
  border-radius: 50%; font-size: 0.72rem; font-weight: 800;
  margin-top: 2px;
}

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 13px 8px; font-size: 0.92rem; }
.spec-table td:first-child { font-weight: 700; color: var(--muted); width: 38%; white-space: nowrap; }
.spec-table td:last-child { font-weight: 600; }

/* Video card */
.video-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0b1023;
}
.video-frame { position: relative; aspect-ratio: 16 / 9; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
  transition: opacity 0.3s ease;
}
.video-thumb.hidden { opacity: 0; pointer-events: none; }
.video-thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,12,28,0.25), rgba(9,12,28,0.6));
}
.play-btn {
  position: relative;
  z-index: 2;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  display: grid; place-items: center;
  color: var(--primary);
  box-shadow: 0 12px 34px rgba(0,0,0,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-thumb:hover .play-btn { transform: scale(1.12); box-shadow: 0 18px 44px rgba(0,0,0,0.55); }
.play-btn svg { width: 30px; height: 30px; margin-left: 4px; }
.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  background: #0f172a;
  color: #e2e8f0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.video-meta b { font-size: 0.95rem; }
.video-meta .dur { font-size: 0.78rem; font-weight: 700; color: #a5b4fc; background: rgba(255,255,255,0.08); padding: 4px 12px; border-radius: 999px; }

/* Order card */
.order-card {
  background: var(--grad);
  border-radius: var(--radius);
  padding: 34px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  box-shadow: 0 20px 44px rgba(79, 70, 229, 0.35);
}
.order-card h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.order-card p { color: #e0e7ff; font-size: 0.93rem; max-width: 520px; }
.order-card .btn-whatsapp { box-shadow: 0 12px 28px rgba(0,0,0,0.25); }
.order-card-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Lightbox Zoom ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 8, 18, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  color: #fff;
  position: relative;
  z-index: 3;
}
.lb-top .lb-counter { font-weight: 700; font-size: 0.9rem; color: #cbd5e1; }
.lb-close {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.5rem;
  display: grid; place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lb-close:hover { background: var(--danger); transform: rotate(90deg); }

.lb-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  touch-action: none;
}
.lb-stage img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  transform-origin: 0 0;
  will-change: transform;
  cursor: grab;
}
.lb-stage img.dragging { cursor: grabbing; }

.lb-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
}
.lb-btn {
  min-width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-inline: 16px;
  transition: background 0.2s ease;
}
.lb-btn:hover { background: var(--primary); }
.lb-btn .label { font-size: 0.82rem; }
.lb-zoom-level { color: #cbd5e1; font-size: 0.82rem; font-weight: 700; min-width: 56px; text-align: center; }

/* ---------- Footer ---------- */
.footer {
  background: #0b1023;
  color: #cbd5e1;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer .f-desc { font-size: 0.9rem; color: #94a3b8; margin-bottom: 18px; max-width: 300px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: grid; place-items: center;
  color: #cbd5e1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.socials a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

.footer h4 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 18px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 0.9rem; color: #94a3b8; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; font-size: 0.9rem; color: #94a3b8; margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: #a5b4fc; }
.footer-contact a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #64748b;
}
.footer-bottom a { color: #a5b4fc; }

/* ---------- Animasi muncul ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { 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; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fc-1 { left: -6px; }
  .fc-2 { right: -4px; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .about-grid { grid-template-columns: 1fr; }
  .vm-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .fitur-list { grid-template-columns: 1fr; }
  .d-meta { grid-template-columns: repeat(3, 1fr); }

  .hamburger { display: grid; }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 5%;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links a { padding: 13px 18px; border-radius: 12px; }
  .nav-cta { margin-left: 0; justify-content: center; }
}

@media (max-width: 560px) {
  section { padding: 56px 0; }
  .features-grid, .products-grid, .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 64px 0 84px; }
  .hero-stats { gap: 24px; }
  .detail-info { padding: 22px; }
  .order-buttons .btn { min-width: 100%; }
  .lb-btn .label { display: none; }
}

/* ================= Member Area (login & dashboard pelanggan) ================= */
.member-auth { min-height: calc(100vh - 72px); display: flex; align-items: center; padding: 56px 0; }
.member-auth-card {
  width: min(440px, 100%);
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
  text-align: center;
}
.member-auth-card > img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 10px 24px rgba(79,70,229,.35); margin-bottom: 18px; }
.member-auth-card h1 { font-size: 1.5rem; margin-bottom: 8px; }
.member-auth-card > p { color: var(--dark-2); font-size: .95rem; margin-bottom: 24px; }
.member-auth-card form { text-align: left; }
.member-auth-card .form-group input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--border); background: #f8fafc; font-size: .95rem;
}
.member-auth-card .form-group input:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
.member-auth-card .form-group input.is-invalid { border-color: #ef4444; }
.member-auth-card .w-100 { width: 100%; justify-content: center; }
.member-auth-row { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.member-check { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--dark-2); cursor: pointer; }
.member-auth-foot { margin: 18px 0 0; font-size: .88rem; color: var(--dark-2); }
.member-auth-foot a { color: var(--primary); font-weight: 600; }
.member-alert {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  padding: 12px 16px; border-radius: 12px; font-size: .9rem; margin-bottom: 18px; text-align: left;
}

.member-hero { background: var(--grad); color: #fff; padding: 56px 0 64px; }
.member-hero-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.member-hero-badge {
  display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  margin-bottom: 12px; text-transform: uppercase;
}
.member-hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.member-hero p { color: rgba(255,255,255,.85); }

.member-body { padding-top: 40px; }
.member-section-title { font-size: 1.25rem; margin: 40px 0 16px; }

.member-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.member-stat {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 20px;
  display: flex; flex-direction: column; gap: 4px;
}
.member-stat-num { font-size: 1.35rem; font-weight: 800; color: var(--primary); }
.member-stat-label { font-size: .82rem; color: var(--dark-2); }

.member-subs { display: grid; gap: 14px; }
.member-sub {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.member-sub-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.member-sub h3 { font-size: 1.05rem; margin-bottom: 4px; }
.member-sub-meta { color: var(--dark-2); font-size: .88rem; }
.member-sub-bottom { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--dark-2); font-size: .86rem; }
.member-sub-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; color: var(--primary); font-weight: 600; }
.member-sub-bottom .btn { margin-left: auto; }

.badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; white-space: nowrap;
}
.badge-success { background: #dcfce7; color: #15803d; }
.badge-warning { background: #fef3c7; color: #b45309; }
.badge-danger  { background: #fee2e2; color: #b91c1c; }
.badge-secondary { background: #f1f5f9; color: #475569; }

.member-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.member-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.member-table th, .member-table td { padding: 13px 18px; text-align: left; font-size: .88rem; }
.member-table thead th { background: #f8fafc; border-bottom: 1px solid var(--border); color: var(--dark-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.member-table tbody tr { border-bottom: 1px solid #f1f5f9; }
.member-table tbody tr:last-child { border-bottom: none; }
.member-table tbody tr:hover { background: #f8fafc; }
.member-table .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; }
.member-table-empty { text-align: center; color: var(--dark-2); padding: 32px !important; }
.btn-sm { padding: 8px 16px; font-size: .82rem; }
.btn-sm svg { width: 15px; height: 15px; }

.member-empty { text-align: center; padding: 72px 24px; }
.member-empty img { border-radius: 16px; box-shadow: 0 10px 24px rgba(79,70,229,.35); margin-bottom: 18px; }
.member-empty h2 { margin-bottom: 8px; }
.member-empty p { color: var(--dark-2); max-width: 420px; margin: 0 auto 22px; }
