/* ============================================
   WF Onboarding PJ — Landing Page Styles
   RH e Onboarding
   ============================================ */

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.ob-hero{position:relative;min-height:100vh;display:flex;align-items:center;
  padding-top:80px;overflow:hidden}

.ob-hero__bg{position:absolute;inset:0;overflow:hidden}
.ob-hero__canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}

.ob-hero__orb{position:absolute;border-radius:50%;filter:blur(100px);pointer-events:none}
.ob-hero__orb--1{width:600px;height:600px;top:-15%;right:-8%;
  background:radial-gradient(circle,rgba(16,185,129,0.14),transparent 70%);
  animation:ob-drift-1 22s ease-in-out infinite}
.ob-hero__orb--2{width:500px;height:500px;bottom:-10%;left:-5%;
  background:radial-gradient(circle,rgba(99,102,241,0.12),transparent 70%);
  animation:ob-drift-2 26s ease-in-out infinite}
.ob-hero__orb--3{width:400px;height:400px;top:35%;left:30%;
  background:radial-gradient(circle,rgba(6,182,212,0.08),transparent 70%);
  animation:ob-drift-3 20s ease-in-out infinite}

@keyframes ob-drift-1{0%,100%{transform:translate(0,0)}50%{transform:translate(-50px,40px)}}
@keyframes ob-drift-2{0%,100%{transform:translate(0,0)}50%{transform:translate(40px,-30px)}}
@keyframes ob-drift-3{0%,100%{transform:translate(0,0)}50%{transform:translate(-30px,-40px)}}

.ob-hero__inner{display:grid;grid-template-columns:1.1fr 0.9fr;gap:4rem;align-items:center}

.ob-hero__title{font-size:clamp(2.2rem,4.5vw,3.8rem);font-weight:800;
  letter-spacing:-0.04em;line-height:1.08;margin-bottom:1.5rem;margin-top:1.5rem}

.ob-hero__desc{font-size:clamp(1rem,1.8vw,1.15rem);color:var(--wf-text-2);
  line-height:1.7;max-width:560px;margin-bottom:2.5rem}

.ob-hero__ctas{display:flex;gap:12px;flex-wrap:wrap}

/* KPI Cards */
.ob-hero__kpis{display:grid;grid-template-columns:1fr 1fr;gap:16px}

.ob-kpi{background:var(--wf-bg-card);border:1px solid var(--wf-border);
  border-radius:var(--wf-r-xl);padding:1.5rem;text-align:center;
  transition:all 400ms var(--wf-ease);position:relative;overflow:hidden}
.ob-kpi::before{content:'';position:absolute;inset:0;
  background:var(--wf-grad-glow);opacity:0;transition:opacity 400ms;pointer-events:none}
.ob-kpi:hover{border-color:var(--wf-border-hover);transform:translateY(-4px)}
.ob-kpi:hover::before{opacity:1}

.ob-kpi__icon{font-size:1.5rem;color:var(--wf-emerald-light);margin-bottom:0.5rem}
.ob-kpi__value{font-family:var(--wf-display);font-size:2rem;font-weight:800;
  color:var(--wf-text-1);letter-spacing:-0.03em}
.ob-kpi__label{font-size:12px;color:var(--wf-text-3);margin-top:4px;line-height:1.4}


/* ═══════════════════════════════════════════
   PROBLEMS
   ═══════════════════════════════════════════ */
.ob-problems__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}

.ob-problem{text-align:center}
.ob-problem h3{font-size:1rem;margin-bottom:0.5rem}
.ob-problem p{font-size:13px;color:var(--wf-text-3);line-height:1.6}
.ob-problem__icon{width:48px;height:48px;border-radius:var(--wf-r-md);
  display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;
  font-size:1.3rem;color:var(--wf-rose);
  background:rgba(244,63,94,0.08);border:1px solid rgba(244,63,94,0.12)}


/* ═══════════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════════ */
.ob-timeline{display:flex;align-items:center;justify-content:center;gap:0;
  margin-bottom:3rem;position:relative;padding:0 2rem}

.ob-timeline__line{position:absolute;top:50%;left:15%;right:15%;height:2px;
  background:linear-gradient(90deg,var(--wf-emerald),var(--wf-cyan),var(--wf-violet));
  opacity:0.2;transform:translateY(-50%)}

.ob-timeline__step{display:flex;flex-direction:column;align-items:center;gap:8px;
  flex:1;position:relative;z-index:1}
.ob-timeline__step span{font-size:12px;font-weight:600;color:var(--wf-text-3);
  text-transform:uppercase;letter-spacing:0.06em}

.ob-timeline__dot{width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--wf-display);font-size:14px;font-weight:800;
  background:var(--wf-bg-card);border:2px solid var(--wf-border);
  color:var(--wf-text-2);transition:all 400ms var(--wf-ease)}

.ob-timeline__step--active .ob-timeline__dot{
  border-color:var(--wf-emerald);color:var(--wf-emerald-light);
  box-shadow:0 0 16px rgba(16,185,129,0.3)}
.ob-timeline__step--active span{color:var(--wf-emerald-light)}


/* ═══════════════════════════════════════════
   PHASES (MODULES)
   ═══════════════════════════════════════════ */
.ob-phase{background:var(--wf-bg-card);border:1px solid var(--wf-border);
  border-radius:var(--wf-r-xl);padding:3rem;position:relative;overflow:hidden}
.ob-phase::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;opacity:0.5}

.ob-phase:nth-child(3)::before{background:linear-gradient(90deg,var(--wf-emerald),var(--wf-cyan))}
.ob-phase:nth-child(4)::before{background:linear-gradient(90deg,var(--wf-cyan),var(--wf-primary))}
.ob-phase:nth-child(5)::before{background:linear-gradient(90deg,var(--wf-violet),var(--wf-primary))}

.ob-phase__header{display:flex;align-items:center;gap:16px;margin-bottom:1.5rem}
.ob-phase__badge{width:48px;height:48px;border-radius:var(--wf-r-md);
  display:flex;align-items:center;justify-content:center;font-size:1.3rem;flex-shrink:0}
.ob-phase__badge--emerald{background:rgba(16,185,129,0.1);color:var(--wf-emerald-light);
  border:1px solid rgba(16,185,129,0.15)}
.ob-phase__badge--cyan{background:rgba(6,182,212,0.1);color:var(--wf-cyan-light);
  border:1px solid rgba(6,182,212,0.15)}
.ob-phase__badge--violet{background:rgba(139,92,246,0.1);color:#a78bfa;
  border:1px solid rgba(139,92,246,0.15)}

.ob-phase__title{font-size:1.5rem;font-weight:700}
.ob-phase__subtitle{font-size:13px;color:var(--wf-text-3);margin-top:2px}
.ob-phase__desc{font-size:15px;color:var(--wf-text-2);line-height:1.7;
  max-width:680px;margin-bottom:2rem}

/* Features Grid */
.ob-features__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1.5rem;
  margin-bottom:2rem}

.ob-feature{padding:1.5rem;border-radius:var(--wf-r-lg);
  background:rgba(255,255,255,0.02);border:1px solid var(--wf-border);
  transition:all 300ms var(--wf-ease)}
.ob-feature:hover{border-color:var(--wf-border-hover);background:rgba(255,255,255,0.04)}

.ob-feature h4{font-size:14px;font-weight:700;margin-bottom:6px;color:var(--wf-text-1)}
.ob-feature p{font-size:13px;color:var(--wf-text-3);line-height:1.6}

.ob-feature__icon{width:36px;height:36px;border-radius:var(--wf-r-sm);
  display:flex;align-items:center;justify-content:center;font-size:1.1rem;margin-bottom:0.75rem}
.ob-feature__icon--emerald{background:rgba(16,185,129,0.1);color:var(--wf-emerald-light)}
.ob-feature__icon--indigo{background:rgba(99,102,241,0.1);color:var(--wf-primary-light)}
.ob-feature__icon--cyan{background:rgba(6,182,212,0.1);color:var(--wf-cyan-light)}
.ob-feature__icon--violet{background:rgba(139,92,246,0.1);color:#a78bfa}
.ob-feature__icon--amber{background:rgba(245,158,11,0.1);color:#fbbf24}
.ob-feature__icon--rose{background:rgba(244,63,94,0.1);color:#fb7185}

/* Flow Steps */
.ob-phase__flow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  padding:1.5rem 2rem;border-radius:var(--wf-r-lg);
  background:rgba(255,255,255,0.015);border:1px solid var(--wf-border)}

.ob-flow-step{display:flex;align-items:center;gap:10px;flex:1;min-width:130px}
.ob-flow-step__icon{width:28px;height:28px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;font-size:13px;
  background:rgba(6,182,212,0.12);color:var(--wf-cyan-light);
  border:1px solid rgba(6,182,212,0.2)}
.ob-flow-step__text{font-size:12px;color:var(--wf-text-2);line-height:1.3}

.ob-flow-arrow{color:var(--wf-text-3);font-size:14px;flex-shrink:0}


/* ═══════════════════════════════════════════
   AUDIENCE
   ═══════════════════════════════════════════ */
.ob-audience__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1.5rem}

.ob-audience{text-align:center}
.ob-audience h4{font-size:1rem;margin-bottom:0.5rem}
.ob-audience p{font-size:13px;color:var(--wf-text-3);line-height:1.6}
.ob-audience__icon{font-size:2rem;color:var(--wf-emerald-light);margin-bottom:1rem}


/* ═══════════════════════════════════════════
   UX SECTION
   ═══════════════════════════════════════════ */
.ob-ux{display:grid;grid-template-columns:1.2fr 0.8fr;gap:4rem;align-items:center}

.ob-ux__title{font-size:clamp(1.8rem,3vw,2.5rem);margin-bottom:1rem;margin-top:1rem}
.ob-ux__desc{font-size:15px;color:var(--wf-text-2);line-height:1.7;margin-bottom:2rem;max-width:520px}

.ob-ux__items{display:flex;flex-direction:column;gap:16px}
.ob-ux__item{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;
  border-radius:var(--wf-r-md);background:rgba(255,255,255,0.02);
  border:1px solid var(--wf-border);transition:all 300ms var(--wf-ease)}
.ob-ux__item:hover{border-color:var(--wf-border-hover);background:rgba(255,255,255,0.04)}
.ob-ux__item > i{font-size:1.3rem;color:var(--wf-emerald);margin-top:2px;flex-shrink:0}
.ob-ux__item strong{display:block;font-size:14px;color:var(--wf-text-1);margin-bottom:2px}
.ob-ux__item span{font-size:13px;color:var(--wf-text-3);line-height:1.5}

/* UX Visual — Steps */
.ob-ux__visual{display:flex;align-items:center;justify-content:center}
.ob-ux__steps-visual{display:flex;flex-direction:column;align-items:center;gap:0}

.ob-ux__vstep{display:flex;align-items:center;gap:12px;padding:14px 24px;
  border-radius:var(--wf-r-lg);background:var(--wf-bg-card);
  border:1px solid var(--wf-border);min-width:200px;transition:all 400ms var(--wf-ease)}
.ob-ux__vstep:hover{border-color:var(--wf-border-hover);transform:translateX(6px)}

.ob-ux__vstep-icon{width:36px;height:36px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-size:1.1rem;flex-shrink:0}
.ob-ux__vstep--1 .ob-ux__vstep-icon{background:rgba(16,185,129,0.12);color:var(--wf-emerald-light)}
.ob-ux__vstep--2 .ob-ux__vstep-icon{background:rgba(6,182,212,0.12);color:var(--wf-cyan-light)}
.ob-ux__vstep--3 .ob-ux__vstep-icon{background:rgba(99,102,241,0.12);color:var(--wf-primary-light)}
.ob-ux__vstep--4 .ob-ux__vstep-icon{background:rgba(139,92,246,0.12);color:#a78bfa}

.ob-ux__vstep span{font-size:14px;font-weight:600;color:var(--wf-text-1)}

.ob-ux__vstep-line{width:2px;height:20px;background:var(--wf-border);margin:0 0 0 42px}


/* ═══════════════════════════════════════════
   TECH
   ═══════════════════════════════════════════ */
.ob-tech__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}

.ob-tech h4{font-size:1.1rem;margin-bottom:0.5rem}
.ob-tech p{font-size:13px;color:var(--wf-text-3);line-height:1.6;margin-bottom:1.5rem}
.ob-tech__icon{font-size:2rem;color:var(--wf-emerald-light);margin-bottom:1rem}
.ob-tech__stat{padding-top:1rem;border-top:1px solid var(--wf-border)}
.ob-tech__stat-value{font-family:var(--wf-display);font-size:1.5rem;font-weight:800;
  color:var(--wf-text-1);letter-spacing:-0.03em}
.ob-tech__stat-label{display:block;font-size:12px;color:var(--wf-text-3);margin-top:2px}

/* Results Section */
.ob-results{background:var(--wf-bg-card);border:1px solid var(--wf-border);
  border-radius:var(--wf-r-xl);padding:3rem;text-align:center}
.ob-results__title{font-size:1.3rem;margin-bottom:2rem}
.ob-results__grid{display:grid;grid-template-columns:repeat(6,1fr);gap:1.5rem}

.ob-result{padding:1rem}
.ob-result__value{font-family:var(--wf-display);font-size:1.8rem;font-weight:800;
  background:var(--wf-grad-text);-webkit-background-clip:text;
  -webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-0.03em}
.ob-result__label{font-size:12px;color:var(--wf-text-3);margin-top:6px;line-height:1.4}


/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.ob-cta{position:relative;border-radius:var(--wf-r-xl);padding:4rem;text-align:center;
  overflow:hidden;background:var(--wf-bg-card);border:1px solid var(--wf-border)}

.ob-cta__bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.ob-cta__orb{position:absolute;border-radius:50%;filter:blur(80px)}
.ob-cta__orb--1{width:400px;height:400px;top:-20%;left:-10%;
  background:radial-gradient(circle,rgba(16,185,129,0.15),transparent 70%)}
.ob-cta__orb--2{width:350px;height:350px;bottom:-20%;right:-10%;
  background:radial-gradient(circle,rgba(99,102,241,0.1),transparent 70%)}

.ob-cta__content{position:relative;z-index:1}
.ob-cta__title{font-size:clamp(1.8rem,3.5vw,2.8rem);margin-top:1rem;margin-bottom:1rem}
.ob-cta__desc{font-size:1.05rem;color:var(--wf-text-2);line-height:1.7;
  max-width:600px;margin:0 auto 2rem}
.ob-cta__actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;
  margin-bottom:1.5rem}
.ob-cta__note{font-size:12px;color:var(--wf-text-3)}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media(max-width:1024px){
  .ob-hero__inner{grid-template-columns:1fr;text-align:center}
  .ob-hero__desc{margin-left:auto;margin-right:auto}
  .ob-hero__ctas{justify-content:center}
  .ob-hero__kpis{max-width:400px;margin:0 auto}
  .ob-problems__grid{grid-template-columns:repeat(2,1fr)}
  .ob-audience__grid{grid-template-columns:repeat(2,1fr)}
  .ob-ux{grid-template-columns:1fr;text-align:center}
  .ob-ux__desc{margin-left:auto;margin-right:auto}
  .ob-ux__items{max-width:500px;margin:0 auto}
  .ob-ux__item{text-align:left}
  .ob-ux__steps-visual{flex-direction:row;gap:0}
  .ob-ux__vstep{flex-direction:column;min-width:auto;padding:12px 16px}
  .ob-ux__vstep-line{width:20px;height:2px;margin:0}
  .ob-tech__grid{grid-template-columns:repeat(2,1fr)}
  .ob-results__grid{grid-template-columns:repeat(3,1fr)}
  .ob-phase{padding:2rem}
}

@media(max-width:640px){
  .ob-hero__kpis{grid-template-columns:1fr 1fr;gap:10px}
  .ob-problems__grid{grid-template-columns:1fr}
  .ob-audience__grid{grid-template-columns:1fr}
  .ob-tech__grid{grid-template-columns:1fr}
  .ob-features__grid{grid-template-columns:1fr}
  .ob-results__grid{grid-template-columns:repeat(2,1fr)}
  .ob-phase__flow{flex-direction:column;align-items:flex-start}
  .ob-flow-arrow{transform:rotate(90deg)}
  .ob-timeline__line{left:10%;right:10%}
  .ob-ux__steps-visual{flex-direction:column;gap:0}
  .ob-ux__vstep-line{width:2px;height:16px;margin:0 0 0 42px}
  .ob-cta{padding:2.5rem 1.5rem}
  .ob-phase{padding:1.5rem}
}
