/* ==========================================================================
   Rabbit Presensia Promo Landing Page - Clean & Professional Stylesheet
   Designed for agni-io.com by Agni Studio
   ========================================================================== */

:root {
  /* Brand & Theme Colors */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-deep: #4338ca;
  --primary-light: #eef2ff;
  --primary-glow: rgba(99, 102, 241, 0.15);

  --accent-purple: #8b5cf6;
  --accent-purple-dark: #7c3aed;
  
  --success: #10b981;
  --success-light: #ecfdf5;
  --success-dark: #059669;
  
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  
  --danger: #ef4444;
  --danger-light: #fef2f2;

  --info: #0ea5e9;
  --info-light: #f0f9ff;

  /* Neutrals & Surfaces */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-dark: #0f172a;
  --bg-dark-card: #1e293b;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-focus: #c7d2fe;

  /* Dimensions & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 35px rgba(99, 102, 241, 0.25);

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Reset & Base Setup */
*, *::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-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.max-w-800 {
  max-width: 800px;
}

.text-center { text-align: center; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-danger { color: var(--danger) !important; }
.text-info { color: var(--info) !important; }
.text-muted { color: var(--text-muted) !important; }

.text-gradient {
  background: linear-gradient(135deg, var(--primary-dark), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Ambient Background Glows */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.glow-top {
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(139, 92, 246, 0.08) 70%, transparent 100%);
}
.glow-mid {
  top: 1400px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-purple-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 100%);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
  color: var(--text-white);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--text-main);
  color: var(--text-main);
}
.btn-outline-dark:hover {
  background: var(--text-main);
  color: var(--text-white);
}
.btn-white {
  background: var(--bg-card);
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
}
.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}
.btn-ghost-white {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--text-white);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}
.btn-block {
  width: 100%;
}

/* Badges */
.section-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary-dark);
  margin-bottom: 14px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #fef3c7;
  color: #b45309;
}
.badge-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  border: 1px solid var(--border-focus);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseAnim 1.8s infinite;
}
@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   Announcement Bar & Navbar
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #1e1b4b 0%, #312e81 100%);
  color: var(--text-white);
  padding: 8px 0;
  font-size: 0.85rem;
  text-align: center;
}
.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.announcement-link {
  color: #fde047;
  font-weight: 700;
}
.announcement-link:hover {
  text-decoration: underline;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
  height: 80px;
  display: flex;
  align-items: center;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  padding: 0 32px;
  gap: 24px;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}
.btn-back-agni {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-back-agni:hover {
  background: var(--text-main);
  color: var(--text-white);
  border-color: var(--text-main);
  transform: translateX(-2px);
}
.brand-divider {
  width: 1px;
  height: 28px;
  background: var(--border-light);
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.logo-tag {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: #475569;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-link:hover {
  color: var(--primary-dark);
  background: rgba(99, 102, 241, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.btn-cta-nav {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.btn-cta-nav:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
}
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}
.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  z-index: 1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero-title {
  font-size: 2.9rem;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-description {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.trust-icon {
  font-size: 1.3rem;
}
.trust-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-main);
}
.trust-item p {
  font-size: 0.75rem;
  line-height: 1.3;
}

/* ==========================================================================
   Hero Visual / Phone Mockup
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone-mockup-wrapper {
  width: 320px;
  background: #1e293b;
  border: 10px solid #0f172a;
  border-radius: 40px;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  padding: 12px;
  position: relative;
}
.phone-notch {
  width: 100px;
  height: 16px;
  background: #0f172a;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  margin: 0 auto 10px;
}
.phone-screen {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-logo {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}
.phone-brand strong {
  display: block;
  font-size: 0.78rem;
  line-height: 1;
}
.live-clock {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.status-pill {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.status-online {
  background: var(--success-light);
  color: var(--success-dark);
}

.phone-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-main);
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.user-avatar-wrap {
  position: relative;
}
.user-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.avatar-check {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.user-info h4 {
  font-size: 0.82rem;
  margin-bottom: 1px;
}
.user-info p {
  font-size: 0.68rem;
}
.tag-wfo {
  display: inline-block;
  font-size: 0.65rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.sim-camera-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0f172a;
  position: relative;
}
.sim-camera-bg {
  height: 160px;
  background: radial-gradient(circle at center, #334155 0%, #0f172a 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sim-face-scanner {
  position: relative;
  width: 90px;
  height: 90px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scanner-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: scanAnim 2.2s ease-in-out infinite alternate;
}
@keyframes scanAnim {
  0% { top: 10%; opacity: 0.4; }
  100% { top: 90%; opacity: 1; }
}
.face-target {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.sim-watermark {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  padding: 4px 6px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.58rem;
  line-height: 1.25;
}
.btn-checkin-sim {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.phone-quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--bg-main);
  padding: 6px;
  border-radius: var(--radius-sm);
  text-align: center;
}
.qstat-num {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
}
.qstat-lbl {
  font-size: 0.62rem;
  color: var(--text-muted);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 2;
}
.badge-top-right {
  top: 40px;
  right: -25px;
}
.badge-bottom-left {
  bottom: 60px;
  left: -35px;
}
.fb-icon {
  font-size: 1.3rem;
}
.floating-badge strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text-main);
}
.floating-badge p {
  font-size: 0.7rem;
}

.float-anim-1 { animation: floatSlow 4s ease-in-out infinite alternate; }
.float-anim-2 { animation: floatSlow 4s ease-in-out infinite 2s alternate; }
@keyframes floatSlow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ==========================================================================
   Section Components
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}
.section-header {
  margin-bottom: 50px;
}
.section-title {
  font-size: 2.2rem;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-subtitle {
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* ==========================================================================
   Comparison Matrix
   ========================================================================== */
.matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.matrix-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}
.card-old {
  border-top: 4px solid var(--danger);
  background: #fffafa;
}
.card-new {
  border-top: 4px solid var(--success);
  box-shadow: var(--shadow-xl);
  background: #fff;
}
.matrix-card-header {
  margin-bottom: 24px;
}
.card-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}
.tag-danger { background: var(--danger-light); color: var(--danger); }
.tag-success { background: var(--success-light); color: var(--success-dark); }
.tag-warning { background: var(--warning-light); color: #b45309; }
.tag-info { background: var(--info-light); color: var(--info); }

.matrix-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.matrix-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.icon-bad {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--danger-light);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}
.icon-good {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--success-light);
  color: var(--success-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}
.matrix-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.matrix-list p {
  font-size: 0.85rem;
}

/* ==========================================================================
   Interactive Live Simulator
   ========================================================================== */
.section-simulator {
  background: linear-gradient(180deg, var(--bg-main) 0%, #eef2ff 100%);
}
.simulator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.sim-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.panel-header h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.panel-header p {
  font-size: 0.88rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.toggle-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.btn-toggle {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-toggle.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.range-slider-wrap {
  background: var(--bg-main);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.custom-range {
  width: 100%;
  accent-color: var(--primary);
  cursor: pointer;
  margin-bottom: 8px;
}
.range-value-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}
.badge-dist {
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}
.badge-dist.valid {
  background: var(--success-light);
  color: var(--success-dark);
}
.badge-dist.invalid {
  background: var(--danger-light);
  color: var(--danger);
}

.device-status-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-main);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.dev-icon {
  font-size: 1.4rem;
  margin-right: 10px;
}
.dev-info {
  flex-grow: 1;
}
.dev-info strong {
  display: block;
  font-size: 0.85rem;
}
.dev-info span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.badge-status-ok {
  background: var(--success-light);
  color: var(--success-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-full);
}

.sim-info-note {
  background: #f8fafc;
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.8rem;
}

/* Simulator Screen Display */
.sim-interactive-screen {
  display: flex;
  justify-content: center;
}
.device-bezel {
  width: 100%;
  max-width: 360px;
  background: #0f172a;
  border-radius: 32px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
}
.screen-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
  font-size: 0.7rem;
  padding: 0 10px 8px;
  font-family: var(--font-mono);
}
.screen-body {
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.screen-profile-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-live-viewfinder {
  height: 190px;
  background: #1e293b;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.viewfinder-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}
.radar-pulse {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--success);
  animation: radarAnim 2s infinite;
}
@keyframes radarAnim {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.viewfinder-watermark {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  padding: 6px 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 0.65rem;
  line-height: 1.35;
  font-family: var(--font-mono);
}
.wm-pill {
  background: var(--primary);
  padding: 1px 4px;
  border-radius: 3px;
  font-weight: bold;
}
.sim-shutter-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s;
}
.sim-shutter-flash.flash {
  opacity: 0.9;
}

.sim-action-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sim-feedback-msg {
  font-size: 0.75rem;
  text-align: center;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  color: var(--text-muted);
}
.btn-do-presensi {
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 700;
}

.sim-recent-logs {
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}
.log-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.log-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  background: var(--bg-main);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}
.log-badge.in {
  background: var(--success-light);
  color: var(--success-dark);
  font-weight: bold;
  padding: 1px 6px;
  border-radius: 4px;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.bg-purple { background: #f3e8ff; color: #7c3aed; }
.bg-blue { background: #e0f2fe; color: #0284c7; }
.bg-emerald { background: #d1fae5; color: #059669; }
.bg-amber { background: #fef3c7; color: #d97706; }
.bg-rose { background: #ffe4e6; color: #e11d48; }
.bg-indigo { background: #e0e7ff; color: #4338ca; }
.bg-teal { background: #ccfbf1; color: #0d9488; }
.bg-violet { background: #ede9fe; color: #6d28d9; }

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.88rem;
  margin-bottom: 16px;
  flex-grow: 1;
}
.feature-bullet {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}
.feature-bullet li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  margin-right: 6px;
}

/* ==========================================================================
   Interactive HR Dashboard Showcase
   ========================================================================== */
.dashboard-mock-container {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.dash-tabs {
  display: flex;
  background: #0f172a;
  padding: 8px 12px 0;
  gap: 6px;
  overflow-x: auto;
}
.dash-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  border: none;
  border-radius: 10px 10px 0 0;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.dash-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.dash-tab.active {
  background: #fff;
  color: var(--text-main);
}
.tab-icon {
  font-size: 1rem;
}

.dash-tab-content {
  display: none;
  padding: 32px;
}
.dash-tab-content.active {
  display: block;
}

.mock-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.mock-dash-header h3 {
  font-size: 1.25rem;
}
.mock-dash-header p {
  font-size: 0.85rem;
}

.dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}
.dstat-card {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-light);
}
.dstat-icon {
  font-size: 1.6rem;
}
.dstat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.dstat-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
}
.dstat-value small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: normal;
}
.dstat-note {
  font-size: 0.72rem;
  font-weight: 600;
}

.mock-table-wrap {
  overflow-x: auto;
}
.mock-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}
.mock-table th {
  background: var(--bg-main);
  padding: 12px 16px;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
}
.mock-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
}
.badge-photo {
  background: var(--info-light);
  color: var(--info);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
}
.badge-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Validation Tab Grid */
.validation-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.vcard {
  display: flex;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}
.vcard-img-placeholder {
  width: 140px;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.vcard-face-icon {
  font-size: 2.5rem;
  color: #94a3b8;
}
.vcard-wm-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.6rem;
  padding: 2px 4px;
  border-radius: 4px;
  font-family: var(--font-mono);
}
.vcard-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.vcard-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 8px 0;
}
.vcard-btn-row {
  display: flex;
  gap: 8px;
}
.btn-approve {
  background: var(--success);
  color: #fff;
  border: none;
  font-weight: 600;
  cursor: pointer;
}
.btn-reject {
  background: var(--bg-card);
  color: var(--danger);
  border: 1px solid var(--danger);
  font-weight: 600;
  cursor: pointer;
}

/* ==========================================================================
   ROI Calculator Section
   ========================================================================== */
.section-roi {
  padding: 40px 0 90px;
}
.roi-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 50px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.roi-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}
.roi-header h2 {
  color: #fff;
  font-size: 2.1rem;
  margin: 10px 0;
}
.roi-header p {
  color: #cbd5e1;
}
.roi-calculator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.calc-group {
  margin-bottom: 28px;
}
.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.calc-label-row label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2e8f0;
}
.calc-badge {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
}
.range-roi {
  accent-color: #818cf8;
  height: 8px;
}
.range-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 4px;
}

.roi-results-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(10px);
}
.roi-res-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.roi-res-label {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 4px;
}
.roi-res-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}
.roi-res-val.highlight {
  color: #34d399;
}
.roi-res-desc {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-top: 2px;
}
.roi-cta-wrap {
  margin-top: 24px;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.card-popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  transform: scale(1.03);
}
.card-popular:hover {
  transform: scale(1.05);
}
.popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(99, 102, 241, 0.4);
}

.plan-header {
  margin-bottom: 20px;
}
.plan-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.plan-header h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.plan-desc {
  font-size: 0.85rem;
  min-height: 40px;
}

.plan-price {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}
.price-val {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-main);
}
.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  margin-bottom: 30px;
  flex-grow: 1;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}
.faq-item.active {
  border-color: var(--border-focus);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}
.faq-chevron {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.3s;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 24px;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   Final CTA Banner
   ========================================================================== */
.section-cta {
  padding: 40px 0 80px;
}
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #312e81 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow: var(--shadow-xl);
}
.cta-glow {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.bg-white-trans {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 16px;
}
.cta-content h2 {
  font-size: 2.3rem;
  color: #fff;
  margin-bottom: 16px;
}
.cta-content p {
  font-size: 1.05rem;
  color: #e0e7ff;
  margin-bottom: 32px;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 0;
  border-top: 1px solid #1e293b;
}
.footer-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer-brand .logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand .logo-title {
  color: #fff;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.footer-contact a {
  color: #38bdf8;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.link-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.link-col a {
  display: block;
  color: #94a3b8;
  font-size: 0.88rem;
  margin-bottom: 10px;
}
.link-col a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 20px 0;
  font-size: 0.82rem;
}
.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-back-link {
  color: #818cf8;
  font-weight: 600;
}

/* ==========================================================================
   Floating Sticky WhatsApp Button
   ========================================================================== */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}
.wa-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-bubble:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
  color: #fff;
}

/* ==========================================================================
   Mobile Toggle Button & Animations
   ========================================================================== */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  transition: all 0.25s ease;
  z-index: 105;
}

.mobile-toggle:hover {
  background: var(--primary-light);
  border-color: var(--border-focus);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background: var(--primary-dark);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-12px);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background: var(--primary-dark);
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 97;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-backdrop.show {
  display: block;
  opacity: 1;
}

@keyframes slideDownDrawer {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0 16px;
    height: 70px;
  }
  .navbar {
    height: 70px;
  }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 12px;
    right: 12px;
    width: auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 8px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.18);
    display: none;
    z-index: 98;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
  .nav-menu.show {
    display: flex;
    animation: slideDownDrawer 0.25s ease-out forwards;
  }
  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid var(--border-light);
  }
  .nav-link:hover {
    background: var(--primary-light);
    border-color: var(--border-focus);
  }
  .mobile-only-link {
    display: block !important;
    text-align: center;
  }
  .mobile-menu-cta {
    display: block !important;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title { font-size: 2.4rem; }
  .hero-cta-group { justify-content: center; }
  .hero-trust { max-width: 600px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .simulator-wrapper { grid-template-columns: 1fr; }
  .roi-calculator-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .btn-back-agni, .brand-divider {
    display: none;
  }
  .btn-cta-nav {
    display: none;
  }
  .hero-title { font-size: 1.95rem; }
  .hero-description { font-size: 1rem; }
  .hero-trust { grid-template-columns: 1fr; text-align: left; }
  .matrix-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .dash-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .validation-cards-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .roi-card { padding: 30px 20px; }
  .cta-banner { padding: 40px 20px; }
  .floating-badge { display: none; }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 1.05rem;
  }
  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
  .hero-title {
    font-size: 1.65rem;
  }
}
