/* ============================
   Process Page Component Styles
   ============================ */

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* --- Page Header --- */
.process-header {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(201,168,76,0.05) 0%, transparent 100%);
}
.process-header p.intro { color: var(--color-text-muted); font-size: 1rem; max-width: 600px; margin-top: 16px; line-height: 1.8; }

/* --- Timeline --- */
.timeline { position: relative; padding: 16px 0; }
.timeline-line {
  position: absolute;
  left: 48px; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-gold) 10%, var(--color-gold) 90%, transparent);
  opacity: 0.4;
}

.timeline-step { display: grid; grid-template-columns: 96px 1fr; gap: 40px; align-items: start; margin-bottom: 56px; position: relative; }
.timeline-step:last-child { margin-bottom: 0; }
.timeline-step:nth-child(even) { direction: rtl; }
.timeline-step:nth-child(even) > * { direction: ltr; }

.step-node { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; z-index: 2; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--color-dark);
  box-shadow: var(--shadow-gold); position: relative;
}
.step-number::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.4); }

.step-icon-wrap {
  width: 40px; height: 40px; border-radius: var(--radius);
  background: var(--color-gold-dim); border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
}
.step-icon-wrap .material-symbols-outlined { color: var(--color-gold); font-size: 20px; }

.step-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 32px 36px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.step-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.step-card:hover::before { transform: scaleX(1); }
.step-card:hover { border-color: rgba(201,168,76,0.35); background: rgba(201,168,76,0.04); }
.step-card .step-tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 10px; }
.step-card h3 { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-white); margin-bottom: 12px; }
.step-card p { font-size: 0.93rem; color: var(--color-text-muted); line-height: 1.8; }
.step-card .step-details { display: flex; gap: 24px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.step-detail { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--color-text-muted); }
.step-detail .material-symbols-outlined { font-size: 15px; color: var(--color-gold); }

/* --- Benefits --- */
.benefits { background: var(--color-dark-2); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.benefit-item {
  text-align: center; padding: 32px 24px;
  border: 1px solid var(--color-border); border-radius: var(--radius); transition: var(--transition);
}
.benefit-item:hover { border-color: rgba(201,168,76,0.4); background: var(--color-gold-dim); }
.benefit-item .material-symbols-outlined { font-size: 36px; color: var(--color-gold); display: block; margin-bottom: 16px; }
.benefit-item h4 { font-family: var(--font-heading); font-size: 1rem; color: var(--color-white); margin-bottom: 8px; }
.benefit-item p { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.7; }

/* --- CTA --- */
.process-cta { text-align: center; padding: 80px 0; background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 70%); }
.process-cta h2 { margin-bottom: 12px; }
.process-cta p { color: var(--color-text-muted); max-width: 480px; margin: 0 auto 32px; }

/* --- Desktop staggered layout --- */
@media (min-width: 901px) {
  .timeline-line { left: 50%; transform: translateX(-50%); }
  .timeline-step { grid-template-columns: 1fr 80px 1fr; gap: 40px; align-items: center; }
  .timeline-step:nth-child(even) { direction: ltr; }
  .timeline-step:nth-child(odd) .step-card { text-align: right; }
  .timeline-step:nth-child(odd) .step-card .step-details { justify-content: flex-end; }
  .step-node { order: 1; grid-column: 2; }
  .timeline-step:nth-child(odd) .step-card { grid-column: 1; order: 0; }
  .timeline-step:nth-child(odd) .step-col-empty { grid-column: 3; }
  .timeline-step:nth-child(even) .step-card { grid-column: 3; order: 2; }
  .timeline-step:nth-child(even) .step-col-empty { grid-column: 1; }
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .timeline-line { left: 28px; }
  .timeline-step { grid-template-columns: 64px 1fr; gap: 20px; }
  .timeline-step:nth-child(even) { direction: ltr; }
  .step-col-empty { display: none; }
  .timeline-step:nth-child(odd) .step-card { text-align: left; }
  .timeline-step:nth-child(odd) .step-card .step-details { justify-content: flex-start; }
  .step-number { width: 48px; height: 48px; font-size: 1rem; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .benefits-grid { grid-template-columns: 1fr; } }
