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

/* --- Design Tokens / Core Variables --- */
:root {
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Light Color Palette */
  --bg-primary:   #ffffff;
  --bg-secondary: #f8f9fb;
  --bg-tertiary:  #f1f3f7;

  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --text-muted:     #94a3b8;

  /* Brand: Blue */
  --primary:       #1a56db;
  --primary-light: #ebf5ff;
  --primary-dark:  #1e3a5f;

  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.06);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* --- Base Styles --- */
* {
  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-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

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

li {
  list-style: none;
}

/* --- Typography Helpers --- */
.text-brand {
  color: var(--primary);
}

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

section {
  padding: 96px 0;
  position: relative;
}

/* Decorative elements — removed glows, using subtle pattern */
.bg-grid {
  display: none; /* removed dark mode grid artifact */
}

.bg-glow-radial {
  display: none; /* removed glowing orbs */
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.925rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  gap: 8px;
  letter-spacing: -0.01em;
}

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

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

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

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 68px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
  gap: 8px;
}

.logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

.nav-menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

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

/* --- Hero Section --- */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-content {
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--primary-light);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 24px;
  gap: 7px;
  border: 1px solid #a7f3d0;
}

.hero-tag-pulse {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

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

/* Override gradient text for hero — use solid color instead */
.text-gradient {
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: var(--primary);
}

.text-gradient-alt {
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: var(--primary);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  border-top: 1px solid var(--border-color);
  padding-top: 28px;
}

.stat-item h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* --- Interactive Dashboard Mockup --- */
.hero-visual {
  position: relative;
}

.mockup-container {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.mockup-container:hover {
  transform: translateY(-4px);
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 8px);
  display: block;
}

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

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

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #f87171; }
.mockup-dot:nth-child(2) { background: #fbbf24; }
.mockup-dot:nth-child(3) { background: #34d399; }

.mockup-tab-selector {
  display: flex;
  background: var(--bg-tertiary);
  border-radius: 7px;
  padding: 3px;
  gap: 3px;
}

.mockup-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 5px 10px;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mockup-tab-btn.active,
.mockup-tab-btn:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.mockup-content {
  min-height: 310px;
}

.mockup-panel {
  display: none;
  animation: fadeIn var(--transition-normal);
}

.mockup-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Absensi Geofence Mockup */
.absensi-mockup {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
}

.mobile-phone {
  background: #1e293b;
  border: 7px solid #334155;
  border-radius: 32px;
  padding: 14px 9px;
  height: 300px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  position: relative;
}

.mobile-notch {
  width: 56px;
  height: 14px;
  background: #334155;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: calc(50% - 28px);
}

.mobile-screen {
  background: #0f172a;
  border-radius: 18px;
  flex: 1;
  overflow: hidden;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.mobile-title {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.selfie-camera-view {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  margin: 8px auto;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
}

.face-avatar {
  font-size: 2rem;
}

.clock-timer {
  font-size: 1.3rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #f8fafc;
}

.clock-date {
  font-size: 0.65rem;
  color: #94a3b8;
}

.btn-clockin {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

.mock-radar {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 14px;
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.radar-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #a7f3d0;
  margin: 0 auto 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
}

.radar-wave {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--primary);
  animation: radarPing 2.5s infinite;
}

@keyframes radarPing {
  0%   { transform: scale(0.5); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 0; }
}

.radar-pin {
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  z-index: 2;
}

.radar-status {
  font-size: 0.8rem;
  text-align: center;
  color: var(--text-primary);
}

.radar-status span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Slip Gaji / Payroll Mockup */
.gaji-mockup {
  background: #ffffff;
  color: #1e293b;
  border-radius: var(--radius-md);
  padding: 22px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  font-family: monospace;
  border: 1px solid var(--border-color);
}

.slip-header {
  border-bottom: 2px dashed #e2e8f0;
  padding-bottom: 12px;
  margin-bottom: 14px;
  text-align: center;
}

.slip-header h4 {
  color: #0f172a;
  font-size: 1rem;
}

.slip-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 7px;
  color: #334155;
}

.slip-row.bold {
  font-weight: 700;
  border-top: 1px dashed #e2e8f0;
  padding-top: 8px;
  margin-top: 10px;
  color: #0f172a;
}

.slip-row.green {
  color: #065f46;
  font-size: 0.95rem;
  background: #ecfdf5;
  padding: 6px;
  border-radius: 4px;
  font-weight: 700;
}

.slip-row.red {
  color: #b91c1c;
}

/* Cuti Dashboard Mockup */
.cuti-mockup {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mini-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  background: var(--bg-secondary);
  padding: 12px;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.72rem;
  border: 1px solid var(--border-color);
}

.cal-day-header {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.65rem;
}

.cal-day {
  padding: 5px 0;
  border-radius: 4px;
  color: var(--text-secondary);
}

.cal-day.active { background: #f1f5f9; color: var(--text-primary); }
.cal-day.leave  { background: #fee2e2; color: #991b1b; font-weight: 600; }
.cal-day.holiday { background: var(--primary-light); color: var(--primary-dark); }

.cuti-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cuti-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: var(--bg-secondary);
  border-radius: 6px;
  font-size: 0.78rem;
  border-left: 3px solid var(--border-color);
  color: var(--text-primary);
}

.cuti-item.approved { border-left-color: var(--primary); }
.cuti-item.pending  { border-left-color: #f59e0b; }

.cuti-badge {
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 600;
}

.cuti-badge.green  { background: var(--primary-light); color: var(--primary-dark); }
.cuti-badge.yellow { background: #fef3c7; color: #92400e; }

/* --- Features Section --- */
.features {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.section-subtitle {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 50px;
}

.section-title {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.feature-card {
  background: var(--bg-primary);
  padding: 32px 28px;
  transition: background var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  background: #f0fdf8;
}

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

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  line-height: 1.35;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  flex-grow: 1;
  margin-bottom: 16px;
  line-height: 1.65;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  gap: 4px;
  margin-top: auto;
}

.feature-link:hover {
  color: var(--primary-dark);
}

/* --- Pricing Section --- */
.pricing {
  background: var(--bg-primary);
}

.pricing-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 500;
}

.pricing-toggle-label {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.pricing-toggle-label.active {
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-switch {
  width: 48px;
  height: 26px;
  background: var(--border-color);
  border-radius: 30px;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--border-hover);
  transition: background var(--transition-fast);
}

.pricing-switch.yearly {
  background: var(--primary);
  border-color: var(--primary);
}

.pricing-switch-handle {
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.pricing-switch.yearly .pricing-switch-handle {
  transform: translateX(22px);
}

.pricing-discount-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 700;
  margin-left: 6px;
}

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

.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pricing-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

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

.pricing-card.popular {
  border-color: var(--primary);
  border-width: 2px;
  background: #f0fdf8;
  position: relative;
}

.pricing-card.popular::after {
  content: 'Paling Populer';
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.68rem;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0 0 6px 6px;
}

.pricing-card-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.pricing-tier-name {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 10px;
}

.pricing-price-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  align-self: flex-start;
  margin-top: 6px;
}

.pricing-price-value {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.pricing-price-period {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-left: 4px;
}

.pricing-tier-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pricing-features-list {
  flex-grow: 1;
  margin-bottom: 24px;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  gap: 10px;
  line-height: 1.45;
}

.pricing-feature-check {
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  background: var(--primary-light);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card .btn {
  width: 100%;
}

/* Pricing Add-ons */
.pricing-addons-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-color);
}

.pricing-addons-title {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.addon-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.addon-info h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.addon-info p {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.addon-price {
  text-align: right;
  flex-shrink: 0;
}

.addon-price-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.addon-price-period {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --- FAQ Section --- */
.faq {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-container {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.active {
  border-color: var(--primary);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  gap: 16px;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-icon {
  font-size: 1.15rem;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.25s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

/* --- Call To Action --- */
.cta {
  padding: 96px 0;
  background: var(--bg-primary);
}

.cta-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- Footer --- */
footer {
  background: var(--text-primary);
  border-top: 1px solid var(--border-color);
  padding: 72px 0 40px;
  font-size: 0.9rem;
  color: #94a3b8;
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
  color: #f8fafc;
}

footer a {
  color: #94a3b8;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  margin-top: 14px;
  margin-bottom: 22px;
  color: #64748b;
  font-size: 0.875rem;
  line-height: 1.65;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.875rem;
  color: #64748b;
}

.footer-link:hover {
  color: #e2e8f0;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: #475569;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 18px;
}

/* --- DOCUMENTATION PAGE LAYOUT --- */
.docs-layout {
  padding-top: 68px;
  min-height: 100vh;
  display: flex;
  background: var(--bg-primary);
}

.docs-sidebar {
  width: 272px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  padding: 36px 20px;
  position: fixed;
  top: 68px;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  z-index: 50;
}

.docs-search {
  margin-bottom: 28px;
}

.docs-search-input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.docs-search-input::placeholder {
  color: var(--text-muted);
}

.docs-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.docs-nav-group {
  margin-bottom: 24px;
}

.docs-group-title {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
  padding-left: 8px;
}

.docs-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.docs-menu-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  display: block;
  transition: all var(--transition-fast);
}

.docs-menu-link:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.docs-menu-link.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

.docs-content-container {
  margin-left: 272px;
  flex: 1;
  padding: 48px 56px;
  max-width: calc(1200px - 272px);
}

/* Docs Content Typography */
.docs-article h2 {
  font-size: 1.75rem;
  margin-bottom: 14px;
  margin-top: 32px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.docs-article h2:first-child { margin-top: 0; }

.docs-article h3 {
  font-size: 1.2rem;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.docs-article p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.docs-article ul,
.docs-article ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.docs-article ul li {
  list-style: disc;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 6px;
  line-height: 1.6;
}

.docs-article ol li {
  list-style: decimal;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 6px;
  line-height: 1.6;
}

.docs-article li strong {
  color: var(--text-primary);
}

.docs-article code {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  font-family: 'Courier New', Courier, monospace;
  color: var(--primary-dark);
}

.docs-article pre {
  background: var(--text-primary);
  color: #e2e8f0;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin: 16px 0 20px;
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.65;
}

.docs-article pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: #e2e8f0;
  font-size: inherit;
}

.docs-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 22px;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.docs-article th {
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
}

.docs-article td {
  color: var(--text-secondary);
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  vertical-align: top;
}

.docs-article tr:nth-child(even) td {
  background: #f8f9fb;
}

/* Info/warning boxes in docs */
.info-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin: 16px 0 20px;
}

.info-box strong {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.info-box ul {
  padding-left: 16px;
  margin: 0;
}

.info-box ul li {
  list-style: disc;
  color: var(--primary-dark);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* Docs Breadcrumb */
.docs-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.docs-breadcrumb a {
  color: var(--primary);
}

.docs-breadcrumb a:hover {
  text-decoration: underline;
}

/* Docs Article header */
.docs-article-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.docs-article-header h1 {
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.docs-article-category {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Docs index cards */
.docs-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.docs-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

.docs-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.docs-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
}

.docs-card-link {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
}

.docs-card-link:hover {
  color: var(--primary-dark);
}

.docs-card-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 2px 8px;
  border-radius: 50px;
  margin-bottom: 10px;
}

/* Docs mobile toggle */
.docs-mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10;
}

.docs-menu-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-heading);
}

/* 404 Page */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.error-code {
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 900;
  color: var(--bg-tertiary);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.error-title {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.error-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 440px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-visual {
    max-width: 540px;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 36px;
  }

  .section-title {
    font-size: 1.9rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .docs-sidebar {
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
  }

  .docs-sidebar.open {
    transform: translateX(0);
  }

  .docs-content-container {
    margin-left: 0;
    padding: 28px 24px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .docs-mobile-header {
    display: flex;
  }
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 56px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 28px 24px;
    gap: 20px;
    transform: translateY(-130%);
    transition: transform var(--transition-normal);
    z-index: 99;
    box-shadow: var(--shadow-md);
  }

  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-actions:last-of-type {
    display: none !important;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }

  .pricing-grid,
  .pricing-grid-4 {
    grid-template-columns: 1fr;
  }

  .addons-grid {
    grid-template-columns: 1fr;
  }

  .addon-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .addon-price {
    text-align: left;
  }

  .cta-box {
    padding: 48px 28px;
  }

  .cta-title {
    font-size: 1.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .docs-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .absensi-mockup {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.7rem;
  }
}
