/* ==========================================================================
   Janhit Vivah - Mobile-First Modern Home Page Stylesheet
   ========================================================================== */

:root {
    --brand-rose: #E11D48;
    --brand-rose-dark: #BE123C;
    --brand-rose-light: #FFF1F2;
    --brand-rose-glow: rgba(225, 29, 72, 0.25);
    --brand-gold: #F59E0B;
    --brand-indigo: #4F46E5;
    --brand-emerald: #10B981;
    --brand-slate-dark: #0F172A;
    --brand-slate-light: #F8FAFC;
    --brand-border: rgba(225, 29, 72, 0.12);
    --brand-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.08);
    --brand-shadow-hover: 0 20px 45px -8px rgba(225, 29, 72, 0.18);
}

/* Base Body & Reset for Home Page */
.home-page-wrap {
    background: linear-gradient(180deg, #FFF8F9 0%, #FFFFFF 15%, #F8FAFC 100%);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #1E293B;
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION (APP-LIKE & MOBILE FIRST)
   -------------------------------------------------------------------------- */
.mobile-hero-section {
    position: relative;
    padding: 1.25rem 0 2.5rem;
    overflow: hidden;
}

.mobile-hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.12) 0%, rgba(225, 29, 72, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: #FFF1F2;
    border: 1px solid rgba(225, 29, 72, 0.2);
    border-radius: 9999px;
    color: var(--brand-rose-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-main-title {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.15;
    color: var(--brand-slate-dark);
    letter-spacing: -0.03em;
}

.hero-highlight-text {
    background: linear-gradient(135deg, var(--brand-rose) 0%, #EA580C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtext {
    font-size: 1.05rem;
    color: #64748B;
    line-height: 1.6;
}

/* Hero Couple Visual Card */
.hero-image-card {
    position: relative;
    border-radius: 1.75rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    aspect-ratio: 4 / 3;
    max-height: 480px;
    width: 100%;
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-card:hover img {
    transform: scale(1.03);
}

.hero-floating-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.85rem 1.15rem;
    border-radius: 1.25rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Quick Search Card (Mobile-First Matchmaker) */
.quick-search-box {
    background: #FFFFFF;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(225, 29, 72, 0.15);
    box-shadow: var(--brand-shadow);
    position: relative;
    z-index: 1;
}

.search-tab-group {
    display: flex;
    background: #F1F5F9;
    padding: 0.35rem;
    border-radius: 9999px;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
}

.search-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.6rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.search-tab-btn.active {
    background: var(--brand-rose);
    color: #FFFFFF;
    box-shadow: 0 4px 12px var(--brand-rose-glow);
}

.search-tab-btn:hover:not(.active) {
    color: var(--brand-rose);
}

.search-input-wrap {
    position: relative;
}

.search-input-wrap .form-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.search-select {
    height: 48px;
    border-radius: 0.85rem;
    border: 1.5px solid #E2E8F0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1E293B;
    background-color: #F8FAFC;
    transition: all 0.2s ease;
}

.search-select:focus {
    border-color: var(--brand-rose);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px var(--brand-rose-glow);
}

.btn-search-glow {
    height: 52px;
    background: linear-gradient(135deg, var(--brand-rose) 0%, var(--brand-rose-dark) 100%);
    border: none;
    border-radius: 9999px;
    font-size: 1.02rem;
    font-weight: 800;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px var(--brand-rose-glow);
    transition: all 0.25s ease;
}

.btn-search-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(225, 29, 72, 0.4);
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   2. HORIZONTAL BROWSE CHIPS (TOUCH SCROLLABLE)
   -------------------------------------------------------------------------- */
.chips-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    gap: 0.65rem;
    padding: 0.5rem 0.25rem 1rem;
    scrollbar-width: none;
}

.chips-scroll-container::-webkit-scrollbar {
    display: none;
}

.browse-chip {
    flex-shrink: 0;
    scroll-snap-align: start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 9999px;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.browse-chip i {
    color: var(--brand-rose);
    font-size: 1rem;
}

/* App Quick Feature Shortcut Tiles */
.app-shortcuts-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .app-shortcuts-wrap {
        grid-template-columns: repeat(3, 1fr);
        max-width: 680px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.25rem;
    }
}

.app-shortcut-tile {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 1.15rem;
    padding: 0.85rem 0.5rem;
    text-align: center;
    text-decoration: none;
    color: #334155;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.app-shortcut-tile:hover, .app-shortcut-tile:active {
    transform: translateY(-3px);
    border-color: rgba(225, 29, 72, 0.3);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.12);
    color: var(--brand-rose);
}

.app-shortcut-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.45rem;
    transition: transform 0.2s ease;
}

.app-shortcut-tile:hover .app-shortcut-icon {
    transform: scale(1.1);
}

.app-shortcut-label {
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

/* Stat Icon Badges */
.stat-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.65rem;
    font-size: 1.35rem;
}

.browse-chip:hover, .browse-chip:active {
    background: var(--brand-rose-light);
    border-color: rgba(225, 29, 72, 0.35);
    color: var(--brand-rose-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.12);
}

/* --------------------------------------------------------------------------
   3. VERIFIED PROFILES SHOWCASE
   -------------------------------------------------------------------------- */
.section-title-wrap {
    margin-bottom: 2rem;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-rose);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.section-heading-text {
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 900;
    color: var(--brand-slate-dark);
    letter-spacing: -0.02em;
}

/* Mobile Profile Card */
.member-match-card {
    background: #FFFFFF;
    border-radius: 1.35rem;
    border: 1px solid #F1F5F9;
    box-shadow: var(--brand-shadow);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.member-match-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--brand-shadow-hover);
    border-color: rgba(225, 29, 72, 0.25);
}

.card-top-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, #FFE4E6 0%, #FECDD3 100%);
}

.card-top-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #FFE4E6 0%, #FFF1F2 100%);
    color: var(--brand-rose);
}

.card-initial-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 8px 20px rgba(225, 29, 72, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 0.4rem;
}

.privacy-badge-overlay {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.badge-verified {
    background: rgba(16, 185, 129, 0.92);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.badge-premium-star {
    background: rgba(245, 158, 11, 0.95);
    backdrop-filter: blur(8px);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.card-details-body {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.match-profile-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-slate-dark);
    margin-bottom: 0.2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.match-profile-id {
    font-size: 0.76rem;
    color: #94A3B8;
    font-weight: 600;
    margin-bottom: 0.65rem;
}

.match-key-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 0.85rem;
    padding: 0.6rem 0;
    border-top: 1px dashed #E2E8F0;
    border-bottom: 1px dashed #E2E8F0;
    font-size: 0.82rem;
    color: #475569;
}

.match-key-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.match-key-row i {
    color: var(--brand-rose);
    font-size: 0.88rem;
    flex-shrink: 0;
}

.btn-card-connect {
    margin-top: auto;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #FFF1F2;
    color: var(--brand-rose);
    border: 1px solid rgba(225, 29, 72, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-card-connect:hover {
    background: var(--brand-rose);
    color: #FFFFFF;
    box-shadow: 0 4px 15px var(--brand-rose-glow);
}

/* --------------------------------------------------------------------------
   4. STATS COUNTER STRIP
   -------------------------------------------------------------------------- */
.stats-strip-wrap {
    background: #FFFFFF;
    border-radius: 1.5rem;
    border: 1px solid #E2E8F0;
    box-shadow: var(--brand-shadow);
    padding: 1.5rem 1rem;
}

.stat-metric-item {
    text-align: center;
    padding: 0.75rem 0.5rem;
    border-right: 1px solid #F1F5F9;
}

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

@media (max-width: 767.98px) {
    .stat-metric-item {
        border-right: none;
        border-bottom: 1px solid #F1F5F9;
    }
    .stat-metric-item:last-child {
        border-bottom: none;
    }
}

.stat-number-display {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--brand-rose);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   5. HOW IT WORKS (APP-STYLE 4 STEPS)
   -------------------------------------------------------------------------- */
.process-card {
    background: #FFFFFF;
    border-radius: 1.25rem;
    padding: 1.5rem 1.25rem;
    border: 1px solid #F1F5F9;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    height: 100%;
    position: relative;
    transition: transform 0.2s ease;
}

.process-card:hover {
    transform: translateY(-4px);
}

.process-step-num {
    width: 44px;
    height: 44px;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--brand-rose) 0%, var(--brand-rose-dark) 100%);
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.15rem;
    box-shadow: 0 6px 18px var(--brand-rose-glow);
}

.process-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-slate-dark);
    margin-bottom: 0.45rem;
}

.process-desc {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.55;
    margin: 0;
}

/* --------------------------------------------------------------------------
   6. TRUST & SAFETY BENTO GRID
   -------------------------------------------------------------------------- */
.bento-card {
    background: #FFFFFF;
    border-radius: 1.5rem;
    padding: 1.75rem;
    border: 1px solid #F1F5F9;
    box-shadow: var(--brand-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--brand-shadow-hover);
    border-color: rgba(225, 29, 72, 0.2);
}

.bento-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.bento-icon-circle.rose {
    background: #FFE4E6;
    color: var(--brand-rose);
}

.bento-icon-circle.emerald {
    background: #D1FAE5;
    color: var(--brand-emerald);
}

.bento-icon-circle.indigo {
    background: #E0E7FF;
    color: var(--brand-indigo);
}

.bento-icon-circle.amber {
    background: #FEF3C7;
    color: var(--brand-gold);
}

.bento-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-slate-dark);
    margin-bottom: 0.5rem;
}

.bento-card p {
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   7. SUCCESS STORIES SECTION
   -------------------------------------------------------------------------- */
.story-card {
    background: #FFFFFF;
    border-radius: 1.5rem;
    border: 1px solid #F1F5F9;
    box-shadow: var(--brand-shadow);
    overflow: hidden;
    height: 100%;
}

.story-card-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.story-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-card-img img {
    transform: scale(1.04);
}

.story-card-body {
    padding: 1.5rem;
}

.story-couple-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-slate-dark);
    margin-bottom: 0.25rem;
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-rose);
    margin-bottom: 0.85rem;
}

.story-quote {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.65;
    font-style: italic;
    margin: 0;
}

/* --------------------------------------------------------------------------
   8. SUBSCRIPTION PLANS
   -------------------------------------------------------------------------- */
.membership-plan-card {
    background: #FFFFFF;
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    border: 1.5px solid #E2E8F0;
    box-shadow: var(--brand-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

.membership-plan-card.popular {
    border-color: var(--brand-rose);
    box-shadow: 0 16px 40px -4px var(--brand-rose-glow);
    background: linear-gradient(180deg, #FFF8F9 0%, #FFFFFF 100%);
    transform: scale(1.02);
}

.popular-badge-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-rose);
    color: #FFFFFF;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 12px var(--brand-rose-glow);
}

.plan-price-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--brand-slate-dark);
    margin: 0.75rem 0 0.25rem;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: #475569;
}

.plan-features-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.plan-features-list li i {
    color: var(--brand-emerald);
    font-size: 1rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   9. FAQS ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion .accordion-item {
    border: 1px solid #E2E8F0;
    border-radius: 1rem !important;
    margin-bottom: 0.85rem;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.faq-accordion .accordion-button {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--brand-slate-dark);
    padding: 1.15rem 1.35rem;
    background: #FFFFFF;
}

.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--brand-rose);
    background: #FFF1F2;
    box-shadow: none;
}

.faq-accordion .accordion-body {
    padding: 1.15rem 1.35rem;
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   10. MOBILE BOTTOM STICKY ACTION BAR
   -------------------------------------------------------------------------- */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(225, 29, 72, 0.15);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
    padding: 0.65rem 1rem;
    z-index: 1040;
    display: flex;
    gap: 0.65rem;
    align-items: center;
}

.mobile-bottom-bar .btn {
    flex: 1;
    min-height: 46px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

/* Extra padding on body on small screens so sticky bottom bar doesn't overlay footer */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px !important;
    }
}
