:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --bg-landing: #f8fafc;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --white: #ffffff;
}

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

body.landing-body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-landing);
  color: var(--text-dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.025em;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-login {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  color: var(--primary) !important;
}

.hero {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.social-proof {
  margin-top: 2rem;
  font-size: 0.9rem !important;
  font-weight: 600;
}

.features-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.pricing-section {
  padding: 5rem 2rem;
  background-color: #f1f5f9;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: white;
  color: #2563eb;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 2px solid #2563eb;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 1rem;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: #f0f7ff;
  transform: translateY(-2px);
}

.btn-outline {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e2e8f0;
  background: transparent;
  color: #475569;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: #2563eb;
  color: #2563eb;
  background: #f8fafc;
}

/* --- PRICING CARD STYLES --- */
.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.pricing-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 24px;
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.pricing-card.featured:hover {
  transform: scale(1.06) translateY(-10px);
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 1.5rem 0;
  color: #0f172a;
  letter-spacing: -2px;
}

.price span {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: normal;
}

.plan-features {
  list-style: none;
  margin-bottom: 2.5rem;
  text-align: left;
  flex-grow: 1;
}

.plan-features li {
  margin-bottom: 1rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.plan-features li::before {
  content: "✓";
  color: #10b981;
  font-weight: 900;
  font-size: 1.2rem;
}

/* --- CAROUSEL STYLES --- */
.carousel-container {
  margin-top: 50px;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  background: #000;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #0d1117;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.5s ease;
}

.carousel-slide:hover img {
  transform: scale(1.03);
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 30px 30px;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
  color: white;
  text-align: left;
}

.carousel-caption h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.carousel-caption p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0;
  max-width: 600px;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

.carousel-btn {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: all 0.3s;
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.4);
  transform: scale(1.1);
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.3s;
}

.indicator.active {
  background: white;
  width: 30px;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .carousel-caption h3 { font-size: 1.4rem; }
  .carousel-caption p { font-size: 0.95rem; }
  .btn-primary, .btn-secondary { width: 100%; margin: 0.5rem 0; }
  .carousel-container { border-radius: 12px; }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-box {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  width: 100%;
  max-width: 450px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
}

.hidden { display: none; }

.btn-block { width: 100%; margin-top: 1rem; }
