/* =========================================
   WorkBae — Root Variables
========================================= */
:root {
  --primary-color: #004aad;
  --primary-dark: #00388a;
  --secondary-color: #f06f1c;
  --secondary-light: #fff2e8;
  --blue-light: #e8f0ff;
  --green-color: #22c55e;
  --bg-color: #ffffff;
  --bg-soft: #f7f9ff;
  --text-color: #111827;
  --text-muted: #4b5563;
  --border-color: #e5e7eb;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  font-size: 1rem;
  line-height: 1.65;
}

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

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

.text-primary-blue { color: var(--primary-color) !important; }
.text-accent { color: var(--secondary-color) !important; }
.bg-soft { background-color: var(--bg-soft); }

/* =========================================
   Navbar
========================================= */
#mainNavbar {
  padding: 18px 0;
  background-color: transparent;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  z-index: 1000;
}

#mainNavbar.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 20px rgba(0, 74, 173, 0.08);
  padding: 12px 0;
  backdrop-filter: blur(6px);
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary-color);
}

.navbar-brand img { height: 54px; }

.nav-links .nav-link {
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 10px;
  transition: color 0.25s ease;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active { color: var(--secondary-color); }

.btn-outline-nav {
  border: 1.5px solid var(--border-color);
  color: var(--text-color);
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 8px;
  transition: all 0.25s ease;
}
.btn-outline-nav:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: var(--bg-soft);
}

.btn-play-lg {
  background-color: #fff;
  color: var(--text-color);
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.btn-play-lg i { color: var(--primary-color); font-size: 1.2rem; }
.btn-play-lg:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 74, 173, 0.12);
}

.btn-primary-nav,
.btn-primary-lg {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn-primary-nav { padding: 10px 22px; }
.btn-primary-nav:hover,
.btn-primary-lg:hover {
  background-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 74, 173, 0.25);
}
.btn-primary-nav:active,
.btn-primary-lg:active { transform: translateY(0); }

.btn-secondary-lg {
  background-color: var(--secondary-color);
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn-secondary-lg:hover {
  background-color: #d9621a;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(240, 111, 28, 0.25);
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.btn-outline-light:hover { background-color: #fff; color: var(--primary-color); }

/* =========================================
   Sections
========================================= */
.section-padding { padding: 100px 0; }

.eyebrow-label {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.badge-pill {
  display: inline-block;
  background-color: var(--secondary-light);
  color: var(--secondary-color);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.section-title {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* =========================================
   Hero
========================================= */
.hero-section {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 3.6rem;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-buttons { margin-bottom: 48px; }

.trusted-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.trusted-logos span {
  font-weight: 600;
  color: #9ca3af;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.trusted-logos i { font-size: 1rem; }

.hero-visual {
  position: relative;
  padding: 20px;
  text-align: center;
}

.hero-screenshot {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0, 74, 173, 0.18);
  transform: rotate(-1.5deg);
}

.hero-visual-bg {
  position: absolute;
  top: 40px;
  right: 0;
  width: 85%;
  height: 85%;
  background-color: var(--primary-color);
  border-radius: 24px;
  z-index: 0;
}

.dot-grid {
  position: absolute;
  width: 90px;
  height: 60px;
  background-image: radial-gradient(var(--secondary-color) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.6;
  z-index: 0;
}
.dot-grid-hero { bottom: -10px; left: 30px; }

/* =========================================
   Problem / Stats
========================================= */
.stat-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 74, 173, 0.08);
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label { font-size: 0.95rem; color: var(--text-muted); }

/* =========================================
   Modules / Features
========================================= */
.feature-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 30px 26px;
  height: 100%;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 74, 173, 0.1);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.icon-blue { background-color: var(--blue-light); color: var(--primary-color); }
.icon-orange { background-color: var(--secondary-light); color: var(--secondary-color); }

.feature-title { font-size: 1.2rem; margin-bottom: 10px; }
.feature-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 0; }
.feature-result { color: var(--primary-color); font-size: 0.9rem; font-weight: 600; margin-top: 16px; }

/* =========================================
   BIE
========================================= */
.bie-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0, 74, 173, 0.08);
}
.bie-card i {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 14px;
  display: block;
}
.bie-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.bie-card p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

.insight-box {
  background: #fff;
  border-left: 4px solid var(--secondary-color);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(0, 74, 173, 0.08);
}

/* =========================================
   Why Choose / Comparison
========================================= */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: #fff;
}
.compare-table th,
.compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}
.compare-table th {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
  text-align: left;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:first-child {
  font-weight: 600;
  color: var(--text-color);
  background-color: var(--bg-soft);
  width: 40%;
}
.compare-table td:last-child { color: var(--text-muted); }

/* =========================================
   Testimonials
========================================= */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--border-color);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0, 74, 173, 0.08);
}
.testimonial-text { font-size: 1rem; line-height: 1.7; color: var(--text-color); margin-bottom: 20px; }
.testimonial-author { font-weight: 700; color: var(--primary-color); margin: 0; }
.testimonial-role { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* =========================================
   Timeline
========================================= */
.timeline-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.timeline-marker {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.timeline-content h3 { font-size: 1.1rem; margin-bottom: 4px; }
.timeline-content p { color: var(--text-muted); margin: 0; }

/* =========================================
   Pricing
========================================= */
.pricing-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 32px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 74, 173, 0.1);
}
.pricing-card.popular {
  border: 2px solid var(--primary-color);
  position: relative;
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--secondary-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
}
.pricing-title { font-size: 1.4rem; margin-bottom: 10px; }
.pricing-target { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.pricing-features { list-style: none; padding: 0; margin: 24px 0 0; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.pricing-features li i { color: var(--primary-color); margin-top: 3px; }

/* =========================================
   CTA
========================================= */
.cta-section {
  padding: 100px 0;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
}
.cta-section h2 { color: #fff; }
.cta-section .section-subtitle { color: rgba(255,255,255,0.85); }

/* =========================================
   Demo Form
========================================= */
.demo-section { padding: 140px 0 100px; }
.demo-form {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 74, 173, 0.08);
}
.form-label { font-weight: 600; font-size: 0.95rem; }
.form-control,
.form-select {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 74, 173, 0.1);
}

/* =========================================
   Footer
========================================= */
.footer-section {
  background-color: #0a2550;
  padding: 50px 0 30px;
  color: rgba(255,255,255,0.8);
}
.footer-section a { color: rgba(255,255,255,0.85); transition: color 0.25s ease; }
.footer-section a:hover { color: var(--secondary-color); }
.footer-copy { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* =========================================
   Scroll Animations
========================================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 991.98px) {
  .section-padding { padding: 70px 0; }
  .hero-section { padding: 130px 0 70px; text-align: center; }
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-visual-bg { display: none; }
  .hero-screenshot { transform: none; }
  .nav-links { text-align: center; margin-top: 16px; }
  .nav-actions { justify-content: center; margin-top: 12px; }
  .compare-table th,
  .compare-table td { padding: 16px; }
}

@media (max-width: 767.98px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.9rem; }
  .stat-number { font-size: 2.2rem; }
  .compare-table { font-size: 0.9rem; }
  .demo-form { padding: 28px; }
}
