/* ==========================================================================
   NUSANTARA HRIS ENTERPRISE - UI UX PRO MAX DESIGN SYSTEM v2.0
   Standard: Tech & Enterprise B2B SaaS (High-Trust, Anti-Slop, Pure SVG)
   ========================================================================== */

:root {
  /* Brand & Enterprise Identity (atur.in) */
  --primary: #1e40af;            /* Trustworthy Cobalt */
  --primary-hover: #1e3a8a;      /* Cobalt 900 */
  --primary-subtle: #eff6ff;     /* Blue 50 */
  --primary-border: #bfdbfe;     /* Blue 200 */
  --primary-glow: rgba(30, 64, 175, 0.16);

  --accent: #06b6d4;             /* Dynamic Teal */
  --accent-hover: #0891b2;       /* Teal 600 */
  --accent-subtle: #ecfeff;

  --success: #10b981;            /* Emerald Green */
  --success-hover: #059669;
  --success-subtle: #ecfdf5;
  --success-border: #a7f3d0;

  --warning: #f59e0b;            /* Warm Amber */
  --warning-subtle: #fffbeb;
  --warning-border: #fde68a;

  --danger: #ef4444;             /* Coral Red */
  --danger-subtle: #fef2f2;
  --danger-border: #fecaca;

  /* Surfaces & Backgrounds */
  --bg-page: #f8fafc;            /* Cloud Alabaster */
  --bg-surface: #ffffff;         /* Pure White */
  --bg-subtle: #f1f5f9;          /* Slate 100 */
  --bg-dark: #0f172a;            /* Deep Slate */
  --bg-dark-card: #111827;       /* Gray 900 */
  --bg-dark-subtle: #1e293b;     /* Slate 800 */

  /* Text & Contrast (WCAG 2.1 AA Compliant 4.5:1+) */
  --text-heading: #0f172a;       /* Slate 900 */
  --text-body: #334155;          /* Slate 700 */
  --text-muted: #64748b;         /* Slate 500 */
  --text-subtle: #94a3b8;        /* Slate 400 */
  --text-inverse: #f8fafc;
  --text-inverse-muted: #94a3b8;

  /* Precision Borders & Shadows */
  --border-light: #e2e8f0;       /* Slate 200 */
  --border-dark: #334155;
  --border-dark-subtle: rgba(255, 255, 255, 0.1);

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-dark: 0 25px 50px -12px rgba(0, 0, 0, 0.6);

  /* Geometry & Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  --max-w: 1200px;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Reset & Universal Rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-body);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   UI UX Pro Max Badges & Chips
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  font-size: 0.775rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.badge-primary {
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.badge-success {
  background: var(--success-subtle);
  color: #065f46;
  border: 1px solid var(--success-border);
}

.badge-warning {
  background: var(--warning-subtle);
  color: #92400e;
  border: 1px solid var(--warning-border);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  line-height: 1.2;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.3), 0 4px 12px rgba(29, 78, 216, 0.2);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(29, 78, 216, 0.35);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-heading);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: #16a34a;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.3), 0 4px 12px rgba(22, 163, 74, 0.2);
}

.btn-whatsapp:hover {
  background: #15803d;
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.825rem;
  border-radius: var(--radius-xs);
}

/* SVG Icon Helper */
.icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}

.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 22px; height: 22px; }

/* ==========================================================================
   Header / Sticky Navigation (UI UX Pro Max High-End B2B Navbar)
   ========================================================================== */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.03);
  transition: all 0.2s ease;
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #1e40af 0%, #06b6d4 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.25;
}

.nav-link:hover {
  color: #0f172a;
  background: #f1f5f9;
}

.nav-link.active {
  color: #1e40af;
  background: #eff6ff;
  font-weight: 700;
}

.mobile-demo-section {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Dropdown Menu for Live Demo */
.demo-dropdown {
  position: relative;
}

.nav-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  white-space: nowrap;
}

.nav-demo-btn:hover,
.demo-dropdown.open .nav-demo-btn {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.nav-demo-btn .icon-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.demo-dropdown.open .nav-demo-btn .icon-chevron {
  transform: rotate(180deg);
}

.demo-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.demo-dropdown.open .demo-menu,
.demo-dropdown:hover .demo-menu,
.demo-dropdown:focus-within .demo-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.demo-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.demo-menu-item:hover {
  background: #f1f5f9;
}

.demo-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.demo-item-icon.icon-mobile {
  background: #ecfdf5;
  color: #10b981;
}

.demo-item-content {
  flex: 1;
  min-width: 0;
}

.demo-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.demo-item-desc {
  font-size: 0.735rem;
  color: #64748b;
  line-height: 1.35;
  margin-top: 2px;
}

.demo-item-arrow {
  width: 16px;
  height: 16px;
  color: #94a3b8;
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}

.demo-menu-item:hover .demo-item-arrow {
  color: #1e40af;
  transform: translateX(2px);
}

.demo-menu-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 4px 6px;
}

/* WhatsApp Nav Button */
.btn-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  background: #10b981;
  border: 1px solid #059669;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.28);
  white-space: nowrap;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.btn-nav-wa:hover {
  background: #15803d;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.32);
}

.mobile-menu-btn {
  display: none;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 7px;
  cursor: pointer;
  color: #1e293b;
  transition: all 0.15s ease;
}

.mobile-menu-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* ==========================================================================
   Hero Section (atur.in Enterprise Dark Tech Showcase)
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(180deg, #090e1a 0%, #0d1527 60%, #0f1930 100%);
  color: var(--text-inverse);
  padding: 80px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-glow-layer {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(30, 64, 175, 0.32), rgba(6, 182, 212, 0.14), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  margin-bottom: 20px;
}

.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 18px;
  background: rgba(30, 64, 175, 0.25);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-title-main {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin: 0 auto 18px;
  max-width: 920px;
}

.hero-subheadline {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: #94a3b8;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 30px;
  font-weight: 400;
}

.hero-subheadline strong {
  color: #f1f5f9;
  font-weight: 700;
}

.hero-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: left;
}

.hero-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.025rem;
  color: #cbd5e1;
  font-weight: 400;
  line-height: 1.5;
}

.hero-benefit-item strong {
  color: #ffffff;
  font-weight: 700;
}

.hero-benefit-check {
  width: 22px;
  height: 22px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 1px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.btn-hero-wa {
  background: #18181b;
  color: #ffffff;
  border: 1px solid #3f3f46;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-hero-wa:hover {
  background: #27272a;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.btn-hero-trial {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}

.btn-hero-trial:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.hero-reviews-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.review-badge-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s;
}

.review-badge-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.review-icon-sq {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
}

.review-score {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.review-label {
  font-size: 0.775rem;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 2px;
}

.hero-social-proof {
  padding-top: 48px;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  position: relative;
  z-index: 2;
}

.social-proof-caption {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.social-proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.industry-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 9px 18px;
  color: #e2e8f0;
  font-size: 0.885rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.industry-badge-card:hover {
  background: rgba(30, 64, 175, 0.22);
  border-color: rgba(59, 130, 246, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
}

.industry-icon {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero Product Showcase
   ========================================================================== */

.hero-mockup-wrap {
  position: relative;
  max-width: 1120px;
  margin: 52px auto 0;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(15, 23, 42, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.75), 0 0 60px rgba(30, 64, 175, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-mockup-wrap:hover {
  box-shadow: 0 35px 90px -20px rgba(0, 0, 0, 0.85), 0 0 80px rgba(30, 64, 175, 0.35);
}

.mockup-media-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-media-img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-xl);
  background: #0b1120;
}

.feature-media-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.feature-media-frame:hover .feature-media-img {
  transform: scale(1.02);
}

/* ==========================================================================
   Stats & Metrics
   ========================================================================== */

.stats-section {
  padding: 44px 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 12px;
}

.stat-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-caption {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   Problem vs Solution Section
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-heading {
  font-size: 2.35rem;
  letter-spacing: -0.03em;
  color: var(--text-heading);
  margin-bottom: 14px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.comparison-box-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card-compare {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.card-compare-danger {
  border-top: 4px solid var(--danger);
  background: #ffffff;
}

.card-compare-success {
  border-top: 4px solid var(--success);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.06);
}

.compare-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.compare-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-compare-danger .compare-badge-icon {
  background: var(--danger-subtle);
  color: var(--danger);
}

.card-compare-success .compare-badge-icon {
  background: var(--success-subtle);
  color: var(--success);
}

.compare-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==========================================================================
   6 Feature Pillars (Interactive Tabs)
   ========================================================================== */

.feature-tabs-wrapper {
  background: #f1f5f9;
  padding: 90px 0;
}

.tab-nav-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-pill-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-pill-btn:hover {
  color: var(--primary);
  border-color: #cbd5e1;
}

.tab-pill-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(29, 78, 216, 0.3);
}

.tab-panel-card {
  display: none;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: 44px;
}

.tab-panel-card.active {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.panel-heading {
  font-size: 1.85rem;
  margin-bottom: 14px;
  color: var(--text-heading);
}

.panel-desc {
  font-size: 1.025rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.6;
}

.panel-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.panel-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--text-body);
}

.panel-preview-box {
  background: #0b1120;
  border-radius: var(--radius-md);
  padding: 24px;
  color: #e2e8f0;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   ROI Calculator Section
   ========================================================================== */

.roi-section {
  padding: 90px 0;
  background: var(--bg-surface);
}

.roi-card {
  background: linear-gradient(135deg, #090e1a 0%, #111c33 100%);
  border-radius: var(--radius-lg);
  padding: 50px 44px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.roi-slider-block {
  margin: 28px 0;
}

.slider-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.slider-val-badge {
  font-size: 1.35rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.roi-summary-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.roi-metric-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.roi-metric-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.roi-metric-val {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
}

.roi-savings-badge-box {
  background: rgba(5, 150, 105, 0.14);
  border: 1px solid rgba(5, 150, 105, 0.35);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  margin-bottom: 20px;
}

.savings-number {
  font-size: 2.15rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-section {
  padding: 90px 0;
  background: #f8fafc;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px 26px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.plan-card-featured {
  border-color: #1e40af;
  box-shadow: 0 10px 30px rgba(30, 64, 175, 0.14);
  background: #ffffff;
}

.plan-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #ffffff;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-price-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 20px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.plan-price-main {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan-savings-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.775rem;
  font-weight: 700;
  margin-top: 4px;
  width: fit-content;
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-feature-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.925rem;
  color: var(--text-body);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  padding: 90px 0;
  background: var(--bg-surface);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-row {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}

.faq-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-heading);
  user-select: none;
}

.faq-icon-toggle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

.faq-row.active .faq-icon-toggle {
  transform: rotate(45deg);
  background: var(--primary-subtle);
  color: var(--primary);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-body);
  font-size: 0.975rem;
  line-height: 1.6;
}

.faq-row.active .faq-body {
  max-height: 320px;
  padding-top: 14px;
}

/* ==========================================================================
   CTA Banner & Footer
   ========================================================================== */

.cta-banner-wrapper {
  padding: 70px 0;
  background: #f8fafc;
}

.cta-banner-box {
  background: linear-gradient(135deg, #1e40af 0%, #0b1120 100%);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
}

.cta-banner-box h2 {
  color: #ffffff;
  font-size: 2.35rem;
  margin-bottom: 14px;
}

.cta-banner-box p {
  color: #bfdbfe;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 32px;
}

.site-footer {
  background: #090e1a;
  color: #94a3b8;
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav a {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.825rem;
}

/* ==========================================================================
   Detail Page Specific Styles (detail.html)
   ========================================================================== */

.detail-hero-banner {
  background: linear-gradient(135deg, #090e1a 0%, #111a2e 100%);
  color: #ffffff;
  padding: 64px 0 74px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-view-grid {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 44px;
  padding: 54px 0 90px;
  align-items: start;
}

.detail-sticky-nav {
  position: sticky;
  top: 90px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.detail-nav-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  padding-left: 8px;
}

.detail-menu-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-menu-items a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  color: var(--text-body);
  font-size: 0.875rem;
  font-weight: 600;
}

.detail-menu-items a:hover,
.detail-menu-items a.active {
  background: var(--primary-subtle);
  color: var(--primary);
}

.detail-sections-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.detail-doc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px;
}

.doc-card-title {
  font-size: 1.75rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.code-terminal {
  background: #090e1a;
  color: #e2e8f0;
  padding: 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 18px 0;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.table-scroller {
  overflow-x: auto;
  margin: 20px 0;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.doc-table th {
  background: #f8fafc;
  padding: 12px 14px;
  text-align: left;
  border-bottom: 2px solid var(--border-light);
  font-weight: 700;
  color: var(--text-heading);
}

.doc-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}

.doc-table tr:hover td {
  background: #f8fafc;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1024px) {
  .site-nav-inner {
    height: 64px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 16px 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links .nav-link {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-actions .demo-dropdown {
    display: none;
  }
  .nav-links .mobile-demo-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
  }
  .hero-title { font-size: 2.75rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .tab-panel-card.active { grid-template-columns: 1fr; }
  .roi-card { grid-template-columns: 1fr; gap: 28px; padding: 36px 24px; }
  .pricing-cards-grid { grid-template-columns: 1fr; }
  .detail-view-grid { grid-template-columns: 1fr; }
  .detail-sticky-nav { display: none; }
  .footer-main-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.15rem; }
  .hero-description { font-size: 1rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .comparison-box-grid { grid-template-columns: 1fr; }
  .mockup-body-split { grid-template-columns: 1fr; }
  .footer-main-grid { grid-template-columns: 1fr; }
  .footer-bottom-bar { flex-direction: column; gap: 12px; text-align: center; }
  .detail-doc-card { padding: 22px; }
}

@media (max-width: 480px) {
  .brand-badge { display: none; }
  .brand-title { font-size: 0.95rem; }
  .btn-nav-wa span { display: none; }
  .btn-nav-wa { padding: 8px 10px; }
}
