/* ==========================================================================
   FluxItem Landing Page - Minimalist, Elegant & Modern Light Theme
   Typography: Clean, light weights (font-weight 400-600), high legibility
   ========================================================================== */

:root {
  /* Minimalist Pure Light Color System */
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f9fafb;
  --bg-glass: rgba(255, 255, 255, 0.88);

  --border-color: #e5e7eb;
  --border-subtle: #f1f5f9;
  --border-hover: #cbd5e1;

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  /* Accent & Action Tokens */
  --primary: #0f172a;
  --primary-hover: #1e293b;
  --primary-text: #ffffff;

  --accent-indigo: #4f46e5;
  --accent-indigo-hover: #4338ca;
  --accent-indigo-light: #eef2ff;
  --accent-indigo-border: #e0e7ff;

  --accent-emerald: #059669;
  --accent-emerald-light: #ecfdf5;
  --accent-emerald-border: #d1fae5;

  --accent-sky: #0284c7;
  --accent-sky-light: #f0f9ff;

  --accent-amber: #d97706;
  --accent-amber-light: #fffbeb;
  --accent-amber-border: #fef3c7;

  --accent-rose: #e11d48;
  --accent-rose-light: #fff1f2;
  --accent-rose-border: #ffe4e6;

  /* Refined, Soft Diffused Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px -4px rgba(0, 0, 0, 0.06), 0 4px 8px -2px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 36px -8px rgba(0, 0, 0, 0.07), 0 8px 12px -4px rgba(0, 0, 0, 0.02);

  /* Refined Geometry */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Baseline */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Navigation Bar (Minimalist Glass)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.brand-badge {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  font-weight: 500;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.885rem;
  font-weight: 450;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Minimalist Clean Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.885rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-text);
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-xs);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 12px 24px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.menu-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text-primary);
}

/* ==========================================================================
   Hero Section (Airy, Minimalist, Centered)
   ========================================================================== */
.hero {
  position: relative;
  padding: 80px 0 50px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-subtle) 100%);
}

.hero-glow {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 450;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.badge-pill span:first-child {
  color: var(--accent-indigo);
  font-weight: 500;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 860px;
  margin: 0 auto 20px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 650px;
  margin: 0 auto 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Live API Status indicator */
.api-status-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  font-weight: 450;
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 6px var(--accent-emerald);
}

/* ==========================================================================
   Hero Interactive Kanban Mockup (Clean Light Window)
   ========================================================================== */
.hero-mockup-wrapper {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  padding: 6px;
  background: #ffffff;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
}

.mockup-window {
  background: #ffffff;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  text-align: left;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot-red { background: #fca5a5; }
.dot-yellow { background: #fcd34d; }
.dot-green { background: #86efac; }

.mockup-title {
  font-size: 0.78rem;
  font-weight: 450;
  color: var(--text-dim);
}

.kanban-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 16px;
  background: #ffffff;
  min-height: 360px;
}

.kanban-col {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 6px;
}

.col-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.col-badge {
  font-size: 0.7rem;
  font-weight: 450;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.card-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
}

.task-card {
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  padding: 12px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: var(--transition);
}

.task-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.card-code {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent-indigo);
  margin-bottom: 4px;
}

.card-title {
  font-size: 0.82rem;
  font-weight: 450;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.priority-tag {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 450;
}

.priority-mendesak {
  background: var(--accent-rose-light);
  color: var(--accent-rose);
  border: 1px solid var(--accent-rose-border);
}

.priority-tinggi {
  background: var(--accent-amber-light);
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber-border);
}

.priority-sedang {
  background: var(--accent-sky-light);
  color: var(--accent-sky);
  border: 1px solid #e0f2fe;
}

.priority-rendah {
  background: var(--bg-subtle);
  color: var(--text-dim);
  border: 1px solid var(--border-color);
}

.assignee-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 500;
}

/* ==========================================================================
   Stats Banner (Minimalist Row)
   ========================================================================== */
.stats-banner {
  padding: 44px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ==========================================================================
   Features Section (Clean Minimal Grid)
   ========================================================================== */
.features-section {
  padding: 88px 0;
  background: var(--bg-subtle);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-tag {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--accent-indigo);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.icon-indigo { background: var(--accent-indigo-light); color: var(--accent-indigo); }
.icon-emerald { background: var(--accent-emerald-light); color: var(--accent-emerald); }
.icon-sky { background: var(--accent-sky-light); color: var(--accent-sky); }
.icon-amber { background: var(--accent-amber-light); color: var(--accent-amber); }
.icon-rose { background: var(--accent-rose-light); color: var(--accent-rose); }

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 550;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.885rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

/* ==========================================================================
   Excel Feature Spotlight (Refined Minimal Card)
   ========================================================================== */
.excel-spotlight {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.spotlight-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.spotlight-content h2 {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.spotlight-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  font-weight: 400;
  line-height: 1.65;
}

.spotlight-checklist {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.5;
}

.spotlight-checklist li span:last-child {
  color: var(--text-secondary);
}

.spotlight-checklist li span:last-child strong {
  font-weight: 550;
  color: var(--text-primary);
}

.check-icon {
  color: var(--accent-emerald);
  font-weight: 600;
}

.spotlight-preview {
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 28px 20px;
  text-align: center;
}

.template-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald-border);
  font-size: 0.72rem;
  font-weight: 500;
  margin-bottom: 14px;
}

/* ==========================================================================
   Pricing Section (Modern Minimal)
   ========================================================================== */
.pricing-section {
  padding: 88px 0;
  background: var(--bg-subtle);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-xs);
}

.pricing-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 400;
}

.plan-price {
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 22px;
}

.plan-price span {
  font-size: 0.885rem;
  font-weight: 400;
  color: var(--text-dim);
}

.plan-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.865rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 88px 0;
  background: #ffffff;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.faq-question:hover {
  color: var(--accent-indigo);
}

.faq-icon {
  font-size: 0.75rem;
  color: var(--text-dim);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   CTA Section (Elegant Obsidian Slate Box)
   ========================================================================== */
.cta-section {
  padding: 60px 0 80px;
  background: #ffffff;
}

.cta-box {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 56px 32px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #ffffff;
}

.cta-box p {
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 30px;
  color: #94a3b8;
  font-weight: 400;
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

/* ==========================================================================
   Footer (Clean Light Minimalist)
   ========================================================================== */
.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-color);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-size: 0.885rem;
  font-weight: 550;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col a, .footer-col span {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.footer-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 400;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.6rem; }
  .kanban-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .spotlight-card { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .hero { padding: 50px 0 36px; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .kanban-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 40px 20px; }
  .cta-box h2 { font-size: 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
