/**
 * CloudTechGH — Homepage (premium SaaS landing)
 * Location: /assets/css/homepage.css
 * Scoped to .home-page body class
 */

.home-page {
    --bg-light: var(--bg);
    --radius-md: 12px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --shadow-soft: var(--shadow-card);
    --shadow-hover: var(--shadow-md);
    --gradient-hero: var(--hero-wash, linear-gradient(145deg, #2E0F35 0%, #5A1A68 48%, #E46CFF 100%));
    --gradient-cta: linear-gradient(180deg, var(--dark) 0%, var(--primary-dark) 100%);
    --gradient-btn: var(--primary);
    /* Consistent spacing/type scale across every homepage section */
    --hp-section-y: 88px;
    --hp-section-y-mobile: 56px;
    --hp-h1: 56px;
    --hp-h1-mobile: 34px;
    --hp-h2: 38px;
    --hp-h2-mobile: 26px;
    scroll-behavior: smooth;
    background: var(--bg);
    overflow-x: hidden;
}

.home-page .main-content {
    padding-top: 72px;
}

/* ===========================
   Glass navbar (homepage only)
   =========================== */
.home-page .main-navbar--home {
    background: rgba(46, 15, 53, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    padding: 0.6rem 0;
}

.home-page .main-navbar--home.is-scrolled {
    background: rgba(46, 15, 53, 0.97);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.25);
}

.home-page .main-navbar--home .navbar-brand,
.home-page .main-navbar--home .brand-text {
    color: #fff !important;
}

.home-page .main-navbar--home .nav-link {
    color: rgba(255, 255, 255, 0.78) !important;
    font-weight: 500;
    font-size: 0.925rem;
    transition: color 0.2s ease;
}

.home-page .main-navbar--home .nav-link:hover {
    color: #fff !important;
    opacity: 1;
}

.home-page .main-navbar--home .text-accent {
    color: #F0A3FF !important;
}

.home-page .main-navbar--home .navbar-toggler .navbar-toggler-icon {
    filter: invert(1);
}

.home-page .main-navbar--home .navbar-collapse {
    background: rgba(46, 15, 53, 0.97);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
}

@media (min-width: 992px) {
    .home-page .main-navbar--home .navbar-collapse {
        background: transparent;
        padding: 0;
        margin-top: 0;
    }
}

.home-page .main-navbar--home .btn-accent-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.home-page .main-navbar--home .btn-accent-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.home-page .btn-get-started {
    background: var(--primary) !important;
    border: none !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s ease;
    box-shadow: none;
}

.home-page .btn-get-started:hover {
    background: var(--primary-dark) !important;
    transform: none;
    box-shadow: none;
    color: #fff !important;
}

/* ===========================
   Shared section styles
   =========================== */
.hp-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.hp-section-title {
    font-size: clamp(var(--hp-h2-mobile), 4vw, var(--hp-h2));
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.hp-section-subtitle {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.65;
}

.hp-section-subtitle--left {
    text-align: left;
    margin-bottom: 1.5rem;
}

/* Reveal animation */
.home-page .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-page .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.home-page .reveal-delay-1 { transition-delay: 0.1s; }
.home-page .reveal-delay-2 { transition-delay: 0.2s; }
.home-page .reveal-delay-3 { transition-delay: 0.3s; }

/* ===========================
   Hero
   =========================== */
.hp-hero {
    position: relative;
    padding: 3rem 0 4rem;
    background: var(--gradient-hero);
    color: #fff;
    overflow: hidden;
}

.hp-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: hp-glow-drift 12s ease-in-out infinite alternate;
}

.hp-hero__glow--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: rgba(228, 108, 255, 0.35);
}

.hp-hero__glow--2 {
    width: 320px;
    height: 320px;
    bottom: -60px;
    left: -60px;
    background: rgba(59, 130, 246, 0.3);
    animation-delay: -4s;
}

@keyframes hp-glow-drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(20px, -16px) scale(1.08); }
}

.hp-hero__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    margin-bottom: 1.25rem;
}

.hp-hero__title {
    font-size: clamp(var(--hp-h1-mobile), 6vw, var(--hp-h1));
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hp-trust-list--compact {
    grid-template-columns: repeat(3, auto);
    gap: 0.5rem 1.5rem;
}

.hp-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 520px;
    margin-bottom: 1.25rem;
}

.hp-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem 1rem;
}

.hp-trust-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
}

.hp-trust-list i {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* Dashboard mockup */
.hp-mockup {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.hp-mockup__window {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hp-mockup__bar {
    display: flex;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.hp-mockup__bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.hp-mockup__bar span:first-child { background: #f87171; }
.hp-mockup__bar span:nth-child(2) { background: #fbbf24; }
.hp-mockup__bar span:nth-child(3) { background: #F0A3FF; }

.hp-mockup__body {
    display: flex;
    min-height: 260px;
}

.hp-mockup__sidebar {
    width: 56px;
    padding: 12px 8px;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-mockup__nav-item {
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.hp-mockup__nav-item--active {
    background: var(--primary);
}

.hp-mockup__main {
    flex: 1;
    padding: 16px;
    background: var(--bg-light);
}

.hp-mockup__stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.hp-mockup__stat {
    height: 48px;
    border-radius: 10px;
    opacity: 0.9;
}

.hp-mockup__stat--blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.hp-mockup__stat--green { background: linear-gradient(135deg, #F0A3FF, #E46CFF); }
.hp-mockup__stat--violet { background: linear-gradient(135deg, #a78bfa, #7c3aed); }

.hp-mockup__chart {
    height: 72px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.15) 0%, transparent 100%);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    position: relative;
}

.hp-mockup__chart::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40'%3E%3Cpath d='M0 35 L30 28 L60 32 L90 18 L120 22 L150 10 L200 15' fill='none' stroke='%232563EB' stroke-width='2'/%3E%3C/svg%3E") no-repeat center;
    background-size: 100% 100%;
}

.hp-mockup__table {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hp-mockup__row {
    height: 28px;
    border-radius: 6px;
    background: var(--card);
    border: 1px solid var(--border);
}

.hp-mockup__float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--card);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.85rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    animation: hp-float 4s ease-in-out infinite;
}

.hp-mockup__float i {
    color: var(--secondary);
}

.hp-mockup__float--wallet {
    top: 12%;
    left: -8%;
    animation-delay: 0s;
}

.hp-mockup__float--order {
    bottom: 18%;
    right: -6%;
    animation-delay: -2s;
}

@keyframes hp-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ===========================
   Stats
   =========================== */
.hp-stats {
    padding: 0 0 4rem;
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

.hp-stat-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.hp-stat-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.15rem;
    color: #fff;
}

.hp-stat-card__icon--blue { background: linear-gradient(135deg, #3b82f6, var(--primary)); }
.hp-stat-card__icon--green { background: linear-gradient(135deg, #F0A3FF, var(--secondary)); }
.hp-stat-card__icon--violet { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.hp-stat-card__icon--amber { background: linear-gradient(135deg, #fbbf24, #f59e0b); }

.hp-stat-card__value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.hp-stat-card__label {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.4;
}

/* ===========================
   Networks
   =========================== */
.hp-networks {
    padding: var(--hp-section-y) 0;
}

.hp-network-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hp-network-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 99, 235, 0.35);
}

.hp-network-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.hp-network-card__logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}

.hp-network-card__logo.mtn { background: #ffcc00; color: #000; }
.hp-network-card__logo.telecel { background: #e60000; }
.hp-network-card__logo.airteltigo { background: #0066cc; }

.hp-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
}

.hp-badge--instant {
    background: rgba(228, 108, 255, 0.12);
    color: #B83FD4;
}

.hp-network-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.hp-network-card p {
    color: var(--muted);
    font-size: 0.925rem;
    margin: 0;
    flex: 1;
}

/* ===========================
   Features (Why Choose Us)
   =========================== */
.hp-features {
    padding: var(--hp-section-y) 0;
    background: var(--card);
}

.hp-feature-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    height: 100%;
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.hp-feature-card:hover {
    transform: translateY(-6px);
    background: var(--card);
    border-color: var(--border);
    box-shadow: var(--shadow-soft);
}

.hp-feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.hp-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.hp-feature-card p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
}

/* ===========================
   Platform Preview
   =========================== */
.hp-preview {
    padding: 5rem 0;
    background: var(--bg-light);
}

.hp-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.hp-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--dark);
    font-size: 0.975rem;
}

.hp-checklist i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(228, 108, 255, 0.12);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.hp-preview__screen {
    background: var(--card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
}

.hp-preview__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--dark);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.hp-preview__dots {
    display: flex;
    gap: 5px;
}

.hp-preview__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.hp-preview__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 1.25rem;
    min-height: 280px;
}

.hp-preview__tile {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(228, 108, 255, 0.06));
    border-radius: 12px;
    border: 1px solid var(--border);
    min-height: 80px;
}

.hp-preview__tile--wide {
    grid-column: span 2;
    min-height: 100px;
}

.hp-preview__tile--tall {
    grid-row: span 2;
    min-height: 172px;
}

/* ===========================
   How It Works
   =========================== */
.hp-steps {
    padding: var(--hp-section-y) 0;
    background: var(--card);
}

.hp-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 2.5rem;
    max-width: 340px;
    background: var(--bg-light);
    border-radius: 999px;
    padding: 0.3rem;
}

.hp-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.hp-tab.is-active {
    background: var(--card);
    color: var(--dark);
    box-shadow: var(--shadow-soft);
}

.hp-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    position: relative;
}

.hp-timeline::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    opacity: 0.25;
    z-index: 0;
}

.hp-step-card {
    position: relative;
    z-index: 1;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hp-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.hp-step-card__num {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-btn);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-step-card__icon {
    width: 52px;
    height: 52px;
    margin: 0.75rem auto 1rem;
    border-radius: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
}

.hp-step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.hp-step-card p {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
}

/* ===========================
   CTA
   =========================== */
.hp-cta {
    position: relative;
    padding: var(--hp-section-y) 0;
    background: var(--gradient-cta);
    color: #fff;
    overflow: hidden;
}

.hp-cta__signin {
    margin: 1.25rem 0 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.hp-cta__signin a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.hp-cta__shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    animation: hp-cta-float 8s ease-in-out infinite;
}

.hp-cta__shape--1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -60px;
}

.hp-cta__shape--2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation-delay: -3s;
}

@keyframes hp-cta-float {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(12px, -16px); }
}

.hp-cta__inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.hp-cta__inner h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.hp-cta__inner p {
    font-size: 1.05rem;
    opacity: 0.92;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.hp-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.btn-hp-cta-light {
    background: var(--card);
    color: var(--primary);
    font-weight: 700;
    border: none;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hp-cta-light:hover {
    background: var(--card);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-hp-cta-ghost {
    background: transparent;
    color: #fff;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-hp-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-2px);
}

/* ===========================
   Footer enhancements (homepage)
   =========================== */
.site-footer--home {
    background: var(--dark);
    padding: 4rem 0 2rem;
}

.site-footer--home .footer-social {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.site-footer--home .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.site-footer--home .footer-social a:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
}

.site-footer--home .footer-text a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer--home .footer-text a:hover {
    color: var(--secondary);
}

.site-footer--home .footer-legal {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.site-footer--home .footer-legal a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.site-footer--home .footer-legal a:hover {
    color: var(--secondary);
}

.site-footer--home .footer-copy {
    text-align: left;
    opacity: 0.55;
    font-size: 0.85rem;
}

/* ===========================
   Hero purchase mockup
   =========================== */
.hp-purchase-mock {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.hp-purchase-mock__card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-xl);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.hp-purchase-mock__header {
    padding: 1rem 1.25rem;
    background: var(--dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.hp-purchase-mock__header i {
    margin-right: 0.4rem;
    color: #F0A3FF;
}

.hp-purchase-mock__body {
    padding: 1.25rem;
}

.hp-purchase-mock__body label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    margin: 0.9rem 0 0.4rem;
}

.hp-purchase-mock__body label:first-child {
    margin-top: 0;
}

.hp-purchase-mock__pills {
    display: flex;
    gap: 0.4rem;
}

.hp-purchase-mock__pill {
    flex: 1;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.5rem;
    border-radius: 8px;
    background: var(--bg-light);
    border: 1.5px solid var(--border);
    color: var(--muted);
}

.hp-purchase-mock__pill--active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.hp-purchase-mock__field {
    background: var(--bg-light);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
    color: var(--dark);
}

.hp-purchase-mock__btn {
    margin-top: 1.1rem;
    text-align: center;
    background: var(--gradient-btn);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.7rem;
    border-radius: 10px;
}

/* ===========================
   Compact stats strip
   =========================== */
.hp-stats {
    padding: 0;
    margin-top: -1.75rem;
    position: relative;
    z-index: 2;
}

.hp-stats-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1rem 1.5rem;
}

.hp-stats-strip__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--muted);
    padding: 0.4rem 1.25rem;
    border-right: 1px solid var(--border);
}

.hp-stats-strip__item:last-child {
    border-right: none;
}

.hp-stats-strip__item i {
    color: var(--primary);
    font-size: 1rem;
}

.hp-stats-strip__item strong {
    color: var(--dark);
    font-weight: 800;
}

/* Network status badges */
.hp-badge--instant   { background: rgba(228, 108, 255, 0.12); color: #B83FD4; }
.hp-badge--processing{ background: rgba(251, 191, 36, 0.15);  color: #b45309; }
.hp-badge--delayed   { background: rgba(251, 146, 60, 0.15);  color: #c2410c; }
.hp-badge--unavailable{ background: rgba(239, 68, 68, 0.12);  color: #dc2626; }
.hp-badge--available  { background: rgba(34, 197, 94, 0.12);  color: #16a34a; }

.hp-network-card__cta {
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}

.hp-network-card__cta:hover {
    text-decoration: underline;
}

/* ===========================
   Buy Data (guest checkout, embedded)
   =========================== */
.hp-buy-data {
    padding: var(--hp-section-y) 0;
    background: var(--bg-light);
}

.hp-buy-card {
    max-width: 640px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-hover);
    padding: 2rem;
}

.hp-buy-step {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.hp-buy-step--summary {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.hp-buy-step__num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-btn);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-buy-step__body {
    flex: 1;
    min-width: 0;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
    .hp-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-timeline::before {
        display: none;
    }

    .hp-mockup__float--wallet {
        left: 0;
    }

    .hp-mockup__float--order {
        right: 0;
    }
}

@media (max-width: 768px) {
    .home-page .main-content {
        padding-top: 68px;
    }

    .hp-hero {
        padding: 2.5rem 0 3.5rem;
        text-align: center;
    }

    .hp-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hp-trust-list {
        max-width: 320px;
        margin: 0 auto;
        text-align: left;
    }

    .hp-mockup {
        margin-top: 1.5rem;
        max-width: 340px;
    }

    .hp-mockup__float {
        display: none;
    }

    /* Purely decorative on mobile — the real "Buy Data in Seconds" section
       below already does this job, so it's redundant clutter under the CTA. */
    .hp-purchase-mock {
        display: none;
    }

    .hp-stats {
        margin-top: -1.25rem;
    }

    .hp-stats-strip {
        padding: 0.85rem 1rem;
    }

    .hp-stats-strip__item {
        padding: 0.35rem 0.75rem;
        font-size: 0.8rem;
    }

    .hp-section-head {
        margin-bottom: 2rem;
    }

    .hp-networks,
    .hp-features,
    .hp-preview,
    .hp-steps,
    .hp-buy-data {
        padding: var(--hp-section-y-mobile) 0;
    }

    .hp-cta {
        padding: var(--hp-section-y-mobile) 0;
    }

    .hp-buy-card {
        padding: 1.25rem;
    }

    .hp-buy-step {
        gap: 0.75rem;
        padding-bottom: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .site-footer--home .footer-legal {
        justify-content: flex-start;
        margin-top: 0.75rem;
    }

    .site-footer--home .footer-copy {
        text-align: center;
    }
}

@media (max-width: 575px) {
    .hp-cta__actions .btn {
        width: 100%;
    }

    .hp-timeline {
        grid-template-columns: 1fr;
    }

    .hp-trust-list,
    .hp-trust-list--compact {
        grid-template-columns: 1fr;
    }

    .hp-stat-card {
        padding: 1.25rem 1rem;
    }

    .hp-stat-card__value {
        font-size: 1.5rem;
    }

    .hp-stats-strip {
        justify-content: space-between;
    }

    .hp-stats-strip__item {
        flex: 1 1 40%;
        border-right: none;
        justify-content: center;
    }

    .hp-tabs {
        max-width: 100%;
    }

    .hp-buy-card {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hp-hero__glow,
    .hp-mockup__float,
    .hp-cta__shape {
        animation: none;
    }
}
