/* ─── Home Page Styles ────────────────────────────────────── */

/* ─── Hero ────────────────────────────────────────────────── */
.jj-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--jj-white);
}

.jj-hero__bg {
    position: absolute;
    inset: 0;
    background-color: var(--jj-charcoal);
    background-image: url('');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.jj-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(58, 46, 48, 0.75) 0%,
        rgba(58, 46, 48, 0.50) 40%,
        rgba(180, 139, 148, 0.35) 100%
    );
    z-index: 1;
}

.jj-hero__sparkle {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.jj-hero .jj-container {
    position: relative;
    z-index: 3;
}

.jj-hero__content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-2xl) 0;
}

.jj-hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-display);
    font-weight: 500;
    line-height: var(--leading-tight);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.01em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.jj-hero__subtitle {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-weight: 300;
    line-height: var(--leading-snug);
    margin-bottom: var(--space-xl);
    opacity: 0.9;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.jj-hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.jj-hero__actions .jj-btn--outline {
    color: var(--jj-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.jj-hero__actions .jj-btn--outline:hover {
    background: var(--jj-white);
    color: var(--jj-charcoal);
    border-color: var(--jj-white);
}

/* Scroll indicator */
.jj-hero__scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.jj-hero__scroll-icon {
    color: rgba(255, 255, 255, 0.7);
    animation: jj-scroll-hint 2s ease-in-out infinite;
}

/* ─── Section Headers ────────────────────────────────────── */
.jj-section__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.jj-section__title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 500;
    color: var(--jj-charcoal);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.jj-section__rule {
    width: 48px;
    height: 2px;
    background: var(--jj-gold);
    margin: 0 auto;
}

.jj-section__footer {
    text-align: center;
    margin-top: var(--space-2xl);
}

/* ─── Collection Cards ───────────────────────────────────── */
.jj-collection-card {
    min-width: 280px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.jj-collection-card__img {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.jj-collection-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jj-collection-card__img--placeholder {
    background: var(--jj-rose-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
}

.jj-collection-card__body {
    padding: var(--space-lg);
}

.jj-collection-card__name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--jj-charcoal);
    margin-bottom: var(--space-2xs);
}

.jj-collection-card__count {
    display: block;
    font-size: var(--text-sm);
    color: var(--jj-charcoal-lighter);
    margin-bottom: var(--space-sm);
}

.jj-collection-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--jj-mauve-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: gap var(--duration-base) var(--ease-out);
}

.jj-collection-card:hover .jj-collection-card__link {
    gap: var(--space-sm);
}

/* ─── How It Works Steps ─────────────────────────────────── */
.jj-step {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
}

.jj-step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-lg);
    background: var(--jj-rose-lighter);
    border-radius: var(--radius-circle);
}

.jj-step__number {
    display: block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--jj-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.jj-step__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--jj-charcoal);
    margin-bottom: var(--space-sm);
}

.jj-step__desc {
    font-size: var(--text-base);
    color: var(--jj-charcoal-light);
    line-height: var(--leading-relaxed);
    max-width: 280px;
    margin: 0 auto;
}

/* ─── Product Cards ──────────────────────────────────────── */
.jj-product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.jj-product-card__img {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.jj-product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.jj-product-card__img--placeholder {
    background: var(--jj-rose-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
}

.jj-product-card__body {
    padding: var(--space-lg);
}

.jj-product-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--jj-charcoal);
    margin-bottom: var(--space-xs);
}

.jj-product-card__price {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--jj-mauve-dark);
}

/* ─── Placeholder Image ──────────────────────────────────── */
.jj-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jj-rose-lighter);
}

/* ─── Testimonials ───────────────────────────────────────── */
.jj-testimonial {
    min-width: 300px;
    max-width: 380px;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.jj-testimonial__stars {
    display: flex;
    gap: 2px;
    color: var(--jj-gold);
}

.jj-testimonial__quote {
    margin: 0;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--jj-charcoal-light);
    font-style: normal;
}

.jj-testimonial__quote p {
    margin: 0;
}

.jj-testimonial__name {
    font-family: var(--font-heading);
    font-style: normal;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--jj-charcoal);
    letter-spacing: 0.02em;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .jj-hero__content {
        padding: var(--space-xl) var(--space-sm);
    }

    .jj-hero__title {
        font-size: clamp(2rem, 1.5rem + 3vw, 3rem);
    }

    .jj-hero__subtitle {
        font-size: var(--text-lg);
    }

    .jj-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .jj-hero__actions .jj-btn {
        width: 100%;
        max-width: 320px;
    }

    .jj-steps.jj-grid--3 {
        grid-template-columns: 1fr;
    }

    .jj-step {
        padding: var(--space-lg) var(--space-md);
    }

    .jj-collection-card {
        min-width: 240px;
    }

    .jj-testimonial {
        min-width: 260px;
    }
}

@media (max-width: 480px) {
    .jj-hero {
        min-height: 100svh;
    }

    .jj-hero__scroll {
        bottom: var(--space-lg);
    }

    .jj-section__title {
        font-size: var(--text-2xl);
    }
}
