/* Landing page styles */

#landing {
  min-height: 100vh;
  min-height: 100dvh;
  color: rgba(255, 255, 255, 0.9);
  background: #1e1e1e;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 24px 24px;
}

#landing, #landing * {
  -webkit-user-select: text;
  user-select: text;
  pointer-events: auto;
  cursor: auto;
}

/* Header */
.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  position: relative;
  z-index: 2;
}

.landing-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
}

.logo-icon {
  width: 20px;
  height: 20px;
  image-rendering: pixelated;
}

.landing-header-cta {
  padding: 8px 20px;
  background: #3498db;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
  cursor: pointer;
  border: none;
}

.landing-header-cta:hover {
  background: #2980b9;
}

/* Hero */
.landing-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px 48px 72px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

/* Gradient glow behind hero */
.landing-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 180%;
  background: radial-gradient(ellipse, rgba(52, 152, 219, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.landing-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -5%;
  width: 55%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(39, 174, 96, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-product-shot {
  flex: 1.4;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(52, 152, 219, 0.1);
  border: 1px solid rgba(52, 152, 219, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #5dade2;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.landing-hero h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.0;
  margin: 0 0 20px;
  letter-spacing: -2px;
  color: #fff;
}

.landing-hero h1 span {
  color: #3498db;
}

.landing-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-hint {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
}

.landing-cta {
  display: inline-block;
  padding: 14px 32px;
  background: #3498db;
  color: white;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s;
  cursor: pointer;
}

.landing-cta:hover {
  background: #2980b9;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(52, 152, 219, 0.25);
}

/* Product shot */
.product-shot-frame {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(52, 152, 219, 0.05);
}

.product-shot-frame video {
  display: block;
  width: 100%;
  height: auto;
}

/* Features — list style */
.landing-features {
  padding: 72px 48px;
  max-width: 720px;
  margin: 0 auto;
}

.landing-features h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 40px;
  letter-spacing: -0.5px;
  color: #3498db;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* Pixel art icons via box-shadow pixel grids */
.feature-icon {
  width: 4px;
  height: 4px;
  flex-shrink: 0;
  image-rendering: pixelated;
  margin-top: 4px;
}

/* Pencil icon */
.feature-icon-draw {
  box-shadow:
    8px 0 0 #3498db, 12px 0 0 #3498db,
    4px 4px 0 #3498db, 8px 4px 0 #fff,
    4px 8px 0 #3498db, 8px 8px 0 #fff,
    0px 12px 0 #3498db, 4px 12px 0 #fff,
    0px 16px 0 #e67e22, 4px 16px 0 #3498db,
    0px 20px 0 #e67e22;
}

/* Film strip icon */
.feature-icon-animate {
  box-shadow:
    0px 0 0 #27ae60, 4px 0 0 #27ae60, 8px 0 0 #27ae60, 12px 0 0 #27ae60, 16px 0 0 #27ae60,
    0px 4px 0 #27ae60, 8px 4px 0 #fff, 16px 4px 0 #27ae60,
    0px 8px 0 #27ae60, 8px 8px 0 #fff, 16px 8px 0 #27ae60,
    0px 12px 0 #27ae60, 8px 12px 0 #fff, 16px 12px 0 #27ae60,
    0px 16px 0 #27ae60, 4px 16px 0 #27ae60, 8px 16px 0 #27ae60, 12px 16px 0 #27ae60, 16px 16px 0 #27ae60;
}

/* Stacked layers icon */
.feature-icon-layers {
  box-shadow:
    4px 0 0 #8e44ad, 8px 0 0 #8e44ad, 12px 0 0 #8e44ad,
    0px 4px 0 #8e44ad, 4px 4px 0 #bb8fce, 8px 4px 0 #bb8fce, 12px 4px 0 #bb8fce, 16px 4px 0 #8e44ad,
    4px 8px 0 #8e44ad, 8px 8px 0 #8e44ad, 12px 8px 0 #8e44ad,
    0px 12px 0 #8e44ad, 4px 12px 0 #bb8fce, 8px 12px 0 #bb8fce, 12px 12px 0 #bb8fce, 16px 12px 0 #8e44ad,
    4px 16px 0 #8e44ad, 8px 16px 0 #8e44ad, 12px 16px 0 #8e44ad;
}

/* Arrow out icon */
.feature-icon-export {
  box-shadow:
    8px 0 0 #e67e22,
    4px 4px 0 #e67e22, 8px 4px 0 #e67e22, 12px 4px 0 #e67e22,
    0px 8px 0 #e67e22, 8px 8px 0 #e67e22, 16px 8px 0 #e67e22,
    8px 12px 0 #e67e22,
    4px 16px 0 #e67e22, 8px 16px 0 #e67e22, 12px 16px 0 #e67e22,
    4px 20px 0 #e67e22, 12px 20px 0 #e67e22;
}

/* Color swatch icon */
.feature-icon-palette {
  box-shadow:
    0 0 0 #e74c3c, 4px 0 0 #e74c3c, 8px 0 0 #e67e22, 12px 0 0 #e67e22,
    0 4px 0 #e74c3c, 4px 4px 0 #e74c3c, 8px 4px 0 #e67e22, 12px 4px 0 #e67e22,
    0 8px 0 #27ae60, 4px 8px 0 #27ae60, 8px 8px 0 #3498db, 12px 8px 0 #3498db,
    0 12px 0 #27ae60, 4px 12px 0 #27ae60, 8px 12px 0 #3498db, 12px 12px 0 #3498db;
}

/* Link icon */
.feature-icon-share {
  box-shadow:
    4px 0 0 #f1c40f, 8px 0 0 #f1c40f,
    0px 4px 0 #f1c40f, 12px 4px 0 #f1c40f,
    0px 8px 0 #f1c40f, 8px 8px 0 #f1c40f, 12px 8px 0 #f1c40f,
    4px 12px 0 #f1c40f, 8px 12px 0 #f1c40f, 16px 12px 0 #f1c40f,
    4px 16px 0 #f1c40f, 16px 16px 0 #f1c40f,
    8px 20px 0 #f1c40f, 12px 20px 0 #f1c40f;
}

.feature-row h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.9);
}

.feature-row p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.38);
}

/* How to */
.landing-how {
  padding: 48px 48px 60px;
  max-width: 720px;
  margin: 0 auto;
}

.landing-how h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 40px;
  letter-spacing: -0.5px;
  color: #27ae60;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.how-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  min-width: 28px;
  height: 28px;
  background: rgba(52, 152, 219, 0.12);
  color: #3498db;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  margin-top: 1px;
}

.how-step h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.85);
}

.how-step p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.38);
}

/* FAQ */
.landing-faq {
  padding: 48px 48px 60px;
  max-width: 720px;
  margin: 0 auto;
}

.landing-faq h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 32px;
  letter-spacing: -0.5px;
  color: #e67e22;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.landing-cta, .landing-header-cta {
  cursor: pointer;
}

.faq-item summary {
  padding: 14px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.2);
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  padding: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.38);
}

/* Final CTA */
.landing-final-cta {
  text-align: center;
  padding: 72px 24px 80px;
  position: relative;
}

.landing-final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(52, 152, 219, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.landing-final-cta h2 {
  font-size: 40px;
  font-weight: 900;
  margin: 0 0 12px;
  letter-spacing: -1.5px;
  position: relative;
}

.landing-final-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0 28px;
  position: relative;
}

/* Footer */
.landing-footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.landing-footer p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 900px) {
  .landing-header {
    padding: 14px 20px;
  }

  .landing-hero {
    flex-direction: column;
    padding: 40px 20px 48px;
    gap: 32px;
    text-align: center;
  }

  .landing-hero h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }

  .landing-subtitle {
    font-size: 15px;
  }

  .feature-row {
    gap: 16px;
  }

  .landing-features,
  .landing-how,
  .landing-faq {
    padding: 40px 20px;
  }

  .landing-final-cta h2 {
    font-size: 28px;
  }
}
