@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
    --accent:       #6366f1;
    --accent-dk:    #4f46e5;
    --accent-lt:    #eef2ff;
    --green:        #10b981;
    --green-lt:     #ecfdf5;
    --orange:       #f59e0b;
    --red:          #ef4444;
    --dark:         #0f172a;
    --dark2:        #1e293b;
    --bg:           #f8fafc;
    --card:         #ffffff;
    --border:       #e2e8f0;
    --border-a:     rgba(99, 102, 241, 0.14);
    --text:         #475569;
    --text-dk:      #0f172a;
    --text-md:      #334155;
    --font-h:       'Outfit', sans-serif;
    --font-b:       'Inter', sans-serif;
    --radius:       18px;
    --shadow-sm:    0 2px 14px rgba(15, 23, 42, 0.04);
    --shadow-md:    0 8px 32px rgba(15, 23, 42, 0.06);
    --shadow-lg:    0 20px 60px rgba(15, 23, 42, 0.1);
}

/* ── Reset ── */
.xp-wrap *, .xp-sticky * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-b);
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
.xp-nav-bar {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15,23,42,.07);
    position: sticky; top: 0; z-index: 10000; width: 100%;
}
.xp-nav-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 24px; max-width: 1200px; margin: 0 auto;
}
.xp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.xp-logo-text {
    font-family: var(--font-h); font-weight: 800; font-size: 18px;
    color: var(--dark); letter-spacing: -.5px; text-transform: uppercase;
}
.xp-logo-text span { color: var(--accent); }
.xp-nav-back {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(15,23,42,.04); border: 1px solid rgba(15,23,42,.08);
    border-radius: 8px; color: var(--dark);
    padding: 8px 16px; font-size: 13px; font-weight: 600;
    text-decoration: none; transition: all .2s;
}
.xp-nav-back:hover { background: rgba(15,23,42,.09); }

/* ── Container Layout ── */
.xp-wrap {
    font-family: var(--font-b);
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    padding-bottom: 90px; /* Space for bottom sticky bar */
    overflow-x: hidden;
    position: relative;
}

/* ── Ambient Background Glows ── */
.xp-wrap::before {
    content: '';
    position: absolute; top: -5%; left: 15%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    z-index: 0; pointer-events: none;
}
.xp-wrap::after {
    content: '';
    position: absolute; bottom: 10%; right: -5%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
    z-index: 0; pointer-events: none;
}

.xp-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ── Section Headings ── */
.xp-section-h2 {
    font-family: var(--font-h);
    font-size: clamp(26px, 4.5vw, 38px) !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    margin: 0 0 14px !important;
    letter-spacing: -1px !important;
}

.xp-section-h2.dark {
    color: var(--dark) !important;
}

.xp-section-h2.light {
    color: #ffffff !important;
}

.xp-section-sub {
    font-size: clamp(14px, 2vw, 16.5px);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto 52px !important;
}

.xp-section-sub.dark {
    color: #64748b !important;
}

.xp-section-sub.light {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ── Badges & Labels ── */
.xp-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.xp-label-light {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.xp-label-dark {
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

/* ── Section Base ── */
.xp-section {
    padding: 88px 0;
    position: relative;
}

.xp-section-center {
    text-align: center;
}

.xp-bg-light {
    background: #f8fafc;
}

.xp-bg-white {
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ── HERO SECTION ── */
.xp-hero {
    background: linear-gradient(160deg, #ffffff 0%, #f5f3ff 50%, #eef2ff 100%);
    padding: 96px 0 88px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.xp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.xp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(99, 102, 241, 0.22);
    background: rgba(99, 102, 241, 0.07);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 12.5px;
    font-weight: 750;
    color: var(--accent);
    margin-bottom: 28px;
    letter-spacing: 0.2px;
    box-shadow: var(--shadow-sm);
}

.xp-hero-h1 {
    font-family: var(--font-h);
    font-size: clamp(34px, 5.5vw, 56px) !important;
    font-weight: 900 !important;
    color: var(--dark) !important;
    line-height: 1.12 !important;
    margin: 0 auto 24px !important;
    max-width: 920px;
    letter-spacing: -1.2px;
}

.xp-hero-h1 span {
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.xp-hero-sub {
    font-size: clamp(15px, 2.2vw, 18px);
    color: var(--text);
    max-width: 640px;
    margin: 0 auto 40px !important;
    line-height: 1.75;
}

.xp-hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.xp-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid rgba(15, 23, 42, 0.12);
    color: var(--dark) !important;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.xp-btn-ghost:hover {
    border-color: var(--accent);
    background: var(--accent-lt);
    color: var(--accent) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.xp-btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dk) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
    cursor: pointer;
}

.xp-btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(99, 102, 241, 0.38);
}

/* ── STATS SECTION ── */
.xp-stats {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.xp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1120px;
    margin: 0 auto;
}

.xp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 20px;
    border-right: 1px solid var(--border);
    transition: background-color 0.2s;
}

.xp-stat:hover {
    background-color: rgba(248, 250, 252, 0.8);
}

.xp-stat:last-child {
    border-right: none;
}

.xp-stat-num {
    font-family: var(--font-h);
    font-size: clamp(30px, 4.5vw, 42px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--accent);
}

.xp-stat-label {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* ── WHAT YOU GET (APP CARDS) ── */
.xp-apps-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
    text-align: left;
}

.xp-app-card {
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.xp-app-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.25);
}

.xp-app-header {
    padding: 28px 28px 24px;
    color: #ffffff;
}
.xp-app-header.xp-rider {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
}
.xp-app-header.xp-driver {
    background: linear-gradient(135deg, #15803d 0%, #22c55e 100%);
}

.xp-app-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.xp-app-icon {
    font-size: 34px;
    line-height: 1;
}

.xp-app-count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.xp-app-title {
    font-family: var(--font-h);
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin: 0 0 6px !important;
}

.xp-app-sub {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 !important;
}

.xp-app-features {
    padding: 22px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

.xp-app-feat {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 13.5px;
    color: var(--text-md);
    line-height: 1.5;
}

.xp-app-feat:last-child {
    border-bottom: none;
}

.xp-app-feat-icon {
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--green);
    font-weight: 900;
}

/* Admin Card — full width */
.xp-admin-card {
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: left;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.xp-admin-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.25);
}

.xp-admin-header {
    padding: 26px 30px;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f6ff 100%);
    border-bottom: 1px solid var(--border);
}

.xp-admin-header .xp-app-title {
    color: var(--dark) !important;
}

.xp-admin-header .xp-app-sub {
    color: #64748b !important;
}

.xp-admin-header .xp-app-count {
    background: rgba(99, 102, 241, 0.08);
    color: var(--accent);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.xp-admin-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.xp-admin-header-left .xp-app-icon {
    font-size: 38px;
}

.xp-admin-header-left .xp-app-title {
    margin-bottom: 2px !important;
}

.xp-admin-features {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    background: #ffffff;
}

.xp-admin-features .xp-app-feat {
    padding: 12px 14px;
    border: 1px solid rgba(15, 23, 42, 0.03);
    background: #fafbff;
    border-radius: 10px;
    font-size: 13px;
    transition: all 0.2s;
}
.xp-admin-features .xp-app-feat:hover {
    background: #ffffff;
    border-color: var(--border-a);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

/* ── DETAILED FEATURES GRID ── */
.xp-feat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 48px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.xp-feat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.xp-feat-card:hover {
    background: #ffffff;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.xp-feat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-lt);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: transform 0.2s;
}
.xp-feat-card:hover .xp-feat-icon-wrap {
    transform: scale(1.08);
}

.xp-feat-right {
    flex: 1;
    min-width: 0;
}

.xp-feat-title {
    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 4px !important;
    color: var(--dark) !important;
}

.xp-feat-desc {
    font-size: 12.5px;
    color: var(--text);
    margin: 0 !important;
    line-height: 1.5;
}

.xp-feat-chevron {
    color: #cbd5e1;
    font-size: 20px;
    font-weight: 300;
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.xp-feat-card:hover .xp-feat-chevron {
    transform: translateX(4px);
    color: var(--accent);
}

/* ── APP PREVIEW (IPHONE SLIDER) ── */
.xp-showcase-section {
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.xp-iphone-wrap {
    margin-top: 56px;
    position: relative;
}

.xp-iphone-stage {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    cursor: grab;
    overflow: visible;
}

.xp-iphone-stage:active {
    cursor: grabbing;
}

.xp-iphone-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
    will-change: transform, opacity;
}

.xp-iphone-frame {
    position: relative;
}

.xp-iphone-body {
    position: absolute;
    inset: 0;
    border-radius: 54px;
    background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.xp-iphone-card.active .xp-iphone-body {
    box-shadow: 0 0 0 1px #020617, 
                0 0 0 3px #64748b,
                0 30px 80px rgba(15, 23, 42, 0.5), 
                0 0 60px rgba(99, 102, 241, 0.15);
}

.xp-iphone-screen {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 46px;
    overflow: hidden;
    background: #000000;
}

.xp-iphone-island {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 28px;
    background: #000000;
    border-radius: 20px;
    z-index: 10;
}

.xp-iphone-screen img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 46px;
}

.xp-iphone-shine {
    position: absolute;
    inset: 0;
    border-radius: 46px;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 45%);
}

.xp-iphone-bar {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 4.5px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 3px;
    z-index: 5;
}

.xp-iphone-btn-vol {
    position: absolute;
    left: -5px;
    top: 120px;
    width: 4px;
    height: 60px;
    background: #64748b;
    border-radius: 2px;
}

.xp-iphone-btn-pwr {
    position: absolute;
    right: -5px;
    top: 145px;
    width: 4px;
    height: 50px;
    background: #64748b;
    border-radius: 2px;
}

.xp-iphone-label {
    font-size: 13px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    background: rgba(15, 23, 42, 0.05);
    padding: 6px 16px;
    border-radius: 50px;
}

.xp-iphone-card.active .xp-iphone-label {
    color: var(--accent);
    background: var(--accent-lt);
}

.xp-iphone-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
}

.xp-iphone-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
}

.xp-iphone-dot.active {
    width: 28px;
    border-radius: 5px;
    background: var(--accent);
}

/* ── HOW IT WORKS SECTION ── */
.xp-hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
    position: relative;
}

.xp-hiw-grid::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 18%;
    right: 18%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

.xp-hiw-step {
    text-align: center;
    padding: 0 20px;
}

.xp-hiw-circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.xp-hiw-step-num {
    font-family: var(--font-h);
    font-size: 18px;
    font-weight: 900;
}

.xp-hiw-icon {
    font-size: 34px;
    margin-bottom: 16px;
    display: inline-block;
}

.xp-hiw-title {
    font-family: var(--font-h);
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 8px !important;
    color: var(--dark) !important;
}

.xp-hiw-desc {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 !important;
    line-height: 1.6;
}

/* ── COMPARISON TABLE ── */
.xp-cmp-section {
    background: #f8fafc;
}
.xp-cmp-section-sub {
    max-width: 680px;
}

.xp-fo-wrap {
    max-width: 960px;
    margin: 48px auto 0;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}

.xp-fo-thead {
    display: grid;
    grid-template-columns: 160px 1fr 32px 1fr;
    background: linear-gradient(135deg, #fafafa 0%, #f6f7ff 100%);
    border-bottom: 1px solid var(--border);
    padding: 24px 20px;
    gap: 12px;
    align-items: center;
}

.xp-fo-thead-cat {
    display: block;
}

.xp-fo-col-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.05);
    background: rgba(15, 23, 42, 0.015);
    width: 100%;
}

.xp-fo-col-bad {
    border-color: rgba(239, 68, 68, 0.1);
    background: rgba(239, 68, 68, 0.03);
}

.xp-fo-col-good {
    border-color: rgba(99, 102, 241, 0.12);
    background: rgba(99, 102, 241, 0.04);
}

.xp-fo-col-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.xp-fo-col-name {
    font-family: var(--font-h);
    font-size: 16px;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 2px;
}

.xp-fo-col-hint {
    font-size: 11px;
    color: #64748b;
    font-weight: 550;
}

.xp-fo-winner-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 50px;
    margin-bottom: 5px;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.xp-fo-vs-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.xp-fo-vs {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 950;
    color: #475569;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.xp-fo-row {
    display: grid;
    grid-template-columns: 160px 1fr 1px 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
    transition: background 0.15s;
}

.xp-fo-row:last-child {
    border-bottom: none;
}

.xp-fo-row-even {
    background: #fafbff;
}

.xp-fo-row:hover {
    background: rgba(99, 102, 241, 0.01);
}

.xp-fo-cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 20px 12px;
    background: #ffffff;
    border-right: 1px solid var(--border);
    text-align: center;
}

.xp-fo-cat-icon {
    font-size: 24px;
    line-height: 1;
}

.xp-fo-cat-name {
    font-size: 11px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.3;
}

.xp-fo-bad, .xp-fo-good {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.xp-fo-good {
    border-left: 1px solid rgba(99, 102, 241, 0.2);
}

.xp-fo-divider {
    background: var(--border);
    width: 1px;
}

.xp-fo-point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.5;
}

.xp-fo-point-bad {
    color: #64748b;
}

.xp-fo-point-good {
    color: var(--dark);
    font-weight: 500;
}

.xp-fo-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.xp-fo-dot-bad {
    background: rgba(239, 68, 68, 0.1);
    color: var(--red);
}

.xp-fo-dot-good {
    background: rgba(16, 185, 129, 0.1);
    color: var(--green);
}

.xp-fo-score {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #fafafa 0%, #f6f7ff 100%);
    border-top: 1px solid var(--border);
}

.xp-fo-score-bad {
    text-align: left;
}

.xp-fo-score-good {
    text-align: right;
}

.xp-fo-score-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.xp-fo-score-title {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1.1px;
}

.xp-fo-score-num {
    display: block;
    font-family: var(--font-h);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 4px;
}

.xp-fo-score-bad-num {
    color: var(--red);
}

.xp-fo-score-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.xp-cmp-verdict {
    border-radius: 20px;
    padding: 44px 32px;
    margin-top: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
    box-shadow: var(--shadow-sm);
}

.xp-cmp-verdict-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.xp-cmp-verdict-label {
    display: inline-block;
    background: var(--accent-lt);
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.xp-cmp-verdict-text {
    font-family: var(--font-h);
    font-size: 18px;
    color: var(--dark);
    margin: 0 0 10px !important;
    font-weight: 900;
    line-height: 1.6;
    position: relative;
}

.xp-verdict-bad {
    color: var(--red);
}

.xp-verdict-good {
    color: var(--accent);
}

.xp-cmp-verdict-sub {
    font-size: 14px;
    color: #64748b;
    margin: 0 !important;
    position: relative;
}

/* ── FAQ SECTION ── */
.xp-faq-inner {
    max-width: 760px;
    margin: 0 auto;
}

.xp-faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xp-faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--card);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.xp-faq-item.open {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.xp-faq-q {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 750;
    color: var(--dark);
    text-align: left;
    gap: 14px;
    font-family: inherit;
    outline: none;
}

.xp-faq-q:hover {
    background: #fafbff;
}

.xp-faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.xp-faq-icon svg {
    width: 12px;
    height: 12px;
    stroke: #64748b;
    stroke-width: 3;
}

.xp-faq-item.open .xp-faq-icon {
    transform: rotate(45deg);
    background-color: var(--accent-lt);
}
.xp-faq-item.open .xp-faq-icon svg {
    stroke: var(--accent);
}

.xp-faq-a {
    display: none;
    padding: 6px 24px 22px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.75;
    border-top: 1px dashed var(--border);
    background-color: var(--card);
}

.xp-faq-item.open .xp-faq-a {
    display: block;
    animation: fadeInFaq 0.3s ease;
}

@keyframes fadeInFaq {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── BOTTOM STICKY BAR ── */
.xp-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.xp-sticky-text {
    color: var(--text-md);
    font-size: 14px;
    font-weight: 600;
    display: none;
}

.xp-sticky-btns {
    display: flex;
    gap: 12px;
    width: 100%;
}

.xp-sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.xp-sticky-btn:hover {
    transform: translateY(-2px);
}

.xp-sticky-btn:first-child {
    background: var(--dark2);
    color: #ffffff !important;
}

.xp-sticky-btn:last-child {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dk) 100%);
    color: #ffffff !important;
}

/* Sticky Button 1 (Demo) — shimmer sweep animation */
.xp-sticky-btn:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-20deg);
    animation: xpShimmer 3s ease-in-out infinite;
}

@keyframes xpShimmer {
    0% { left: -100%; }
    35% { left: 160%; }
    100% { left: 160%; }
}

/* Sticky Button 2 (Pricing) — pulse glow animation */
.xp-sticky-btn:last-child {
    animation: xpPulseGlow 2.2s ease-in-out infinite;
}

.xp-sticky-btn:last-child:hover {
    animation: none;
    transform: translateY(-2px) scale(1.02);
}

@keyframes xpPulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.35), 0 4px 12px rgba(99, 102, 241, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(99, 102, 241, 0), 0 4px 16px rgba(99, 102, 241, 0.3);
        transform: scale(1.015);
    }
}

.xp-btn-arrow {
    font-size: 10px;
    animation: xpArrowBounce 1.2s ease-in-out infinite;
    display: inline-block;
}

@keyframes xpArrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.xp-btn-spark {
    font-size: 13px;
    animation: xpSparkSpin 2.5s linear infinite;
    display: inline-block;
}

@keyframes xpSparkSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* ════════════════════════
   RESPONSIVE — VIEWPORTS
   ════════════════════════ */
@media (min-width: 768px) {
    .xp-sticky-text {
        display: block;
    }
    .xp-sticky-btns {
        width: auto;
    }
    .xp-sticky-btn {
        flex: none;
        padding: 12px 28px;
    }
    .xp-container {
        padding: 0 24px;
    }
}

@media (max-width: 900px) {
    .xp-feat-grid {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .xp-hero {
        padding: 72px 0 76px;
    }
    .xp-section {
        padding: 64px 0;
    }

    /* Stats: 2x2 grid on mobile */
    .xp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .xp-stat {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 28px 12px;
    }
    .xp-stat:nth-child(odd) {
        border-right: 1px solid var(--border);
    }
    .xp-stat:nth-child(3), .xp-stat:nth-child(4) {
        border-bottom: none;
    }

    /* App Cards: single stack */
    .xp-apps-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Admin Card: features columns stack */
    .xp-admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .xp-admin-features {
        grid-template-columns: 1fr 1fr;
    }
    .xp-admin-features .xp-app-feat:nth-child(4n) {
        border-right: 1px solid #f1f5f9;
    }
    .xp-admin-features .xp-app-feat:nth-child(2n) {
        border-right: none;
    }

    /* Features Grid: single column */
    .xp-feat-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .xp-feat-card {
        border-right: none !important;
        border-bottom: 1px solid var(--border) !important;
    }
    .xp-feat-card:last-child {
        border-bottom: none !important;
    }

    /* How It Works: single column */
    .xp-hiw-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .xp-hiw-grid::before {
        display: none;
    }
    .xp-hiw-step {
        display: flex;
        align-items: flex-start;
        gap: 18px;
        text-align: left;
        padding: 0;
    }
    .xp-hiw-circle {
        flex-shrink: 0;
        margin: 0;
    }
    .xp-hiw-icon {
        display: none;
    }

    /* Comparison Table: Stacked representation */
    .xp-fo-thead {
        grid-template-columns: 1fr 24px 1fr;
        padding: 16px 12px;
        gap: 8px;
    }
    .xp-fo-thead-cat {
        display: none;
    }
    .xp-fo-col-pill {
        padding: 10px 14px;
        gap: 8px;
    }
    .xp-fo-col-name {
        font-size: 13.5px;
    }
    .xp-fo-col-hint {
        display: none;
    }
    .xp-fo-col-icon {
        font-size: 22px;
    }

    .xp-fo-row {
        grid-template-columns: 1fr;
    }
    .xp-fo-cat {
        flex-direction: row;
        justify-content: flex-start;
        padding: 14px 18px;
        gap: 8px;
        border-right: none;
        border-bottom: 1px solid var(--border);
        background: #f8fafc;
        text-align: left;
    }
    .xp-fo-cat-name {
        font-size: 12px;
    }
    .xp-fo-divider {
        display: none;
    }
    .xp-fo-bad {
        padding: 16px 18px 10px;
    }
    .xp-fo-good {
        padding: 10px 18px 16px;
        border-left: none;
        border-top: 1px solid var(--border);
    }
    .xp-fo-point {
        font-size: 13px;
    }
    .xp-fo-score {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .xp-fo-score-center {
        display: none;
    }
    .xp-fo-score-bad {
        text-align: center;
        border-right: 1px solid var(--border);
    }
    .xp-fo-score-good {
        text-align: center;
    }
    .xp-cmp-verdict {
        padding: 32px 20px;
        border-radius: 16px;
    }
    .xp-cmp-verdict-text {
        font-size: 15px;
    }

    /* FAQ accordion styling */
    .xp-faq-q {
        font-size: 14px;
        padding: 18px;
    }

    /* Bottom sticky bar fully responsive spacing */
    .xp-sticky {
        padding: 10px 16px;
    }
    .xp-sticky-btn {
        font-size: 14.5px;
        padding: 12px 18px;
        border-radius: 10px;
    }
}

@media (max-width: 500px) {
    .xp-admin-features {
        grid-template-columns: 1fr;
    }
    .xp-admin-features .xp-app-feat {
        border-right: none !important;
    }
}

@media (max-width: 400px) {
    .xp-hero-h1 {
        font-size: 28px !important;
    }
}
