/* ==========================================================
   LeaseTrack Modern Dark-Mode Stylesheet
   ========================================================== */

:root {
  --bg-dark: #0b0f17;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);

  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent: #06b6d4;
  --accent-glow: rgba(6, 182, 212, 0.35);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.08);

  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
  padding: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent {
  color: var(--accent) !important;
}

.text-light-slate {
  color: var(--text-muted) !important;
}

/* Section Shells */
section {
  position: relative;
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 38px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 18px;
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

#navbar.scrolled {
  padding: 12px 0;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 15px;
}

.nav-links a:hover, .nav-links a.active {
  color: #fff;
}

.btn-login {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-color);
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  color: #fff !important;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.45);
}

.btn-secondary-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
  font-size: 28px;
  color: #fff;
  background: none;
  border: none;
}

/* Hero Section */
#hero {
  padding: 160px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 50% 10%, #1e293b 0%, #0b0f17 70%);
}

.hero-glow-1 {
  position: absolute;
  top: 15%;
  left: 10%;
  width: 350px;
  height: 350px;
  background: rgba(6, 182, 212, 0.15);
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.15);
  filter: blur(140px);
  border-radius: 50%;
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-features i {
  color: var(--accent);
  margin-right: 6px;
}

/* Dashboard Mockup */
.dashboard-window {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
}

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

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.window-title {
  font-size: 12px;
  color: var(--text-muted);
}

.dashboard-body {
  padding: 24px;
}

.dashboard-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
}

.stat-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.stat-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.chart-card {
  height: 180px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
}

.dashboard-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.activity-card {
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
}

.activity-card h5 {
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.activity-card li {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
}

/* Counter Metrics */
#statistics {
  padding: 50px 0;
  background: rgba(255, 255, 255, 0.02);
  border-y: 1px solid var(--border-color);
}

.stat-box {
  text-align: center;
  padding: 20px;
}

.stat-box h2 {
  font-size: 42px;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-box p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* Benefits / Cards */
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: 20px;
  height: 100%;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(6, 182, 212, 0.4);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
  margin-bottom: 20px;
}

.benefit-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

/* Showcase Slider */
.showcaseSwiper {
  padding-bottom: 50px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
}

.feature-number {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  background: rgba(6, 182, 212, 0.1);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.showcase-content h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.showcase-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.showcase-content ul li {
  margin-bottom: 10px;
  color: var(--text-main);
  font-size: 15px;
}

.showcase-image img {
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.swiper-pagination-bullet {
  background: var(--text-muted);
}

.swiper-pagination-bullet-active {
  background: var(--accent);
}

/* Pricing Section */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--accent);
  color: #0b0f17;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
}

.pricing-card .price {
  font-size: 38px;
  font-weight: 800;
  font-family: var(--font-heading);
  margin: 20px 0;
}

.pricing-card .price span {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-card ul li {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 15px;
}

.pricing-card ul li i {
  color: var(--accent);
  margin-right: 8px;
}

/* CTA Card */
.demo-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 60px 40px;
}

/* Footer */
#footer {
  padding: 80px 0 30px;
  background: #070a0f;
  border-top: 1px solid var(--border-color);
}

#footer h5 {
  font-size: 16px;
  margin-bottom: 20px;
}

#footer ul li {
  margin-bottom: 10px;
}

#footer ul li a {
  color: var(--text-muted);
  font-size: 14px;
}

#footer ul li a:hover {
  color: #fff;
}

.footer-hr {
  border-color: var(--border-color);
  margin: 40px 0 24px;
}

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

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.social-links a:hover {
  background: var(--accent);
  color: #0b0f17;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 42px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 16px;
    right: 16px;
    background: #0f172a;
    border: 1px solid var(--border-color);
    flex-direction: column;
    padding: 24px;
    border-radius: 16px;
  }
  .nav-links.show { display: flex; }
  .mobile-menu { display: block; }
}

@media (max-width: 576px) {
  #hero { padding-top: 130px; }
  .hero-content h1 { font-size: 34px; }
  .hero-buttons { flex-direction: column; }
  .dashboard-top { grid-template-columns: 1fr; }
  .dashboard-bottom { grid-template-columns: 1fr; }
}

.setup-fee-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-top: -10px;
}


/* ==========================================================
   Dashboard Screenshots Framing & Darkening
   ========================================================== */

.showcase-frame {
    position: relative;
    border-radius: 16px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

/* Replace the previous .dark-ui-img class in landing.css */

.dark-ui-img {
    border-radius: 12px;
    display: block;
    width: 100%;
    height: auto;
    
    /* Remove brightness dimming and add subtle contrast + sharpness */
    filter: contrast(1.08) saturate(1.05);
    image-rendering: -webkit-optimize-contrast; /* Sharpens pixel rendering on Chrome/Safari */
    
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-card:hover .dark-ui-img {
    filter: brightness(0.98) contrast(1.05);
    transform: scale(1.01);
}

/* Optional subtle dark overlay wrapper */
.showcase-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    pointer-events: none;
    box-shadow: inset 0 0 15px rgba(11, 15, 23, 0.4);
}