/* ================================================================
   homedirect.css — Home Direct | D2C Home & Lifestyle Marketplace
   Colour: #085394 blue + white | Font-weight: 400–600 (not bold)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --blue: #085394;
    --blue-dark: #063e72;
    --blue-deeper: #042d54;
    --blue-light: #e8f0fb;
    --blue-mid: #ccddf5;
    --blue-soft: #7aaee0;

    --ink: #0d1b2a;
    --ink-2: #1a2e42;
    --body: #4a6070;
    --muted: #8fa8bc;
    --border: #dde8f2;
    --white: #ffffff;
    --page-bg: #f5f8fc;

    --font-head: 'Manrope', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 2px 16px rgba(8, 83, 148, 0.07);
    --shadow-md: 0 8px 32px rgba(8, 83, 148, 0.11);
    --tr: 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ── */
.hd-page *,
.hd-page *::before,
.hd-page *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hd-page {
    font-family: var(--font-body);
    color: var(--body);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── SHARED ── */
.hd-wrap {
    max-width: 98%;
    margin: 0 auto;
    padding: 0 48px;
}

.hd-eyebrow {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}

.hd-section-title {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 200;
    line-height: 1.28;
    color: var(--ink);
    letter-spacing: -0.2px;
    margin-bottom: 10px;
    white-space: nowrap;
}

.hd-section-sub {
    font-size: 0.88rem;
    color: var(--body);
    max-width: 680px;
    line-height: 1.72;
    font-weight: 400;
}

/* ── HERO ── */
.hd-hero {
    background: linear-gradient(160deg, #e8f0fb 0%, #f5f8fc 55%, #ffffff 100%);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}

.hd-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(8, 83, 148, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hd-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: stretch;
}

.hd-hero-left {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hd-hero-right {
    position: relative;
    display: flex;
    align-items: stretch;
}

.hd-hero-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 700;
    line-height: 1.22;
    color: var(--ink);
    letter-spacing: -0.3px;
    margin-bottom: 16px;
}

.hd-hero-title span {
    color: var(--blue);
}

.hd-hero-desc {
    font-size: 0.93rem;
    color: var(--body);
    line-height: 1.72;
    margin-bottom: 24px;
    max-width: 480px;
    font-weight: 400;
}

.hd-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hd-btn-primary {
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 13px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background var(--tr), transform 0.15s;
    text-decoration: none;
    display: inline-block;
}

.hd-btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.hd-btn-ghost {
    background: transparent;
    color: var(--ink-2);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: border-color var(--tr), background var(--tr);
    text-decoration: none;
    display: inline-block;
}

.hd-btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

/* ── Hero Mockup ── */
.hd-hero-mockup {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.hd-mockup-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(8, 83, 148, 0.13);
    overflow: hidden;
    border: 1px solid rgba(8, 83, 148, 0.10);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hd-mockup-bar {
    background: var(--ink-2);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.hd-mockup-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.hd-mockup-body {
    padding: 22px;
    background: linear-gradient(135deg, #f5f8fc 0%, #e8f0fb 100%);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hd-mockup-header {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.03em;
}

/* Product grid in mockup */
.hd-mockup-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    flex: 1;
}

.hd-mock-product {
    background: var(--white);
    border-radius: 10px;
    padding: 10px 8px;
    border: 1px solid var(--border);
    text-align: center;
}

.hd-mock-img {
    width: 100%;
    height: 54px;
    border-radius: 7px;
    margin-bottom: 6px;
}

.hd-mock-img--1 {
    background: linear-gradient(135deg, #ccddf5, #7aaee0);
}

.hd-mock-img--2 {
    background: linear-gradient(135deg, #e8f0fb, #ccddf5);
}

.hd-mock-img--3 {
    background: linear-gradient(135deg, #7aaee0, rgba(8, 83, 148, 0.15));
}

.hd-mock-img--4 {
    background: linear-gradient(135deg, rgba(8, 83, 148, 0.12), #e8f0fb);
}

.hd-mock-name {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}

.hd-mock-price {
    font-size: 0.6rem;
    color: var(--blue);
    font-weight: 600;
}

/* Stats row in mockup */
.hd-mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    flex-shrink: 0;
}

.hd-mock-stat {
    background: var(--white);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    border: 1px solid var(--border);
}

.hd-mock-stat-val {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
}

.hd-mock-stat-label {
    font-size: 0.6rem;
    color: var(--muted);
    margin-top: 3px;
}

/* Floating badges */
.hd-float-badge {
    position: absolute;
    background: var(--white);
    border-radius: 10px;
    padding: 10px 16px;
    box-shadow: 0 8px 28px rgba(8, 83, 148, 0.12);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink);
    border: 1px solid var(--border);
    white-space: nowrap;
    animation: hdFloat 6s ease-in-out infinite;
}

.hd-float-badge span {
    color: var(--blue);
}

.hd-float-badge--tl {
    top: -14px;
    right: -10px;
    animation-delay: 0s;
}

.hd-float-badge--br {
    bottom: -14px;
    left: -10px;
    animation-delay: 3s;
}

/* ── SPLIT SECTION HEADER (iStreet-style) ── */
.hd-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 48px;
}

.hd-section-head__left {
    flex: 0 0 auto;
    max-width: 100%;
}

.hd-section-head__left .hd-eyebrow {
    display: block;
    margin-bottom: 10px;
}

.hd-section-head__left .hd-section-title {
    margin-bottom: 0;
}

.hd-section-head__divider {
    width: 1px;
    align-self: stretch;
    background: var(--border);
    flex-shrink: 0;
    margin-top: 32px;
}

.hd-section-head__right {
    flex: 1;
    max-width: 480px;
    align-self: flex-start;
    text-align: right;
}

.hd-section-head__right p {
    font-size: 0.9rem;
    color: var(--body);
    line-height: 1.78;
    font-weight: 400;
}

/* ── ABOUT ── */
.hd-about {
    padding: 100px 0 0;
    background: var(--page-bg);
}

/* About header — 2-col split */
.hd-about-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 52px;
}

.hd-about-header__text .hd-eyebrow {
    display: block;
    margin-bottom: 10px;
}

.hd-about-header__text .hd-section-title {
    margin-bottom: 0;
    white-space: normal;
}

.hd-about-header__desc {
    flex: 0 0 380px;
    font-size: 0.9rem;
    color: var(--body);
    line-height: 1.78;
    padding-bottom: 4px;
    font-weight: 400;
}

/* Cards grid */
.hd-about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Base card */
.hd-about-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 20px;
    padding: 36px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr);
}

.hd-about-card:hover {
    border-color: var(--blue-soft);
    box-shadow: 0 12px 40px rgba(8, 83, 148, 0.10);
    transform: translateY(-4px);
}

/* Accent bar at top */
.hd-about-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
}

.hd-about-card__accent--1 {
    background: linear-gradient(90deg, #085394, #7aaee0);
}

.hd-about-card__accent--2 {
    background: linear-gradient(90deg, #063e72, #085394, #3b82c4);
}

.hd-about-card__accent--3 {
    background: linear-gradient(90deg, #0369a1, #085394);
}

/* Featured middle card */
.hd-about-card--featured {
    background: linear-gradient(160deg, #fafcff 0%, #eef4fc 100%);
    border-color: rgba(8, 83, 148, 0.22);
    box-shadow: 0 4px 24px rgba(8, 83, 148, 0.08);
}

.hd-about-card--featured:hover {
    border-color: var(--blue);
    box-shadow: 0 16px 48px rgba(8, 83, 148, 0.16);
}

/* Card top row */
.hd-about-card__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hd-about-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.hd-about-card--featured .hd-about-card__icon {
    background: var(--blue-mid);
}

.hd-about-card__tag {
    display: inline-block;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 20px;
}

.hd-about-card--featured .hd-about-card__tag {
    background: var(--blue-mid);
}

/* Card title */
.hd-about-card__title {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 12px;
}

/* Card description */
.hd-about-card__desc {
    font-size: 0.85rem;
    color: var(--body);
    line-height: 1.75;
    margin-bottom: 22px;
    font-weight: 400;
}

/* Card list */
.hd-about-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin-bottom: 22px;
}

.hd-about-card--featured .hd-about-card__list {
    border-color: rgba(8, 83, 148, 0.14);
}

.hd-about-card__list li {
    font-size: 0.83rem;
    color: var(--body);
    padding: 9px 0 9px 22px;
    position: relative;
    border-bottom: 1px solid var(--border);
    line-height: 1.55;
    font-weight: 400;
}

.hd-about-card--featured .hd-about-card__list li {
    border-color: rgba(8, 83, 148, 0.10);
}

.hd-about-card__list li:last-child {
    border-bottom: none;
}

.hd-about-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.55;
}

.hd-about-card--featured .hd-about-card__list li::before {
    opacity: 1;
}

/* Footer pills */
.hd-about-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
}

.hd-about-card__pill {
    display: inline-block;
    background: var(--blue-light);
    color: var(--blue-dark);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    border: 1px solid var(--blue-mid);
}

.hd-about-card--featured .hd-about-card__pill {
    background: var(--blue-mid);
    border-color: rgba(8, 83, 148, 0.25);
}

/* ── STATS BAR ── */
.hd-stats {
    background: var(--blue);
    padding: 0;
    border-radius: 20px;
    margin: 0 auto;
    max-width: 95%;
    position: relative;
    z-index: 1;
}

/* Wrapper that extends about section bg behind stats bar */
.hd-stats-wrapper {
    background: var(--page-bg);
    padding: 40px 0 0;
}

.hd-stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hd-stat-item {
    padding: 10px 1px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hd-stat-item:last-child {
    border-right: none;
}

.hd-stat-val {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.hd-stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.65);
}

/* ── FEATURES ── */
.hd-features {
    padding: 100px 0;
    background: var(--page-bg);
}

.hd-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.hd-feat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr);
}

.hd-feat-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--blue-soft);
    transform: translateY(-3px);
}

.hd-feat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 18px;
}

.hd-feat-card h4 {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.hd-feat-card p {
    font-size: 0.82rem;
    color: var(--body);
    line-height: 1.65;
    font-weight: 400;
}

/* ── CATEGORIES ── */
.hd-categories {
    padding: 100px 0;
    background: var(--white);
}

.hd-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.hd-cat-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 18px;
    text-align: center;
    transition: box-shadow var(--tr), border-color var(--tr), transform var(--tr);
    background: var(--white);
}

.hd-cat-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--blue-soft);
    transform: translateY(-3px);
}

.hd-cat-icon {
    font-size: 1.9rem;
    margin-bottom: 12px;
    display: block;
}

.hd-cat-card h4 {
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 7px;
}

.hd-cat-card p {
    font-size: 0.8rem;
    color: var(--body);
    line-height: 1.60;
    font-weight: 400;
}

/* ── HOW IT WORKS ── */
.hd-how {
    padding: 100px 0;
    background: var(--white);
}

.hd-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.hd-step {
    padding: 36px 30px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: background var(--tr);
}

.hd-step:hover {
    background: #fafbff;
}

.hd-step-num {
    font-family: var(--font-head);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--blue-mid);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hd-step-content h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.hd-step-content p {
    font-size: 0.83rem;
    color: var(--body);
    line-height: 1.65;
    font-weight: 400;
}

/* ── WHY HOME DIRECT ── */
.hd-why {
    padding: 60px 0;
    background: var(--page-bg);
}

.hd-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 28px;
}

.hd-why-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hd-why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.hd-why-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.hd-why-check svg {
    width: 12px;
    height: 12px;
}

.hd-why-text h5 {
    font-family: var(--font-head);
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 3px;
}

.hd-why-text p {
    font-size: 0.83rem;
    color: var(--body);
    font-weight: 400;
}

.hd-why-visual {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deeper) 100%);
    border-radius: 20px;
    padding: 40px;
    color: var(--white);
}

.hd-why-visual h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}

.hd-why-visual p {
    font-size: 0.88rem;
    opacity: 0.82;
    line-height: 1.75;
    margin-bottom: 28px;
    font-weight: 400;
}

.hd-why-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hd-why-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white);
}

/* ── KEYFRAMES ── */
@keyframes hdFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ── SCROLL REVEAL ── */
.hd-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s var(--tr), transform 0.6s var(--tr);
}

.hd-reveal.hd-visible {
    opacity: 1;
    transform: none;
}

.hd-reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.65s var(--tr), transform 0.65s var(--tr);
}

.hd-reveal-left.hd-visible {
    opacity: 1;
    transform: none;
}

.hd-reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.65s var(--tr), transform 0.65s var(--tr);
}

.hd-reveal-right.hd-visible {
    opacity: 1;
    transform: none;
}

/* Stagger */
.hd-d1 {
    transition-delay: 0.05s;
}

.hd-d2 {
    transition-delay: 0.12s;
}

.hd-d3 {
    transition-delay: 0.19s;
}

.hd-d4 {
    transition-delay: 0.26s;
}

.hd-d5 {
    transition-delay: 0.33s;
}

.hd-d6 {
    transition-delay: 0.40s;
}

.hd-d7 {
    transition-delay: 0.47s;
}

.hd-d8 {
    transition-delay: 0.54s;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hd-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hd-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hd-how-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 960px) {
    .hd-about-cards {
        grid-template-columns: 1fr;
    }

    .hd-about-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .hd-about-header__desc {
        flex: none;
    }
}

@media (max-width: 860px) {
    .hd-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hd-section-head {
        flex-direction: column;
        gap: 12px;
    }

    .hd-section-head__divider {
        display: none;
    }

    .hd-section-head__right {
        text-align: left;
        max-width: 100%;
        padding-top: 0;
    }

    .hd-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .hd-stat-item:nth-child(2) {
        border-right: none;
    }

    .hd-stat-item:nth-child(1),
    .hd-stat-item:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .hd-why-grid {
        grid-template-columns: 1fr;
    }

    .hd-wrap {
        padding: 0 24px;
    }
}

@media (max-width: 600px) {
    .hd-features-grid {
        grid-template-columns: 1fr;
    }

    .hd-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hd-how-grid {
        grid-template-columns: 1fr;
    }

    .hd-stats-inner {
        grid-template-columns: 1fr;
    }

    .hd-stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }
}