/* ============================================================
   Five R Protocol page — Vivacity LEAP
   ============================================================ */

/* HERO */
.hero-protocol { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--glass-border); }
.hero-protocol .grid-peek {
  width: 1200px; height: 900px; top: -40px; right: -80px;
  mask-image: radial-gradient(ellipse 70% 65% at 60% 40%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 60% 40%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
}
.hero-protocol-inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 160px 40px 100px; text-align: center; }
.hero-protocol-tag { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--teal); font-weight: 400; margin-bottom: 32px; display: inline-flex; align-items: center; gap: 16px; }
.hero-protocol-tag::before { content: ''; width: 40px; height: 1px; background: linear-gradient(90deg, var(--teal), var(--lime)); }
.hero-protocol h1 { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 58px; line-height: 1.12; letter-spacing: -1px; margin-bottom: 28px; }
.hero-protocol h1 strong { font-weight: 600; background: linear-gradient(135deg, var(--teal), var(--lime)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-protocol-sub { font-size: 17px; color: var(--gray-mid); line-height: 1.7; margin-bottom: 48px; max-width: 520px; margin-left: auto; margin-right: auto; }
.hero-protocol-actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.hero-stages { display: flex; justify-content: center; gap: 0; margin-top: 64px; position: relative; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-stages::before { content: ''; position: absolute; top: 20px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, var(--teal), rgba(2,203,209,0.4), rgba(60,207,90,0.4), rgba(121,211,18,0.4), var(--lime)); }
.hs-node { flex: 1; text-align: center; position: relative; z-index: 1; cursor: default; }
.hs-dot { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(2,203,209,0.2); background: rgba(10,10,10,0.9); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; transition: all 0.4s; }
.hs-dot span { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 14px; background: linear-gradient(135deg, var(--teal), var(--lime)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hs-name { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-dim); transition: color 0.3s; }
.hs-node:hover .hs-dot { border-color: var(--teal); box-shadow: 0 0 20px rgba(2,203,209,0.15); transform: translateY(-2px); }
.hs-node:hover .hs-name { color: var(--gray-mid); }

/* STICKY PROGRESS TRACKER */
.progress-tracker { position: fixed; top: 85px; left: 0; right: 0; z-index: 90; padding: 0 40px; opacity: 0; transform: translateY(-20px); transition: all 0.4s; pointer-events: none; }
.progress-tracker.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.progress-inner { max-width: 700px; margin: 0 auto; display: flex; align-items: center; gap: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-top: none; padding: 12px 24px; }
.pt-step { flex: 1; display: flex; align-items: center; gap: 8px; padding: 4px 0; position: relative; cursor: pointer; transition: all 0.3s; }
.pt-num { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 12px; color: var(--gray-dim); transition: color 0.3s; width: 18px; text-align: center; }
.pt-name { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-dim); transition: color 0.3s; }
.pt-step.active .pt-num { color: var(--teal); }
.pt-step.active .pt-name { color: var(--gray-light); }
.pt-line { position: absolute; bottom: -1px; left: 0; height: 2px; width: 100%; background: transparent; transition: background 0.4s; }
.pt-step.active .pt-line { background: linear-gradient(90deg, var(--teal), var(--lime)); }
.pt-step[data-step="3"].active .pt-num,
.pt-step[data-step="4"].active .pt-num { color: #40c96a; }
.pt-step[data-step="5"].active .pt-num { color: var(--lime); }

/* PROTOCOL INTRO */
.protocol-intro { padding: 100px 0; border-bottom: 1px solid var(--glass-border); background: var(--dark-subtle); text-align: center; }
.protocol-intro p { color: var(--gray-mid); font-size: 17px; line-height: 1.8; max-width: 600px; margin: 0 auto; }
.protocol-intro .highlight-text { color: var(--white); font-size: 20px; font-family: 'Outfit', sans-serif; font-weight: 200; line-height: 1.6; margin-bottom: 16px; display: block; }

/* STEP SECTIONS */
.step-section { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--glass-border); }

.step-section::after { content: ''; position: absolute; inset: 0; pointer-events: none; transition: opacity 0.6s; }
.step-section[data-step="1"]::after { background: radial-gradient(ellipse 600px 400px at 70% 50%, rgba(2,203,209,0.04) 0%, transparent 70%); }
.step-section[data-step="2"]::after { background: radial-gradient(ellipse 600px 400px at 30% 40%, rgba(2,203,209,0.035) 0%, transparent 70%); }
.step-section[data-step="3"]::after { background: radial-gradient(ellipse 600px 400px at 60% 60%, rgba(40,200,100,0.03) 0%, transparent 70%); }
.step-section[data-step="4"]::after { background: radial-gradient(ellipse 600px 400px at 40% 45%, rgba(80,210,60,0.03) 0%, transparent 70%); }
.step-section[data-step="5"]::after { background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(121,211,18,0.035) 0%, transparent 70%); }

.step-inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 120px 40px; display: grid; grid-template-columns: auto 1fr; gap: 80px; align-items: center; }

.step-big-num { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 18vw; line-height: 0.85; opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1); user-select: none; }
.step-section.in-view .step-big-num { opacity: 1; transform: translateY(0); }

.step-section[data-step="1"] .step-big-num { background: linear-gradient(180deg, rgba(2,203,209,0.15), rgba(2,203,209,0.04)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.step-section[data-step="2"] .step-big-num { background: linear-gradient(180deg, rgba(2,203,209,0.13), rgba(40,200,100,0.04)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.step-section[data-step="3"] .step-big-num { background: linear-gradient(180deg, rgba(40,200,100,0.14), rgba(60,207,90,0.04)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.step-section[data-step="4"] .step-big-num { background: linear-gradient(180deg, rgba(80,210,60,0.15), rgba(100,210,40,0.04)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.step-section[data-step="5"] .step-big-num { background: linear-gradient(180deg, rgba(121,211,18,0.18), rgba(121,211,18,0.04)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.step-content { max-width: 520px; opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s; }
.step-section.in-view .step-content { opacity: 1; transform: translateY(0); }
.step-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; }
.step-section[data-step="1"] .step-label,
.step-section[data-step="2"] .step-label { color: var(--teal); }
.step-section[data-step="3"] .step-label { color: #40c96a; }
.step-section[data-step="4"] .step-label { color: #5fd430; }
.step-section[data-step="5"] .step-label { color: var(--lime); }
.step-name { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 44px; line-height: 1.2; margin-bottom: 20px; }
.step-name strong { font-weight: 600; }
.step-subhead { font-size: 17px; color: var(--gray-light); margin-bottom: 20px; font-weight: 400; line-height: 1.5; }
.step-body { color: var(--gray-mid); font-size: 15px; line-height: 1.8; margin-bottom: 28px; }
.step-expect { padding: 20px 24px; border-left: 2px solid; background: rgba(255,255,255,0.015); margin-bottom: 28px; }
.step-section[data-step="1"] .step-expect,
.step-section[data-step="2"] .step-expect { border-color: rgba(2,203,209,0.3); }
.step-section[data-step="3"] .step-expect { border-color: rgba(64,201,106,0.3); }
.step-section[data-step="4"] .step-expect { border-color: rgba(95,212,48,0.3); }
.step-section[data-step="5"] .step-expect { border-color: rgba(121,211,18,0.3); }
.step-expect-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-dim); margin-bottom: 8px; }
.step-expect p { color: var(--gray-mid); font-size: 14px; line-height: 1.7; }

.step-cta a { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.3s; }
.step-section[data-step="1"] .step-cta a,
.step-section[data-step="2"] .step-cta a { color: var(--teal); }
.step-section[data-step="3"] .step-cta a { color: #40c96a; }
.step-section[data-step="4"] .step-cta a { color: #5fd430; }
.step-section[data-step="5"] .step-cta a { color: var(--lime); }
.step-cta a:hover { gap: 12px; }

/* WHAT TO EXPECT */
.expect-section { padding: 120px 0; border-bottom: 1px solid var(--glass-border); position: relative; overflow: hidden; }
.expect-section .grid-peek {
  width: 1000px; height: 800px; top: -50px; right: -80px;
  mask-image: radial-gradient(ellipse 70% 65% at 60% 45%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 60% 45%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
}
.expect-header { text-align: center; margin-bottom: 64px; }
.expect-header h2 { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 40px; margin-bottom: 16px; }
.expect-header h2 strong { font-weight: 600; }
.expect-header p { color: var(--gray-mid); font-size: 16px; max-width: 460px; margin: 0 auto; }

.expect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--glass-border); border: 1px solid var(--glass-border); position: relative; z-index: 1; }
.expect-card { background: rgba(10,10,10,0.8); backdrop-filter: blur(10px); padding: 48px 36px; position: relative; overflow: hidden; transition: all 0.4s; }
.expect-card:hover { background: rgba(20,20,20,0.9); }
.expect-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--teal), var(--lime)); transform: scaleX(0); transition: transform 0.4s; transform-origin: left; }
.expect-card:hover::before { transform: scaleX(1); }
.expect-card-icon { width: 48px; height: 48px; margin-bottom: 24px; border-radius: 50%; border: 1px solid rgba(2,203,209,0.15); display: flex; align-items: center; justify-content: center; }
.expect-card-icon svg { width: 22px; height: 22px; }
.expect-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 12px; }
.expect-card p { color: var(--gray-mid); font-size: 14px; line-height: 1.7; }

/* TIMELINE STATS */
.timeline-stats { padding: 60px 0; border-bottom: 1px solid var(--glass-border); background: var(--dark-subtle); }
.ts-inner { display: flex; justify-content: center; gap: 80px; }
.ts-item { text-align: center; }
.ts-num { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 48px; background: linear-gradient(135deg, var(--teal), var(--lime)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 8px; }
.ts-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-mid); line-height: 1.5; }

/* CTA (page-specific override) */
.cta-section .grid-peek {
  width: 1200px; height: 900px; bottom: 10px; left: -40px;
  mask-image: radial-gradient(ellipse 75% 60% at 35% 55%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 35% 55%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
}

/* Extra animation delay used on this page */
.delay-5 { animation-delay: 0.5s; opacity: 0; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-protocol h1 { font-size: 38px; }
  .hero-stages { gap: 4px; }
  .hs-name { font-size: 9px; }
  .step-inner { grid-template-columns: 1fr; gap: 20px; padding: 100px 24px; }
  .step-big-num { font-size: 30vw; text-align: center; }
  .expect-grid { grid-template-columns: 1fr; }
  .ts-inner { flex-direction: column; gap: 32px; }
  .progress-tracker { display: none; }
}
