/* Landing Page Specific Styles */
/* Override root variables for landing page if needed */
:root {
  /* Use the same primary color as the app for consistency */
  --landing-primary: var(--primary-600);
  --landing-primary-hover: var(--primary-700);
  --landing-secondary: var(--neutral-50);
  --landing-text-dark: var(--text-primary);
  --landing-text-light: var(--text-secondary);
}

/* Landing-specific body styles */
body.landing-page {
  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto; /* Override the base.css overflow: hidden */
  height: auto; /* Allow natural height */
}

/* Modern Navbar */
.landing-navbar {
  padding: var(--space-lg) var(--space-xl);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.landing-navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}


.landing-navbar-brand .logo-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: var(--space-sm);
}


.landing-navbar-brand:hover {
  color: var(--primary-600);
  text-decoration: none;
}

.landing-navbar-brand img {
  width: 32px;
  height: 32px;
  margin-right: var(--space-sm);
}

.landing-nav-link {
  color: var(--text-secondary);
  margin: 0 var(--space-lg);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
  font-size: 0.875rem;
}

.landing-nav-link:hover {
  color: var(--primary-600);
  text-decoration: none;
}

/* Hero Section */
.landing-hero {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.landing-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.landing-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  line-height: 1.2;
  color: var(--text-primary);
}

/* Typewriter Effect Styles */
.typewriter-headline {
  min-height: 4.2rem; /* Prevent layout shift */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.25rem;
}

.headline-part1 {
  display: block;
  width: 100%;
}

.headline-part2 {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.typewriter-text {
  color: var(--primary-600);
  font-weight: 700;
}

.typewriter-cursor {
  color: var(--primary-600);
  font-weight: 400;
  animation: blink 1s infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.landing-hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.landing-hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
}

/* Enhanced CTA Buttons */
.landing-cta-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: white;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  border: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.landing-cta-primary:hover {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.landing-cta-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.landing-cta-secondary:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
  border-color: var(--border-strong);
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

/* Stats Section */
.landing-stats {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
}

.landing-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

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

.landing-stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.landing-stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Logos Section */
.landing-logos {
  padding: var(--space-xl) 0;
  background: var(--bg-secondary);
}

.landing-logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 20;
}

@media (min-width: 768px) {
  .landing-logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.logo-group {
  width: 100%;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--space-md);
}

.logo-group::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  z-index: 10;
  height: 100vh;
  width: 1px;
  background-color: var(--border-light);
}

.logo-group::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 10;
  height: 1px;
  width: 100vw;
  background-color: var(--border-light);
}

.logo-item {
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(0);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: var(--space-sm);
}

.logo-group:hover .logo-item {
  transform: translateY(-1rem);
}

.logo-icon {
  height: 2rem;
  width: auto;
  flex: 0 0 auto;
  line-height: 1;
}

.logo-text {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.logo-group:hover .logo-text {
  color: var(--primary-600);
}

/* Orbit Animation */
.orbit-container {
  pointer-events: none;
}

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

.orbit-ring {
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(249,250,251,0) 54.76%);
}

[data-theme="dark"] .orbit-ring {
  border-color: rgba(249,250,251,0.07);
  background: linear-gradient(to bottom, rgba(249,250,251,0.03) 0%, rgba(249,250,251,0) 54.76%);
}

@media (prefers-color-scheme: dark) {
  .orbit-ring {
    border-color: rgba(249,250,251,0.07);
    background: linear-gradient(to bottom, rgba(249,250,251,0.03) 0%, rgba(249,250,251,0) 54.76%);
  }
}

.orbit-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--icon-size, 40px);
  height: var(--icon-size, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
  animation: orbit var(--duration, 20s) linear infinite;
  --radius: 100px;
  --angle: 0deg;
}

.orbit-item.orbit-reverse {
  animation-direction: reverse;
}

@keyframes orbit {
  from {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle)));
  }
  to {
    transform: translate(-50%, -50%) rotate(calc(360deg + var(--angle))) translateX(var(--radius)) rotate(calc(-360deg - var(--angle)));
  }
}

.orbit-icon {
  width: var(--icon-size, 40px);
  height: var(--icon-size, 40px);
  flex: 0 0 auto;
}

/* Case Study Section */
#case-study {
  position: relative;
}

#caseStudyNumber {
  font-family: 'Courier New', Courier, monospace;
  white-space: nowrap;
  z-index: 10;
}

#case-study svg {
  position: relative;
  z-index: 1;
}

/* Responsive adjustments for case study */
@media (max-width: 768px) {
  #caseStudyNumber {
    font-size: 0.75rem !important;
    padding: var(--space-xs) var(--space-sm) !important;
  }
}

/* Audience Section */
.landing-audience {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
}

.landing-audience h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.landing-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.landing-audience-item {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
}

.landing-audience-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.landing-audience-item h3 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-bottom: var(--space-sm);
  line-height: 1;
}

.landing-audience-item h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.landing-audience-item p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Features Section */
.landing-features {
  padding: var(--space-3xl) 0;
  background: var(--bg-primary);
}

.landing-features h2 {
  text-align: center;
  margin-bottom: var(--space-2xl);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.landing-feature-item {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.landing-feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
}

.landing-feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.landing-feature-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.landing-feature-item p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.landing-feature-cta {
  color: var(--primary-600);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.landing-feature-cta:hover {
  color: var(--primary-700);
  text-decoration: none;
}

/* Pricing Section */
.landing-pricing {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
}

.landing-pricing h2 {
  text-align: center;
  margin-bottom: var(--space-md);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.landing-pricing-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  color: var(--text-secondary);
  font-size: 1.25rem;
}

.landing-pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
  align-items: stretch; /* Ensure all cards have equal height */
}

.landing-pricing-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  /* overflow: hidden; */
  box-shadow: var(--shadow-sm);
}

.landing-pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
}

.landing-pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-600);
}

.landing-pricing-card h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.landing-pricing-card > p {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.landing-pricing-card .price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-xl);
  color: var(--text-primary);
}

.landing-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl) 0;
  flex-grow: 1;
}

.landing-pricing-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  line-height: 1.4;
  text-align: left;
}

.landing-pricing-list li i {
  margin-right: var(--space-sm);
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.landing-pricing-cta {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  color: white;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
  text-decoration: none;
  display: inline-block;
  box-shadow: var(--shadow-sm);
}

.landing-pricing-cta:hover {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-800));
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

/* Most Popular Badge */
.landing-pricing-card .most-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-600);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

/* Most popular card styling - badge overlays without pushing content */
.landing-pricing-card:has(.most-popular-badge) {
  /* Remove margin-top to allow badge to overlay properly */
  margin-top: 0;
}


/* Trust Signals */
.pricing-trust-signals {
  text-align: center;
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--neutral-500);
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-trust-signals p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.pricing-trust-signals p:last-child {
  margin-bottom: 0;
}

.pricing-trust-signals i {
  margin-right: var(--space-xs);
}

/* Footer */
.landing-footer {
  background: var(--bg-inverse);
  color: var(--text-inverse);
  padding: var(--space-2xl) 0;
}

.landing-footer a {
  color: var(--neutral-300);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.landing-footer hr {
  border-color: var(--neutral-700);
}

/* Responsive Design */
@media (max-width: 768px) {
  .landing-hero h1 {
    font-size: 2.5rem;
  }
  
  .typewriter-headline {
    min-height: 3.5rem;
    font-size: 2rem;
  }
  
  .headline-part2 {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .landing-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .landing-cta-primary,
  .landing-cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .landing-logos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .logo-group {
    height: 6rem;
  }
  
  .logo-icon {
    height: 1.5rem;
  }
  
  .logo-text {
    font-size: 0.75rem;
  }
  
  .landing-pricing-cards {
    grid-template-columns: 1fr;
    padding: 0 var(--space-md);
    gap: var(--space-lg);
  }
  
  .landing-audience-grid,
  .landing-features-grid {
    grid-template-columns: 1fr;
    padding: 0 var(--space-md);
  }
  
  .landing-stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: 0 var(--space-md);
  }
  
} 

.red-price {
  color: var(--error-600);
}