/* ==========================================================================
   process.css — "From idea ___ to launch" + 4 numbered cards + brands ticker
   Source: alex-wbs.framer.website — video frames 25-28
   ========================================================================== */

.process-section {
  padding: 100px var(--gutter) 80px;
  background: var(--black);
  color: var(--white);
}

.process-section .container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.process-header {
  text-align: center;
  margin-bottom: 60px;
}

.process-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
}

.process-title__from { color: var(--white); }
.process-title__x {
  display: flex;
  gap: 14px;
  color: var(--red);
  font-size: 0.6em;
}
.process-title__launch { color: var(--red); }

.process-intro {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin: 24px auto 0;
  text-align: center;
}

/* ── 4 cards row ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 60px;
}
@media (min-width: 1300px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-card {
  position: relative;
  padding: 32px 28px 36px;
  border-radius: var(--r-2xl);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  background: var(--card, #1d1d1d);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  isolation: isolate;
}

.process-card--red { background: var(--red); color: var(--white); }
.process-card--dark { background: #131313; color: var(--white); }
.process-card--light { background: #f3f3f3; color: var(--text); }
.process-card--black { background: #0a0a0a; color: var(--white); }

.process-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.process-card__name {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.process-card__num {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  color: inherit;
  opacity: 0.7;
}

.process-card--red .process-card__num { color: var(--white); }
.process-card--light .process-card__num { color: var(--text-50); }

.process-card__list {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.process-card__list li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 13px;
  line-height: 1.5;
}

.process-card__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--red);
}

.process-card--red .process-card__list li::before {
  color: var(--white);
}

/* decorative background patterns */
.process-card--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cpath d='M0,200 Q100,150 200,200 T400,200' stroke='rgba(255,255,255,0.04)' stroke-width='1' fill='none'/%3E%3Cpath d='M0,220 Q100,170 200,220 T400,220' stroke='rgba(255,255,255,0.04)' stroke-width='1' fill='none'/%3E%3Cpath d='M0,180 Q100,130 200,180 T400,180' stroke='rgba(255,255,255,0.04)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  z-index: -1;
  opacity: 0.5;
}

.process-card--light::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='50' cy='50' r='30' stroke='rgba(0,0,0,0.04)' stroke-width='1' fill='none'/%3E%3Ccircle cx='150' cy='100' r='40' stroke='rgba(0,0,0,0.04)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  z-index: -1;
  opacity: 0.6;
}

.process-card--black::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M30 100 L70 60 L110 100 L150 60' stroke='rgba(255,255,255,0.03)' stroke-width='1' fill='none'/%3E%3Ccircle cx='30' cy='100' r='3' fill='rgba(255,255,255,0.05)'/%3E%3Ccircle cx='70' cy='60' r='3' fill='rgba(255,255,255,0.05)'/%3E%3Ccircle cx='110' cy='100' r='3' fill='rgba(255,255,255,0.05)'/%3E%3Ccircle cx='150' cy='60' r='3' fill='rgba(255,255,255,0.05)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  z-index: -1;
  opacity: 0.6;
}

@media (max-width: 1100px) {
  .process-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .process-title { font-size: clamp(36px, 8vw, 72px); flex-wrap: wrap; justify-content: center; }
  .process-section { padding: 60px var(--gutter); }
}
@media (max-width: 750px) {
  .process-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}

@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-card { min-height: auto; }
  .process-title { font-size: clamp(28px, 7vw, 40px); }
  .process-title__x { display: none; }
  .process-section { padding: 60px var(--gutter); }
}

/* ── Brands ticker (within process section, on dark bg) ── */
.brands-ticker {
  margin-top: 60px;
  padding: 40px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.brands-ticker__label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 30px;
  color: var(--white);
}

.brands-ticker__label em {
  color: var(--red);
  font-style: italic;
}

.brands-ticker__row {
  display: flex;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.brands-ticker__track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: ticker-scroll 35s linear infinite;
  align-items: center;
  flex-shrink: 0;
  padding: 0 30px;
}

.brands-ticker__cell {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s var(--ease);
}

.brands-ticker__cell:hover { color: var(--white); }

.brands-ticker__cell::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
