/* Landing page animations & layout */

.landing-body {
  overflow-x: hidden;
  background: #0a0c10;
}

.landing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: #e4002b;
  top: -120px;
  right: -80px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: #3b82f6;
  bottom: 10%;
  left: -60px;
  animation-delay: -4s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: #22c55e;
  top: 40%;
  left: 45%;
  animation-delay: -7s;
}

.grid-lines {
  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: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.08); }
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(10, 12, 16, 0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.landing-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.landing-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.landing-menu {
  display: flex;
  gap: 18px;
  flex: 1;
  justify-content: center;
}

.landing-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.landing-menu a:hover { color: var(--text); }

.landing-nav-actions { display: flex; gap: 8px; }

.landing-hero,
.landing-section,
.landing-preview,
.landing-cta,
.landing-footer {
  position: relative;
  z-index: 1;
}

.landing-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 20px 32px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(228, 0, 43, 0.15);
  border: 1px solid rgba(228, 0, 43, 0.35);
  color: #ffb3c0;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.landing-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.gradient-text {
  background: linear-gradient(135deg, #ff4d6d, #e4002b, #ff8fab);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 28px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-lg { padding: 12px 24px; font-size: 1rem; }

.pulse-btn {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(228, 0, 43, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(228, 0, 43, 0); }
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stats strong {
  font-size: 1.8rem;
  color: var(--green);
}

.hero-stats span { font-size: 0.8rem; color: var(--muted); }

.landing-preview {
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 0 20px;
}

.preview-window {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}

.preview-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: #12151b;
  border-bottom: 1px solid var(--border);
}

.preview-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #444;
}

.preview-bar span:first-child { background: #ef4444; }
.preview-bar span:nth-child(2) { background: #eab308; }
.preview-bar span:nth-child(3) { background: #22c55e; }

.preview-content { padding: 8px 0; }

.preview-row {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 0.5fr;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  animation: slideInRow 0.6s ease backwards;
}

.preview-row:nth-child(2) { animation-delay: 0.1s; }
.preview-row:nth-child(3) { animation-delay: 0.2s; }
.preview-row:nth-child(4) { animation-delay: 0.3s; }

.preview-row.head { color: var(--muted); font-weight: 600; }
.preview-row .green { color: var(--green); }
.preview-row .warn { color: var(--yellow); }
.preview-row .ok { color: var(--green); }
.preview-row .wait { color: var(--blue); }
.warn-row { background: rgba(234, 179, 8, 0.06); }

@keyframes slideInRow {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.landing-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 20px;
}

.landing-section.alt {
  background: rgba(255,255,255,0.02);
  max-width: none;
  border-block: 1px solid rgba(255,255,255,0.04);
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(228, 0, 43, 0.35);
  box-shadow: 0 16px 40px rgba(228, 0, 43, 0.08);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.bounce-icon {
  animation: bounceSoft 2.5s ease-in-out infinite;
}

.bounce-icon.delay-1 { animation-delay: 0.3s; }
.bounce-icon.delay-2 { animation-delay: 0.6s; }

@keyframes bounceSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.feature-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature-card p { color: var(--muted); font-size: 0.9rem; }

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  min-width: 140px;
}

.step-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
}

.step h4 { font-size: 0.95rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 0.8rem; }
.step-arrow { color: var(--muted); font-size: 1.2rem; }

.pricing-highlight {
  text-align: center;
  margin-bottom: 32px;
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(228,0,43,0.12), rgba(59,130,246,0.08));
  border: 1px solid rgba(228,0,43,0.2);
}

.price-per-line { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.big-price { font-size: 4rem; font-weight: 800; color: var(--green); line-height: 1; }
.price-unit { font-size: 1.1rem; color: var(--muted); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.pricing-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px;
}

.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s;
}

.price-card:hover { transform: scale(1.02); }
.price-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(228,0,43,0.3), 0 20px 50px rgba(228,0,43,0.12);
}

.price-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: var(--muted);
}

.price-tag.hot { background: rgba(228,0,43,0.2); color: #ffb3c0; }

.price-card h3 { margin: 24px 0 8px; font-size: 1.2rem; }
.price-amount { font-size: 2.2rem; font-weight: 800; color: var(--green); }
.price-amount small { font-size: 0.9rem; color: var(--muted); font-weight: 400; }
.price-desc { color: var(--muted); margin-bottom: 16px; font-size: 0.9rem; }
.price-card ul { list-style: none; margin-bottom: 20px; font-size: 0.85rem; color: var(--muted); }
.price-card li { padding: 5px 0; }

.pricing-calc {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}

.pricing-calc input[type=range] {
  width: 240px;
  margin: 0 12px;
  accent-color: var(--red);
}

.pricing-calc .calc-result {
  margin-top: 12px;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing-calc .calc-result strong { color: var(--green); font-size: 1.2rem; }

.landing-cta {
  text-align: center;
  padding: 64px 20px;
  background: radial-gradient(circle at center, rgba(228,0,43,0.12), transparent 70%);
}

.landing-cta h2 { font-size: 1.6rem; margin-bottom: 8px; }
.landing-cta p { color: var(--muted); margin-bottom: 20px; }

.landing-footer {
  text-align: center;
  padding: 24px;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}

/* Scroll / load animations */
.anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}

.anim-fade-up.delay-1 { animation-delay: 0.15s; }
.anim-fade-up.delay-2 { animation-delay: 0.3s; }
.anim-fade-up.delay-3 { animation-delay: 0.45s; }
.anim-fade-up.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.anim-float {
  animation: floatPreview 4s ease-in-out infinite;
}

@keyframes floatPreview {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.anim-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .landing-menu { display: none; }
  .step-arrow { display: none; }
  .landing-nav-actions .btn-outline { display: none; }
}
