
:root {
    --hp-pink:   #e8368f;
    --hp-purple: #7c5cfc;
    --hp-dark:   #1a1a2e;
    --hp-grey:   #6b7280;
    --hp-light:  #f8fafc;
    --hp-border: #e5e7eb;
    --hp-radius: 14px;
    --hp-shadow: 0 4px 24px rgba(0,0,0,0.07);
}


.hp-accent { color: var(--hp-pink); }


.hp-section-header { text-align: center; margin-bottom: 52px; }
.hp-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    color: var(--hp-dark);
    margin: 0 0 12px;
    font-weight: 800;
}
.hp-section-header p {
    color: var(--hp-grey);
    font-size: 0.95rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}


.hp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hp-btn:hover { transform: translateY(-2px); }
.hp-btn-pink {
    background: linear-gradient(135deg, var(--hp-pink), var(--hp-purple));
    color: #fff;
    box-shadow: 0 6px 20px rgba(232,54,143,0.35);
}
.hp-btn-pink:hover { box-shadow: 0 10px 28px rgba(232,54,143,0.45); }
.hp-btn-white {
    background: #fff;
    color: var(--hp-pink);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.hp-btn-white:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.18); }


.hero {
    position: relative;
    height: 80vh;
    min-height: 550px;
    overflow: hidden;
    background: #0f1029;
}
.hero-slides,
.hero-slide {
    position: absolute;
    inset: 0;
}
.hero-slide {
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
}


.hero-slide-bg::after {
    display: none;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* subtle dark overlay */
    display: block !important;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding-left: 5%;
    padding-right: 5%;
    animation: heroFadeUp 0.8s ease-out;
    text-align: left;
    width: 100%;
}

/* Eyebrow pill */
.hero-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: 50px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(232,54,143,0.3);
    font-size: 0.82rem;
    font-weight: 700;
    color: #e8368f;
    letter-spacing: 0.4px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}


.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 18px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5), 0 0 60px rgba(0,0,0,0.3);
}
.hero-content h1 em {
    font-style: italic;
    /* Vivid gradient text */
    background: linear-gradient(135deg, #f9a8d4, #e8368f, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Sub-text */
.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 520px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}


.hero-btns {
    display: flex;
    flex-direction: row !important;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    align-items: stretch;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.2px;
    flex: 0 1 auto;
}
.hero-btn:hover { transform: translateY(-2px); }

.hero-btn-primary {
    background: linear-gradient(135deg, #e8368f, #7c5cfc);
    color: #fff;
    box-shadow: 0 6px 22px rgba(232,54,143,0.45);
}
.hero-btn-primary:hover { box-shadow: 0 10px 30px rgba(232,54,143,0.55); }

.hero-btn-ghost {
    background: rgba(255,255,255,0.88);
    color: #1a1a2e;
    border: 1.5px solid rgba(255,255,255,0.6);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.hero-btn-ghost:hover { background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,0.2); }


.hero-trust {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 5px 12px;
    border-radius: 50px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-trust i { color: #fbbf24; font-size: 0.75rem; }


.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8368f;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: background 0.2s, transform 0.2s;
}
.hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-prev { left: 22px; }
.hero-next { right: 22px; }


.hero-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.hero-dot.active {
    background: #e8368f;
    border-color: #e8368f;
    width: 30px;
    border-radius: 5px;
}


.hero-stats-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    z-index: 9;
}
.hero-stats-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
}
.hsb-item {
    flex: 1;
    text-align: center;
    padding: 22px 16px;
}
.hsb-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e8368f, #7c5cfc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}
.hsb-lbl {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}
.hsb-divider {
    width: 1px;
    height: 40px;
    background: #e5e7eb;
    flex-shrink: 0;
}




.hp-qs {
    padding: 32px 0 40px;
    margin-top: 0;
    position: relative;
    z-index: 10;
    background: var(--hp-light);
}

.hp-qs-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hp-qs-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--hp-pink), var(--hp-purple));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 0.9rem;
    flex-shrink: 0;
}

.hp-qs-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hp-dark);
    white-space: nowrap;
    padding-right: 16px;
    border-right: 1px solid var(--hp-border);
}

.hp-qs-form {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    flex-wrap: wrap;
    gap: 0;
}

.hp-qs-group {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
    flex: 1;
    min-width: 120px;
}
.hp-qs-group label {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--hp-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.hp-qs-group select {
    border: none;
    outline: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    color: var(--hp-dark);
    font-weight: 600;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.hp-qs-divider {
    width: 1px;
    height: 36px;
    background: var(--hp-border);
    flex-shrink: 0;
}

.hp-qs-btn {
    margin-left: 16px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--hp-pink), var(--hp-purple));
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 4px 16px rgba(232,54,143,0.3);
}
.hp-qs-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(232,54,143,0.4); }



.hp-members {
    padding: 72px 0 80px;
    background: #fff;
}

.hp-members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hp-member-card {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--hp-border);
    transition: transform 0.25s, box-shadow 0.25s;
}
.hp-member-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(232,54,143,0.15);
}

.hp-member-photo {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #f3f4f6;
}
.hp-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s;
}
.hp-member-card:hover .hp-member-photo img { transform: scale(1.04); }

.hp-member-crown {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg,#d97706,#f59e0b);
    color: #fff;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hp-member-info {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hp-member-info strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hp-dark);
}
.hp-member-info span {
    font-size: 0.75rem;
    color: var(--hp-grey);
    display: flex;
    align-items: center;
    gap: 4px;
}
.hp-member-info i { color: var(--hp-pink); font-size: 0.7rem; }


.hp-why {
    padding: 80px 0;
    background: var(--hp-light);
}

.hp-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hp-why-card {
    background: #fff;
    border-radius: var(--hp-radius);
    padding: 28px 22px;
    text-align: center;
    border: 1px solid var(--hp-border);
    box-shadow: var(--hp-shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}
.hp-why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.hp-why-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
}
.hp-why-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--hp-dark);
    margin: 0 0 10px;
}
.hp-why-card p {
    font-size: 0.83rem;
    color: var(--hp-grey);
    line-height: 1.65;
    margin: 0;
}



.hp-hiw {
    padding: 90px 0 100px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}
/* Subtle decorative blob */
.hp-hiw::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,54,143,0.05) 0%, transparent 70%);
    top: -200px; right: -150px;
    pointer-events: none;
}


.hp-hiw-track {
    display: flex;
    align-items: flex-start;
    gap: 0;
    position: relative;
    justify-content: center;
}

/* Each step */
.hp-hiw-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 16px;
    max-width: 260px;
}

/* The connector line between steps */
.hp-hiw-step + .hp-hiw-step::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(-50% + 32px);
    right: calc(50% + 32px);
    height: 2px;
    background: linear-gradient(90deg, var(--hp-pink), var(--hp-purple));
    opacity: 0.25;
}


.hp-hiw-step + .hp-hiw-step::after {
    content: 'â€º';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.4rem;
    line-height: 1;
    font-weight: 900;
    background: linear-gradient(135deg, var(--hp-pink), var(--hp-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
}


.hp-hiw-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}
.hp-hiw-step:hover .hp-hiw-circle { transform: scale(1.1) translateY(-3px); }

/* Icon box */
.hp-hiw-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
    transition: transform 0.3s;
}
.hp-hiw-step:hover .hp-hiw-icon-box { transform: rotate(-5deg) scale(1.05); }

/* Step card body */
.hp-hiw-body {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--hp-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 24px 20px;
    transition: transform 0.25s, box-shadow 0.25s;
    width: 100%;
}
.hp-hiw-step:hover .hp-hiw-body {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(232,54,143,0.12);
}

.hp-hiw-step-num {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.7;
}
.hp-hiw-body h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--hp-dark);
    margin: 0 0 10px;
    line-height: 1.3;
}
.hp-hiw-body p {
    font-size: 0.82rem;
    color: var(--hp-grey);
    line-height: 1.7;
    margin: 0;
}



.hp-testi {
    padding: 80px 0;
    background: var(--hp-light);
}

.hp-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hp-testi-card {
    background: #fff;
    border-radius: var(--hp-radius);
    padding: 28px 24px;
    border: 1px solid var(--hp-border);
    box-shadow: var(--hp-shadow);
    position: relative;
    transition: transform 0.25s;
}
.hp-testi-card:hover { transform: translateY(-4px); }

.hp-testi-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.hp-testi-text {
    font-size: 0.88rem;
    color: #374151;
    line-height: 1.75;
    margin: 0 0 20px;
    font-style: italic;
}
.hp-testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hp-testi-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}
.hp-testi-author strong {
    display: block;
    font-size: 0.88rem;
    color: var(--hp-dark);
    font-weight: 700;
}
.hp-testi-author span {
    font-size: 0.75rem;
    color: var(--hp-grey);
}

/* Quote decoration */
.hp-testi-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 22px;
    font-size: 4rem;
    color: var(--hp-pink);
    opacity: 0.12;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}



.hp-cta-banner {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--hp-pink) 0%, var(--hp-purple) 100%);
    position: relative;
    overflow: hidden;
}
/* Decorative circles */
.hp-cta-banner::before,
.hp-cta-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.hp-cta-banner::before { width:400px;height:400px;top:-150px;right:-80px; }
.hp-cta-banner::after  { width:260px;height:260px;bottom:-100px;left:-60px; }

.hp-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0 auto;
}
.hp-cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
}
.hp-cta-content p {
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 28px;
}



@media (max-width: 1024px) {
    .hp-members-grid { grid-template-columns: repeat(3, 1fr); }
    .hp-why-grid     { grid-template-columns: repeat(2, 1fr); }
    .hp-hiw-track    { flex-wrap: wrap; }
    .hp-hiw-step     { max-width: 50%; min-width: 220px; }
    /* Hide pseudo-element connectors on wrap */
    .hp-hiw-step + .hp-hiw-step::before,
    .hp-hiw-step + .hp-hiw-step::after { display: none; }

    /* Quick Search Tablet Layout */
    .hp-qs-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 16px;
    }
    .hp-qs-icon { display: none; }
    .hp-qs-title {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--hp-border);
        padding-bottom: 12px;
        width: 100%;
        font-size: 1rem;
    }
    .hp-qs-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 24px;
        width: 100%;
    }
    .hp-qs-group {
        padding: 0;
        min-width: 0;
    }
    .hp-qs-group select {
        padding: 10px;
        background: #f9fafb;
        border: 1px solid var(--hp-border);
        border-radius: 8px;
        width: 100%;
        margin-top: 4px;
    }
    .hp-qs-divider { display: none; }
    .hp-qs-btn {
        grid-column: 1 / -1;
        margin-left: 0;
        justify-content: center;
        padding: 14px;
        font-size: 1rem;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    /* Members */
    .hp-members-grid { grid-template-columns: repeat(2, 1fr); }

    /* Why */
    .hp-why-grid { grid-template-columns: 1fr 1fr; }

    /* HIW steps â€” 2 per row */
    .hp-hiw-track { flex-wrap: wrap; gap: 24px; }
    .hp-hiw-step  { max-width: calc(50% - 12px); min-width: 0; flex: 0 0 calc(50% - 12px); }
    .hp-hiw-step + .hp-hiw-step::before,
    .hp-hiw-step + .hp-hiw-step::after { display: none; }

    /* Testimonials */
    .hp-testi-grid { grid-template-columns: 1fr; }

    /* Stats bar */
    .hero-stats-bar .container { flex-wrap: wrap; }
    .hsb-item     { flex: 1 1 40%; }
    .hsb-divider  { display: none; }

    /* Hide hero arrows */
    .hero-arrow { display: none !important; }
}

@media (max-width: 480px) {
    .hp-members-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hp-why-grid     { grid-template-columns: 1fr; }

    /* HIW â€” 1 per row */
    .hp-hiw-track { flex-direction: column; align-items: center; }
    .hp-hiw-step  { max-width: 100%; width: 100%; flex: none; }

    .hero-btns { flex-direction: row !important; }
    .hero-btn { flex: 1 1 calc(50% - 16px); padding: 12px 14px !important; font-size: 0.85rem !important; }
}

/* --------------------------------------
   LOVE STORIES — Scroll-snap carousel (mobile)
-------------------------------------- */
@media (max-width: 768px) {
    .hp-testi { padding: 60px 0; }
    .hp-testi-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 8px 20px 20px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .hp-testi-grid::-webkit-scrollbar { display: none; }
    .hp-testi-card {
        flex: 0 0 82vw;
        max-width: 320px;
        scroll-snap-align: center;
    }
    .hp-testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
}
.hp-testi-dots { display: none; }
.hp-testi-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #d1d5db; border: none; cursor: pointer;
    transition: all 0.3s; padding: 0;
}
.hp-testi-dot.active { background: #e8368f; width: 22px; border-radius: 4px; }

/* Nav menu auth buttons - handled by style.css responsive rules */

