:root {
  --landing-bg: #070b14;
  --landing-bg-2: #0c1222;
  --landing-surface: rgba(255, 255, 255, 0.04);
  --landing-border: rgba(255, 255, 255, 0.08);
  --landing-text: #eef2ff;
  --landing-muted: #94a3b8;
  --landing-accent: #6366f1;
  --landing-accent-2: #22d3ee;
  --landing-accent-3: #a78bfa;
  --landing-gradient: linear-gradient(135deg, #6366f1 0%, #22d3ee 50%, #a78bfa 100%);
  --landing-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --landing-radius: 1.25rem;
  --landing-header-h: 4.5rem;
  --landing-safe-top: env(safe-area-inset-top, 0px);
  --landing-header-total: calc(var(--landing-header-h) + var(--landing-safe-top));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.landing-page {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--landing-bg);
  color: var(--landing-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.landing-container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.landing-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.25), transparent),
    var(--landing-bg);
}

.landing-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black, transparent);
}

.landing-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: landing-orb-float 18s ease-in-out infinite;
}

.landing-bg-orb-1 {
  width: 420px;
  height: 420px;
  background: #6366f1;
  top: -120px;
  left: -80px;
}

.landing-bg-orb-2 {
  width: 360px;
  height: 360px;
  background: #22d3ee;
  top: 20%;
  right: -100px;
  animation-delay: -6s;
}

.landing-bg-orb-3 {
  width: 300px;
  height: 300px;
  background: #a78bfa;
  bottom: 10%;
  left: 30%;
  animation-delay: -12s;
}

@keyframes landing-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-sizing: border-box;
  height: var(--landing-header-total);
  padding-top: var(--landing-safe-top);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}

.landing-header.scrolled {
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--landing-border);
}

.landing-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--landing-header-h);
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--landing-text);
  font-weight: 700;
  font-size: 1.05rem;
  margin-right: auto;
}

.landing-logo em {
  font-style: normal;
  color: var(--landing-muted);
  font-weight: 500;
}

.landing-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}

.landing-logo-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.landing-nav {
  display: flex;
  gap: 1.75rem;
}

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

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

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.925rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}

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

.landing-btn-primary {
  background: var(--landing-gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}

.landing-btn-primary:hover {
  box-shadow: 0 14px 36px rgba(99, 102, 241, 0.45);
  color: #fff;
}

.landing-btn-ghost {
  background: transparent;
  color: var(--landing-text);
  border: 1px solid var(--landing-border);
}

.landing-btn-ghost:hover {
  background: var(--landing-surface);
  color: var(--landing-text);
}

.landing-btn-light {
  background: #fff;
  color: #1e1b4b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.landing-btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.landing-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--landing-border);
  color: var(--landing-text);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  font-size: 1.25rem;
}

.landing-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(7, 11, 20, 0.95);
  border-bottom: 1px solid var(--landing-border);
}

.landing-mobile-nav a {
  color: var(--landing-text);
  text-decoration: none;
  padding: 0.5rem 0;
}

.landing-mobile-nav:not([hidden]) {
  display: flex;
}

.landing-hero {
  padding: calc(var(--landing-header-total) + 3rem) 0 5rem;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  color: var(--landing-muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.landing-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  font-weight: 800;
}

.landing-gradient-text {
  background: var(--landing-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-hero-lead {
  font-size: 1.125rem;
  color: var(--landing-muted);
  max-width: 34rem;
  margin: 0 0 2rem;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.landing-hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 1rem;
}

.landing-hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.landing-hero-stats strong {
  font-size: clamp(0.8rem, 2.8vw, 0.95rem);
}

.landing-hero-stats span {
  font-size: clamp(0.65rem, 2.4vw, 0.8rem);
  line-height: 1.25;
  color: var(--landing-muted);
}

.landing-hero-visual {
  position: relative;
}

.landing-browser {
  border-radius: var(--landing-radius);
  overflow: hidden;
  background: #111827;
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow);
}

.landing-browser-hero {
  animation: landing-browser-float 6s ease-in-out infinite;
}

.landing-browser-tilt {
  transform: perspective(1200px) rotateY(-6deg) rotateX(4deg);
  transition: transform 0.5s;
}

.landing-browser-tilt:hover {
  transform: perspective(1200px) rotateY(0) rotateX(0);
}

@keyframes landing-browser-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.landing-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: #1f2937;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.landing-browser-bar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #4b5563;
}

.landing-browser-bar span:nth-child(1) { background: #ef4444; }
.landing-browser-bar span:nth-child(2) { background: #eab308; }
.landing-browser-bar span:nth-child(3) { background: #22c55e; }

.landing-browser-url {
  margin-left: 0.75rem;
  flex: 1;
  font-size: 0.75rem;
  color: #9ca3af;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0.375rem;
  padding: 0.35rem 0.75rem;
}

.landing-browser img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.landing-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--landing-border);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  animation: landing-card-float 5s ease-in-out infinite;
}

.landing-float-card i {
  font-size: 1.25rem;
  color: var(--landing-accent-2);
}

.landing-float-card strong {
  display: block;
  font-size: 0.95rem;
}

.landing-float-card span {
  font-size: 0.75rem;
  color: var(--landing-muted);
}

.landing-float-card-1 {
  left: -1.5rem;
  bottom: 18%;
  animation-delay: -1s;
}

.landing-float-card-2 {
  right: -1rem;
  top: 12%;
  animation-delay: -2.5s;
}

.landing-float-card-2 i {
  color: #34d399;
}

@keyframes landing-card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.landing-section {
  padding: 5rem 0;
}

.landing-section-dark {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02) 50%, transparent);
}

.landing-section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.landing-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--landing-accent-2);
  margin: 0 0 0.75rem;
}

.landing-section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-weight: 800;
}

.landing-section-head p {
  color: var(--landing-muted);
  margin: 0;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.landing-feature {
  padding: 1.5rem;
  border-radius: var(--landing-radius);
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.landing-feature:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.landing-feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.landing-feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.landing-feature p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 0.925rem;
}

.landing-showcase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.landing-showcase-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  background: transparent;
  color: var(--landing-muted);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s;
}

.landing-showcase-tab:hover,
.landing-showcase-tab.active {
  color: var(--landing-text);
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.12);
}

.landing-showcase-frame {
  max-width: 960px;
  margin: 0 auto;
}

.landing-showcase-images {
  position: relative;
}

.landing-showcase-images img {
  display: none;
  width: 100%;
  height: auto;
  animation: landing-shot-in 0.45s ease;
}

.landing-showcase-images img.active {
  display: block;
}

@keyframes landing-shot-in {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

.landing-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.landing-benefits-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.landing-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.85rem;
}

.landing-checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--landing-muted);
  font-size: 0.95rem;
}

.landing-checklist i {
  color: #34d399;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.landing-section-security {
  padding-bottom: 3rem;
}

.landing-security {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  border-radius: var(--landing-radius);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.25);
  margin-bottom: 1.5rem;
}

.landing-security-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.2);
  font-size: 1.5rem;
  color: #a5b4fc;
  flex-shrink: 0;
}

.landing-security h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.landing-security p {
  margin: 0;
  color: var(--landing-muted);
}

.landing-security-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.landing-security-card {
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--landing-surface);
  border: 1px solid var(--landing-border);
}

.landing-security-card i {
  font-size: 1.35rem;
  color: var(--landing-accent-2);
  margin-bottom: 0.75rem;
  display: block;
}

.landing-security-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.landing-security-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--landing-muted);
}

.landing-cta {
  padding: 2rem 0 5rem;
}

.landing-cta-box {
  text-align: center;
  padding: 3.5rem 2rem;
  border-radius: calc(var(--landing-radius) + 0.5rem);
  background: var(--landing-gradient);
  box-shadow: 0 30px 80px rgba(99, 102, 241, 0.35);
}

.landing-cta-box h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
}

.landing-cta-box p {
  margin: 0 0 1.75rem;
  opacity: 0.92;
  max-width: 32rem;
  margin-inline: auto;
}

.landing-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.landing-header-inner .landing-btn-demo {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.landing-btn-quiet {
  opacity: 0.85;
}

.landing-footer {
  border-top: 1px solid var(--landing-border);
  padding: 2rem 0 2.5rem;
}

.landing-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.landing-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.landing-footer-copy {
  margin: 0;
  color: var(--landing-muted);
  font-size: 0.875rem;
  flex: 1;
}

.landing-footer-link {
  color: var(--landing-accent-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.landing-footer-link-muted {
  color: var(--landing-muted);
  font-weight: 500;
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .landing-hero-grid,
  .landing-benefits-grid {
    grid-template-columns: 1fr;
  }

  .landing-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-security-cards {
    grid-template-columns: 1fr;
  }

  .landing-hero-visual {
    order: -1;
  }

  .landing-float-card-1 { left: 0; }
  .landing-float-card-2 { right: 0; }
}

@media (max-width: 768px) {
  .landing-container {
    width: min(1120px, calc(100% - 1rem));
  }

  .landing-nav,
  .landing-header-inner > .landing-btn-login {
    display: none;
  }

  .landing-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .landing-hero {
    padding-top: calc(var(--landing-header-total) + 2rem);
  }

  .landing-hero-actions {
    flex-direction: column;
  }

  .landing-hero-actions .landing-btn {
    width: 100%;
  }

  .landing-browser-tilt {
    transform: none;
  }

  .landing-security {
    flex-direction: column;
  }

  .landing-footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
