/* ═══════════════════════════════════════════
   E-COMMERCE CX LANDING PAGE STYLES
   CygnusAlpha Production Theme - v3 Purple Design
   SEO-Optimized | Accessible | Performance-Focused
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.ecx-hero {
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 84px 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.ecx-hero::before {
  background: var(--white);
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--primary-dim) 0%, transparent 65%);
  pointer-events: none;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 32px;
  animation: fadeUp 0.5s 0.1s ease both;
  opacity: 0;
}

.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--primary);
}

.ecx-hero h1 {
  background: var(--white);
  font-size: var(--fs-h1);
  font-weight: 800;
  max-width: 920px;
  margin-bottom: 32px;
  animation: fadeUp 0.6s 0.2s ease both;
  opacity: 0;
}

.ecx-hero h1 .accent {
  background: var(--white);
  color: var(--primary);
  font-style: italic;
}

.hero-sub {
  font-size: var(--font-3xl);
  color: var(--text-secondary);
  max-width: 580px;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 48px;
  animation: fadeUp 0.6s 0.35s ease both;
  opacity: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.5s ease both;
  opacity: 0;
}

.btn-primary {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 15px 30px;
  border-radius: 36px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 15px 30px;
  border-radius: 36px;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-secondary::after {
  display: none;
}

.hero-proof {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.65s ease both;
  opacity: 0;
}

.proof-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--text);
  display: block;
}

.proof-stat .label {
  font-size: var(--fs-body-md);
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════
   SECTION BASE
   ═══════════════════════════════════════════ */
section {
  padding: 100px 84px;
}

.section-label {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-label::before {
  content: '';
  display: block;
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--purple);
}

.highlight-italic {
  color: var(--primary);
  font-style: italic;
}

/* ═══════════════════════════════════════════
   SELF IDENTIFICATION
   ═══════════════════════════════════════════ */
.identify {
  background: var(--cream2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.identify-header {
  max-width: 640px;
  margin-bottom: 48px;
}

.identify-header h2 {
  font-size: var(--fs-h2);
  margin-bottom: 16px;
}

.identify-header p {
  color: var(--text-secondary);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.75;
}

.identify-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.identify-col {
  background: var(--cream);
  padding: 40px 36px;
}

.identify-col-label {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.identify-col-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--primary);
}

.identify-col h3 {
  font-size: var(--font-3xl);
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.signal {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.signal:last-child {
  border-bottom: none;
}

.signal-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 8px;
}

.signal p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

/* ═══════════════════════════════════════════
   PROBLEM SECTION
   ═══════════════════════════════════════════ */
.problem {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.problem-left h2 {
  font-size: var(--fs-h2);
  margin-bottom: 28px;
}

.problem-left p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.8;
  font-size: var(--fs-body);
}

.problem-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 60px;
}

.flow-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.flow-step:last-child {
  border-bottom: none;
}

.flow-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  margin-top: 2px;
}

.flow-icon.ok {
  background: var(--green-dim);
}

.flow-icon.warn {
  background: rgba(234, 179, 8, 0.1);
}

.flow-icon.bad {
  background: var(--primary-dim);
}

.flow-step h3 {
  font-size: var(--fs-body);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.flow-step p {
  font-size: var(--fs-body-md);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   PULLQUOTE
   ═══════════════════════════════════════════ */
.pullquote-section {
  padding: 80px 84px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  background: var(--cream2);
}

.pullquote {
  max-width: 860px;
  text-align: center;
  position: relative;
}

.pullquote::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  line-height: 0.8;
  color: var(--primary-dim);
  position: absolute;
  top: -20px;
  left: -20px;
}

.pullquote blockquote {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════
   WHAT WE REPLACE
   ═══════════════════════════════════════════ */
.replace-header {
  max-width: 680px;
  margin-bottom: 64px;
}

.replace-header h2 {
  font-size: var(--fs-h2);
  margin-bottom: 20px;
}

.replace-header p {
  color: var(--text-secondary);
  font-size: var(--font-2xl);
  font-weight: 300;
  line-height: 1.7;
}

.not-labels {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.not-label {
  font-size: var(--fs-body-md);
  letter-spacing: 0.05em;
  color: var(--text-dim);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  text-decoration: line-through;
  text-decoration-color: var(--text-dim);
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 48px;
}

.ba-col {
  background: var(--white);
  padding: 40px 36px;
}

.ba-col-label {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: block;
}

.ba-col-label.before {
  color: var(--text-dim);
}

.ba-col-label.after {
  color: var(--primary);
}

.ba-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.ba-item:last-child {
  border-bottom: none;
}

.ba-icon {
  flex-shrink: 0;
  font-size: var(--fs-body-md);
  margin-top: 2px;
}

.ba-item p {
  font-size: var(--fs-body-md);
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 300;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.pillar {
  background: var(--white);
  padding: 40px 36px;
  transition: background 0.2s;
}

.pillar:hover {
  background: var(--white);
}

.pillar-number {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 24px;
}

.pillar h3 {
  font-size: var(--font-2xl);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.pillar p {
  font-size: var(--fs-body-md);
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.ecx-cta {
  background: var(--cream2);
  text-align: center;
  padding: 100px 84px 80px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

.ecx-cta::before {
  background: var(--cream2);
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--primary-dim) 0%, transparent 65%);
  pointer-events: none;
}

.ecx-cta h2 {
  background: var(--cream2);
  font-size: var(--fs-h2);
  max-width: 760px;
  margin: 0 auto 20px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.ecx-cta .cta-sub {
  background: var(--cream2);
  font-size: var(--font-2xl);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 48px;
  font-weight: 300;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.cta-fine {
  font-size: var(--fs-body-md);
  color: var(--text-dim);
  letter-spacing: 0.02em;
  display: block;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE - TABLET
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .ecx-hero {
    padding: 100px 24px 72px;
  }

  section {
    padding: 72px 24px;
  }

  .pullquote-section,
  .ecx-cta {
    padding: 60px 24px;
  }

  .problem-grid,
  .identify-grid,
  .before-after {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    gap: 32px;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE - MOBILE
   ═══════════════════════════════════════════ */
@media (max-width: 600px) {
  .ecx-hero {
    padding: 60px 16px 60px;
  }

  section {
    padding: 60px 16px;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

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

  .hero-label,
  .ecx-hero h1,
  .hero-sub,
  .hero-actions,
  .hero-proof {
    animation: none;
    opacity: 1;
  }
}
