/* =============================================================================
   PT. Teknologi Aplikasi Mandiri — Global Stylesheet
   ============================================================================= */

/* ── Reset & Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

/* ── Colors & Themes ──────────────────────────────────────────────────────── */
:root {
  --bg-main: #070c1b;
  --text-main: #e8f0fe;
  --text-muted: #94a3b8;
  --nav-bg: rgba(7,12,27,0.88);
  --border-color: rgba(255,255,255,0.06);
  --card-bg: rgba(255,255,255,0.02);
  --card-border: rgba(255,255,255,0.07);
  --grid-line: rgba(6,182,212,0.045);
  --btn-bg: rgba(255,255,255,0.05);
  --btn-text: #e2e8f0;
  --input-bg: rgba(255,255,255,0.03);
  --modal-bg: #1e293b;
  --table-border: rgba(255,255,255,0.05);
}

[data-theme="light"] {
  --bg-main: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #475569;
  --nav-bg: rgba(226,232,240,0.88);
  --border-color: rgba(0,0,0,0.15);
  --card-bg: #f1f5f9;
  --card-border: rgba(0,0,0,0.12);
  --grid-line: rgba(6,182,212,0.15);
  --btn-bg: #cbd5e1;
  --btn-text: #1e293b;
  --input-bg: #f1f5f9;
  --modal-bg: #f1f5f9;
  --table-border: rgba(0,0,0,0.1);
}

html, body { overflow-x: hidden; width: 100%; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui;
  background: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

[v-cloak] { display: none; }

/* ── Scrollbar ──────────────────────────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Animations ─────────────────────────────────────────────────────────────── */
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0) scale(1);      }
  33%     { transform: translate(45px,-35px) scale(1.08); }
  66%     { transform: translate(-28px,22px) scale(0.93); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0) scale(1);       }
  33%     { transform: translate(-55px,22px) scale(1.12); }
  66%     { transform: translate(32px,-42px) scale(0.88);  }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate(0,0) scale(1);      }
  50%     { transform: translate(22px,32px) scale(1.14); }
}
@keyframes gradShift {
  0%,100% { background-position: 0% 50%;   }
  50%     { background-position: 100% 50%; }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(110%); }
  to   { opacity: 1; transform: translateX(0);    }
}
@keyframes pulseDot {
  0%,100% { opacity: 1;   }
  50%     { opacity: 0.3; }
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0);   }
  50%     { transform: translateY(8px); }
}
@keyframes shimmerBar {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0);       }
}

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.navbar.scrolled {
  background: rgba(7,12,27,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(6,182,212,0.12);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-logo-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  text-align: left;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(6,182,212,0.35);
}
.nav-logo-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  transition: color 0.2s;
}
.nav-logo-btn:hover .nav-logo-name { color: #22d3ee; }
.nav-logo-sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
  margin-top: 2px;
}
.nav-center { display: flex; align-items: center; gap: 4px; }
.nav-right  { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  background: none;
  font-family: inherit;
  color: var(--text-muted);
}
.nav-tab:hover { color: #e2e8f0; background: var(--card-bg); }
.nav-tab.active {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: #070c1b;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(6,182,212,0.3), 0 3px 10px rgba(0,0,0,0.3);
}
.nav-anchor {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-anchor:hover { color: #e2e8f0; }

/* ── Auth info pill ─────────────────────────────────────────────────────────── */
.auth-info {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: transparent;
}
.hero-bg {
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 8% 50%,  rgba(6,182,212,0.1)  0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 92% 18%, rgba(124,58,237,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 62% 88%, rgba(244,114,182,0.07) 0%, transparent 60%);
}
.hero-grid {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(6,182,212,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,182,212,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 100%);
}
.hero-orb { position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-orb-1 {
  width: 680px; height: 680px;
  background: radial-gradient(circle, rgba(6,182,212,0.22) 0%, transparent 65%);
  top: -260px; left: -160px;
  animation: orbFloat1 15s ease-in-out infinite;
}
.hero-orb-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(124,58,237,0.18) 0%, transparent 65%);
  top: 40px; right: -160px;
  animation: orbFloat2 19s ease-in-out infinite;
}
.hero-orb-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(244,114,182,0.15) 0%, transparent 65%);
  bottom: -90px; left: 42%;
  animation: orbFloat3 12s ease-in-out infinite;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  padding-top: 100px;
  padding-bottom: 80px;
}
@media (min-width: 1024px) {
  .hero-inner { flex-direction: row; align-items: center; }
}
.hero-text { flex: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.22);
  margin-bottom: 28px;
}
.hero-eyebrow-text {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #22d3ee;
}
.hero-h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--text-main);
}
.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: #070c1b;
  font-weight: 700;
  font-size: 15px;
  border-radius: 14px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  box-shadow: 0 8px 28px rgba(6,182,212,0.38);
  transition: all 0.28s ease;
}
.hero-cta:hover {
  box-shadow: 0 12px 40px rgba(6,182,212,0.55);
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.hero-stats-card {
  flex-shrink: 0;
  width: 100%;
  max-width: 340px;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.scroll-hint span { font-size: 9px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }

/* ── Glass Card ─────────────────────────────────────────────────────────────── */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 32px;
}

/* ── Gradient text ──────────────────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #06b6d4 0%, #818cf8 45%, #f472b6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradShift 7s ease infinite;
}

/* ── Gradient divider ───────────────────────────────────────────────────────── */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6,182,212,0.25), rgba(129,140,248,0.18), transparent);
}

/* ── Stat item ──────────────────────────────────────────────────────────────── */
.stat-value {
  font-size: 30px;
  font-weight: 900;
  background: linear-gradient(135deg, #06b6d4, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── Pulse dot ──────────────────────────────────────────────────────────────── */
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  animation: pulseDot 2.2s ease-in-out infinite;
}

/* ── Section ────────────────────────────────────────────────────────────────── */
.site-section { padding: 96px 24px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #06b6d4, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Product Cards ──────────────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 16px;
}
@media (min-width: 768px)  { .products-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }

.product-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 28px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.12);
}
.product-card .card-glow {
  position: absolute; top: 0; right: 0;
  width: 220px; height: 220px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.09;
  transition: opacity 0.35s;
  pointer-events: none;
}
.product-card:hover .card-glow { opacity: 0.2; }
.product-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.product-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
  position: relative; z-index: 1;
}
.product-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  position: relative; z-index: 1;
  line-height: 1.3;
}
.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  position: relative; z-index: 1;
}
.product-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
  position: relative; z-index: 1;
}
.product-keywords span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
}

/* ── Client Cards ───────────────────────────────────────────────────────────── */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px)  { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .clients-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .clients-grid { grid-template-columns: repeat(5, 1fr); } }

.client-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
}
.client-card:hover {
  border-color: rgba(6,182,212,0.28);
  background: rgba(6,182,212,0.05);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.client-avatar {
  width: 56px; height: 56px;
  border-radius: 12px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.client-name     { font-size: 13px; font-weight: 600; color: var(--text-main); line-height: 1.3; }
.client-industry { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* Dynamic drop-shadow for transparent logos so they are visible on both themes */
.logo-img { filter: drop-shadow(0 0 2px rgba(255, 255, 255, 1)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)); transition: filter 0.3s ease; }
[data-theme="light"] .logo-img { filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.2)); }

/* ── Partner Cards ──────────────────────────────────────────────────────────── */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (min-width: 768px)  { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .partners-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .partners-grid { grid-template-columns: repeat(5, 1fr); } }

.partner-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
}
.partner-card:hover {
  border-color: rgba(129,140,248,0.28);
  background: rgba(129,140,248,0.05);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.partner-avatar {
  width: 56px; height: 56px;
  border-radius: 12px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.partner-name { font-size: 14px; font-weight: 600; color: var(--text-main); line-height: 1.3; }
.partner-role { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ── Modal ──────────────────────────────────────────────────────────────────── */
.modal-backdrop {
  background: var(--card-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.modal-box {
  background: linear-gradient(145deg, rgba(12,22,46,0.98) 0%, rgba(7,12,27,0.99) 100%);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.65), 0 0 60px rgba(6,182,212,0.07);
}

/* ── Toast ──────────────────────────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 74px; right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.toast {
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastIn 0.35s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: all;
  box-shadow: 0 8px 30px rgba(0,0,0,0.55);
  max-width: 300px;
  backdrop-filter: blur(12px);
}
.toast-success { background: rgba(17,66,38,0.9);  border: 1px solid rgba(34,197,94,0.28);  color: #4ade80; }
.toast-error   { background: rgba(100,23,23,0.9);  border: 1px solid rgba(239,68,68,0.28);  color: #f87171; }
.toast-info    { background: rgba(10,38,58,0.9);   border: 1px solid rgba(6,182,212,0.28);  color: #22d3ee; }

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, #0891b2, #06b6d4);
  color: #070c1b;
  box-shadow: 0 4px 14px rgba(6,182,212,0.28);
}
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(6,182,212,0.44);
  transform: translateY(-1px);
  filter: brightness(1.06);
}
.btn-secondary {
  background: var(--border-color);
  color: #94a3b8;
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-secondary:hover { background: rgba(255,255,255,0.11); color: #e2e8f0; border-color: rgba(255,255,255,0.16); }
.btn-danger {
  background: rgba(239,68,68,0.1);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.2);
}
.btn-danger:hover  { background: rgba(239,68,68,0.2); color: #fca5a5; }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 6px;
  border: none;
}
.btn-ghost:hover { color: #f87171; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-icon { padding: 8px; border-radius: 8px; }

/* ── Forms ──────────────────────────────────────────────────────────────────── */
.form-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  color: var(--text-main);
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus {
  border-color: #06b6d4;
  background: var(--input-bg);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.12);
  outline: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input option  { background: var(--bg-main); color: var(--text-main); }
.form-input optgroup { background: var(--bg-main); font-weight: 700; color: var(--text-muted); }
textarea.form-input { resize: none; }

/* ── Badges ─────────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-cyan   { background: rgba(6,182,212,0.13);  color: #22d3ee; border: 1px solid rgba(6,182,212,0.25); }
.badge-green  { background: rgba(34,197,94,0.12);  color: #4ade80; border: 1px solid rgba(34,197,94,0.22); }
.badge-red    { background: rgba(239,68,68,0.12);  color: #f87171; border: 1px solid rgba(239,68,68,0.22); }
.badge-yellow { background: rgba(250,204,21,0.1);  color: #fde047; border: 1px solid rgba(250,204,21,0.2);  }
.badge-purple { background: rgba(167,139,250,0.1); color: #a78bfa; border: 1px solid rgba(167,139,250,0.2); }

/* ── Tag Pill ───────────────────────────────────────────────────────────────── */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6,182,212,0.09);
  border: 1px solid rgba(6,182,212,0.2);
  color: #22d3ee;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 500;
}

/* ── Module Layout ──────────────────────────────────────────────────────────── */
.module-wrap { max-width: 1280px; margin: 0 auto; padding: 88px 24px 48px; }
.module-header {
  background: linear-gradient(135deg, rgba(6,182,212,0.07) 0%, rgba(129,140,248,0.05) 100%);
  border: 1px solid rgba(6,182,212,0.13);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 20px;
}
.module-title { font-size: 22px; font-weight: 800; color: var(--text-main); margin-top: 4px; }
.module-desc  { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Persistence bar + Form + Table wrappers */
.persist-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
}
.form-panel {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
}
.form-panel-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-panel-title .icon-badge {
  width: 24px; height: 24px;
  border-radius: 7px;
  background: rgba(6,182,212,0.18);
  display: flex; align-items: center; justify-content: center;
}
.partner-subform {
  background: var(--card-bg);
  border: 1px solid var(--card-bg);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
}

/* ── Summary bar (ledger header) ────────────────────────────────────────────── */
.summary-bar {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.summary-divider { width: 1px; height: 36px; background: var(--border-color); }
.summary-val  { font-size: 18px; font-weight: 800; display: block; line-height: 1.1; }
.summary-desc { font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }

/* ── Table ──────────────────────────────────────────────────────────────────── */
.data-panel { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 14px; overflow: hidden; }
.data-panel-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--btn-bg);
}
.table-wrap  { overflow-x: auto; }
.table-wrap::-webkit-scrollbar { height: 4px; }
.table-wrap::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 2px; }

.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th {
  text-align: left;
  padding: 11px 16px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
  background: var(--btn-bg);
}
.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--card-bg);
  color: #7a9cc4;
  vertical-align: middle;
}
.data-table tbody tr { transition: background 0.15s; }
.data-table tbody tr:hover { background: rgba(6,182,212,0.04); }

/* ── Reveal ─────────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed { opacity: 1; transform: none; }

/* ── Vue Transitions ────────────────────────────────────────────────────────── */
.fade-enter-active, .fade-leave-active { transition: opacity 0.25s ease; }
.fade-enter-from, .fade-leave-to       { opacity: 0; }

.modal-enter-active { transition: all 0.32s cubic-bezier(0.34,1.56,0.64,1); }
.modal-leave-active { transition: all 0.2s ease; }
.modal-enter-from   { opacity: 0; transform: scale(0.88) translateY(-14px); }
.modal-leave-to     { opacity: 0; transform: scale(0.95); }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 24px;
  margin-top: 80px;
}

/* ── Helpers ────────────────────────────────────────────────────────────────── */
.text-white   { color: var(--text-main); }
.text-muted   { color: var(--text-muted); }
.text-cyan    { color: #22d3ee; }
.text-green   { color: #4ade80; }
.text-red     { color: #f87171; }
.text-yellow  { color: #fde047; }
.text-orange  { color: #fb923c; }
.font-bold    { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.text-right   { text-align: right; }
.nowrap       { white-space: nowrap; }
.w-full       { width: 100%; }
.empty-state  { text-align: center; padding: 48px 16px; color: var(--text-muted); font-size: 13px; font-style: italic; }

/* Editor-specific overrides */
.editor-sub-panel {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
}
.editor-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
}
.editor-item-avatar {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: var(--text-main); flex-shrink: 0;
}
.editor-item-info { flex: 1; min-width: 0; }
.editor-item-name { font-size: 13px; font-weight: 600; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.editor-item-sub  { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* Theme Utility Classes */
.bg-element { background: var(--btn-bg); }
.modal-backdrop-bg { background: rgba(0, 0, 0, 0.75); }
[data-theme='light'] .modal-backdrop-bg { background: rgba(255, 255, 255, 0.75); }
.modal-content-bg { background: var(--modal-bg); }
.border-subtle { border-color: var(--border-color); }
.text-main { color: var(--text-main); }

/* ── Quill Editor Overrides ─────────────────────────────────────────────────── */
.ql-toolbar.ql-snow {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-color: var(--border-color) !important;
  background: var(--card-bg);
}
.ql-container.ql-snow {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-color: var(--border-color) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  background: var(--input-bg);
}
.ql-snow .ql-stroke { stroke: var(--text-main) !important; }
.ql-snow .ql-fill { fill: var(--text-main) !important; }
.ql-snow .ql-picker { color: var(--text-main) !important; }
[data-theme='light'] .ql-toolbar.ql-snow,
[data-theme='light'] .ql-container.ql-snow {
  border-color: rgba(0,0,0,0.1) !important;
}

.rich-text-content ul { list-style-type: disc; padding-left: 1.5rem; margin-top: 0.5rem; margin-bottom: 0.5rem; }
.rich-text-content ol { list-style-type: decimal; padding-left: 1.5rem; margin-top: 0.5rem; margin-bottom: 0.5rem; }
.rich-text-content p { margin-bottom: 0.5rem; }

.fade-enter-active, .fade-leave-active { transition: opacity 0.5s ease; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* ── Hero Trust Bar Marquee ─────────────────────────────────────────────────── */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.hero-trust-bar {
  /* Mask applied in HTML to stop on right side */
}
.trustbar-logo {
  filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.5)) grayscale(20%);
  transition: all 0.3s ease;
}
.trustbar-logo:hover {
  filter: drop-shadow(0 0 16px rgba(6, 182, 212, 0.8)) grayscale(0%);
}

/* ── Tech Stack Badges ──────────────────────────────────────────────────────── */
.tech-stack-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(6,182,212,0.06);
  border: 1px solid rgba(6,182,212,0.15);
  color: #22d3ee;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: default;
}
.tech-stack-badge:hover {
  background: rgba(6,182,212,0.12);
  border-color: rgba(6,182,212,0.3);
  box-shadow: 0 0 16px rgba(6,182,212,0.2);
  transform: translateY(-2px);
}
[data-theme="light"] .tech-stack-badge {
  background: rgba(6,182,212,0.1);
  border-color: rgba(6,182,212,0.3);
  color: #0891b2;
}
[data-theme="light"] .tech-stack-badge:hover {
  background: rgba(6,182,212,0.2);
  box-shadow: 0 4px 12px rgba(6,182,212,0.15);
}
