/* ============================================================
   MY DEAR HONEY — ABOUT (HOW IT WORKS) PAGE STYLES
   Loaded only on about.blade.php
   All rules scoped under .how-it-works-page on <body>
   ============================================================ */

.how-it-works-page {
    --rose: #C94F7C;
    --rose-mid: #E8547A;
    --rose-light: #E88C8C;
    --blush: #F6C1C1;
    --blush-pale: #FFF5F5;
    --cream: #FDF8F8;
    --dark: #2D1B2E;
    --text: #4A3040;
    --muted: #8A6878;
    --grad-primary: linear-gradient(135deg, #C94F7C 0%, #E8547A 60%, #E88C8C 100%);
    --shadow-sm: 0 4px 16px rgba(201,79,124,0.10);
    --shadow-md: 0 8px 32px rgba(201,79,124,0.14);
    --shadow-lg: 0 16px 56px rgba(201,79,124,0.20);
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
}

/* Stability: disable WOW/animate.css entrance animations on this page */
.how-it-works-page .wow,
.how-it-works-page .animated,
.how-it-works-page [class*="bounceIn"],
.how-it-works-page [class*="fadeIn"],
.how-it-works-page [class*="zoomIn"],
.how-it-works-page [class*="slideIn"] {
    visibility: visible !important;
    opacity: 1 !important;
    animation-name: none !important;
    animation-duration: 0s !important;
    transform: none !important;
}

/* ─── HERO ─── */
.hiw-hero {
    position: relative;
    padding: 170px 0 110px;
    background: linear-gradient(135deg, #FDF0F6 0%, #FFF0F3 50%, #FCE8E8 100%);
    overflow: hidden;
    text-align: center;
}
.hiw-hero::before {
    content: '';
    position: absolute;
    top: -140px; right: -140px;
    width: 480px; height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,140,140,0.20) 0%, transparent 65%);
    pointer-events: none;
}
.hiw-hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -100px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246,193,193,0.25) 0%, transparent 65%);
    pointer-events: none;
}
.hiw-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid rgba(201,79,124,0.25);
    color: var(--rose);
    border-radius: 50px;
    padding: 7px 22px;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
}
.hiw-hero h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(2.4rem, 5vw, 4rem) !important;
    color: var(--dark) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin-bottom: 1rem !important;
    position: relative;
    z-index: 1;
}
.hiw-hero h1 em {
    font-style: italic !important;
    color: var(--rose) !important;
}
.hiw-hero-sub {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 660px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hiw-breadcrumb {
    display: inline-flex;
    gap: 10px;
    margin-top: 1.6rem;
    font-size: 0.88rem;
    color: var(--muted);
    position: relative;
    z-index: 1;
}
.hiw-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.hiw-breadcrumb a:hover { color: var(--rose); }
.hiw-breadcrumb .sep { color: var(--blush); }
.hiw-breadcrumb .active { color: var(--rose); font-weight: 500; }

/* ─── INTRO BENEFITS STRIP ─── */
.hiw-intro {
    padding: 70px 0;
    background: #fff;
    border-bottom: 1px solid rgba(201,79,124,0.06);
}
.hiw-intro-item {
    text-align: center;
    padding: 20px 12px;
}
.hiw-intro-item i {
    width: 64px; height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(201,79,124,0.10), rgba(246,193,193,0.22));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--rose);
    font-size: 1.5rem;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}
.hiw-intro-item:hover i {
    background: var(--grad-primary);
    color: #fff;
    transform: translateY(-4px);
}
.hiw-intro-item h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 4px;
}
.hiw-intro-item p {
    color: var(--muted);
    font-size: 0.82rem;
    margin: 0;
}

/* ─── SECTION HEADING (shared within page) ─── */
.hiw-section-heading { text-align: center; margin-bottom: 60px; }
.hiw-section-heading .tag {
    display: inline-block;
    background: rgba(255,255,255,0.95);
    color: var(--rose);
    border: 1px solid rgba(201,79,124,0.22);
    border-radius: 50px;
    padding: 5px 20px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hiw-section-heading h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 12px;
}
.hiw-section-heading h2 em {
    font-style: italic;
    color: var(--rose);
}
.hiw-section-heading > p {
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.85;
    font-size: 0.95rem;
}

/* ─── STEP CARDS (4 step grid) ─── */
.hiw-steps {
    padding: 110px 0 90px;
    background: linear-gradient(180deg, #FFF8F8 0%, #FDF0F6 100%);
    position: relative;
}
.hiw-step-card {
    background: #fff;
    border-radius: 24px;
    padding: 44px 26px 30px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(201,79,124,0.06);
    border: 1px solid rgba(201,79,124,0.08);
    transition: all 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
    height: 100%;
    position: relative;
}
.hiw-step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(201,79,124,0.18);
    border-color: rgba(201,79,124,0.18);
}
.hiw-step-num {
    position: absolute;
    top: -22px; left: 50%;
    transform: translateX(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(201,79,124,0.40);
}
.hiw-step-icon {
    width: 84px; height: 84px;
    margin: 16px auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201,79,124,0.08), rgba(246,193,193,0.22));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rose);
    font-size: 2rem;
    transition: all 0.35s ease;
}
.hiw-step-card:hover .hiw-step-icon {
    background: var(--grad-primary);
    color: #fff;
    transform: scale(1.06) rotate(-6deg);
}
.hiw-step-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--dark);
    margin-bottom: 10px;
}
.hiw-step-card p {
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.8;
    margin: 0;
}
@media (min-width: 992px) {
    .hiw-step-card::before {
        content: '';
        position: absolute;
        top: 42%; right: -22px;
        width: 44px; height: 2px;
        background: linear-gradient(to right, rgba(201,79,124,0.30), transparent);
        z-index: 0;
    }
    .hiw-step-card.last::before { display: none; }
}

/* ─── DETAILED TIMELINE ─── */
.hiw-timeline { padding: 110px 0; background: #fff; }
.hiw-tl-item {
    display: flex;
    align-items: center;
    gap: 64px;
    margin-bottom: 100px;
}
.hiw-tl-item:last-child { margin-bottom: 0; }
.hiw-tl-item.reverse { flex-direction: row-reverse; }

.hiw-tl-img {
    flex: 1;
    position: relative;
    padding: 16px;
    background: linear-gradient(135deg, rgba(246,193,193,0.30) 0%, rgba(201,79,124,0.10) 100%);
    border-radius: 32px;
    box-shadow: 0 10px 40px rgba(201,79,124,0.12);
}
.hiw-tl-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    box-shadow: 0 16px 48px rgba(201,79,124,0.18);
    position: relative;
    z-index: 1;
}
.hiw-tl-img .floating-badge {
    position: absolute;
    bottom: 34px;
    right: -18px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 12px 36px rgba(201,79,124,0.22);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    min-width: 200px;
}
.hiw-tl-item.reverse .hiw-tl-img .floating-badge { right: auto; left: -18px; }
.hiw-tl-img .floating-badge .b-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.hiw-tl-img .floating-badge .b-text {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.4;
}
.hiw-tl-img .floating-badge .b-text strong {
    display: block;
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.hiw-tl-text { flex: 1; }
.hiw-tl-num {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201,79,124,0.08);
    color: var(--rose);
    border-radius: 50px;
    padding: 6px 18px 6px 6px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hiw-tl-num .n {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.85rem;
}
.hiw-tl-text h3 {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem) !important;
    color: var(--dark) !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
}
.hiw-tl-text h3 em {
    font-style: italic !important;
    color: var(--rose) !important;
}
.hiw-tl-text > p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 18px;
}
.hiw-tl-points { list-style: none; padding: 0; margin: 0; }
.hiw-tl-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 10px;
}
.hiw-tl-points li i {
    color: var(--rose);
    flex-shrink: 0;
    margin-top: 4px;
    font-size: 0.85rem;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(201,79,124,0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ─── FEATURES / WHY CHOOSE ─── */
.hiw-features {
    padding: 110px 0;
    background: linear-gradient(160deg, #FFF8F8 0%, #FDF0F6 100%);
}
.hiw-feature {
    background: #fff;
    border-radius: 20px;
    padding: 40px 28px 32px;
    text-align: center;
    border: 1px solid rgba(201,79,124,0.08);
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    height: 100%;
}
.hiw-feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201,79,124,0.18);
}
.hiw-feature .icon-wrap {
    width: 70px; height: 70px;
    margin: 0 auto 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #FFF5F5, #FDE8EE);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s;
}
.hiw-feature:hover .icon-wrap {
    background: var(--grad-primary);
    transform: rotate(-6deg) scale(1.08);
}
.hiw-feature .icon-wrap i {
    font-size: 1.8rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.35s;
}
.hiw-feature:hover .icon-wrap i {
    color: #fff;
    -webkit-text-fill-color: #fff;
}
.hiw-feature h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 10px;
}
.hiw-feature p {
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.8;
    margin: 0;
}

/* ─── FAQ ─── */
.hiw-faq { padding: 110px 0; background: #fff; }
.hiw-accordion { max-width: 860px; margin: 0 auto; }
.hiw-accordion .accordion-item {
    background: #fff !important;
    border: 1px solid rgba(201,79,124,0.10) !important;
    border-radius: 18px !important;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(201,79,124,0.05);
}
.hiw-accordion .accordion-button {
    background: #fff !important;
    color: var(--dark) !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    padding: 20px 24px !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 18px !important;
}
.hiw-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, rgba(201,79,124,0.06), rgba(246,193,193,0.12)) !important;
    color: var(--rose) !important;
    border-radius: 18px 18px 0 0 !important;
}
.hiw-accordion .accordion-button:focus { box-shadow: 0 0 0 3px rgba(201,79,124,0.10) !important; }
.hiw-accordion .accordion-button::after {
    filter: brightness(0) saturate(100%) invert(37%) sepia(34%) saturate(1800%) hue-rotate(295deg) brightness(85%) contrast(88%);
}
.hiw-accordion .accordion-body {
    padding: 10px 24px 24px !important;
    color: var(--muted) !important;
    font-size: 0.92rem !important;
    line-height: 1.85 !important;
}

/* ─── CTA ─── */
.hiw-cta { padding: 110px 0; background: #fff; }
.hiw-cta-inner {
    background: linear-gradient(135deg, #C94F7C 0%, #8B2252 60%, #6B1A42 100%);
    border-radius: 32px;
    padding: 88px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(201,79,124,0.30);
}
.hiw-cta-inner::before,
.hiw-cta-inner::after {
    content: '♥';
    position: absolute;
    font-size: 220px;
    opacity: 0.06;
    color: #fff;
    pointer-events: none;
    line-height: 1;
    font-family: serif;
}
.hiw-cta-inner::before { top: -30px; left: 3%; }
.hiw-cta-inner::after { bottom: -40px; right: 4%; }
.hiw-cta-inner h2 {
    font-family: 'Playfair Display', serif !important;
    color: #fff !important;
    font-size: clamp(2rem, 3.4vw, 2.9rem) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    position: relative;
    z-index: 1;
}
.hiw-cta-inner p {
    color: rgba(255,255,255,0.88);
    max-width: 580px;
    margin: 0 auto 2rem;
    line-height: 1.85;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}
.hiw-cta-btns {
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.hiw-cta-btn {
    background: #fff;
    color: var(--rose);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.35s cubic-bezier(0.34,1.2,0.64,1);
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}
.hiw-cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(0,0,0,0.32);
    color: var(--rose);
}
.hiw-cta-btn.ghost {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.45);
    backdrop-filter: blur(8px);
    box-shadow: none;
}
.hiw-cta-btn.ghost:hover { background: rgba(255,255,255,0.20); color: #fff; border-color: #fff; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1199px) {
    .hiw-tl-img .floating-badge { bottom: 24px; }
}
@media (max-width: 992px) {
    .hiw-tl-item,
    .hiw-tl-item.reverse {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 80px;
    }
    .hiw-tl-img .floating-badge { right: 20px; left: auto; bottom: 20px; }
}
@media (max-width: 768px) {
    .hiw-hero { padding: 120px 0 60px; }
    .hiw-intro { padding: 50px 0; }
    .hiw-steps,
    .hiw-timeline,
    .hiw-features,
    .hiw-faq,
    .hiw-cta { padding: 70px 0; }
    .hiw-cta-inner { padding: 60px 24px; border-radius: 24px; }
    .hiw-tl-img .floating-badge { display: none; }
    .hiw-tl-img { padding: 10px; border-radius: 24px; }
}
@media (max-width: 576px) {
    .hiw-hero { padding: 100px 0 50px; }
    .hiw-section-heading { margin-bottom: 40px; }
    .hiw-step-card { padding: 38px 20px 26px; }
}
