﻿/*
   Talkiva - css\components\steps.css
   How It Works - 3-step timeline
   Extracted verbatim from the original style.css. No rules altered.
*/

/* ---------- 9. How it works ---------- */
.how {
  background: var(--bg-light);
  color: var(--text-on-light);
  padding: 112px 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  margin-top: 8px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 47px;
  left: 17%;
  right: 17%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(42, 1, 5, 0.28) 0 10px, transparent 10px 20px);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
  background: var(--glass-light);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(42, 1, 5, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px 32px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
  height: 100%;
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.step-num {
  width: 88px; height: 88px;
  margin: 0 auto 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 14px 32px rgba(239, 27, 67, 0.35);
  position: relative;
  z-index: 2;
  transition: transform 0.4s var(--ease-out);
}
.step:hover .step-num { transform: scale(1.06) rotate(-3deg); }
.step h3 { font-family: var(--font-head); font-size: 1.22rem; font-weight: 600; color: var(--text-on-light); margin-bottom: 8px; }
.step p { color: rgba(42, 1, 5, 0.68); font-size: 0.95rem; }
.step-icon { color: var(--primary); margin-bottom: 16px; font-size: 1.3rem; }

.how-cta {
  text-align: center;
  /* Force separation: padding-top cannot margin-collapse with .steps above,
     and the .btn margin adds a second, independent layer of spacing. */
  margin-top: 56px;
  padding-top: 32px;
}
.how-cta .btn {
  margin-top: 32px;
}

