/* ============================================================================
   LENDARI LANDING PAGE STYLES
   Clean white theme - Professional SaaS design
   ============================================================================ */

/* ============================================================================
   CSS VARIABLES - LIGHT THEME
   ============================================================================ */

:root {
  /* Background Colors - Light Theme */
  --landing-bg: #FFFFFF;
  --landing-bg-secondary: #F8FAFC;
  --landing-bg-tertiary: #F1F5F9;

  /* Text Colors - Dark for light bg */
  --landing-text: #1A202C;
  --landing-text-secondary: #4A5568;
  --landing-text-muted: #718096;
  --landing-text-dim: #A0AEC0;

  /* Brand Colors */
  --landing-accent: #0049fb;
  --landing-accent-light: #3371fc;
  --landing-accent-dark: #0038c7;
  --landing-accent-glow: rgba(0, 73, 251, 0.15);
  --landing-gold: #C9A227;
  --landing-gold-light: #D4B04A;

  /* Card & Surface - Light theme */
  --landing-card-bg: #FFFFFF;
  --landing-card-bg-hover: #F8FAFC;
  --landing-card-border: #E2E8F0;
  --landing-card-border-hover: #CBD5E1;

  /* Gradients - Subtle for light theme */
  --landing-gradient-hero: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 73, 251, 0.05), transparent);
  --landing-gradient-section: linear-gradient(180deg, transparent 0%, rgba(0, 73, 251, 0.02) 50%, transparent 100%);

  /* Spacing */
  --landing-section-padding: 120px;
  --landing-container-width: 1200px;

  /* Typography */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ============================================================================
   BASE STYLES
   ============================================================================ */

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

html {
  scroll-behavior: smooth;
}

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

.landing-container {
  max-width: var(--landing-container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Background - Clean white, no pattern */
.landing-page::before {
  display: none;
}

/* ============================================================================
   NAVIGATION
   ============================================================================ */

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.landing-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--landing-card-border);
  padding: 16px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--landing-container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--landing-text);
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--landing-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--landing-text);
}

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

/* CTA button in nav - smaller on tablets */
.btn-nav-cta {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-nav-cta svg {
  width: 16px;
  height: 16px;
}

.btn-ghost {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid var(--landing-card-border);
  border-radius: 8px;
  color: var(--landing-text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-ghost:hover {
  background: var(--landing-card-bg);
  border-color: var(--landing-card-border-hover);
}

.btn-primary {
  padding: 10px 24px;
  background: var(--landing-accent);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--landing-accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--landing-accent-glow);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--landing-text);
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.nav-toggle .close-icon {
  display: none;
}

.nav-toggle[aria-expanded="true"] .menu-icon {
  display: none;
}

.nav-toggle[aria-expanded="true"] .close-icon {
  display: block;
}

/* Mobile link that only shows on mobile */
.nav-link-mobile {
  display: none;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Clean hero - no dark effects for light theme */
.hero::before,
.hero::after {
  display: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 100px;
  font-size: 0.875rem;
  color: var(--landing-text-muted);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--landing-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--landing-text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}

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

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-secondary {
  padding: 16px 32px;
  background: transparent;
  border: 1px solid var(--landing-card-border);
  border-radius: 8px;
  color: var(--landing-text);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: var(--landing-card-bg);
  border-color: var(--landing-card-border-hover);
}

/* Social Proof Bar */
.hero-social-proof {
  display: flex;
  gap: 40px;
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--landing-text);
}

.proof-label {
  font-size: 0.875rem;
  color: var(--landing-text-muted);
}

/* ============================================================================
   HERO IMAGE
   ============================================================================ */

.hero-visual {
  position: relative;
  overflow: visible;
}

.hero-image {
  width: 130%;
  max-width: none;
  height: auto;
  border-radius: 12px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 25px 80px -15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--landing-card-border);
}

/* ============================================================================
   PAIN POINTS SECTION
   ============================================================================ */

.pain-points {
  padding: var(--landing-section-padding) 0;
  position: relative;
}

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

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--landing-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--landing-text-muted);
  line-height: 1.7;
}

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

.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.pain-card:hover {
  background: var(--landing-card-bg-hover);
  border-color: var(--landing-card-border-hover);
  transform: translateY(-2px);
}

.pain-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 10px;
  color: #EF4444;
  flex-shrink: 0;
}

.pain-icon svg {
  width: 20px;
  height: 20px;
}

.pain-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--landing-text);
}

.pain-content p {
  font-size: 0.9375rem;
  color: var(--landing-text-muted);
  line-height: 1.6;
}

/* ============================================================================
   FEATURES SECTION
   ============================================================================ */

.features {
  padding: var(--landing-section-padding) 0;
  background: var(--landing-gradient-section);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 24px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--landing-card-bg-hover);
  border-color: var(--landing-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 73, 251, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-dark) 100%);
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px -8px var(--landing-accent-glow);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--landing-text);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--landing-text-muted);
  line-height: 1.6;
}

/* ============================================================================
   HOW IT WORKS SECTION
   ============================================================================ */

.how-it-works {
  padding: var(--landing-section-padding) 0;
}

.steps-container {
  display: flex;
  justify-content: center;
  gap: 32px;
  position: relative;
}

/* Connecting line */
.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--landing-card-border), var(--landing-card-border), transparent);
}

.step-card {
  flex: 1;
  max-width: 320px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--landing-bg);
  border: 2px solid var(--landing-accent);
  border-radius: 50%;
  margin: 0 auto 24px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--landing-accent);
  position: relative;
  z-index: 1;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--landing-text);
}

.step-card p {
  font-size: 0.9375rem;
  color: var(--landing-text-muted);
  line-height: 1.6;
}

/* ============================================================================
   TESTIMONIALS SECTION
   ============================================================================ */

.testimonials {
  padding: var(--landing-section-padding) 0;
  background: var(--landing-gradient-section);
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px;
  background: var(--landing-card-bg);
  border: 1px solid var(--landing-card-border);
  border-radius: 20px;
  text-align: center;
}

.testimonial-quote {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--landing-text);
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  display: block;
  font-size: 4rem;
  color: var(--landing-accent);
  line-height: 1;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--landing-accent) 0%, var(--landing-accent-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  color: var(--landing-text);
}

.author-title {
  font-size: 0.875rem;
  color: var(--landing-text-muted);
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 64px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--landing-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  color: var(--landing-text-muted);
}

/* ============================================================================
   FINAL CTA SECTION
   ============================================================================ */

.final-cta {
  padding: var(--landing-section-padding) 0;
  text-align: center;
}

.cta-box {
  max-width: 700px;
  margin: 0 auto;
  padding: 64px;
  background: linear-gradient(135deg, rgba(0, 73, 251, 0.1) 0%, rgba(0, 73, 251, 0.05) 100%);
  border: 1px solid var(--landing-accent);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, var(--landing-accent-glow) 0%, transparent 50%);
  opacity: 0.3;
  pointer-events: none;
}

.cta-box h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}

.cta-box p {
  font-size: 1.125rem;
  color: var(--landing-text-muted);
  margin-bottom: 32px;
  position: relative;
}

.cta-box .btn-primary {
  font-size: 1.125rem;
  padding: 18px 40px;
  position: relative;
}

.cta-note {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--landing-text-dim);
  position: relative;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.landing-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--landing-card-border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 32px;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--landing-text-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--landing-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--landing-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--landing-text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--landing-card-border);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--landing-text-dim);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--landing-text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--landing-text-muted);
}

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

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

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .hero-social-proof {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 48px;
  }

  .hero-image {
    max-width: 100%;
    transform: none;
    animation: none;
  }

  .stats-row {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --landing-section-padding: 80px;
  }

  /* Mobile Navigation */
  .landing-nav {
    padding: 12px 0;
  }

  .landing-nav.scrolled {
    padding: 12px 0;
  }

  .nav-logo img {
    height: 28px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--landing-card-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    padding: 16px 24px;
    gap: 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--landing-card-border);
    font-size: 1rem;
    color: var(--landing-text);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-link-mobile {
    display: block;
    font-weight: 600;
    color: var(--landing-accent) !important;
  }

  .nav-cta-mobile {
    background: var(--landing-accent);
    color: white !important;
    padding: 14px 20px !important;
    border-radius: 8px;
    text-align: center;
    margin-top: 8px;
    border-bottom: none !important;
  }

  .nav-buttons {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero section mobile spacing */
  .hero {
    padding: 110px 0 60px;
    min-height: auto;
  }

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

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

  .steps-container {
    flex-direction: column;
    align-items: center;
  }

  .steps-container::before {
    display: none;
  }

  .step-card {
    max-width: 100%;
  }

  .stats-row {
    flex-direction: column;
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 48px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 32px;
  }

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

  .testimonial-card {
    padding: 32px 24px;
  }

  .testimonial-quote {
    font-size: 1.25rem;
  }

  .cta-box {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  /* More top spacing on mobile */
  .hero {
    padding: 110px 0 50px;
  }

  .hero h1 {
    font-size: 1.75rem;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  /* Fix button sizes on mobile - much smaller */
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.9375rem;
    justify-content: center;
  }

  .btn-large {
    padding: 14px 20px;
    font-size: 0.9375rem;
  }

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

  .section-subtitle {
    font-size: 1rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  /* CTA section mobile */
  .cta-box {
    padding: 32px 20px;
  }

  .cta-box h2 {
    font-size: 1.5rem;
  }

  .cta-box p {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .cta-box .btn-primary {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
  }

  /* Feature cards mobile */
  .feature-card {
    padding: 24px 20px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
  }

  .feature-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Pain cards mobile */
  .pain-card {
    padding: 20px;
  }

  /* Steps mobile */
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }

  .step-card h3 {
    font-size: 1.125rem;
  }

  /* Testimonial mobile */
  .testimonial-card {
    padding: 24px 20px;
  }

  .testimonial-quote {
    font-size: 1rem;
  }

  .testimonial-quote::before {
    font-size: 3rem;
  }
}
