/* ============================================================================
   MODERN LANDING PAGE STYLES - Clean, WriteStack-inspired
   ============================================================================ */

/* Landing Page Container */
.landing-page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background: #ffffff;
}

/* Animated Background - subtle, clean */
.landing-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
}

.landing-bg-gradient {
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 103, 25, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 143, 90, 0.03) 0%, transparent 50%);
  animation: bgFloat 30s ease-in-out infinite;
}

.landing-bg-grid {
  display: none;
}

@keyframes bgFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(1%, 1%); }
}

/* Navigation */
.landing-nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  color: var(--text-primary);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 8px rgba(255, 103, 25, 0.3));
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-nav {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  color: var(--text-secondary);
}

.btn-nav:hover {
  color: var(--text-primary);
}

.btn-nav-primary {
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  padding: 10px 24px;
}

.btn-nav-primary:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 103, 25, 0.3);
}

/* Hero Section */
.landing-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px 100px;
}

.landing-hero-content {
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 103, 25, 0.08);
  border: 1px solid rgba(255, 103, 25, 0.15);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease;
}

.badge-icon {
  font-size: 16px;
}

.landing-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title-line {
  display: block;
  color: var(--text-primary);
}

.hero-title-gradient {
  display: inline;
  background: linear-gradient(135deg, #FF6719 0%, #FF8F5A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 4px;
}

.landing-hero-subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.landing-hero-subtitle strong {
  color: var(--accent);
  font-weight: 600;
}

/* Hero CTA */
.landing-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
}

.btn-hero-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 20px rgba(255, 103, 25, 0.3);
}

.btn-hero-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 103, 25, 0.4);
}

.btn-hero-secondary {
  background: white;
  color: var(--text-primary);
  border: 2px solid var(--border);
}

.btn-hero-secondary:hover {
  border-color: var(--text-tertiary);
  background: var(--bg-secondary);
}

.btn-hero-large {
  padding: 20px 40px;
  font-size: 18px;
}

.hero-trust {
  animation: fadeInUp 0.6s ease 0.4s both;
  margin-top: 8px;
}

.trust-text {
  font-size: 14px;
  color: var(--text-tertiary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  animation: fadeInUp 0.8s ease 0.4s both;
  margin-top: 60px;
  max-width: 900px;
  width: 100%;
}

.hero-screenshot-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(0,0,0,0.08),
    0 0 0 1px rgba(0,0,0,0.04);
}

.hero-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.hero-screenshot-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 103, 25, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Section Styles */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 64px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 103, 25, 0.08);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, #FF6719 0%, #FF8F5A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================================
   FEATURES SECTION - 2x2 Grid
   ============================================================================ */
.landing-features {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  background: #ffffff;
  padding: 40px 36px;
  border-radius: 20px;
  border: 1px solid #f0ede8;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #FF8F5A);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  border-color: rgba(255, 103, 25, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 103, 25, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================================
   PRICING SECTION
   ============================================================================ */
.landing-pricing {
  padding: 120px 48px;
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1050px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid #f0ede8;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.pricing-card-featured {
  border: 2px solid var(--accent);
  position: relative;
  box-shadow: 0 12px 40px rgba(255, 103, 25, 0.12);
}

.pricing-card-featured:hover {
  box-shadow: 0 20px 60px rgba(255, 103, 25, 0.18);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 20px;
}

.pricing-header h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-period {
  font-size: 16px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.pricing-included {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 4px;
}

.pricing-included strong {
  color: var(--success);
  font-weight: 700;
}

.pricing-savings {
  margin-top: 8px;
  font-size: 13px;
  color: var(--success);
  font-weight: 600;
  background: rgba(16, 185, 129, 0.08);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
}

.pricing-total {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-top: 4px;
  font-weight: 500;
}

.pricing-description {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

.pricing-features li svg {
  flex-shrink: 0;
  color: var(--success);
}

.pricing-features li.feature-disabled {
  color: var(--text-tertiary);
  font-weight: 400;
}

.pricing-features li.feature-disabled svg {
  color: var(--text-tertiary);
  opacity: 0.5;
}

.pricing-features-faded li {
  color: var(--text-secondary);
}

.btn-pricing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid var(--border);
  background: white;
  color: var(--text-primary);
  text-decoration: none;
}

.btn-pricing:hover {
  border-color: var(--text-tertiary);
  background: var(--bg-secondary);
  transform: translateY(-1px);
}

.btn-pricing-primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-pricing-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(255, 103, 25, 0.3);
}

.pricing-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 12px;
}

.pricing-card-competitor {
  background: #fafaf8;
  border-color: #e8e5e0;
}

.pricing-card-competitor .price-amount {
  color: var(--text-tertiary);
}

.price-crossed {
  color: var(--error) !important;
}

.pricing-competitor-note {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-tertiary);
  padding: 14px 24px;
  background: #f5f3ef;
  border-radius: 100px;
}

/* ============================================================================
   HOW IT WORKS
   ============================================================================ */
.landing-how-it-works {
  padding: 120px 48px;
  background: #ffffff;
}

.steps-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.steps-line {
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  z-index: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}

.step-card {
  text-align: center;
}

.step-number {
  width: 52px;
  height: 52px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 24px;
  box-shadow: 0 6px 20px rgba(255, 103, 25, 0.25);
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.step-link:hover {
  gap: 10px;
}

/* ============================================================================
   SCREENSHOTS SECTION
   ============================================================================ */
.landing-screenshots {
  padding: 120px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.screenshots-showcase {
  background: white;
  border-radius: 20px;
  border: 1px solid #f0ede8;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.04);
}

.screenshot-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 8px;
  gap: 8px;
  background: var(--bg-secondary);
}

.screenshot-tab {
  flex: 1;
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.screenshot-tab:hover {
  color: var(--text-primary);
}

.screenshot-tab.active {
  background: white;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-weight: 600;
}

.screenshot-display {
  padding: 32px;
}

.screenshot-item {
  display: none;
}

.screenshot-item.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.screenshot-caption {
  text-align: center;
  margin-top: 24px;
}

.screenshot-caption h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.screenshot-caption p {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ============================================================================
   EXTENSION SECTION
   ============================================================================ */
.landing-extension {
  padding: 120px 48px;
  background: var(--bg-secondary);
}

.extension-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.extension-content .section-badge {
  margin-bottom: 16px;
}

.extension-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.extension-content > p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.extension-features {
  list-style: none;
  margin-bottom: 36px;
}

.extension-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.extension-features svg {
  color: var(--success);
  flex-shrink: 0;
}

.extension-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.extension-note {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 12px;
}

.extension-visual {
  position: relative;
}

.extension-visual img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  margin: 0 auto;
  display: block;
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */
.landing-cta {
  padding: 120px 48px;
}

.cta-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--accent);
  padding: 80px 64px;
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-wrapper h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-wrapper h2 .text-gradient {
  background: none;
  -webkit-text-fill-color: white;
  opacity: 0.85;
}

.cta-wrapper > .cta-content > p {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-wrapper .btn-hero-primary {
  background: white;
  color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-wrapper .btn-hero-primary:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.cta-note {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
}

.cta-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.cta-circle-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -80px;
}

.cta-circle-2 {
  width: 200px;
  height: 200px;
  bottom: -60px;
  left: -60px;
}

.cta-circle-3 {
  width: 150px;
  height: 150px;
  top: 40%;
  left: 15%;
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.landing-footer {
  padding: 40px 48px;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-logo svg {
  color: var(--accent);
}

.landing-footer p {
  font-size: 14px;
  color: var(--text-tertiary);
}

.landing-footer a {
  color: var(--accent);
  text-decoration: none;
}

.landing-footer a:hover {
  text-decoration: underline;
}

/* ============================================================================
   ANIMATIONS
   ============================================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 1024px) {
  .landing-hero {
    padding: 60px 32px 80px;
  }

  .features-grid {
    max-width: 100%;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .extension-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .extension-features {
    display: inline-block;
    text-align: left;
  }

  .extension-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  .landing-nav {
    padding: 16px 20px;
  }

  .landing-nav-actions {
    gap: 8px;
  }

  .btn-nav {
    padding: 8px 16px;
    font-size: 13px;
  }

  .landing-hero {
    padding: 40px 20px 60px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .landing-hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
    max-width: 300px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps-line {
    display: none;
  }

  .landing-features,
  .landing-how-it-works,
  .landing-screenshots,
  .landing-extension,
  .landing-cta,
  .landing-pricing {
    padding: 80px 20px;
  }

  .cta-wrapper {
    padding: 48px 24px;
    border-radius: 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .screenshot-tabs {
    flex-wrap: wrap;
  }

  .hero-visual {
    margin-top: 40px;
  }
}
