/* landing.css - Premium SaaS Landing Site Styles */

:root {
  /* Light Mode (Default) */
  --l-bg: #ffffff;
  --l-surface: #ffffff;
  --l-surface-card: rgba(255, 255, 255, 0.7);
  --l-primary: #4744e5;
  --l-primary-hover: #3d3ab8;
  --l-secondary: #ec4899;
  --l-accent: #10b981;
  --l-text: #131b2e;
  --l-text-muted: #5c6479;
  --l-border: rgba(71, 68, 229, 0.08);
  --l-section-alt-bg: #faf9fe;
  --l-footer-bg: #f3f1fd;
  --l-nav-bg: rgba(255, 255, 255, 0.75);
  --l-nav-bg-scrolled: rgba(255, 255, 255, 0.92);
  --l-glow-1: rgba(99, 102, 241, 0.07);
  --l-glow-2: rgba(236, 72, 153, 0.04);
  --l-shadow: 0 20px 40px -10px rgba(71, 68, 229, 0.08), 0 1px 3px rgba(0,0,0,0.01);
  --l-card-shadow: 0 10px 30px -15px rgba(71, 68, 229, 0.06), 0 2px 8px -1px rgba(0, 0, 0, 0.01);
}

.dark-mode {
  /* Dark Mode */
  --l-bg: #09071c;
  --l-surface: #120f30;
  --l-surface-card: rgba(24, 21, 61, 0.7);
  --l-primary: #6366f1;
  --l-primary-hover: #4f46e5;
  --l-secondary: #ec4899;
  --l-accent: #10b981;
  --l-text: #f3f4f6;
  --l-text-muted: #9ca3af;
  --l-border: rgba(255, 255, 255, 0.08);
  --l-section-alt-bg: #0d0b28;
  --l-footer-bg: #050410;
  --l-nav-bg: rgba(9, 7, 28, 0.7);
  --l-nav-bg-scrolled: rgba(9, 7, 28, 0.92);
  --l-glow-1: rgba(99, 102, 241, 0.15);
  --l-glow-2: rgba(236, 72, 153, 0.1);
  --l-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  --l-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body.landing-body {
  background: radial-gradient(120% 120% at 50% 10%, var(--l-bg) 40%, var(--l-section-alt-bg) 80%, var(--l-footer-bg) 100%);
  color: var(--l-text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Glassmorphism Navbar */
.l-navbar {
  background: var(--l-nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--l-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
.l-navbar.scrolled {
  background: var(--l-nav-bg-scrolled);
  box-shadow: var(--l-shadow);
}
.l-nav-link {
  color: var(--l-text-muted) !important;
  font-weight: 500;
  font-size: 14.5px;
  transition: color 0.3s;
}
.l-nav-link:hover, .l-nav-link.active {
  color: var(--l-primary) !important;
}
body.dark-mode .l-nav-link:hover, body.dark-mode .l-nav-link.active {
  color: #fff !important;
}

/* 3D UX Hero Section */
.l-hero-section {
  padding-top: 160px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}
.l-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.l-hero-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: var(--l-glow-1);
  filter: blur(100px);
}
.l-hero-glow-2 {
  position: absolute;
  bottom: 10%;
  right: 10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--l-glow-2);
  filter: blur(100px);
}
/* CSS 3D perspective wrapper */
.l-hero-3d-wrapper {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.l-hero-3d-card {
  width: 100%;
  max-width: 580px;
  transform: rotateX(20deg) rotateY(-18deg) rotateZ(10deg);
  transform-style: preserve-3d;
  background: var(--l-surface-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--l-border);
  border-radius: 20px;
  box-shadow: var(--l-shadow);
  padding: 24px;
  transition: transform 0.5s ease-out, background-color 0.3s, border-color 0.3s;
}
.l-hero-3d-card:hover {
  transform: rotateX(10deg) rotateY(-8deg) rotateZ(4deg) translateZ(30px);
}

/* Section Common Styles */
.l-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--l-border);
}
.l-section-alt {
  background: var(--l-section-alt-bg);
  padding: 100px 0;
  transition: background-color 0.3s;
}
.l-section-title {
  font-weight: 800;
  font-size: 36px;
  color: var(--l-text);
  line-height: 1.25;
}
.l-section-subtitle {
  color: var(--l-text-muted);
  font-size: 16px;
  max-width: 600px;
  margin: 12px auto 0;
}

/* Feature Grid Cards */
.l-feat-card {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  box-shadow: var(--l-card-shadow);
}
.l-feat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 16px 40px rgba(99, 102, 241, 0.1);
}
.l-feat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.06);
  color: var(--l-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}

/* Pricing Cards */
.l-price-card {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  transition: all 0.3s;
  box-shadow: var(--l-card-shadow);
}
.l-price-card.popular {
  border-color: var(--l-primary);
  box-shadow: 0 12px 48px rgba(99, 102, 241, 0.15);
}
.l-price-card.popular::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--l-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
}

/* Interactive Calculator */
.l-calc-box {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--l-card-shadow);
}

/* FAQ Accordion */
.l-faq-item {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--l-card-shadow);
}
.l-faq-header {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--l-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.l-faq-body {
  padding: 0 24px 20px;
  color: var(--l-text-muted);
  display: none;
  font-size: 14.5px;
  line-height: 1.6;
}

/* Testimonial Cards */
.l-test-card {
  background: var(--l-surface);
  border: 1px solid var(--l-border);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: var(--l-card-shadow);
}

/* Footers */
.l-footer {
  background: var(--l-footer-bg);
  padding: 80px 0 40px;
  border-top: 1px solid var(--l-border);
  transition: background-color 0.3s;
}

/* Glassmorphic Mockup Cards Utility */
.l-glass-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(71, 68, 229, 0.12);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
}
.dark-mode .l-glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

