/* ==========================================================================
   MITRACNG - Clean, Modern & Minimalist CNG Management Platform
   Design System: Linear / Vercel Clean B2B Aesthetic
   Theme: Light Mode (Default) & Dark Mode with Toggle
   ========================================================================== */

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

/* ==========================================================================
   THEME TOKENS: LIGHT MODE (DEFAULT)
   ========================================================================== */
:root,
[data-theme="light"] {
  /* Surface Colors */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-subtle: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #f1f5f9;
  --bg-box-code: #f1f5f9;
  --header-bg: rgba(248, 250, 252, 0.88);
  
  /* Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  /* Accents */
  --brand-emerald: #059669;
  --brand-emerald-subtle: rgba(5, 150, 105, 0.08);
  --brand-emerald-border: rgba(5, 150, 105, 0.22);
  --brand-teal: #0d9488;
  --brand-blue: #2563eb;

  /* Status Colors */
  --status-success: #059669;
  --status-warning: #d97706;
  --status-info: #0284c7;
  --status-purple: #7c3aed;

  /* WhatsApp */
  --wa-green: #25d366;
  --wa-green-hover: #20ba5a;
  --wa-subtle: rgba(37, 211, 102, 0.1);

  /* Borders & Dividers */
  --border-default: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(15, 23, 42, 0.16);
  --border-focus: rgba(5, 150, 105, 0.4);

  /* Shadows & Ambient */
  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  --preview-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
  --ambient-gradient: radial-gradient(ellipse 60% 40% at 50% -10%, rgba(5, 150, 105, 0.06) 0%, transparent 60%),
                      radial-gradient(circle at 90% 40%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
  --top-bar-bg: rgba(15, 23, 42, 0.03);
  --dot-color: rgba(15, 23, 42, 0.18);
  --cta-bg: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  --floating-wa-bg: #ffffff;
  --floating-wa-text: #0f172a;
}

/* ==========================================================================
   THEME TOKENS: DARK MODE
   ========================================================================== */
[data-theme="dark"] {
  /* Surface Colors */
  --bg-main: #090d16;
  --bg-surface: #0f1523;
  --bg-card: #131b2e;
  --bg-card-subtle: rgba(19, 27, 46, 0.7);
  --bg-card-hover: #18223a;
  --bg-box-code: #090d16;
  --header-bg: rgba(9, 13, 22, 0.85);
  
  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Accents */
  --brand-emerald: #10b981;
  --brand-emerald-subtle: rgba(16, 185, 129, 0.12);
  --brand-emerald-border: rgba(16, 185, 129, 0.28);
  --brand-teal: #0d9488;
  --brand-blue: #3b82f6;

  /* Status Colors */
  --status-success: #10b981;
  --status-warning: #f59e0b;
  --status-info: #0ea5e9;
  --status-purple: #8b5cf6;

  /* WhatsApp */
  --wa-green: #25d366;
  --wa-green-hover: #20ba5a;
  --wa-subtle: rgba(37, 211, 102, 0.12);

  /* Borders & Dividers */
  --border-default: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.14);
  --border-focus: rgba(16, 185, 129, 0.4);

  /* Shadows & Ambient */
  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
  --preview-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  --ambient-gradient: radial-gradient(ellipse 60% 40% at 50% -10%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
                      radial-gradient(circle at 90% 40%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
  --top-bar-bg: rgba(0, 0, 0, 0.25);
  --dot-color: rgba(255, 255, 255, 0.15);
  --cta-bg: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
  --floating-wa-bg: #111a14;
  --floating-wa-text: #ffffff;
}

/* ==========================================================================
   GLOBAL TYPOGRAPHY & LAYOUT CONSTANTS
   ========================================================================== */
:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-w: 1180px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 9999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.15s var(--ease);
  --t-base: 0.25s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--t-base), color var(--t-base);
  
  /* Anti-Theft / Anti-Copy Protection */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Allow text input interaction in forms & simulators */
input, select, textarea {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

/* Prevent dragging images and links */
img, svg, a {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Subtle background grain / glow */
.subtle-ambient {
  position: fixed;
  inset: 0;
  background: var(--ambient-gradient);
  pointer-events: none;
  z-index: 0;
  transition: background var(--t-base);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

p {
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header-wrap {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-default);
  z-index: 100;
  transition: background var(--t-base), border-color var(--t-base);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-emerald), var(--brand-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.nav-brand-title {
  color: var(--text-primary);
}

.nav-brand-title span {
  color: var(--brand-emerald);
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-item-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--t-fast);
}

.nav-item-link:hover {
  color: var(--brand-emerald);
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   THEME TOGGLE BUTTON (Light/Dark Switcher)
   ========================================================================== */
.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--t-fast);
}

.theme-toggle-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

/* Show moon in light mode, sun in dark mode */
[data-theme="light"] .theme-icon-sun { display: none; }
[data-theme="light"] .theme-icon-moon { display: block; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="dark"] .theme-icon-moon { display: none; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--t-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-emerald);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.btn-wa {
  background: var(--wa-green);
  color: #041c10;
  font-weight: 700;
}

.btn-wa:hover {
  background: var(--wa-green-hover);
}

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

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-emerald-subtle);
  border: 1px solid var(--brand-emerald-border);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand-emerald);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  max-width: 820px;
  margin: 0 auto 20px;
  line-height: 1.18;
}

.hero-desc {
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto 34px;
  line-height: 1.6;
}

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

/* Minimalist Architecture Dashboard Preview */
.architecture-preview {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--preview-shadow);
  text-align: left;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}

.preview-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--top-bar-bg);
  border-bottom: 1px solid var(--border-default);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

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

.preview-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot-color);
}

.preview-content {
  padding: 24px;
}

.roles-flow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.role-mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--card-shadow);
  transition: background var(--t-base), border-color var(--t-base);
}

.role-mini-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.role-mini-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.role-mini-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Badge role styles */
.badge-produsen { background: rgba(59, 130, 246, 0.12); color: #2563eb; border: 1px solid rgba(59, 130, 246, 0.25); }
.badge-distributor { background: rgba(16, 185, 129, 0.12); color: #059669; border: 1px solid rgba(16, 185, 129, 0.25); }
.badge-inspector { background: rgba(245, 158, 11, 0.12); color: #d97706; border: 1px solid rgba(245, 158, 11, 0.25); }
.badge-client { background: rgba(139, 92, 246, 0.12); color: #7c3aed; border: 1px solid rgba(139, 92, 246, 0.25); }

[data-theme="dark"] .badge-produsen { color: #60a5fa; }
[data-theme="dark"] .badge-distributor { color: #34d399; }
[data-theme="dark"] .badge-inspector { color: #fbbf24; }
[data-theme="dark"] .badge-client { color: #a78bfa; }

/* ==========================================================================
   SECTION LAYOUT
   ========================================================================== */
.section {
  padding: 80px 0;
  border-top: 1px solid var(--border-default);
  transition: border-color var(--t-base);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

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

.section-heading {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-subheading {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   MULTI-ROLE TABS & DETAILS
   ========================================================================== */
.role-tabs-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.role-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--t-fast);
}

.role-tab-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.role-tab-btn.active {
  background: var(--brand-emerald-subtle);
  border-color: var(--brand-emerald-border);
  color: var(--brand-emerald);
}

.role-card-display {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  box-shadow: var(--card-shadow);
  transition: background var(--t-base), border-color var(--t-base);
}

.role-details h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.role-details p {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.role-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.role-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.role-feature-list svg {
  color: var(--brand-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

.role-visual-box {
  background: var(--bg-box-code);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 24px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  transition: background var(--t-base), border-color var(--t-base);
}

.code-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-default);
  color: var(--text-secondary);
}

.code-line:last-child {
  border-bottom: none;
}

.code-line .val {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

/* ==========================================================================
   WORKFLOW 4 STEPS (Minimalist Clean Cards)
   ========================================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.wf-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  box-shadow: var(--card-shadow);
  transition: var(--t-fast);
}

.wf-step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.wf-step-num {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-emerald);
  margin-bottom: 12px;
}

.wf-step-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.wf-step-card p {
  font-size: 0.84rem;
  line-height: 1.5;
}

/* ==========================================================================
   CORE ENTITIES & FEATURES GRID
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  transition: var(--t-fast);
}

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.feature-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-emerald-subtle);
  border: 1px solid var(--brand-emerald-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-emerald);
  margin-bottom: 16px;
}

.feature-card h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   TRANSPARENT SIMULATION / PRICING CALCULATOR
   ========================================================================== */
.calc-clean-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
  transition: background var(--t-base), border-color var(--t-base);
}

.calc-row-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.input-block label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.select-clean, .input-clean {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.select-clean:focus, .input-clean:focus {
  outline: none;
  border-color: var(--brand-emerald);
}

.calc-breakdown-card {
  background: var(--bg-box-code);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: background var(--t-base), border-color var(--t-base);
}

.calc-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-default);
  color: var(--text-secondary);
}

.calc-line.total-line {
  border-top: 1px solid var(--border-default);
  border-bottom: none;
  padding-top: 14px;
  margin-top: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-emerald);
}

/* ==========================================================================
   FAQ MINIMALIST
   ========================================================================== */
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-clean-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: background var(--t-base), border-color var(--t-base);
}

.faq-clean-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-primary);
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-clean-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-clean-item.active .faq-clean-answer {
  max-height: 250px;
  padding: 0 20px 18px;
}

/* ==========================================================================
   CLEAN CTA SECTION
   ========================================================================== */
.cta-clean-section {
  text-align: center;
  padding: 90px 0;
}

.cta-clean-box {
  background: var(--cta-bg);
  border: 1px solid var(--brand-emerald-border);
  border-radius: var(--radius-xl);
  padding: 56px 36px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--preview-shadow);
  transition: background var(--t-base), border-color var(--t-base);
}

.cta-clean-box h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.cta-clean-box p {
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-clean {
  border-top: 1px solid var(--border-default);
  padding: 50px 0 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  transition: background var(--t-base), border-color var(--t-base);
}

.footer-row-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-col-desc {
  max-width: 340px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-default);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   FLOATING CLEAN WA PILL
   ========================================================================== */
.floating-wa-clean {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--floating-wa-bg);
  border: 1px solid rgba(37, 211, 102, 0.35);
  padding: 8px 16px 8px 10px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: var(--t-fast);
  color: var(--floating-wa-text);
  font-size: 0.85rem;
  font-weight: 600;
}

.floating-wa-clean:hover {
  transform: translateY(-2px);
  border-color: var(--wa-green);
}

.wa-clean-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wa-green);
  color: #03140b;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .hero-title { font-size: 2.2rem; }
  .roles-flow-row { grid-template-columns: repeat(2, 1fr); }
  .role-card-display { grid-template-columns: 1fr; }
  .workflow-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .calc-row-inputs { grid-template-columns: 1fr; }
  .nav-links-list { display: none; }
}

@media (max-width: 600px) {
  .hero-title { font-size: 1.85rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-lg { width: 100%; }
  .workflow-grid { grid-template-columns: 1fr; }
  .preview-top-bar span:last-child { display: none; }
  .roles-flow-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .floating-wa-clean span { display: none; }
  .floating-wa-clean { padding: 8px; border-radius: 50%; }
}

/* ==========================================================================
   LENIS SMOOTH SCROLL SUPPORT
   ========================================================================== */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* ==========================================================================
   SCROLL PROGRESS BAR & HEADER SCROLL STATE
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-emerald), #3b82f6, #8b5cf6);
  width: 0%;
  z-index: 1100;
  transition: width 0.05s ease-out;
}

.header-wrap.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border-bottom-color: var(--border-hover);
}

[data-theme="dark"] .header-wrap.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* Precision Stagger Delays */
.delay-1 { transition-delay: 0.06s; }
.delay-2 { transition-delay: 0.12s; }
.delay-3 { transition-delay: 0.18s; }
.delay-4 { transition-delay: 0.24s; }
.delay-5 { transition-delay: 0.30s; }
.delay-6 { transition-delay: 0.36s; }
.delay-7 { transition-delay: 0.42s; }
.delay-8 { transition-delay: 0.48s; }

/* Enhanced hover elevation on interactive cards */
.wf-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-emerald-border);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .wf-step-card:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-emerald-border);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .feature-card:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.calc-clean-box {
  transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}

.calc-clean-box:hover {
  border-color: var(--brand-emerald-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.09);
}

[data-theme="dark"] .calc-clean-box:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Smooth Tab Transition when user clicks role tabs */
.role-details, .role-visual-box {
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-switching {
  opacity: 0 !important;
  transform: translateY(12px) scale(0.98) !important;
}

/* Accessibility: respect user prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .reveal-text,
  .reveal-card,
  .reveal-pill {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}
