/*
 * Main CSS - Async Loaded Styles
 * eCommerce Forensics Landing Page
 * Old Hollywood / French Vogue / Renaissance Aesthetic
 */

/* ============================================
   EVIDENCE SECTION
   ============================================ */

.evidence {
  background: var(--off-white);
  padding: var(--space-xxl) var(--space-md);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.evidence-card {
  background: white;
  padding: var(--space-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.evidence-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--burgundy);
  opacity: 0.15;
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  line-height: 1;
}

.evidence-card h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
  position: relative;
  z-index: 1;
}

.evidence-card p {
  color: var(--warm-grey);
  margin-bottom: var(--space-md);
  font-size: 1rem;
  line-height: 1.7;
}

.evidence-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
  padding: 0.25rem 0.75rem;
  font-weight: 500;
}

.evidence-conclusion {
  max-width: var(--content-width);
  margin: var(--space-xl) auto 0;
  text-align: center;
}

.lead-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  color: var(--noir-black);
  line-height: 1.5;
}

/* ============================================
   INVESTIGATION SECTION
   ============================================ */

.investigation {
  background: white;
  padding: var(--space-xxl) var(--space-md);
}

.methodology-grid {
  display: grid;
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.method {
  border-left: 3px solid var(--burgundy);
  padding-left: var(--space-lg);
  position: relative;
}

.method-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  display: block;
  filter: grayscale(100%);
  opacity: 0.7;
}

.method h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.75rem;
}

.method-description {
  color: var(--warm-grey);
  margin-bottom: var(--space-md);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.method-details {
  list-style: none;
  padding-left: 0;
}

.method-details li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
  font-size: 0.9375rem;
}

.method-details li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--burgundy);
}

/* ============================================
   REVEAL SECTION
   ============================================ */

.reveal {
  background: var(--charcoal);
  color: var(--cream);
  padding: var(--space-xxl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.reveal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.02) 2px, rgba(255,255,255,.02) 4px);
  pointer-events: none;
}

.reveal .section-label {
  color: var(--gold-accent);
}

.reveal .section-title {
  color: var(--cream);
}

.reveal-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto var(--space-xl);
  position: relative;
  z-index: 1;
}

.reveal-before,
.reveal-after {
  padding: var(--space-lg);
}

.reveal-before h4,
.reveal-after h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  color: var(--gold-accent);
  font-weight: 600;
}

.reveal-list {
  list-style: none;
  padding-left: 0;
}

.reveal-list li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 1rem;
  color: var(--off-white);
  line-height: 1.7;
}

.reveal-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.25rem;
  line-height: 1.4;
}

.reveal-list--success li::before {
  content: '✓';
  color: var(--gold-accent);
}

.reveal-insight {
  max-width: var(--content-width);
  margin: var(--space-xl) auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  color: var(--cream);
  position: relative;
  z-index: 1;
}

/* ============================================
   DOSSIER SECTION
   ============================================ */

.dossier {
  background: var(--off-white);
  padding: var(--space-xxl) var(--space-md);
}

.dossier-content {
  max-width: 900px;
  margin: 0 auto;
}

.dossier-intro {
  font-size: 1.125rem;
  color: var(--warm-grey);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.dossier-sections {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.dossier-section {
  background: white;
  padding: var(--space-lg);
  border-left: 3px solid var(--burgundy);
}

.dossier-section h4 {
  margin-bottom: var(--space-sm);
  color: var(--noir-black);
}

.dossier-section p {
  color: var(--warm-grey);
  line-height: 1.7;
  margin: 0;
}

.dossier-timeline {
  text-align: center;
  font-size: 1rem;
  color: var(--charcoal);
  margin-top: var(--space-lg);
}

/* ============================================
   COMMISSION SECTION
   ============================================ */

.commission {
  background: white;
  padding: var(--space-xxl) var(--space-md);
}

.commission-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.commission-content h2 {
  font-size: clamp(3rem, 10vw, 5rem);
  margin-bottom: var(--space-sm);
  color: var(--burgundy);
}

.commission-subtitle {
  font-size: 1.125rem;
  color: var(--warm-grey);
  margin-bottom: var(--space-xl);
  font-style: italic;
}

/* Form Styles */
.investigation-form {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: white;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--burgundy);
}

.btn-large {
  width: 100%;
  padding: 1.25rem 2.5rem;
  font-size: 1rem;
  margin-top: var(--space-sm);
}

.form-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--warm-grey);
  margin-top: var(--space-md);
  font-style: italic;
}

.commission-guarantee {
  background: var(--off-white);
  padding: var(--space-lg);
  border-left: 3px solid var(--gold-accent);
  margin-top: var(--space-xl);
}

.commission-guarantee p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0;
}

/* ============================================
   FOOTER / SIGNATURE
   ============================================ */

.signature {
  background: var(--noir-black);
  color: var(--cream);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
}

.signature-content {
  max-width: var(--content-width);
  margin: 0 auto;
}

.signature-line {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: var(--space-sm);
  color: var(--cream);
}

.signature-year {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold-accent);
  font-weight: 300;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
  }

  .evidence-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .reveal-comparison {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .method {
    padding-left: var(--space-md);
  }

  .hero {
    min-height: 90vh;
  }

  section {
    padding: var(--space-lg) var(--space-sm);
  }
}

@media (max-width: 480px) {
  .evidence-number {
    font-size: 2rem;
  }

  .method-icon {
    font-size: 2rem;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .scroll-indicator,
  .btn {
    display: none;
  }

  body {
    background: white;
  }

  .hero,
  .reveal {
    background: white;
    color: black;
  }
}

/* ============================================
   SUBTLE ANIMATIONS & INTERACTIONS
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
  .evidence-card,
  .method,
  .dossier-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
  }

  .evidence-card:nth-child(1) { animation-delay: 0.1s; }
  .evidence-card:nth-child(2) { animation-delay: 0.2s; }
  .evidence-card:nth-child(3) { animation-delay: 0.3s; }
  .evidence-card:nth-child(4) { animation-delay: 0.4s; }

  .method:nth-child(1) { animation-delay: 0.1s; }
  .method:nth-child(2) { animation-delay: 0.2s; }
  .method:nth-child(3) { animation-delay: 0.3s; }
  .method:nth-child(4) { animation-delay: 0.4s; }

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

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
