/* 
 * Proderma Luxury Ecosystem - Technologies Page Styles
 */

.pd-technologies-page {
    font-family: 'Open Sans', 'Inter', sans-serif;
    color: #1E1E1E;
    background: transparent !important;
    overflow-x: hidden;
}

@media (min-width: 1200px) {
    .pd-technologies-page {
        max-width: 1200px;
        margin: 40px auto;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }
}

.pd-tech-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 1. HERO SECTION (Overhauled Premium Editorial Design) */
.pd-tech-hero {
    background: linear-gradient(135deg, #7C8F73 0%, #6E8066 60%, #5E6D56 100%);
    border-radius: 24px;
    margin: 40px 24px 0;
    padding: 95px 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 20px 60px rgba(94, 109, 86, 0.18);
}

/* Modern glowing circular gradient backdrops */
.pd-tech-hero-glow-1 {
    position: absolute;
    top: -150px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(244, 223, 205, 0.28) 0%, rgba(244, 223, 205, 0) 75%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

.pd-tech-hero-glow-2 {
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    z-index: 1;
}

/* Abstract flowing wave lines */
.pd-tech-hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0.85;
    pointer-events: none;
    z-index: 1;
}

.pd-tech-hero-waves svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-tech-hero-content {
    position: relative;
    z-index: 2;
}

.pd-tech-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 28px;
}

.pd-tech-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.pd-tech-breadcrumb a:hover {
    color: #FFFFFF;
}

.pd-tech-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.3);
}

.pd-tech-breadcrumb-current {
    color: #FFFFFF;
}

.pd-tech-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 5px 18px;
    border-radius: 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.2em;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.pd-tech-title {
    font-family: 'Cormorant Garamond', 'Noto Serif SC', 'Playfair Display', serif;
    font-weight: 500;
    font-size: clamp(36px, 5vw, 52px);
    line-height: 1.15;
    color: #FFFFFF;
    margin: 0 0 18px 0;
    letter-spacing: -0.01em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.pd-tech-subtitle {
    font-family: 'Open Sans', 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 auto 32px;
    max-width: 720px;
}

.pd-tech-hero-arrow-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

@keyframes floatArrow {
    0%, 100% {
        transform: translateY(0);
        border-color: rgba(255, 255, 255, 0.28);
        background: rgba(255, 255, 255, 0.06);
    }
    50% {
        transform: translateY(-8px);
        border-color: rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.12);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
}

/* Floating glassmorphic vertical down arrow */
.pd-tech-hero-arrow {
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    animation: floatArrow 2.5s ease-in-out infinite;
}

.pd-tech-hero-arrow::before {
    content: '';
    width: 2px;
    height: 16px;
    background: #FFFFFF;
    display: block;
    position: absolute;
    top: 13px;
}

.pd-tech-hero-arrow::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    transform: rotate(45deg);
    display: block;
    position: absolute;
    bottom: 14px;
}

/* 2. FILTERS SECTION (Ultra-premium capsules - more beautiful than Figma!) */
.pd-tech-filters {
    padding: 40px 0 20px;
}

.pd-tech-tabs-wrapper {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.pd-tech-tabs {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 6px;
    gap: 4px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(175, 196, 162, 0.35);
    border-radius: 50px;
    list-style: none;
    margin: 0 auto;
    box-shadow: 0 12px 30px rgba(175, 196, 162, 0.08);
    box-sizing: border-box;
}

.pd-tech-tabs li {
    display: flex;
    align-items: center;
}

.pd-tech-tabs li a {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 11.5px;
    line-height: 16px;
    font-weight: 500;
    color: #4A4A4A;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pd-tech-tabs li:not(.active):hover a {
    color: #AFC4A2;
    background: rgba(175, 196, 162, 0.08);
}

/* Active Tab */
.pd-tech-tabs li.active a {
    background: #AFC4A2;
    color: #FFFFFF !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(175, 196, 162, 0.25);
}

/* For Intimate Health specific category styling */
.pd-tech-tabs li[data-filter="intimate-health"] a {
    font-size: 11px;
    color: #4A4A4A;
}
.pd-tech-tabs li[data-filter="intimate-health"].active a {
    color: #FFFFFF;
}

/* 3. GRID & CARDS SECTION (Frame 699) */
.pd-tech-list {
    padding: 30px 0 60px;
}

.pd-tech-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pd-tech-card-new {
    box-sizing: border-box;
    position: relative;
    width: 380px;
    height: auto;
    min-height: 580px;
    background: #FFFFFF;
    border: 1px solid #AFC4A2;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: cardFadeIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.pd-tech-card-new.pd-card-hidden {
    display: none !important;
}

.pd-tech-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(175, 196, 162, 0.18);
}

/* Rectangle 562 (Sage Top Background Block) */
.pd-tech-card-accent-header {
    position: absolute;
    width: 362px;
    height: 98px;
    left: 8px;
    top: 8px;
    background: #AFC4A2;
    border-radius: 4px;
    z-index: 1;
}

/* Rectangle 503 Overlapping Image Frame */
.pd-tech-img-wrap {
    position: relative;
    width: 228px;
    height: 199px;
    background: #FFFFFF;
    border: 1px solid #AFC4A2;
    border-radius: 4px;
    margin: 8px auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
}

.pd-tech-img-wrap img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    z-index: 4;
}

/* Vector 224 & 225 abstract circular arch contours in background of image */
.pd-tech-img-vector-arch {
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px solid rgba(175, 196, 162, 0.35);
    border-radius: 50%;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.pd-tech-img-vector-arch::after {
    content: '';
    position: absolute;
    width: 170px;
    height: 170px;
    border: 1px solid rgba(175, 196, 162, 0.2);
    border-radius: 50%;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.pd-tech-content {
    display: flex;
    flex-direction: column;
    height: calc(100% - 215px);
    z-index: 2;
}

.pd-tech-title-wrap {
    margin-bottom: 12px;
}

.pd-tech-name {
    font-family: 'Cormorant Garamond', 'Noto Serif SC', 'Playfair Display', serif;
    font-size: 22px;
    line-height: 28px;
    font-weight: 500;
    color: #1E1E1E;
    margin: 0 0 2px 0;
    letter-spacing: -0.01em;
}

.pd-tech-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    line-height: 15px;
    color: #6A6A6A;
    margin: 0;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

/* Frame 537 / 538 pill border style */
.pd-tech-tag-pill {
    box-sizing: border-box;
    border-width: 0px 0px 1px 1px;
    border-style: solid;
    border-color: #AFC4A2;
    padding: 1px 6px 4px;
    font-family: 'Helvetica Neue', 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    color: #1E1E1E;
    background: transparent;
}

/* Frame 701 (Sage Green Bullet lists) */
.pd-tech-bullets {
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.pd-tech-bullets li {
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #AFC4A2;
    font-weight: 400;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.pd-tech-bullet-check {
    color: #AFC4A2;
    font-weight: bold;
}

/* WHY WE TRUST section (Rectangle 561 container block) */
.pd-tech-why-trust {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 72px;
    background: #FDF6EE;
    border-radius: 4px;
    padding: 10px 14px;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}

.pd-tech-why-trust-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    line-height: 15px;
    font-weight: 400;
    color: #6A6A6A;
    letter-spacing: normal;
    text-transform: none;
}

.pd-tech-why-trust-text {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    line-height: 15px;
    color: #4A4A4A;
    font-style: normal;
}

/* 4. DISCLAIMER SECTION */
.pd-tech-disclaimer {
    padding: 20px 0 40px;
}

.pd-tech-disclaimer-box {
    background: #FEF9F3;
    border: 1px solid rgba(175, 196, 162, 0.25);
    border-radius: 16px;
    padding: 24px 32px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #5A5A5A;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.pd-tech-disclaimer-badge {
    background: #AFC4A2;
    color: #FFFFFF;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.pd-tech-disclaimer-text {
    vertical-align: middle;
}

/* 5. BOTTOM CTA SECTION */
.pd-tech-bottom-cta {
    background: #FEF9F3;
    border-top: 1px solid rgba(175, 196, 162, 0.2);
    padding: 100px 24px;
    text-align: center;
    width: 100%;
    margin: 60px 0 0 0;
    box-sizing: border-box;
}

.pd-cta-box-tech {
    max-width: 720px;
    margin: 0 auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.pd-cta-title {
    font-family: 'Cormorant Garamond', 'Noto Serif SC', 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: #1E1E1E;
    margin: 0 0 16px 0;
    line-height: 1.25;
}

.pd-cta-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #5A5A5A;
    margin: 0 0 28px 0;
}

.pd-cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.pd-btn-sage-v2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #AFC4A2;
    color: #FFFFFF !important;
    border: 1px solid #AFC4A2;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(175, 196, 162, 0.25);
}

.pd-btn-sage-v2:hover {
    background: #9AB28C;
    border-color: #9AB28C;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(175, 196, 162, 0.35);
}

.pd-tech-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #7C8F73 !important;
    border: 1px solid rgba(124, 143, 115, 0.4);
    padding: 12px 28px;
    border-radius: 30px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pd-tech-cta-link:hover {
    background: rgba(175, 196, 162, 0.05);
    border-color: #AFC4A2;
    color: #AFC4A2 !important;
    transform: translateY(-2px);
}

.pd-tech-cta-arrow {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.pd-tech-cta-link:hover .pd-tech-cta-arrow {
    transform: translateX(4px);
}

/* 6. RESPONSIVE BREAKPOINTS */
@media (max-width: 1200px) {
    .pd-tech-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .pd-tech-hero {
        margin: 20px 15px 0;
        padding: 50px 20px;
    }

    .pd-tech-tabs {
        flex-wrap: wrap;
        padding: 14px;
        gap: 12px;
    }
}

@media (max-width: 767px) {
    .pd-tech-grid-new {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pd-tech-card-new {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
        height: auto !important;
        min-height: auto !important;
    }

    /* Mobile Hero Section */
    .pd-tech-hero {
        border-radius: 24px !important;
        padding: 56px 24px 48px 24px !important;
        margin: 20px 16px 0 !important;
        box-shadow: 0 15px 40px rgba(94, 109, 86, 0.15) !important;
    }

    .pd-tech-hero-glow-1 {
        display: block !important;
        width: 250px !important;
        height: 250px !important;
        top: -80px !important;
        right: -60px !important;
    }

    .pd-tech-hero-glow-2 {
        display: block !important;
        width: 280px !important;
        height: 280px !important;
        bottom: -100px !important;
        left: -60px !important;
    }

    .pd-tech-breadcrumb {
        margin-bottom: 24px !important;
        font-size: 11px !important;
        letter-spacing: 0.1em !important;
    }

    .pd-tech-label {
        font-size: 9px !important;
        padding: 4px 14px !important;
        margin-bottom: 20px !important;
        letter-spacing: 0.18em !important;
    }

    .pd-tech-title {
        font-size: clamp(20px, 6vw, 24px) !important;
        line-height: 1.25 !important;
        margin-bottom: 14px !important;
        letter-spacing: -0.015em !important;
        white-space: nowrap !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }

    .pd-tech-subtitle {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 24px !important;
        color: rgba(255, 255, 255, 0.88) !important;
    }

    /* Mobile Swipeable Horizontal Categories tab-bar */
    .pd-tech-filters {
        padding: 24px 0 16px;
    }

    .pd-tech-tabs-wrapper {
        width: 100vw;
        margin-left: -24px; /* Break out to screen edge */
        overflow-x: auto;
        padding: 0 24px 8px 24px;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar Firefox */
    }

    .pd-tech-tabs-wrapper::-webkit-scrollbar {
        display: none; /* Hide scrollbar Webkit */
    }

    .pd-tech-tabs {
        display: flex;
        flex-wrap: nowrap !important;
        justify-content: flex-start;
        gap: 6px;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: max-content;
    }

    .pd-tech-tabs li {
        display: inline-flex;
    }

    .pd-tech-tabs li a {
        white-space: nowrap !important;
        background: #FFFFFF;
        border: 1px solid rgba(175, 196, 162, 0.35);
        border-radius: 30px;
        font-size: 12px !important;
        line-height: 16px;
        padding: 8px 14px !important;
        color: #4A4A4A;
    }

    .pd-tech-tabs li:not(.active):hover a {
        background: rgba(175, 196, 162, 0.04);
        color: #4A4A4A;
    }

    .pd-tech-tabs li.active a {
        background: #AFC4A2 !important;
        color: #FFFFFF !important;
        border-color: #AFC4A2 !important;
        box-shadow: 0 4px 10px rgba(175, 196, 162, 0.18) !important;
    }

    .pd-tech-tabs li[data-filter="intimate-health"] a {
        font-size: 12px !important;
    }

    /* Mobile Disclaimer Box */
    .pd-tech-disclaimer {
        padding: 16px 0 24px;
    }

    .pd-tech-disclaimer-box {
        padding: 16px 20px;
        border-radius: 12px;
        font-size: 11px;
        line-height: 1.5;
    }

    .pd-tech-disclaimer-badge {
        display: block;
        width: max-content;
        margin-bottom: 6px;
        margin-right: 0;
        font-size: 10px;
    }

    /* Mobile Bottom CTA */
    .pd-tech-bottom-cta {
        padding: 60px 20px 70px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background: #FEF9F3 !important;
        box-shadow: none !important;
        border-top: 1px solid rgba(175, 196, 162, 0.15) !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .pd-cta-box-tech {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .pd-cta-title {
        font-size: 26px !important;
        margin-bottom: 12px !important;
        line-height: 1.25 !important;
        font-weight: 500 !important;
    }

    .pd-cta-desc {
        font-size: 13px !important;
        line-height: 1.55 !important;
        margin-bottom: 28px !important;
        color: #5A5A5A !important;
    }

    .pd-cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .pd-btn-sage-v2 {
        width: 100% !important;
        max-width: 290px !important;
        padding: 12px 24px !important;
        font-size: 13px !important;
        border-radius: 30px !important;
        box-sizing: border-box !important;
    }

    .pd-tech-cta-link {
        width: 100% !important;
        max-width: 290px !important;
        justify-content: center !important;
        font-size: 13px !important;
        margin-top: 4px !important;
        background: transparent !important;
        color: #7C8F73 !important;
        border: 1px solid rgba(124, 143, 115, 0.3) !important;
        border-radius: 30px !important;
        padding: 12px 24px !important;
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .pd-tech-cta-link:hover {
        background: rgba(175, 196, 162, 0.04) !important;
        color: #AFC4A2 !important;
    }
}
