/* ========================================
   Products Landing Page
   ======================================== */

/* --- Scroll Animations --- */
.pd-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.pd-fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.pd-fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.pd-fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.pd-fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.pd-fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* --- Hero --- */
.pd-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(160deg, #0D2005 0%, #1A3D0F 30%, #2D5A27 60%, #8B6914 100%);
}

.pd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 85%, rgba(198, 123, 45, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 15%, rgba(45, 90, 39, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.pd-hero-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.pd-hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 140px 20px 80px;
    text-align: center;
}

.pd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(197, 164, 78, 0.15);
    border: 1px solid rgba(197, 164, 78, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.pd-hero-badge svg {
    width: 14px;
    height: 14px;
}

.pd-hero h1 {
    color: var(--color-white);
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.15;
}

.pd-hero h1 .pd-gold {
    color: var(--color-gold);
}

.pd-hero p {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.pd-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pd-hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.4);
    animation: pd-bounce 2s ease infinite;
}

.pd-hero-scroll svg {
    width: 24px;
    height: 24px;
}

@keyframes pd-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* --- Trust Bar --- */
.pd-trust-bar {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 28px 0;
}

.pd-trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.pd-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pd-trust-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary-green);
    line-height: 1;
}

.pd-trust-num span {
    font-size: 1.2rem;
    color: var(--color-gold);
}

.pd-trust-text {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.4;
}

.pd-trust-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* --- Categories Section --- */
.pd-categories {
    padding: 100px 0 80px;
    background: var(--color-off-white);
}

.pd-cat-header {
    text-align: center;
    margin-bottom: 60px;
}

.pd-cat-header h2 {
    margin-bottom: 12px;
}

.pd-cat-header p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Category Showcase Cards --- */
.pd-cat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.pd-cat-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    display: flex;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-lg);
}

.pd-cat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

/* Large first card */
.pd-cat-card.pd-featured {
    grid-column: 1 / -1;
    height: 480px;
}

.pd-cat-card-img {
    position: absolute;
    inset: 0;
}

.pd-cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.pd-cat-card:hover .pd-cat-card-img img {
    transform: scale(1.08);
}

.pd-cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 42, 6, 0.88) 0%, rgba(15, 42, 6, 0.55) 50%, rgba(139, 105, 20, 0.4) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.pd-cat-card:hover .pd-cat-card-overlay {
    background: linear-gradient(135deg, rgba(15, 42, 6, 0.92) 0%, rgba(15, 42, 6, 0.65) 50%, rgba(139, 105, 20, 0.5) 100%);
}

.pd-cat-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    width: 100%;
}

.pd-cat-card-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(197, 164, 78, 0.2);
    border: 1px solid rgba(197, 164, 78, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-gold);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
    width: fit-content;
}

.pd-cat-card-tag svg {
    width: 12px;
    height: 12px;
}

.pd-cat-card h3 {
    color: var(--color-white);
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 10px;
    line-height: 1.2;
}

.pd-cat-card-desc {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 20px;
}

.pd-cat-card-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.pd-cat-item-chip {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 500;
}

.pd-cat-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.pd-cat-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.pd-cat-card:hover .pd-cat-card-link svg {
    transform: translateX(6px);
}

.pd-cat-card-link span {
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
}

.pd-cat-card:hover .pd-cat-card-link span {
    border-bottom-color: var(--color-gold);
}

/* --- Why Section --- */
.pd-why {
    padding: 100px 0;
    background: var(--color-white);
}

.pd-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pd-why-visual {
    position: relative;
}

.pd-why-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(197, 164, 78, 0.15);
}

.pd-why-img-main img {
    width: 100%;
    height: auto;
    display: block;
}

.pd-why-img-float {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 180px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    text-align: center;
}

.pd-why-img-float .pd-why-float-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-primary-green);
    line-height: 1;
}

.pd-why-img-float .pd-why-float-num span {
    color: var(--color-gold);
}

.pd-why-img-float .pd-why-float-text {
    font-size: 0.78rem;
    color: var(--color-text-light);
    margin-top: 4px;
}

.pd-why-content h2 {
    margin-bottom: 16px;
}

.pd-why-content > p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.pd-why-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pd-why-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.pd-why-feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--color-primary-green), var(--color-primary-green-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-why-feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-white);
}

.pd-why-feature h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.pd-why-feature p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Process Strip --- */
.pd-process {
    padding: 80px 0;
    background: linear-gradient(160deg, #0F2A06 0%, #1A3D0F 50%, #14320C 100%);
    position: relative;
    overflow: hidden;
}

.pd-process::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197, 164, 78, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.pd-process .section-header h2 {
    color: var(--color-white);
}

.pd-process .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.pd-process .section-line {
    background: linear-gradient(90deg, var(--color-gold), rgba(197, 164, 78, 0.4));
}

.pd-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.pd-process-step {
    text-align: center;
    padding: 36px 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.pd-process-step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(197, 164, 78, 0.3);
    transform: translateY(-4px);
}

.pd-process-num {
    width: 36px;
    height: 36px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
    color: var(--color-dark-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(197, 164, 78, 0.3);
}

.pd-process-step h4 {
    color: var(--color-white);
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.pd-process-step p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- CTA Banner --- */
.pd-cta {
    padding: 80px 0;
    background: url('../images/products/productbottom.png') center/cover no-repeat, linear-gradient(135deg, #C67B2D 0%, #8B6914 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pd-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 42, 6, 0.8) 0%, rgba(45, 80, 22, 0.7) 100%);
    pointer-events: none;
}

.pd-cta-content {
    position: relative;
    z-index: 1;
}

.pd-cta h2 {
    color: var(--color-white);
    margin-bottom: 12px;
}

.pd-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.pd-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .pd-cat-grid {
        grid-template-columns: 1fr;
    }

    .pd-cat-card {
        height: 360px;
    }

    .pd-cat-card.pd-featured {
        height: 400px;
    }

    .pd-why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pd-why-visual {
        order: -1;
    }

    .pd-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .pd-trust-divider {
        display: none;
    }

    .pd-trust-inner {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .pd-hero {
        min-height: 500px;
    }

    .pd-hero-content {
        padding: 120px 20px 60px;
    }

    .pd-cat-card {
        height: 320px;
    }

    .pd-cat-card-content {
        padding: 28px;
    }

    .pd-cat-card-items {
        display: none;
    }

    .pd-why-img-float {
        bottom: -16px;
        right: -8px;
        width: 140px;
        padding: 14px;
    }

    .pd-process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pd-categories,
    .pd-why,
    .pd-process,
    .pd-cta {
        padding: 60px 0;
    }

    .pd-cta {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .pd-process-grid {
        grid-template-columns: 1fr;
    }

    .pd-trust-inner {
        flex-direction: column;
        gap: 20px;
    }

    .pd-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pd-cta-buttons .btn {
        width: 100%;
    }
}
