/* FlowSync Admin Dashboard Template — Shared Styles */
.dark {
  --bg: #080810;
  --bg2: #0d0d18;
  --border: rgba(255,255,255,0.07);
  --cyan: #06b6d4;
  --cyan-light: #89d4e8;
  --text: #e2e8f0;
  --muted: #64748b;
}

.light {
  --bg: #f8fafc;
  --bg2: #ffffff;
  --border: rgba(0,0,0,0.07);
  --cyan: #0ea5e9;
  --cyan-light: #7dd3fc;
  --text: #0f172a;
  --muted: #64748b;
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
}

/* NAV */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8,8,16,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* LOGO */
.logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: #06b6d4; }

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); }

.btn-outline-cyan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.25);
  color: #89d4e8;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-outline-cyan:hover { background: rgba(6,182,212,0.15); }

/* GRADIENT TEXT */
.gradient-text {
  background: linear-gradient(135deg, #89d4e8 0%, #67e8f9 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* SECTION TYPOGRAPHY */
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #06b6d4;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.section-sub {
  color: #64748b;
  font-size: 1rem;
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* FEATURE CARDS */
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.2s;
}
.feature-card:hover {
  background: rgba(6,182,212,0.06);
  border-color: rgba(6,182,212,0.2);
  transform: translateY(-2px);
}
.feature-icon { font-size: 1.75rem; margin-bottom: 1rem; }
.feature-title { font-size: 0.95rem; font-weight: 600; color: white; margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.85rem; color: #64748b; line-height: 1.6; }

/* STEP NUMBERS */
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(6,182,212,0.25);
  margin-bottom: 0.75rem;
}

/* TESTIMONIALS */
.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.5rem;
}
.stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 0.75rem; }
.testimonial-text { font-size: 0.875rem; color: #94a3b8; line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: white; flex-shrink: 0; }
.author-name { font-size: 0.8rem; font-weight: 600; color: white; }
.author-role { font-size: 0.7rem; color: #475569; }

/* PRICING */
.pricing-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
}
.pricing-card.featured {
  background: rgba(6,182,212,0.08);
  border-color: rgba(6,182,212,0.3);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 9999px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.plan-name { font-size: 0.85rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.plan-price { font-size: 2.25rem; font-weight: 800; color: white; line-height: 1; }
.plan-price span.plan-period { font-size: 0.9rem; font-weight: 400; color: #475569; }
.plan-period-inline { font-size: 0.7rem; color: #475569; display: block; margin-top: 2px; }
.plan-desc { font-size: 0.8rem; color: #64748b; margin-top: 0.5rem; line-height: 1.5; }
.plan-features { list-style: none; padding: 0; margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }
.plan-features li { font-size: 0.8rem; color: #94a3b8; padding-left: 1.25rem; position: relative; }
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: #06b6d4; font-size: 0.75rem; }

/* FAQ */
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: rgba(6,182,212,0.25); }
.faq-q { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; font-weight: 500; color: white; }
.faq-a { font-size: 0.85rem; color: #64748b; margin-top: 0.75rem; line-height: 1.6; }

/* CTA GLOW */
.cta-glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(6,182,212,0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* FOOTER */
.footer-heading { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; color: #334155; margin-bottom: 0.75rem; font-family: 'JetBrains Mono', monospace; }
.footer-link { display: block; font-size: 0.8rem; color: #475569; text-decoration: none; margin-bottom: 0.4rem; transition: color 0.15s; }
.footer-link:hover { color: #94a3b8; }

/* MOCKUP WINDOW */
.mockup-window {
  background: #0d0d18;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.mockup-bar {
  background: #111120;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mockup-url { margin-left: 8px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: #334155; }
.mockup-body { height: 340px; overflow: hidden; }

/* MINI DASHBOARD */
.sidebar-item { font-size: 11px; color: #475569; padding: 5px 8px; border-radius: 6px; cursor: pointer; transition: all 0.15s; }
.sidebar-item:hover { background: rgba(255,255,255,0.04); color: #94a3b8; }
.sidebar-item.active { background: rgba(6,182,212,0.12); color: #89d4e8; }
.mini-badge { font-size: 9px; padding: 2px 7px; border-radius: 9999px; font-weight: 600; }
.mini-badge.cyan { background: rgba(6,182,212,0.15); color: #89d4e8; }
.mini-badge.green { background: rgba(34,197,94,0.12); color: #86efac; }
.stat-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 8px; padding: 10px; }
.stat-num { font-size: 1.25rem; font-weight: 700; color: white; }
.stat-label { font-size: 9px; color: #475569; margin-top: 2px; }
.task-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.task-check { font-size: 10px; color: #475569; width: 14px; flex-shrink: 0; }
.task-check.done { color: #06b6d4; }
.task-text { font-size: 11px; color: #94a3b8; flex: 1; }
.task-text.done { text-decoration: line-through; color: #334155; }
.task-tag { font-size: 9px; padding: 1px 6px; border-radius: 9999px; }
.task-tag.cyan { background: rgba(6,182,212,0.15); color: #89d4e8; }
.task-tag.blue { background: rgba(59,130,246,0.12); color: #93c5fd; }
.task-tag.amber { background: rgba(245,158,11,0.12); color: #fcd34d; }
.task-tag.green { background: rgba(34,197,94,0.12); color: #86efac; }

/* LOGO BRANDS */
.logo-brand { font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; font-weight: 600; color: #1e293b; letter-spacing: -0.5px; }

/* BADGE */
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.7rem; padding: 3px 10px; border-radius: 9999px; }
.badge-cyan { background: rgba(6,182,212,0.1); border: 1px solid rgba(6,182,212,0.2); color: #89d4e8; }
.badge-green { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); color: #86efac; }
.badge-amber { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); color: #fcd34d; }
.badge-blue { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); color: #93c5fd; }
.badge-red { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #fca5a5; }

/* FORM */
.form-label { display: block; font-size: 0.8rem; font-weight: 500; color: #94a3b8; margin-bottom: 0.4rem; }
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: white;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
}
.form-input:focus { border-color: rgba(6,182,212,0.5); }
.form-input::placeholder { color: #334155; }

/* DIVIDER */
.divider { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 2rem 0; }

/* CODE BLOCK */
.code-block {
  background: #0a0a14;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #94a3b8;
  overflow-x: auto;
}
.code-block .kw { color: #89d4e8; }
.code-block .str { color: #86efac; }
.code-block .cm { color: #334155; }

/* CARD */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  transition: all 0.2s;
}
.card:hover { background: rgba(255,255,255,0.05); border-color: rgba(6,182,212,0.2); }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

/* ===== TAILWIND OVERRIDES untuk light mode ===== */
html:not(.dark) .bg-\[\#080810\] { background: var(--bg) !important; }
html:not(.dark) .text-slate-300 { color: var(--text) !important; }
html:not(.dark) .text-slate-400 { color: #64748b !important; }
html:not(.dark) .text-slate-500 { color: #475569 !important; }
html:not(.dark) .text-white { color: #0f172a !important; }
html:not(.dark) .border-white\/5,
html:not(.dark) .border-white\/10,
html:not(.dark) .border-b-white\/5,
html:not(.dark) .border-t-white\/5 { border-color: var(--border) !important; }
html:not(.dark) .hover\:text-white:hover { color: #0f172a !important; }
html:not(.dark) .hover\:bg-white\/5:hover { background: rgba(0,0,0,0.03) !important; }
html:not(.dark) .text-slate-600 { color: #64748b !important; }
html:not(.dark) .bg-white\/\[0\.03\] { background: rgba(0,0,0,0.03) !important; }
html:not(.dark) .bg-white\/\[0\.04\] { background: rgba(0,0,0,0.04) !important; }