/* ============================================================
   LÍNA — Homepage Styles
   ============================================================ */

/* ========== HERO ========== */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: 100px;
  background: var(--accent-glow);
  border: 1px solid rgba(209, 139, 60, 0.25);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease both;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 88px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent) 30%, #e8b068 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 48px;
  line-height: 1.6;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s both;
}

/* ========== HERO SCREENSHOT PREVIEW ========== */
.hero-preview {
  margin-top: 72px;
  position: relative;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.preview-window {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 8px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.preview-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border);
}

.preview-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #333340;
}

.preview-dot.red { background: #e74c3c; }
.preview-dot.yellow { background: #f1c40f; }
.preview-dot.green { background: #2ecc71; }

.preview-screenshot {
  width: 100%;
  display: block;
}

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

/* Screenshot placeholder styling */
.screenshot-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
  border: 2px dashed var(--border);
}

.screenshot-placeholder svg {
  opacity: 0.4;
}

.screenshot-placeholder span {
  opacity: 0.6;
  font-size: 13px;
}

/* ========== SOCIAL PROOF ========== */
.social-proof {
  padding: 40px 0 60px;
  text-align: center;
}

.social-proof p {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 28px;
}

.proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.35;
}

.proof-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--text);
}

/* ========== FEATURES ========== */
.features {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-header {
  text-align: center;
  margin-bottom: 72px;
}

.features-header .section-sub {
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.feature-icon.screenplay { background: rgba(122, 155, 184, 0.15); color: #7a9bb8; }
.feature-icon.breakdown { background: rgba(209, 139, 60, 0.15); color: var(--accent); }
.feature-icon.schedule { background: rgba(143, 181, 163, 0.15); color: #8fb5a3; }
.feature-icon.cast { background: rgba(201, 184, 150, 0.15); color: #c9b896; }
.feature-icon.callsheet { background: rgba(231, 76, 60, 0.12); color: #e07468; }
.feature-icon.shots { background: rgba(155, 122, 184, 0.15); color: #9b7ab8; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

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

/* ========== WORKFLOW ========== */
.workflow-header {
  text-align: center;
  margin-bottom: 80px;
}

.workflow-header .section-sub {
  margin: 0 auto;
}

.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.workflow-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.workflow-step:nth-child(even) .workflow-visual {
  order: -1;
}

.workflow-text .step-number {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.2;
  margin-bottom: 8px;
}

.workflow-text h3 {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.workflow-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.workflow-visual {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workflow-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.workflow-visual .screenshot-placeholder {
  border: none;
  border-radius: 0;
  min-height: 280px;
}

/* ========== PRICING ========== */
.pricing {
  background: var(--bg-panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pricing-header {
  text-align: center;
  margin-bottom: 64px;
}

.pricing-header .section-sub {
  margin: 0 auto;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 32px rgba(209, 139, 60, 0.15);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card .price span {
  font-size: 18px;
  color: var(--text-secondary);
  font-family: var(--font-body);
}

.pricing-card .price-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

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

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing-features li .check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.12);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-top: 1px;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ========== TESTIMONIALS ========== */
.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-header .section-sub {
  margin: 0 auto;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-card-hover), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-secondary);
}

.testimonial-author .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-author .role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ========== CTA ========== */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-section .section-title {
  margin-bottom: 16px;
}

.cta-section .section-sub {
  max-width: 480px;
  margin: 0 auto 40px;
}

/* ========== RESPONSIVE — HOMEPAGE ========== */
@media (max-width: 960px) {
  .feature-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .workflow-step:nth-child(even) .workflow-visual {
    order: 0;
  }
}

@media (max-width: 640px) {
  .hero { padding-top: 120px; padding-bottom: 60px; }

  .feature-grid,
  .pricing-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
