/* Experience Engineering & UI/UX Page — v4 */

.fas,.far,.fab{font-family:"Font Awesome 6 Free"!important;font-weight:900!important;font-style:normal!important}
.fa-brands{font-family:"Font Awesome 6 Brands"!important;font-weight:400!important}

.xp-accent{background:linear-gradient(135deg,#0A4AFF 0%,#00D4FF 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}

/* ── HERO ── */
.xp-hero{position:relative;min-height:92vh;display:flex;align-items:center;justify-content:center;background:#030D1A;padding:130px 60px 80px;overflow:hidden;text-align:center}
.xp-canvas{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none}
.xp-hero-inner{position:relative;z-index:10;max-width:860px;width:100%;text-align:center;display:flex;flex-direction:column;align-items:center}

.xp-hero-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;border:1px solid rgba(0,212,255,0.35);border-radius:50px;font-size:12px;font-weight:600;color:#00D4FF;letter-spacing:1px;text-transform:uppercase;margin-bottom:28px}
.xp-hero-badge i{color:#00D4FF!important;-webkit-text-fill-color:#00D4FF!important;font-family:"Font Awesome 6 Free"!important;font-weight:900!important}

.xp-hero-title{font-size:64px;font-weight:900;color:#fff;line-height:1.08;margin-bottom:24px;letter-spacing:-2px}
.xp-hero-sub{font-size:18px;color:rgba(255,255,255,0.62);line-height:1.8;max-width:680px;margin-bottom:48px}

/* Buttons */
.xp-cta-btn{display:inline-flex;align-items:center;gap:10px;padding:16px 32px;background:linear-gradient(135deg,#0A4AFF,#00D4FF);color:#fff;border:none;border-radius:10px;font-size:15px;font-weight:700;cursor:pointer;transition:all 0.3s ease;box-shadow:0 8px 30px rgba(0,212,255,0.3)}
.xp-cta-btn:hover{transform:translateY(-3px);box-shadow:0 14px 40px rgba(0,212,255,0.5)}
.xp-cta-btn i{color:#fff!important;-webkit-text-fill-color:#fff!important;font-family:"Font Awesome 6 Free"!important;font-weight:900!important;transition:transform 0.2s ease}
.xp-cta-btn:hover i{transform:translateX(4px)}
.xp-cta-large{font-size:17px;padding:20px 44px}

/* ── SHARED SECTION ── */
.xp-section-header{text-align:center;max-width:900px;margin:0 auto 60px}
.xp-section-header h2{font-size:44px;font-weight:800;color:#fff;line-height:1.2;margin-bottom:14px}
.xp-section-header p{font-size:17px;color:rgba(255,255,255,0.5);line-height:1.7}
.xp-section-cta{text-align:center;margin-top:50px}

/* ── ECOSYSTEMS ── */
.xp-ecosystems{background:#050F20;padding:100px 60px}
.xp-eco-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1200px;margin:0 auto}

.xp-eco-card{position:relative;background:rgba(10,30,60,0.45);backdrop-filter:blur(20px);border:1px solid rgba(0,212,255,0.1);border-radius:20px;padding:40px 32px;transition:all 0.4s cubic-bezier(0.4,0,0.2,1);overflow:hidden;cursor:default}
.xp-eco-card::after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#0A4AFF,#00D4FF);transform:scaleX(0);transform-origin:left;transition:transform 0.4s ease}
.xp-eco-card:hover{border-color:rgba(0,212,255,0.3);box-shadow:0 24px 60px rgba(0,212,255,0.12);transform:translateY(-6px)}
.xp-eco-card:hover::after{transform:scaleX(1)}

.xp-eco-icon{width:56px;height:56px;min-width:56px;min-height:56px;background:linear-gradient(135deg,#0A4AFF,#00D4FF);border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:22px}
.xp-eco-icon i,.xp-eco-icon i,body.light-theme .xp-eco-icon i{font-size:22px;color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;font-family:"Font Awesome 6 Free"!important;font-weight:900!important;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important}

.xp-eco-card h3{font-size:20px;font-weight:700;color:#fff;margin-bottom:14px;line-height:1.3}
.xp-eco-base{font-size:14.5px;color:rgba(255,255,255,0.58);line-height:1.8;margin:0 0 20px}

.xp-eco-expand{max-height:0;opacity:0;overflow:hidden;transition:max-height 0.45s ease,opacity 0.45s ease}
.xp-eco-card:hover .xp-eco-expand{max-height:260px;opacity:1}
.xp-eco-expand ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:9px;border-top:1px solid rgba(0,212,255,0.12);padding-top:16px}
.xp-eco-expand li{display:flex;align-items:center;gap:10px;font-size:13px;color:rgba(255,255,255,0.55);line-height:1.5}
.xp-eco-expand li i{font-size:10px;color:#00D4FF!important;-webkit-text-fill-color:#00D4FF!important;flex-shrink:0}

/* ── METHODOLOGY ── */
.xp-methodology{background:#030D1A;padding:100px 60px}
.xp-method-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;max-width:1200px;margin:0 auto;position:relative}
.xp-method-grid::before{content:'';position:absolute;top:36px;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,rgba(0,212,255,0.3),transparent);z-index:0}

.xp-phase-card{position:relative;padding:0 24px;z-index:1}
.xp-phase-dot{width:72px;height:72px;border-radius:50%;background:rgba(10,30,60,0.8);border:2px solid rgba(0,212,255,0.25);display:flex;align-items:center;justify-content:center;margin:0 auto 28px;transition:all 0.4s ease;position:relative}
.xp-phase-dot::before{content:'';position:absolute;inset:-6px;border-radius:50%;border:1px solid rgba(0,212,255,0.1);transition:all 0.4s ease}
.xp-phase-card:hover .xp-phase-dot{border-color:#00D4FF;box-shadow:0 0 30px rgba(0,212,255,0.4);background:rgba(0,212,255,0.1)}
.xp-phase-card:hover .xp-phase-dot::before{border-color:rgba(0,212,255,0.3);inset:-10px}

.xp-phase-num-inner{font-size:22px;font-weight:900;background:linear-gradient(135deg,#0A4AFF,#00D4FF);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:-1px}

.xp-phase-card h3{font-size:16px;font-weight:700;color:#fff;margin-bottom:12px;line-height:1.4;text-align:center}
.xp-phase-card p{font-size:13.5px;color:rgba(255,255,255,0.5);line-height:1.75;text-align:center;margin:0}

/* ── DESIGN SYSTEMS SPLIT ── */
.xp-design-systems{background:#050F20;padding:100px 60px}
.xp-ds-split{display:grid;grid-template-columns:1fr 1fr;gap:80px;max-width:1200px;margin:0 auto;align-items:center}
.xp-eyebrow{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:#00D4FF;margin-bottom:16px}
.xp-ds-left h2{font-size:42px;font-weight:800;color:#fff;line-height:1.2;margin-bottom:20px}
.xp-ds-left > p{font-size:16px;color:rgba(255,255,255,0.6);line-height:1.8;margin-bottom:32px}
.xp-ds-roi{background:rgba(0,212,255,0.06);border:1px solid rgba(0,212,255,0.2);border-radius:12px;padding:20px 24px}
.xp-roi-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:#00D4FF;margin-bottom:8px}
.xp-ds-roi p{font-size:15px;color:rgba(255,255,255,0.85);margin:0}
.xp-ds-roi strong{color:#00D4FF;font-weight:700}

/* Component showcase — actual UI mockup */
.xp-ui-mockup{background:rgba(10,20,45,0.7);backdrop-filter:blur(20px);border:1px solid rgba(0,212,255,0.15);border-radius:20px;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,0.5)}
.xp-mockup-bar{display:flex;align-items:center;gap:8px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid rgba(0,212,255,0.08)}
.xp-mockup-dot{width:10px;height:10px;border-radius:50%}
.xp-mockup-dot:nth-child(1){background:#ff5f57}
.xp-mockup-dot:nth-child(2){background:#febc2e}
.xp-mockup-dot:nth-child(3){background:#28c840}
.xp-mockup-title{font-size:11px;color:rgba(255,255,255,0.3);margin-left:8px;font-weight:500}

.xp-mockup-body{display:flex;flex-direction:column;gap:12px}
.xp-mockup-row{display:flex;gap:10px}

/* Stat cards */
.xp-mock-stat{flex:1;background:rgba(0,212,255,0.06);border:1px solid rgba(0,212,255,0.12);border-radius:10px;padding:14px 16px}
.xp-mock-stat-num{font-size:22px;font-weight:800;background:linear-gradient(135deg,#0A4AFF,#00D4FF);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;line-height:1}
.xp-mock-stat-label{font-size:10px;color:rgba(255,255,255,0.35);margin-top:4px;text-transform:uppercase;letter-spacing:0.8px}

/* Chart bar */
.xp-mock-chart{flex:1;background:rgba(10,74,255,0.08);border:1px solid rgba(10,74,255,0.2);border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.xp-mock-chart-label{font-size:10px;color:rgba(255,255,255,0.35);text-transform:uppercase;letter-spacing:0.8px}
.xp-mock-bars{display:flex;align-items:flex-end;gap:4px;height:40px}
.xp-mock-bar{flex:1;border-radius:3px 3px 0 0;background:linear-gradient(180deg,#00D4FF,#0A4AFF);animation:barGrow 2s ease-in-out infinite alternate}
.xp-mock-bar:nth-child(1){height:60%;animation-delay:0s}
.xp-mock-bar:nth-child(2){height:85%;animation-delay:0.2s}
.xp-mock-bar:nth-child(3){height:45%;animation-delay:0.4s}
.xp-mock-bar:nth-child(4){height:100%;animation-delay:0.6s}
.xp-mock-bar:nth-child(5){height:70%;animation-delay:0.8s}
.xp-mock-bar:nth-child(6){height:55%;animation-delay:1s}
@keyframes barGrow{0%{opacity:0.6;transform:scaleY(0.85)}100%{opacity:1;transform:scaleY(1)}}

/* Progress rows */
.xp-mock-progress-row{display:flex;flex-direction:column;gap:6px}
.xp-mock-prog-item{display:flex;align-items:center;gap:10px}
.xp-mock-prog-label{font-size:10px;color:rgba(255,255,255,0.4);width:60px;flex-shrink:0}
.xp-mock-prog-track{flex:1;height:5px;background:rgba(255,255,255,0.06);border-radius:3px;overflow:hidden}
.xp-mock-prog-fill{height:100%;border-radius:3px;background:linear-gradient(90deg,#0A4AFF,#00D4FF);animation:fillAnim 3s ease-in-out infinite alternate}
.xp-mock-prog-fill:nth-child(1){width:78%}
@keyframes fillAnim{0%{opacity:0.7}100%{opacity:1}}

/* Button row */
.xp-mock-btn-row{display:flex;gap:8px;align-items:center}
.xp-mock-btn-primary{padding:8px 16px;background:linear-gradient(135deg,#0A4AFF,#00D4FF);border-radius:7px;font-size:11px;font-weight:700;color:#fff;border:none}
.xp-mock-btn-ghost{padding:8px 16px;background:transparent;border:1px solid rgba(0,212,255,0.3);border-radius:7px;font-size:11px;font-weight:600;color:rgba(255,255,255,0.6)}
.xp-mock-badge{padding:4px 10px;background:rgba(0,212,255,0.1);border:1px solid rgba(0,212,255,0.2);border-radius:50px;font-size:10px;color:#00D4FF;font-weight:600}

/* ── MVP METRIC ── */
.xp-mvp-metric{background:#030D1A;padding:100px 60px}
.xp-metric-card{max-width:960px;margin:0 auto;background:linear-gradient(135deg,#0A1A30 0%,#050F20 100%);border:1px solid rgba(0,212,255,0.18);border-radius:24px;padding:60px 56px;text-align:center;box-shadow:0 30px 80px rgba(0,0,0,0.5),inset 0 1px 0 rgba(0,212,255,0.1)}
.xp-metric-badge{display:inline-block;padding:6px 16px;border:1px solid rgba(0,212,255,0.3);border-radius:50px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px;color:#00D4FF;margin-bottom:24px}
.xp-metric-card h2{font-size:48px;font-weight:900;color:#fff;line-height:1.15;margin-bottom:16px;letter-spacing:-1.5px}
.xp-metric-intro{font-size:17px;color:rgba(255,255,255,0.55);margin-bottom:48px}

.xp-metric-timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:44px;text-align:left}
.xp-metric-item{padding:24px;background:rgba(0,212,255,0.04);border:1px solid rgba(0,212,255,0.12);border-radius:14px;transition:all 0.3s ease}
.xp-metric-item:hover{background:rgba(0,212,255,0.08);border-color:rgba(0,212,255,0.3);transform:translateY(-4px)}
.xp-metric-day{font-size:13px;font-weight:700;color:#00D4FF;text-transform:uppercase;letter-spacing:1px;margin-bottom:10px}
.xp-metric-item p{font-size:14px;color:rgba(255,255,255,0.65);line-height:1.7;margin:0}

.xp-metric-link{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:#00D4FF!important;text-decoration:none;transition:gap 0.2s ease}
.xp-metric-link:hover{gap:12px}
.xp-metric-link i{color:#00D4FF!important;-webkit-text-fill-color:#00D4FF!important;font-family:"Font Awesome 6 Free"!important;font-weight:900!important}

/* ── FINAL CTA ── */
.xp-final-cta{background:#020A14;padding:120px 60px;text-align:center;border-top:1px solid rgba(0,212,255,0.08);position:relative;overflow:hidden}
.xp-final-cta::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 20% 50%,rgba(10,74,255,0.12) 0%,transparent 50%),radial-gradient(circle at 80% 50%,rgba(0,212,255,0.12) 0%,transparent 50%);pointer-events:none}
.xp-final-inner{max-width:700px;margin:0 auto;position:relative;z-index:1}
.xp-final-cta h2{font-size:58px;font-weight:900;color:#fff;line-height:1.1;margin-bottom:20px;letter-spacing:-1.5px}
.xp-final-cta p{font-size:17px;color:rgba(255,255,255,0.6);line-height:1.75;margin-bottom:44px}

/* ── LIGHT THEME OVERRIDES ── */
/* Pattern matches other pages: orange accents, white/light-grey backgrounds, dark navy text */

/* Section backgrounds — beat `body.light-theme section { background: #fff !important }` */
body.light-theme section.xp-hero{background:#ffffff!important}
body.light-theme section.xp-ecosystems{background:#f8f9ff!important}
body.light-theme section.xp-methodology{background:#ffffff!important}
body.light-theme section.xp-design-systems{background:#f8f9ff!important}
body.light-theme section.xp-mvp-metric{background:#ffffff!important}
body.light-theme section.xp-final-cta{background:#ffffff!important;border-top-color:rgba(0,0,0,0.06)!important}
body.light-theme section.xp-final-cta::before{background:radial-gradient(circle at 20% 50%,rgba(255,123,0,0.06) 0%,transparent 50%),radial-gradient(circle at 80% 50%,rgba(255,123,0,0.06) 0%,transparent 50%)!important}

/* Accent gradient → orange in light theme */
body.light-theme .xp-accent{background:linear-gradient(135deg,var(--original-orange),var(--original-orange-hover))!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;background-clip:text!important}

/* Hero */
body.light-theme .xp-hero-title{color:#1a1f3a!important}
body.light-theme .xp-hero-sub{color:rgba(26,31,58,0.65)!important}
body.light-theme .xp-hero-badge{border-color:rgba(255,123,0,0.4)!important;color:var(--original-orange)!important}
body.light-theme .xp-hero-badge i.fas{color:var(--original-orange)!important;-webkit-text-fill-color:var(--original-orange)!important;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important}

/* Section headers */
body.light-theme .xp-section-header h2{color:#1a1f3a!important}
body.light-theme .xp-section-header p{color:rgba(26,31,58,0.6)!important}

/* Ecosystem cards */
body.light-theme .xp-eco-card{background:#ffffff!important;border-color:rgba(0,0,0,0.08)!important;box-shadow:0 4px 20px rgba(0,0,0,0.06)!important}
body.light-theme .xp-eco-card:hover{border-color:rgba(255,123,0,0.3)!important;box-shadow:0 24px 60px rgba(255,123,0,0.12)!important}
body.light-theme .xp-eco-card::after{background:linear-gradient(90deg,var(--original-orange),var(--original-orange-hover))!important}
body.light-theme .xp-eco-card h3{color:#1a1f3a!important}
body.light-theme .xp-eco-base{color:rgba(26,31,58,0.65)!important}
body.light-theme .xp-eco-expand li{color:rgba(26,31,58,0.65)!important}
body.light-theme .xp-eco-expand ul{border-top-color:rgba(0,0,0,0.08)!important}
/* Eco icon — orange bg, white icon */
body.light-theme .xp-eco-icon{background:linear-gradient(135deg,var(--original-orange),var(--original-orange-hover))!important}
body.light-theme .xp-eco-icon i,
body.light-theme .xp-eco-icon i.fas,
body.light-theme .xp-eco-card .xp-eco-icon i{color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;font-family:"Font Awesome 6 Free"!important;font-weight:900!important}
/* Expand check icons → orange */
body.light-theme .xp-eco-expand li i.fas{color:var(--original-orange)!important;-webkit-text-fill-color:var(--original-orange)!important;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important}

/* Methodology */
body.light-theme .xp-phase-card h3{color:#1a1f3a!important}
body.light-theme .xp-phase-card p{color:rgba(26,31,58,0.6)!important}
body.light-theme .xp-phase-dot{background:#ffffff!important;border-color:rgba(255,123,0,0.3)!important}
body.light-theme .xp-phase-card:hover .xp-phase-dot{border-color:var(--original-orange)!important;box-shadow:0 0 30px rgba(255,123,0,0.2)!important;background:rgba(255,123,0,0.05)!important}
body.light-theme .xp-method-grid::before{background:linear-gradient(90deg,transparent,rgba(255,123,0,0.25),transparent)!important}
/* Phase number → orange gradient */
body.light-theme .xp-phase-num-inner{background:linear-gradient(135deg,var(--original-orange),var(--original-orange-hover))!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;background-clip:text!important}

/* Design systems */
body.light-theme .xp-eyebrow{color:var(--original-orange)!important}
body.light-theme .xp-ds-left h2{color:#1a1f3a!important}
body.light-theme .xp-ds-left > p{color:rgba(26,31,58,0.65)!important}
body.light-theme .xp-ds-roi{background:rgba(255,123,0,0.05)!important;border-color:rgba(255,123,0,0.2)!important}
body.light-theme .xp-ds-roi p{color:rgba(26,31,58,0.8)!important}
body.light-theme .xp-roi-label{color:var(--original-orange)!important}
body.light-theme .xp-ds-roi strong{color:var(--original-orange)!important}

/* UI Mockup — light theme: white card, orange accents */
body.light-theme .xp-ui-mockup{background:#ffffff!important;border:1px solid rgba(0,0,0,0.1)!important;box-shadow:0 20px 60px rgba(0,0,0,0.08)!important}
body.light-theme .xp-mockup-bar{border-bottom-color:rgba(0,0,0,0.08)!important}
body.light-theme .xp-mockup-title{color:rgba(26,31,58,0.45)!important}
body.light-theme .xp-mock-stat{background:rgba(255,123,0,0.06)!important;border-color:rgba(255,123,0,0.15)!important}
body.light-theme .xp-mock-stat-num{background:linear-gradient(135deg,var(--original-orange),var(--original-orange-hover))!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;background-clip:text!important}
body.light-theme .xp-mock-stat-label{color:rgba(26,31,58,0.5)!important}
body.light-theme .xp-mock-chart{background:rgba(255,123,0,0.04)!important;border-color:rgba(255,123,0,0.12)!important}
body.light-theme .xp-mock-chart-label{color:rgba(26,31,58,0.5)!important}
body.light-theme .xp-mock-bar{background:linear-gradient(180deg,var(--original-orange),var(--original-orange-hover))!important}
body.light-theme .xp-mock-prog-label{color:rgba(26,31,58,0.55)!important}
body.light-theme .xp-mock-prog-track{background:rgba(0,0,0,0.07)!important}
body.light-theme .xp-mock-prog-fill{background:linear-gradient(90deg,var(--original-orange),var(--original-orange-hover))!important}
body.light-theme .xp-mock-btn-primary{background:linear-gradient(135deg,var(--original-orange),var(--original-orange-hover))!important;color:#fff!important}
body.light-theme .xp-mock-btn-ghost{border-color:rgba(255,123,0,0.35)!important;color:rgba(26,31,58,0.65)!important}
body.light-theme .xp-mock-badge{background:rgba(255,123,0,0.08)!important;border-color:rgba(255,123,0,0.25)!important;color:var(--original-orange)!important}

/* MVP Metric */
body.light-theme .xp-metric-card{background:#ffffff!important;border-color:rgba(0,0,0,0.08)!important;box-shadow:0 20px 60px rgba(0,0,0,0.06)!important}
body.light-theme .xp-metric-card h2{color:#1a1f3a!important}
body.light-theme .xp-metric-intro{color:rgba(26,31,58,0.6)!important}
body.light-theme .xp-metric-badge{border-color:rgba(255,123,0,0.3)!important;color:var(--original-orange)!important}
body.light-theme .xp-metric-item{background:rgba(255,123,0,0.04)!important;border-color:rgba(0,0,0,0.08)!important}
body.light-theme .xp-metric-item:hover{background:rgba(255,123,0,0.08)!important;border-color:rgba(255,123,0,0.25)!important}
body.light-theme .xp-metric-item p{color:rgba(26,31,58,0.65)!important}
body.light-theme .xp-metric-day{color:var(--original-orange)!important}
body.light-theme .xp-metric-link{color:var(--original-orange)!important}
body.light-theme .xp-metric-link i.fas{color:var(--original-orange)!important;-webkit-text-fill-color:var(--original-orange)!important;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important}

/* Final CTA */
body.light-theme .xp-final-cta h2{color:#1a1f3a!important}
body.light-theme .xp-final-cta p{color:rgba(26,31,58,0.65)!important}

/* CTA button → orange in light theme */
body.light-theme .xp-cta-btn{background:linear-gradient(135deg,var(--original-orange),var(--original-orange-hover))!important;color:#fff!important;box-shadow:0 8px 30px rgba(255,123,0,0.3)!important}
body.light-theme .xp-cta-btn:hover{box-shadow:0 14px 40px rgba(255,123,0,0.45)!important}
body.light-theme .xp-cta-btn i.fas{color:#fff!important;-webkit-text-fill-color:#fff!important;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important}
