/* ===== BACKGROUND ===== */
.landing-root {
  position: relative;
  min-height: 100vh;
  color: #fff;
}

.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #050c1a;
  background-image: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 40%;
}

.landing-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(3, 7, 18, 0.72) 0%,
    rgba(3, 7, 18, 0.45) 35%,
    rgba(3, 7, 18, 0.6) 65%,
    rgba(3, 7, 18, 0.96) 100%
  );
}

.landing-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 65% 0%, rgba(56, 189, 248, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

/* ===== NAVBAR ===== */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(3, 7, 18, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.landing-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: color 0.15s;
}
.nav-link:hover { color: #fff; }

.btn-nav {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s;
}
.btn-nav:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.28);
}

/* ===== HERO ===== */
.landing-hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 4rem;
  padding-top: 5rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: #7dd3fc;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-size: clamp(3.5rem, 9vw, 6.25rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.045em;
  margin: 0 0 1.5rem;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}

.gradient-text {
  background: linear-gradient(125deg, #38bdf8 0%, #818cf8 55%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
  margin: 0 0 2.5rem;
  max-width: 540px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 100%);
  color: #fff;
  padding: 0.875rem 1.875rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s;
  box-shadow: 0 0 32px rgba(29, 78, 216, 0.4), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(29, 78, 216, 0.6), 0 4px 14px rgba(0, 0, 0, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.875rem 1.875rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
}

/* ===== STATS BAR ===== */
.stats-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  background: rgba(3, 7, 18, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.stat {
  flex: 1;
  max-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.stat:last-child { border-right: none; }

.stat-value {
  font-size: 1.65rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ===== FEATURES ===== */
.features-section {
  position: relative;
  z-index: 2;
  padding: 7rem 4rem;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 0.625rem;
}

.section-header p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: rgba(255, 255, 255, 0.025);
  padding: 2rem 1.875rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s;
}
.feature-card:hover { background: rgba(255, 255, 255, 0.05); }

/* Remove right border on last column, bottom border on last row */
.feature-card:nth-child(3n) { border-right: none; }
.feature-card:nth-child(n+4) { border-bottom: none; }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.3), rgba(124, 58, 237, 0.3));
  border: 1px solid rgba(56, 189, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.125rem;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.65;
  margin: 0;
}

/* ===== FOOTER ===== */
.landing-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 4rem;
  background: rgba(3, 7, 18, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .landing-nav { padding: 1.25rem 1.5rem; }
  .nav-link { display: none; }
  .landing-hero { padding: 0 1.5rem; padding-top: 5rem; }
  .features-section { padding: 5rem 1.5rem; }
  .features-grid {
    grid-template-columns: 1fr;
    border: none;
    background: transparent;
    gap: 1px;
    border-radius: 12px;
    overflow: visible;
  }
  .feature-card {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    margin-bottom: 1px;
  }
  .stat { max-width: none; }
}

@media (max-width: 600px) {
  .hero-title { font-size: clamp(2.75rem, 13vw, 4rem); }
  .stats-bar { flex-wrap: wrap; }
  .stat {
    min-width: 50%;
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07) !important; }
  .stat:last-child, .stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .features-grid { grid-template-columns: 1fr; }
}

