/* =========================================
   Landing Page – FeedSync Pro
   Uses --fs-* design tokens from style.css
   ========================================= */

/* ───────────────────────────────────────
   0. Scroll-Reveal Animations
   ─────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
[data-reveal="fade-up"]    { transform: translateY(36px); }
[data-reveal="fade-down"]  { transform: translateY(-36px); }
[data-reveal="fade-left"]  { transform: translateX(36px); }
[data-reveal="fade-right"] { transform: translateX(-36px); }
[data-reveal="scale"]      { transform: scale(.92); }
[data-reveal="fade"]       { transform: none; }

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
[data-delay="100"] { transition-delay: .1s; }
[data-delay="200"] { transition-delay: .2s; }
[data-delay="300"] { transition-delay: .3s; }
[data-delay="400"] { transition-delay: .4s; }
[data-delay="500"] { transition-delay: .5s; }
[data-delay="600"] { transition-delay: .6s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ───────────────────────────────────────
   1. Browser-Mockup Frame (Pure CSS)
   ─────────────────────────────────────── */
.lp-browser-frame {
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(0,0,0,.04),
    0 20px 50px rgba(0,0,0,.10),
    0 0 0 1px rgba(0,0,0,.06);
  background: #fff;
}
.lp-browser-chrome {
  height: 36px;
  background: linear-gradient(180deg, #f5f5f5, #e8e8e8);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  border-bottom: 1px solid #ddd;
  position: relative;
}
.lp-browser-chrome::before {
  content: '';
  display: flex;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 18px 0 0 #ffbd2e, 36px 0 0 #28c840;
  flex-shrink: 0;
}
.lp-browser-chrome::after {
  content: 'feedsync.pro';
  display: block;
  margin: 0 auto;
  font-size: 11px;
  color: #666;
  background: #fff;
  border-radius: 6px;
  padding: 3px 40px;
  border: 1px solid #ddd;
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.lp-browser-frame img {
  width: 100%;
  display: block;
  height: auto;
}

/* Shadow variant for dark backgrounds */
.lp-browser-frame--glow {
  box-shadow:
    0 4px 6px rgba(0,0,0,.04),
    0 20px 50px rgba(0,0,0,.18),
    0 0 80px rgba(0,179,134,.12);
}

/* ───────────────────────────────────────
   2. Hero Section
   ─────────────────────────────────────── */
.lp-hero {
  background: var(--fs-grad-hero);
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
}

/* Orbs */
.lp-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .18;
  pointer-events: none;
}
.lp-hero-orb--1 { width: 500px; height: 500px; background: #22c55e; top: -150px; left: -120px; }
.lp-hero-orb--2 { width: 350px; height: 350px; background: #6ee7b7; bottom: -100px; right: 3%; }
.lp-hero-orb--3 { width: 220px; height: 220px; background: #34d399; top: 35%; left: 55%; }

.lp-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.lp-hero-highlight {
  background: linear-gradient(90deg, #a7f3d0, #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.lp-hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  max-width: 540px;
  line-height: 1.65;
}
@media (max-width: 991.98px) {
  .lp-hero-sub { margin-left: auto; margin-right: auto; }
}

/* Hero CTAs */
.lp-cta-primary {
  font-weight: 700;
  border-radius: var(--fs-radius-md);
  padding: .75rem 1.6rem;
  color: var(--fs-green-800) !important;
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  transition: transform .15s ease, box-shadow .15s ease;
}
.lp-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.lp-cta-secondary {
  font-weight: 600;
  border-radius: var(--fs-radius-md);
  padding: .75rem 1.6rem;
}

/* Hero screenshot */
.lp-hero-screenshot {
  perspective: 1000px;
}
.lp-hero-screenshot .lp-browser-frame {
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.lp-hero-screenshot .lp-browser-frame:hover {
  transform: rotateY(0) rotateX(0);
}

/* ───────────────────────────────────────
   3. Stats Bar
   ─────────────────────────────────────── */
.lp-stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--fs-neutral-200);
  padding: 2rem 0;
  position: relative;
  z-index: 2;
}
.lp-stat {
  text-align: center;
  padding: .5rem 1rem;
}
.lp-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--fs-green-700);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.lp-stat-label {
  font-size: .85rem;
  color: var(--fs-neutral-500);
  margin-top: .25rem;
  font-weight: 500;
}

/* ───────────────────────────────────────
   4. Generic Sections
   ─────────────────────────────────────── */
.lp-section {
  padding: 5rem 0;
}
.lp-section--alt {
  background: var(--fs-neutral-50);
}
.lp-section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--fs-neutral-900);
  line-height: 1.2;
}
.lp-section-sub {
  font-size: 1.05rem;
  color: var(--fs-neutral-500);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.lp-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
  padding: .35rem .85rem;
  border-radius: var(--fs-radius-pill);
  background: var(--fs-green-50);
  color: var(--fs-green-700);
  letter-spacing: .01em;
}

/* ───────────────────────────────────────
   5. Feature Showcase (Alternating)
   ─────────────────────────────────────── */
.lp-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}
.lp-showcase + .lp-showcase {
  border-top: 1px solid var(--fs-neutral-200);
}
.lp-showcase--reversed .lp-showcase-text { order: 2; }
.lp-showcase--reversed .lp-showcase-img  { order: 1; }

.lp-showcase-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--fs-neutral-900);
  margin-bottom: .75rem;
  letter-spacing: -.015em;
}
.lp-showcase-text p {
  color: var(--fs-neutral-600);
  line-height: 1.7;
  font-size: 1.02rem;
}
.lp-showcase-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.lp-showcase-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .35rem 0;
  color: var(--fs-neutral-700);
  font-size: .95rem;
}
.lp-showcase-list li i {
  color: var(--fs-green-600);
  margin-top: .2rem;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .lp-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }
  .lp-showcase--reversed .lp-showcase-text,
  .lp-showcase--reversed .lp-showcase-img {
    order: unset;
  }
  .lp-showcase-img { order: -1; }
}

/* ───────────────────────────────────────
   6. Feature Grid (All Features)
   ─────────────────────────────────────── */
.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.lp-fcard {
  background: #fff;
  border: 1px solid var(--fs-neutral-200);
  border-radius: var(--fs-radius-lg);
  padding: 1.5rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lp-fcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--fs-shadow-lg);
  border-color: var(--fs-green-200);
}
.lp-fcard-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--fs-radius-md);
  background: var(--fs-green-50);
  color: var(--fs-green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: .75rem;
}
.lp-fcard h5 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--fs-neutral-900);
  margin-bottom: .4rem;
}
.lp-fcard p {
  font-size: .85rem;
  color: var(--fs-neutral-500);
  line-height: 1.55;
  margin: 0;
}
.lp-fcard-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .2rem .5rem;
  border-radius: var(--fs-radius-pill);
  margin-bottom: .6rem;
}
.lp-fcard-badge--new {
  background: var(--fs-green-50);
  color: var(--fs-green-700);
}
.lp-fcard-badge--ai {
  background: #ede9fe;
  color: #7c3aed;
}
.lp-fcard-badge--pro {
  background: #fef3c7;
  color: #b45309;
}

@media (max-width: 991.98px) {
  .lp-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .lp-features-grid { grid-template-columns: 1fr; }
}

/* ───────────────────────────────────────
   7. AI Section (Dark)
   ─────────────────────────────────────── */
.lp-ai-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
.lp-ai-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,.15), transparent 70%);
  pointer-events: none;
}
.lp-ai-section::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,179,134,.1), transparent 70%);
  pointer-events: none;
}
.lp-ai-section .lp-section-title {
  color: #fff;
}
.lp-ai-section .lp-section-sub {
  color: rgba(255,255,255,.6);
}

.lp-ai-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--fs-radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.lp-ai-card:hover {
  border-color: rgba(124,58,237,.35);
  box-shadow: 0 0 30px rgba(124,58,237,.08);
}
.lp-ai-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--fs-radius-md);
  background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(139,92,246,.1));
  color: #a78bfa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: .85rem;
}
.lp-ai-card h5 {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: .4rem;
}
.lp-ai-card p {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  line-height: 1.6;
  margin: 0;
}

/* ───────────────────────────────────────
   8. Export Channels
   ─────────────────────────────────────── */
.lp-channels-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.lp-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--fs-neutral-200);
  border-radius: var(--fs-radius-pill);
  padding: .6rem 1.2rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--fs-neutral-700);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.lp-channel-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--fs-shadow-md);
  border-color: var(--fs-green-300);
}
.lp-channel-badge i {
  font-size: 1.1rem;
  color: var(--fs-green-600);
}

/* ───────────────────────────────────────
   9. How It Works
   ─────────────────────────────────────── */
.lp-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.lp-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 1.5rem;
}
/* Connector line */
.lp-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: var(--fs-green-200);
}
.lp-step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--fs-grad-brand);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,128,96,.2);
  position: relative;
  z-index: 1;
}
.lp-step h5 {
  font-weight: 700;
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--fs-neutral-900);
}
.lp-step p {
  color: var(--fs-neutral-500);
  font-size: .9rem;
  line-height: 1.55;
}

@media (max-width: 767.98px) {
  .lp-steps {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }
  .lp-step { max-width: 320px; }
  .lp-step:not(:last-child)::after { display: none; }
}

/* ───────────────────────────────────────
   10. Pricing
   ─────────────────────────────────────── */
.lp-price-card {
  background: #fff;
  border: 1px solid var(--fs-neutral-200);
  border-radius: var(--fs-radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.lp-price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--fs-shadow-xl);
}
.lp-price-card--popular {
  border: 2px solid var(--fs-green-400);
  box-shadow: 0 0 0 1px var(--fs-green-200), var(--fs-shadow-lg);
}
.lp-price-card--popular::before {
  content: 'Beliebt';
  position: absolute;
  top: 16px;
  right: -30px;
  background: var(--fs-grad-brand);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3rem 2.5rem;
  transform: rotate(45deg);
}
.lp-price-amount {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--fs-neutral-900);
  font-variant-numeric: tabular-nums;
}
.lp-price-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-price-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .4rem 0;
  font-size: .9rem;
  color: var(--fs-neutral-700);
}
.lp-price-list li i {
  margin-top: .2rem;
  flex-shrink: 0;
}

/* ───────────────────────────────────────
   11. FAQ Accordion
   ─────────────────────────────────────── */
.lp-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid var(--fs-neutral-200);
  background: transparent;
}
.lp-accordion .accordion-button {
  font-weight: 600;
  background: transparent;
  box-shadow: none !important;
  padding: 1.15rem 0;
  font-size: 1rem;
  color: var(--fs-neutral-800);
}
.lp-accordion .accordion-button:not(.collapsed) {
  color: var(--fs-green-700);
  background: transparent;
}
.lp-accordion .accordion-body {
  padding: 0 0 1.15rem;
  color: var(--fs-neutral-600);
  line-height: 1.7;
}

/* ───────────────────────────────────────
   12. Trust Badges
   ─────────────────────────────────────── */
.lp-trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.lp-trust-badge {
  background: #fff;
  border: 1px solid var(--fs-neutral-200);
  border-radius: var(--fs-radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.lp-trust-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--fs-shadow-md);
}
.lp-trust-icon {
  font-size: 1.75rem;
  color: var(--fs-green-700);
  margin-bottom: .4rem;
}
.lp-trust-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--fs-neutral-700);
}

@media (max-width: 991.98px) {
  .lp-trust-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575.98px) {
  .lp-trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ───────────────────────────────────────
   13. Final CTA
   ─────────────────────────────────────── */
.lp-final-cta {
  background: var(--fs-grad-hero);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.lp-final-cta::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.lp-final-cta::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  pointer-events: none;
}

/* ───────────────────────────────────────
   14. Navbar & Announcement – Landing Overrides
   ─────────────────────────────────────── */
/* Navbar stays green (default gradient) on landing page */

/* Nav CTA button */
.lp-nav-cta {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff !important;
  border-radius: var(--fs-radius-pill, 999px);
  padding: .4rem 1.1rem !important;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .01em;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
  white-space: nowrap;
}
.lp-nav-cta:hover {
  background: rgba(255,255,255,.22) !important;
  border-color: rgba(255,255,255,.55);
  transform: translateY(-1px);
}


/* ───────────────────────────────────────
   15. Utility Classes
   ─────────────────────────────────────── */
.lp-gradient-text {
  background: linear-gradient(135deg, var(--fs-green-600), var(--fs-green-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass card – shared */
.lp-glass {
  background: var(--fs-glass-bg);
  border: 1px solid var(--fs-glass-border);
  border-radius: var(--fs-radius-lg);
  backdrop-filter: blur(var(--fs-glass-blur));
  -webkit-backdrop-filter: blur(var(--fs-glass-blur));
}

/* ───────────────────────────────────────
   16. Responsive – Global
   ─────────────────────────────────────── */
@media (max-width: 767.98px) {
  .lp-hero { padding: 3rem 0 3.5rem; }
  .lp-section { padding: 3rem 0; }
  .lp-final-cta { padding: 3.5rem 0; }
  .lp-hero-title { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .lp-hero-screenshot .lp-browser-frame {
    transform: none;
    max-width: 90vw;
    margin: 0 auto;
  }
}
