/* =============================================================
   vision.css — "My Vision" Vertical Scroll Section
   Five slides stacked vertically, scroll-triggered reveals.
   ============================================================= */

/* ── Section wrapper ─────────────────────────────────────────
   Normal flow section — same padding convention as .hero__body
   ─────────────────────────────────────────────────────────── */
.vision-scroll {
  width:      100%;
  background: #100915;
  padding:    120px 96px 140px 235px;
  overflow:   visible;
  position:   relative;
}

/* ── Vertical track ──────────────────────────────────────────
   Slides stacked with generous breathing room between them.
   ─────────────────────────────────────────────────────────── */
.vision-scroll__track {
  display:        flex;
  flex-direction: column;
  gap:            280px;
  width:          100%;
}

/* ── Shared slide base ───────────────────────────────────────
   Each slide is a full-width flex column by default.
   ─────────────────────────────────────────────────────────── */
.vision-slide {
  display:        flex;
  flex-direction: column;
  gap:            16px;
  position:       relative;
  width:          100%;
}

/* ── Typography ──────────────────────────────────────────────
   Matches Figma tokens: Geist Mono / Geist / Work Sans
   ─────────────────────────────────────────────────────────── */
.vision-slide__label {
  font-family:    var(--font-mono);
  font-size:      20px;
  font-weight:    500;
  line-height:    32px;
  letter-spacing: 0;
  color:          #c97fff;
}

.vision-slide__heading {
  font-family:    var(--font-headings);
  font-size:      40px;
  font-weight:    600;
  line-height:    48px;
  letter-spacing: -0.5px;
  color:          var(--white);
}

.vision-purple { color: #c97fff; }

.vision-slide__body {
  font-family: var(--font-text);
  font-size:   16px;
  font-weight: 400;
  line-height: 24px;
  color:       #fafafa;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 1 — My Vision  (text block, left-aligned)
   ═══════════════════════════════════════════════════════════ */
.vision-slide--1 {
  gap:       16px;
  max-width: 500px;
}

.vision-slide__icon {
  width:         64px;
  height:        64px;
  margin-bottom: 8px;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 2 — My Background  (text left | circles right)
   ═══════════════════════════════════════════════════════════ */
.vision-slide--2 {
  display:               grid;
  grid-template-columns: 1fr 600px;
  gap:                   80px;
  align-items:           center;
}

/* Left text column */
.vision-slide__text-left {
  display:        flex;
  flex-direction: column;
  gap:            12px;
  max-width:      500px;
}

/* Circle graphic container */
.vision-slide__circle-wrap {
  position:    relative;
  width:       580px;
  height:      520px;
  flex-shrink: 0;
}

/* 495×495 circle, centered inside the wrap */
.vision-circle {
  position:  absolute;
  left:      50%;
  top:       50%;
  transform: translate(-50%, -50%);
  width:     495px;
  height:    495px;
}

/* Ring base */
.vision-circle__ring {
  position:      absolute;
  border-radius: 50%;
}

/* Outer ring — slow CW rotation */
.vision-circle__ring--outer {
  left: 0; top: 0;
  width: 495px; height: 495px;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent         0deg,
    rgba(143,0,216,.05) 60deg,
    rgba(185,85,255,.1) 120deg,
    rgba(143,0,216,.04) 200deg,
    transparent         260deg,
    rgba(143,0,216,.07) 320deg,
    transparent         360deg
  );
  border: 1px solid rgba(143, 0, 216, 0.18);
}

/* Middle ring — slow CCW rotation */
.vision-circle__ring--mid {
  left: 76px; top: 76px;
  width: 343px; height: 343px;
  background: conic-gradient(
    from 90deg at 50% 50%,
    transparent          0deg,
    rgba(185,85,255,.08) 80deg,
    rgba(143,0,216,.12)  160deg,
    transparent          220deg,
    rgba(185,85,255,.06) 300deg,
    transparent          360deg
  );
  border: 1px solid rgba(185, 85, 255, 0.25);
}

/* Inner ring — scale pulse */
.vision-circle__ring--inner {
  left: 140px; top: 140px;
  width: 215px; height: 215px;
  background: radial-gradient(circle at 50% 50%,
    rgba(201,127,255,.24) 0%,
    rgba(143,  0,216,.18) 50%,
    transparent           100%
  );
  border: 1px solid rgba(201, 127, 255, 0.38);
  box-shadow:
    0 0 52px rgba(143,  0, 216, 0.36),
    0 0 96px rgba(143,  0, 216, 0.12),
    inset 0 0 28px rgba(201, 127, 255, 0.10);
}

/* Center text label */
.vision-circle__center {
  position:    absolute;
  left:        50%;
  top:         50%;
  transform:   translate(-50%, -50%);
  text-align:  center;
  font-family: var(--font-text);
  font-size:   20px;
  font-weight: 600;
  line-height: 32px;
  color:       #eaeaea;
  white-space: nowrap;
  z-index:     10;
  pointer-events: none;
}

/* ── Floating skill tags ─────────────────────────────────────
   Absolutely positioned around the 580×520 wrap.
   GSAP adds gentle float animations.
   ─────────────────────────────────────────────────────────── */
.vision-tag {
  position:        absolute;
  height:          46px;
  padding:         0 16px;
  display:         flex;
  align-items:     center;
  background:      rgba(10, 10, 10, 0.88);
  border:          1px solid rgba(46, 46, 46, 0.9);
  border-radius:   64px;
  font-family:     var(--font-text);
  font-size:       15px;
  font-weight:     600;
  line-height:     24px;
  color:           #ededed;
  white-space:     nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:      0 2px 12px rgba(0,0,0,.4);
}

.vision-tag--app-web    { left: 150px; top:   6px; }
.vision-tag--ui         { left: 312px; top:  46px; }
.vision-tag--industrial { left: 458px; top: 130px; }
.vision-tag--ux         { left:  76px; top: 116px; }
.vision-tag--seo        { left: 412px; top: 218px; }
.vision-tag--graphic-d  { left: -28px; top: 218px; }
.vision-tag--cro        { left: 130px; top: 334px; }
.vision-tag--3d         { left: 336px; top: 360px; }
.vision-tag--branding   { left: 248px; top: 462px; }

/* ═══════════════════════════════════════════════════════════
   SLIDE 3 — My Flow  (text left | chart right)
   ═══════════════════════════════════════════════════════════ */
.vision-slide--3 {
  display:               grid;
  grid-template-columns: 1fr 420px;
  gap:                   80px;
  align-items:           center;
}

/* SVG chart */
.vision-flow {
  position: relative;
  width:    399px;
  height:   255px;
  overflow: visible;
}

.vision-flow__svg {
  width:    100%;
  height:   100%;
  overflow: visible;
}

/* Floating pill labels on the chart */
.vision-flow__label {
  position:    absolute;
  height:      32px;
  padding:     0 14px;
  display:     inline-flex;
  align-items: center;
  border-radius: 64px;
  font-family: var(--font-text);
  font-size:   14px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
  pointer-events: none;
}

.vision-flow__label--start {
  background: rgba(204, 204, 204, 0.27);
  color:      #f5e8fc;
  left:       -4px;
  top:        134px;
}

.vision-flow__label--end {
  background: #b855ff;
  color:      #f5e8fc;
  right:      -24px;
  top:        -42px;
}

/* Text column inside slide 3 */
.vision-slide__text-col {
  display:        flex;
  flex-direction: column;
  gap:            16px;
  max-width:      500px;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 4 — Business Mind  (text block, left-aligned)
   ═══════════════════════════════════════════════════════════ */
.vision-slide--4 {
  gap:       24px;
  max-width: 500px;
}

.vision-tags-row {
  display:   flex;
  flex-wrap: wrap;
  gap:       10px;
}

.vision-pill {
  height:      32px;
  padding:     0 14px;
  display:     inline-flex;
  align-items: center;
  background:  rgba(143, 0, 216, 0.26);
  border-radius: 64px;
  font-family: var(--font-text);
  font-size:   15px;
  font-weight: 500;
  line-height: 24px;
  color:       #c97fff;
  white-space: nowrap;
  transition:  background 0.25s ease;
}
.vision-pill:hover { background: rgba(143, 0, 216, 0.4); }

/* ═══════════════════════════════════════════════════════════
   SLIDE 5 — My Values  (two columns side by side)
   ═══════════════════════════════════════════════════════════ */
.vision-slide--5 {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           start;
}

.vision-slide__value-block {
  display:        flex;
  flex-direction: column;
  gap:            12px;
  max-width:      500px;
}

/* Slide 5 label spans both columns */
.vision-slide--5 > .vision-slide__label {
  grid-column: 1 / -1;
}

/* ═══════════════════════════════════════════════════════════
   TABLET  ≤ 940px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 940px) {
  .vision-scroll {
    padding: 80px 40px;
  }

  .vision-scroll__track { gap: 192px; }

  .vision-slide--2,
  .vision-slide--3,
  .vision-slide--5 {
    display:        flex;
    flex-direction: column;
    gap:            48px;
  }

  .vision-slide__circle-wrap {
    width:     100%;
    max-width: 520px;
    height:    440px;
  }

  .vision-flow { width: 100%; max-width: 399px; }

}

/* ═══════════════════════════════════════════════════════════
   PHONE  ≤ 640px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .vision-scroll       { padding: 60px 20px; }
  .vision-scroll__track { gap: 144px; }

  .vision-slide__heading { font-size: 28px; line-height: 36px; }
  .vision-slide__label   { font-size: 16px; line-height: 28px; }

  .vision-slide__circle-wrap { height: 360px; }

  .vision-tag {
    height:    38px;
    font-size: 13px;
    padding:   0 12px;
  }

  .vision-tag--industrial { left: auto; right: -10px; top: 110px; }
  .vision-tag--app-web    { left: 60px; top: 2px; font-size: 12px; }
}
