/* ============================================
   BOOSTIFYHUB HOMEPAGE - MODERN REDESIGN
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
    --hp-bg: #050816;
    --hp-bg2: #0a0f2c;
    --hp-card: rgba(15, 23, 60, 0.6);
    --hp-card-border: rgba(99, 102, 241, 0.15);
    --hp-text: #e2e8f0;
    --hp-text-muted: #94a3b8;
    --hp-heading: #ffffff;
    --hp-accent: #6366f1;
    --hp-accent2: #8b5cf6;
    --hp-accent3: #a78bfa;
    --hp-success: #10b981;
    --hp-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    --hp-glow: 0 0 40px rgba(99, 102, 241, 0.15);
}

/* --- Reset for homepage --- */
body.unauthorized {
    background: var(--hp-bg) !important;
}

body.unauthorized .navbar {
    background: rgba(5, 8, 22, 0.85) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hp-card-border) !important;
}

body.unauthorized .navbar .navbar-brand,
body.unauthorized .navbar .nav-link {
    color: var(--hp-text) !important;
}

body.unauthorized .navbar .nav-link:hover {
    color: var(--hp-accent3) !important;
}

body.unauthorized .navbar .btn__fill {
    background: var(--hp-gradient) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 8px 24px !important;
    font-weight: 600 !important;
}

/* --- Hero Section --- */
.hp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.08) 0%, transparent 50%), radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-2%, 2%) rotate(3deg);
    }
}

.hp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .hp-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--hp-accent3);
    font-weight: 500;
    margin-bottom: 24px;
}

.hp-hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hp-success);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hp-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: var(--hp-heading);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hp-hero h1 .gradient-text {
    background: var(--hp-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 767px) {
    .hp-hero h1 {
        font-size: 32px;
    }
}

.hp-hero p {
    font-size: 17px;
    color: var(--hp-text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 540px;
}

.hp-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none !important;
    border: none;
}

.hp-btn-primary {
    background: var(--hp-gradient);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.hp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.hp-btn-outline {
    background: transparent;
    color: var(--hp-text) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hp-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--hp-accent);
}

/* --- Login Card --- */
.hp-login-card {
    background: var(--hp-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--hp-card-border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--hp-glow);
}

.hp-login-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--hp-heading);
    text-align: center;
    margin-bottom: 24px;
}

.hp-login-title i {
    color: var(--hp-accent);
    margin-right: 8px;
}

.hp-input-group {
    margin-bottom: 16px;
}

.hp-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--hp-text-muted);
    margin-bottom: 6px;
}

.hp-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(10, 14, 40, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 10px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.hp-input-wrap:focus-within {
    border-color: var(--hp-accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.hp-input-wrap .icon {
    width: 44px;
    display: flex;
    justify-content: center;
    color: var(--hp-accent3);
    font-size: 16px;
    flex-shrink: 0;
}

.hp-input-wrap input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #fff !important;
    padding: 13px 12px 13px 0;
    font-size: 15px;
    font-family: 'Inter', 'Poppins', sans-serif;
    box-shadow: none !important;
}

.hp-input-wrap input::placeholder {
    color: #64748b;
}

.hp-input-wrap input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px rgba(10, 14, 40, 1) inset !important;
    -webkit-text-fill-color: #fff !important;
}

.hp-input-wrap .pwd-toggle {
    background: none;
    border: none;
    color: var(--hp-text-muted);
    cursor: pointer;
    padding: 0 14px;
    font-size: 16px;
    transition: color 0.2s;
}

.hp-input-wrap .pwd-toggle:hover {
    color: var(--hp-accent3);
}

.hp-login-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0 20px;
    font-size: 13px;
}

.hp-login-meta label {
    color: var(--hp-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.hp-login-meta input[type="checkbox"] {
    accent-color: var(--hp-accent);
}

.hp-login-meta a {
    color: var(--hp-accent3);
    text-decoration: none !important;
    transition: color 0.2s;
}

.hp-login-meta a:hover {
    color: #c4b5fd;
}

.hp-login-btn {
    width: 100%;
    padding: 14px;
    background: var(--hp-gradient);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', 'Poppins', sans-serif;
}

.hp-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.5);
}

/* Google Login Button */
.hp-login-card #login-with-google-btn,
.hp-login-card [id*="google"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    padding: 13px 20px;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    color: #e2e8f0 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: none !important;
}

.hp-login-card #login-with-google-btn:hover,
.hp-login-card [id*="google"]:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-1px);
}

.hp-login-card #login-with-google-btn i,
.hp-login-card [id*="google"] i {
    color: #fff !important;
    font-size: 18px;
}

.hp-login-divider {
    text-align: center;
    margin: 20px 0;
    color: var(--hp-text-muted);
    font-size: 13px;
    position: relative;
}

.hp-login-divider::before,
.hp-login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--hp-card-border);
}

.hp-login-divider::before {
    left: 0;
}

.hp-login-divider::after {
    right: 0;
}

.hp-signup-link {
    text-align: center;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(99, 102, 241, 0.15);
    font-size: 14px;
    color: var(--hp-text-muted);
}

.hp-signup-link a {
    color: var(--hp-accent3);
    font-weight: 600;
    transition: color 0.2s;
}

.hp-signup-link a:hover {
    color: #c4b5fd;
}

/* Override base theme form styles inside login card */
.hp-login-card .form-control {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    box-shadow: none !important;
    height: auto !important;
}

.hp-login-card .form-group {
    margin-bottom: 0;
}

.hp-login-card .alert {
    border: none;
    font-size: 14px;
    border-radius: 10px;
}

/* --- Stats Bar --- */
.hp-stats {
    position: relative;
}

.hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 767px) {
    .hp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hp-stat-card {
    background: var(--hp-card);
    border: 1px solid var(--hp-card-border);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s;
}

.hp-stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--hp-accent);
    box-shadow: var(--hp-glow);
}

.hp-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
}

.hp-stat-icon.purple {
    background: rgba(99, 102, 241, 0.15);
    color: var(--hp-accent);
}

.hp-stat-icon.green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--hp-success);
}

.hp-stat-icon.orange {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.hp-stat-icon.blue {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.hp-stat-value {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--hp-heading);
    margin-bottom: 4px;
}

.hp-stat-label {
    font-size: 13px;
    color: var(--hp-text-muted);
    font-weight: 500;
}

/* --- How It Works --- */
.hp-section {
    padding: 80px 0;
    position: relative;
}

.hp-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.hp-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--hp-accent3);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hp-section-title h2 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--hp-heading);
    margin-bottom: 12px;
}

.hp-section-title p {
    font-size: 16px;
    color: var(--hp-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.hp-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 767px) {
    .hp-steps-grid {
        grid-template-columns: 1fr;
    }
}

.hp-step-card {
    background: var(--hp-card);
    border: 1px solid var(--hp-card-border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.hp-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--hp-accent);
}

.hp-step-num {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--hp-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    margin: 0 auto 16px;
}

.hp-step-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--hp-heading);
    margin-bottom: 10px;
}

.hp-step-card p {
    font-size: 14px;
    color: var(--hp-text-muted);
    line-height: 1.6;
}

/* --- Services Tabs --- */
.hp-services {
    background: var(--hp-bg2);
    padding: 80px 0;
}

.hp-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 32px;
}

.hp-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--hp-card);
    border: 1px solid var(--hp-card-border);
    border-radius: 10px;
    color: var(--hp-text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.hp-tab-btn img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

.hp-tab-btn:hover,
.hp-tab-btn.active {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--hp-accent);
    color: var(--hp-heading);
}

.hp-tab-content {
    display: none;
}

.hp-tab-content.active {
    display: block;
}

.hp-service-panel {
    background: var(--hp-card);
    border: 1px solid var(--hp-card-border);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 767px) {
    .hp-service-panel {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

.hp-service-panel h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--hp-heading);
    margin-bottom: 16px;
}

.hp-service-panel p {
    font-size: 15px;
    color: var(--hp-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.hp-service-panel img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: block;
}

/* --- Why Choose Us --- */
.hp-features {
    padding: 80px 0;
}

.hp-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 991px) {
    .hp-features-grid {
        grid-template-columns: 1fr;
    }
}

.hp-features-left h2 {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--hp-heading);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hp-features-left p {
    font-size: 15px;
    color: var(--hp-text-muted);
    line-height: 1.75;
}

.hp-feature-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 575px) {
    .hp-feature-boxes {
        grid-template-columns: 1fr;
    }
}

.hp-feature-box {
    background: var(--hp-card);
    border: 1px solid var(--hp-card-border);
    border-radius: 14px;
    padding: 24px 20px;
    transition: all 0.3s;
}

.hp-feature-box:hover {
    transform: translateY(-3px);
    border-color: var(--hp-accent);
}

.hp-feature-box img {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
}

.hp-feature-box h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--hp-heading);
    margin-bottom: 6px;
}

.hp-feature-box p {
    font-size: 13px;
    color: var(--hp-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --- FAQ --- */
.hp-faq {
    background: var(--hp-bg2);
    padding: 80px 0;
}

.hp-acc-item {
    background: var(--hp-card);
    border: 1px solid var(--hp-card-border);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.hp-acc-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    color: var(--hp-heading);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.hp-acc-btn:hover {
    color: var(--hp-accent3);
}

.hp-acc-btn .chevron {
    transition: transform 0.3s;
    font-size: 12px;
    color: var(--hp-accent);
}

.hp-acc-item.open .hp-acc-btn .chevron {
    transform: rotate(180deg);
}

.hp-acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.hp-acc-item.open .hp-acc-body {
    max-height: 300px;
}

.hp-acc-body-inner {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--hp-text-muted);
    line-height: 1.7;
}

/* --- Payment Partners --- */
.hp-payments {
    padding: 60px 0;
    text-align: center;
}

.hp-payments .swiper-slide img {
    max-width: 120px;
    height: auto;
    opacity: 0.6;
    filter: grayscale(0.3);
    transition: all 0.3s;
}

.hp-payments .swiper-slide img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.1);
}

/* --- CTA Section --- */
.hp-cta {
    padding: 80px 0;
    text-align: center;
}

.hp-cta-box {
    background: var(--hp-gradient);
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.hp-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.hp-cta-box h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
}

.hp-cta-box p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
    position: relative;
}

.hp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #fff;
    color: var(--hp-accent) !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: all 0.3s;
    position: relative;
}

.hp-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* --- Scroll Animations --- */
.hp-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.hp-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer overrides --- */
body.unauthorized #footer_bottom {
    background: var(--hp-bg2) !important;
    border-top: 1px solid var(--hp-card-border);
}