/* ═══════════════════════════════════════════
   HOW WE WORK PAGE STYLES
   CygnusAlpha Production Theme - v3 Purple Design
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   SHARED HOW WE WORK STYLES
   ═══════════════════════════════════════════ */
.hww-container {
  padding: 0 84px;
}

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

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

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

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hww-hero {
  background: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

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

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}

.hero-left .section-label {
  animation: fadeUp 0.5s ease both;
  animation-delay: 0.1s;
  opacity: 0;
}

.hero-left h1 {
  font-size: var(--fs-h1);
  font-weight: 800;
  margin-bottom: 28px;
  line-height: 1.1;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero-left p {
  font-size: var(--font-2xl);
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.35s;
  opacity: 0;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.45s;
  opacity: 0;
}

.hero-right-header {
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
}

.contrast-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.contrast-row:last-child {
  border-bottom: none;
}

.contrast-row.header-row {
  background: var(--white);
}

.contrast-col {
  padding: 20px 28px;
  font-size: var(--fs-body-md);
  line-height: 1.6;
  font-weight: 300;
}

.contrast-col.bad {
  color: var(--text-dim);
  border-right: 1px solid var(--border);
  text-decoration: line-through;
  text-decoration-color: var(--text-dim);
}

.contrast-col.good {
  color: var(--text-secondary);
}

.contrast-col.good::before {
  content: '→ ';
  color: var(--primary);
}

.contrast-header-col {
  padding: 14px 28px;
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
}

.contrast-header-col:first-child {
  color: var(--text-dim);
  border-right: 1px solid var(--border);
}

.contrast-header-col:last-child {
  color: var(--primary);
}

/* ═══════════════════════════════════════════
   BOT MODEL SECTION
   ═══════════════════════════════════════════ */
.hww-bot-intro {
  background: var(--cream2);
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

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

.bot-intro-left h2 {
  font-size: var(--fs-h2);
  margin-bottom: 20px;
}

.bot-intro-left p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 16px;
}

.bot-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-body-md);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  padding: 7px 14px;
  border-radius: 4px;
  margin-top: 8px;
  font-weight: 500;
}

.bot-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.bot-card {
  background: var(--cream);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  transition: background 0.3s;
}

.bot-card:hover {
  background: var(--cream);
}

.bot-card-letter {
  font-family: 'Playfair Display', serif;
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  opacity: 0.25;
  width: 48px;
  text-align: center;
}

.bot-card-body h3 {
  font-size: var(--font-2xl);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

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

.bot-card-outcome {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: var(--fs-body-md);
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.bot-card-outcome::before {
  content: '✓';
  color: var(--green);
  flex-shrink: 0;
  font-weight: 700;
  font-size: var(--fs-body-md);
  margin-top: 1px;
}

/* ═══════════════════════════════════════════
   TIMELINE SECTION
   ═══════════════════════════════════════════ */
.hww-timeline {
  background: var(--white);
  padding: 80px 0;
  
  border-bottom: 1px solid var(--border);
}

.timeline-header {
  margin-bottom: 64px;
  max-width: 70%;
}

.timeline-header h2 {
  font-size: var(--fs-h2);
  margin-bottom: 16px;
  max-width: 560px;
}

.timeline-header p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
  max-width: 520px;
}

.timeline-track {
  position: relative;
  margin-bottom: 56px;
}

.track-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 0;
  position: relative;
}

.track-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  width: 100%;
}

.track-markers {
  display: flex;
  justify-content: space-between;
  padding-top: 0;
  position: relative;
}

.track-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.marker-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  margin-top: -8px;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.marker-dot.filled {
  background: var(--primary);
}

.marker-week {
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.marker-label {
  font-size: var(--fs-body-md);
  color: var(--text-secondary);
  text-align: center;
  max-width: 90px;
  line-height: 1.4;
}

.phase-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.phase-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.3s;
}

.phase-block:hover {
  border-color: var(--primary-border);
  transform: translateY(-4px);
}

.phase-block-header {
  padding: 20px 28px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phase-num {
  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: 4px;
  display: block;
}

.phase-name {
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text);
}

.phase-weeks {
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.phase-block-body {
  padding: 24px 28px;
}

.phase-block-body p {
  font-size: var(--fs-body-md);
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 20px;
}

.phase-milestones {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.milestone {
  font-size: var(--fs-body-md);
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.milestone::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 7px;
}

.phase-outcome {
  margin: 20px 28px 24px;
  background: var(--green-dim);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: var(--fs-body-md);
  color: var(--text);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

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

/* ═══════════════════════════════════════════
   ACCOUNTABILITY SECTION
   ═══════════════════════════════════════════ */
.hww-accountability {
  background: var(--cream2);
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

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

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

.accountability-left p {
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 16px;
}

.commitment-box {
  margin-top: 40px;
  padding: 32px 36px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: 10px;
}

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

.commitment-box p {
  font-size: var(--fs-body-md);
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 0;
}

.commitment-box p strong {
  color: var(--text);
  font-weight: 500;
}

.account-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}

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

.account-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-body);
  flex-shrink: 0;
  margin-top: 2px;
}

.account-item h4 {
  font-size: var(--fs-body);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

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

/* ═══════════════════════════════════════════
   DISQUALIFY SECTION
   ═══════════════════════════════════════════ */
.hww-disqualify {
  background: var(--white);
  padding: 80px 0;
  
  border-bottom: 1px solid var(--border);
}

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

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

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

.dq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dq-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: var(--fs-body-md);
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.dq-item::before {
  content: '✕';
  color: var(--text-dim);
  flex-shrink: 0;
  font-size: var(--fs-body-md);
  margin-top: 2px;
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.hww-cta {
  background: var(--cream2);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.hww-cta > p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto 48px;
  font-weight: 300;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.btn-large {
  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-large:hover {
  transform: translateY(-2px);
}

.cta-fine {
  font-size: var(--fs-body-md);
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

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

/* ═══════════════════════════════════════════
   RESPONSIVE - TABLET
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hww-container {
    padding: 0 24px;
  }

  .timeline-header {
    max-width: 100%;
  }

  .hero-inner,
  .bot-intro-grid,
  .accountability-grid,
  .disqualify-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .phase-blocks {
    grid-template-columns: 1fr;
  }

  .track-markers {
    gap: 8px;
  }

  .marker-label {
    max-width: 70px;
    font-size: var(--fs-label);
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE - MOBILE
   ═══════════════════════════════════════════ */
@media (max-width: 600px) {
  .hww-container {
    padding: 0 16px;
  }

  .hww-hero {
    padding: 90px 0 60px;
  }

  .hww-bot-intro,
  .hww-timeline,
  .hww-accountability,
  .hww-disqualify {
    padding: 80px 0;
  }

  .hww-cta {
    padding: 80px 0;
  }

  .contrast-col {
    padding: 16px 20px;
    font-size: var(--fs-body-md);
  }

  .btn-large {
    width: 100%;
    text-align: center;
  }

  .track-markers {
    flex-wrap: wrap;
    justify-content: center;
  }

  .marker-label {
    font-size: var(--font-xs);
  }
}
