:root {
  --bg: #020617;
  --surface: #0f172a;
  --surface-2: #111827;
  --text: #f8fafc;
  --muted: #a5b4cf;
  --muted-2: #c2d0e5;
  --primary: #3b82f6;
  --accent: #8b5cf6;
  --line: rgba(148, 163, 184, 0.26);
  --ok: #22c55e;
}

.landing-modern-shell {
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(59, 130, 246, 0.22), transparent 60%),
    radial-gradient(900px 420px at 10% 10%, rgba(139, 92, 246, 0.2), transparent 55%),
    linear-gradient(180deg, #020617 0%, #040b1d 45%, #020617 100%);
}

.landing-modern-wrap {
  width: min(1180px, 92vw);
  margin: 0 auto;
  padding: 1.4rem 0 3.4rem;
}

.glow-orb {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.45;
}

.glow-orb.orb-a {
  width: 340px;
  height: 340px;
  background: rgba(59, 130, 246, 0.5);
  top: 8%;
  right: 4%;
}

.glow-orb.orb-b {
  width: 320px;
  height: 320px;
  background: rgba(139, 92, 246, 0.46);
  bottom: 4%;
  left: 3%;
}

.landing-layer {
  position: relative;
  z-index: 2;
}

.glass {
  background: linear-gradient(140deg, rgba(17, 24, 39, 0.84), rgba(15, 23, 42, 0.7));
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px rgba(2, 6, 23, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.modern-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 16px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.4rem;
}

.brand-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-modern-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

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

.nav-modern-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.52rem 0.72rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: 0.25s ease;
}

.nav-modern-links a:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.1);
}

.nav-modern-links a:focus-visible,
.btn-modern:focus-visible,
.faq-modern-q:focus-visible,
.nav-mobile-toggle:focus-visible {
  outline: 2px solid rgba(96, 165, 250, 0.95);
  outline-offset: 2px;
}

.nav-modern-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-modern {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.65rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-modern:hover {
  transform: translateY(-1px);
}

.btn-modern-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
}

.btn-modern-primary:hover {
  color: #fff;
  box-shadow: 0 16px 26px rgba(59, 130, 246, 0.4);
}

.btn-modern-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(148, 163, 184, 0.08);
}

.btn-modern-ghost:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.14);
}

.hero-modern {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.hero-copy-modern {
  border-radius: 22px;
  padding: 2rem;
}

.kicker-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.3rem 0.72rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.4);
  background: rgba(59, 130, 246, 0.12);
}

.hero-title-modern {
  margin: 0.95rem 0 0.7rem;
  font-size: clamp(2rem, 4.4vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.hero-title-modern .shine {
  background: linear-gradient(120deg, #f8fafc 0%, #93c5fd 55%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub-modern {
  color: var(--muted-2);
  font-size: 1.04rem;
  max-width: 48ch;
  margin-bottom: 1.15rem;
}

.hero-bullets-modern {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: #dfeafd;
}

.hero-bullets-modern li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-bullets-modern i {
  color: var(--ok);
}

.hero-actions-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-visual-modern {
  border-radius: 22px;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.hero-visual-modern::before {
  content: '';
  position: absolute;
  inset: -35% 45% auto -25%;
  height: 60%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.45), transparent 70%);
  pointer-events: none;
}

.dashboard-frame {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.35), rgba(2, 6, 23, 0.7));
  overflow: hidden;
}

.dashboard-frame img {
  width: 100%;
  display: block;
  height: auto;
}

.float-pill {
  position: absolute;
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.86);
  color: #e2e8f0;
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.45);
  animation: floatUpDown 6s ease-in-out infinite;
}

.float-pill.one {
  top: 14px;
  left: 16px;
}

.float-pill.two {
  right: 16px;
  bottom: 18px;
  animation-delay: 1.1s;
}

.float-pill strong {
  color: #c4b5fd;
  margin-right: 0.3rem;
}

.metrics-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.metric-modern-card {
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.72);
}

.metric-modern-card h3 {
  margin: 0;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.metric-modern-card p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.section-modern {
  margin-top: 1.8rem;
}

.section-head-modern {
  margin-bottom: 1rem;
}

.section-head-modern h2 {
  margin: 0;
  font-size: clamp(1.42rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.section-head-modern p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.features-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature-card-modern {
  border-radius: 16px;
  padding: 1.06rem;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.65);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.feature-card-modern:hover {
  transform: translateY(-3px);
  border-color: rgba(96, 165, 250, 0.6);
  background: rgba(15, 23, 42, 0.9);
}

.feature-icon-modern {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.22));
  color: #dbeafe;
}

.feature-card-modern h3 {
  margin: 0;
  font-size: 1.03rem;
}

.feature-card-modern p {
  margin: 0.45rem 0 0;
  color: #ccdaef;
  font-size: 0.9rem;
}

.shots-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.shot-card-modern {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.7);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.shot-card-modern:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(2, 6, 23, 0.38);
}

.shot-card-modern img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.shot-caption {
  padding: 0.8rem;
  color: #cfddf2;
  font-size: 0.87rem;
}

.pricing-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.plan-modern-card {
  border-radius: 18px;
  padding: 1.15rem;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.75);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.plan-modern-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.5);
}

.plan-modern-card.featured {
  border-color: rgba(96, 165, 250, 0.82);
  background:
    linear-gradient(180deg, rgba(59, 130, 246, 0.22), rgba(15, 23, 42, 0.94));
  box-shadow: 0 22px 40px rgba(30, 64, 175, 0.35);
}

.plan-modern-card .plan-name {
  margin: 0;
  font-size: 1.08rem;
}

.plan-modern-card .plan-price {
  margin: 0.55rem 0 0.7rem;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.plan-modern-card .plan-price span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.plan-modern-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.42rem;
  color: #e2ebfa;
  font-size: 0.9rem;
}

.plan-modern-action {
  margin-top: 0.85rem;
}

.testimonials-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.glass-lite {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.62);
}

.quote-grid-modern {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.8rem;
}

.quote-modern-card,
.quote-modern-form {
  padding: 1rem;
}

.quote-modern-card h3,
.quote-modern-form h3 {
  margin: 0 0 0.55rem;
  font-size: 1.07rem;
}

.quote-modern-card ul {
  margin: 0 0 0.95rem;
  padding-left: 1.1rem;
  color: #dce8fa;
  display: grid;
  gap: 0.38rem;
}

.quote-modern-form .form-label {
  color: #d3def0;
  font-size: 0.82rem;
  margin-bottom: 0.24rem;
}

.quote-modern-form .form-control {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.95);
  color: var(--text);
}

.quote-modern-form .form-control::placeholder {
  color: #7f8ea8;
}

.quote-modern-form .form-control:focus {
  border-color: rgba(96, 165, 250, 0.9);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.quote-note {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.contact-modern-card {
  padding: 1rem;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22), rgba(139, 92, 246, 0.26));
  color: #dde8fb;
}

.contact-modern-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.contact-modern-card p {
  margin: 0.42rem 0 0.55rem;
  color: #c8d7ee;
  font-size: 0.9rem;
}

.contact-modern-card a {
  color: #93c5fd;
  text-decoration: none;
  font-weight: 600;
}

.contact-modern-card a:hover {
  color: #c4b5fd;
}

.testimonial-modern-card {
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.75);
}

.testimonial-modern-card .quote {
  color: #e7eefb;
  margin: 0;
}

.testimonial-modern-card .author {
  margin-top: 0.7rem;
  color: #c4d2e8;
  font-size: 0.86rem;
}

.faq-modern {
  display: grid;
  gap: 0.55rem;
}

.faq-modern-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.72);
  overflow: hidden;
}

.faq-modern-q {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 0.85rem 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-modern-a {
  color: #d1deef;
  padding: 0 0.95rem 0.9rem;
  display: none;
}

.faq-modern-item.open .faq-modern-a {
  display: block;
}

.faq-modern-item.open .faq-modern-q i {
  transform: rotate(180deg);
}

.faq-modern-q i {
  transition: transform 0.2s ease;
}

.cta-modern {
  margin-top: 1.3rem;
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.cta-modern h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 1.9rem);
  letter-spacing: -0.02em;
}

.cta-modern p {
  margin: 0.45rem 0 0;
  color: #d1def0;
}

.cta-modern .actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-up.show {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.12s; }
.delay-3 { transition-delay: 0.2s; }

[data-stagger] > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-stagger].show > * {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].show > *:nth-child(1) { transition-delay: 0.04s; }
[data-stagger].show > *:nth-child(2) { transition-delay: 0.09s; }
[data-stagger].show > *:nth-child(3) { transition-delay: 0.14s; }
[data-stagger].show > *:nth-child(4) { transition-delay: 0.19s; }
[data-stagger].show > *:nth-child(5) { transition-delay: 0.24s; }
[data-stagger].show > *:nth-child(6) { transition-delay: 0.29s; }

.login-modern .modal-content {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(180deg, #0f172a, #111827);
  color: var(--text);
}

.login-modern .form-control,
.login-modern .password-toggle {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
}

.login-modern .form-control::placeholder {
  color: #7f8ea8;
}

.login-modern .form-control:focus {
  border-color: rgba(96, 165, 250, 0.85);
  box-shadow: 0 0 0 0.22rem rgba(59, 130, 246, 0.25);
}

.nav-mobile-toggle {
  display: none;
}

@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@media (max-width: 991.98px) {
  .hero-modern,
  .features-grid-modern,
  .shots-grid-modern,
  .pricing-grid-modern,
  .testimonials-grid-modern,
  .quote-grid-modern,
  .contact-grid-modern {
    grid-template-columns: 1fr;
  }

  .section-modern {
    margin-top: 1.35rem;
  }

  .hero-copy-modern,
  .hero-visual-modern {
    padding: 1.2rem;
  }

  .metrics-modern {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .modern-nav {
    flex-wrap: wrap;
  }

  .nav-modern-links {
    order: 3;
    width: 100%;
    display: none;
  }

  .modern-nav.open .nav-modern-links {
    display: grid;
    gap: 0.3rem;
  }

  .nav-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(148, 163, 184, 0.08);
  }

  .cta-modern {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .landing-modern-wrap {
    width: min(95vw, 540px);
    padding: 1rem 0 2rem;
  }

  .hero-copy-modern,
  .hero-visual-modern,
  .section-modern,
  .cta-modern {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .hero-title-modern {
    font-size: clamp(1.72rem, 8.5vw, 2.4rem);
  }

  .hero-sub-modern,
  .section-head-modern p,
  .feature-card-modern p,
  .faq-modern-a,
  .shot-caption {
    font-size: 0.93rem;
  }

  .metrics-modern {
    grid-template-columns: 1fr;
  }

  .nav-modern-actions {
    width: 100%;
    justify-content: space-between;
  }
}
