/**
 * Linda's Closet - Futuristic Landing Page
 */

/* ===================== REVEAL ANIMATIONS ===================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

/* ===================== HERO ===================== */
.landing-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0 4rem;
    overflow: hidden;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/Work.jpg') center center / cover no-repeat;
    z-index: 0;
}

.landing-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
        rgba(10, 15, 30, 0.72) 0%,
        rgba(15, 23, 42, 0.55) 50%,
        rgba(37, 99, 235, 0.25) 100%);
    z-index: 1;
}

.landing-hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        radial-gradient(2px 2px at 10% 20%, rgba(255,255,255,0.15) 50%, transparent 100%),
        radial-gradient(2px 2px at 30% 70%, rgba(255,255,255,0.1) 50%, transparent 100%),
        radial-gradient(2px 2px at 60% 35%, rgba(255,255,255,0.12) 50%, transparent 100%),
        radial-gradient(2px 2px at 85% 80%, rgba(255,255,255,0.08) 50%, transparent 100%),
        radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.06) 50%, transparent 100%);
    animation: particleDrift 20s linear infinite;
    pointer-events: none;
}

@keyframes particleDrift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-30px); }
}

.landing-hero .container {
    z-index: 3;
}

.landing-hero-badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.06);
}

.landing-hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.landing-hero-tagline {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.landing-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Scroll indicator */
.landing-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}
.landing-hero-scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}
.landing-hero-scroll span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    width: 4px;
    height: 10px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ===================== BUTTONS ===================== */
.btn-landing-primary {
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}
.btn-landing-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.45);
}

.btn-landing-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-landing-glass:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.btn-landing-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: 999px;
    transition: all 0.3s ease;
}
.btn-landing-outline:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

/* ===================== STATS BAR ===================== */
.landing-stats {
    background: var(--color-twilight-indigo-900);
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.landing-stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
}
.landing-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    font-weight: 500;
}
.landing-stat-icon {
    color: var(--primary-light);
    font-size: 1rem;
}

/* ===================== SECTIONS ===================== */
.landing-section {
    padding: 5rem 0;
}
.landing-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.landing-section-header.text-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.landing-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}
.landing-section-sub {
    color: var(--text-light);
    font-size: 1.05rem;
    margin: 0.35rem 0 0;
}
.landing-section-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    white-space: nowrap;
}
.landing-section-link:hover { color: var(--primary-dark); }

/* ===================== CATEGORIES ===================== */
.landing-categories {
    background: var(--bg-white);
}
.landing-cat-card {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    aspect-ratio: 3 / 4;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.landing-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    color: #fff;
}
.landing-cat-img {
    position: absolute;
    inset: 0;
}
.landing-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.landing-cat-card:hover .landing-cat-img img {
    transform: scale(1.08);
}
.landing-cat-gradient {
    background: linear-gradient(135deg, var(--color-cotton-candy-500), var(--color-dusty-lavender-600));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.5);
}
.landing-cat-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.01em;
    z-index: 2;
}
.landing-cat-label i {
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s ease;
    font-size: 0.85rem;
}
.landing-cat-card:hover .landing-cat-label i {
    opacity: 1;
    transform: none;
}

/* ===================== PRODUCTS ===================== */
.landing-products {
    background: var(--bg-light);
}
.landing-prod-card {
    display: block;
    background: var(--bg-white);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    border: 1px solid var(--border-light);
}
.landing-prod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--color-cotton-candy-200);
}
.landing-prod-img {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-light);
}
.landing-prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.landing-prod-card:hover .landing-prod-img img {
    transform: scale(1.06);
}
.landing-prod-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--border-color);
}
.landing-prod-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.landing-prod-card:hover .landing-prod-overlay { opacity: 1; }
.landing-prod-view {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border: 1.5px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: translateY(8px);
    transition: transform 0.35s ease;
}
.landing-prod-card:hover .landing-prod-view {
    transform: none;
}
.landing-prod-info {
    padding: 1rem 1.1rem;
}
.landing-prod-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}
.landing-prod-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

/* ===================== WHY US ===================== */
.landing-why {
    background: var(--bg-white);
}
.landing-why-card {
    text-align: center;
    padding: 2.25rem 1.5rem;
    border-radius: 18px;
    height: 100%;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.landing-why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--color-dusty-lavender-400));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.landing-why-card:hover::before { opacity: 1; }
.landing-why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.1);
    border-color: transparent;
}
.landing-why-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--color-cotton-candy-100), var(--color-cotton-candy-200));
    color: var(--primary-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    transition: all 0.35s ease;
}
.landing-why-card:hover .landing-why-icon {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.3);
}
.landing-why-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.landing-why-text {
    font-size: 0.88rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.55;
}

/* ===================== FINAL CTA ===================== */
.landing-cta {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}
.landing-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-twilight-indigo-900) 0%, var(--color-cotton-candy-800) 100%);
    z-index: 0;
}
.landing-cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%);
    z-index: 1;
}
.landing-cta .container { z-index: 2; }
.landing-cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}
.landing-cta-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.landing-cta .btn-landing-primary {
    background: #fff;
    color: var(--color-cotton-candy-700);
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.15);
}
.landing-cta .btn-landing-primary:hover {
    background: var(--color-cotton-candy-50);
    color: var(--primary-dark);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

/* ===================== LANDING MAIN ===================== */
main.landing-main {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .landing-hero {
        min-height: 85vh;
        padding: 4rem 0 3rem;
    }
    .landing-hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .landing-hero-cta .btn { width: 100%; max-width: 280px; }
    .landing-stats-row { gap: 0.75rem 1.5rem; }
    .landing-stat-text { font-size: 0.78rem; }
    .landing-section { padding: 3.5rem 0; }
    .landing-section-header { margin-bottom: 1.75rem; }
    .landing-cat-card { aspect-ratio: 3 / 4; }
    .landing-cat-label { font-size: 0.88rem; padding: 0.75rem 1rem; }
    .landing-cta { padding: 3.5rem 0; }
    .landing-hero-scroll { bottom: 1.25rem; }
    .landing-why-card { padding: 1.75rem 1rem; }
}

@media (max-width: 576px) {
    .landing-hero-title { font-size: 2.25rem; }
    .landing-section-title { font-size: 1.5rem; }
    .landing-prod-info { padding: 0.75rem 0.85rem; }
    .landing-prod-name { font-size: 0.82rem; }
    .landing-prod-price { font-size: 0.9rem; }
}
