/* Product Sourcing Service Page - Unique Styles */

/* ================================
   HERO SECTION - Search/Discovery Theme
================================ */
.ps-hero {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(160deg, #1a2332 0%, #243447 40%, #1e3a5f 100%);
    overflow: hidden;
    padding-top: 80px;
    display: flex;
    align-items: center;
}

.ps-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* Floating Particles */
.search-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0.4;
    animation: floatParticle 8s ease-in-out infinite;
}

.p1 { top: 15%; left: 10%; animation-delay: 0s; }
.p2 { top: 25%; left: 85%; animation-delay: 1s; }
.p3 { top: 60%; left: 5%; animation-delay: 2s; }
.p4 { top: 70%; left: 90%; animation-delay: 3s; }
.p5 { top: 40%; left: 15%; animation-delay: 4s; }
.p6 { top: 80%; left: 75%; animation-delay: 5s; }

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-30px) scale(1.3);
        opacity: 0.8;
    }
}

/* Connection Lines */
.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.connections-svg {
    width: 100%;
    height: 100%;
}

.conn-line {
    stroke: var(--primary-gold);
    stroke-width: 0.3;
    opacity: 0.2;
    stroke-dasharray: 5 5;
    animation: dashMove 20s linear infinite;
}

.cl1 { animation-delay: 0s; }
.cl2 { animation-delay: 5s; }
.cl3 { animation-delay: 10s; }
.cl4 { animation-delay: 15s; }

@keyframes dashMove {
    to {
        stroke-dashoffset: -100;
    }
}

.ps-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
}

.ps-hero-content {
    color: white;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ps-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}

.ps-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ps-hero .breadcrumb a:hover {
    color: var(--primary-gold);
}

.ps-hero .breadcrumb svg {
    width: 14px;
    height: 14px;
    color: rgba(255, 255, 255, 0.4);
}

.ps-hero .breadcrumb span {
    color: var(--primary-gold);
}

.ps-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.ps-hero h1 span {
    color: var(--primary-gold);
}

.ps-hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 480px;
    font-weight: 300;
}

.ps-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Visual - Search Hub */
.ps-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.search-hub {
    position: relative;
    width: 320px;
    height: 320px;
}

.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.hub-center svg {
    width: 36px;
    height: 36px;
    color: var(--navy);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
    }
    50% {
        box-shadow: 0 0 60px rgba(212, 175, 55, 0.8);
    }
}

.hub-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
}

.ring-1 {
    width: 140px;
    height: 140px;
    animation: ringPulse 3s ease-out infinite;
}

.ring-2 {
    width: 220px;
    height: 220px;
    animation: ringPulse 3s ease-out infinite 0.5s;
}

.ring-3 {
    width: 300px;
    height: 300px;
    animation: ringPulse 3s ease-out infinite 1s;
}

@keyframes ringPulse {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Supplier Nodes */
.supplier-node {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: nodeFloat 4s ease-in-out infinite;
}

.supplier-node svg {
    width: 24px;
    height: 24px;
    color: var(--primary-gold);
}

.node-1 { top: 5%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node-2 { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 1s; }
.node-3 { bottom: 5%; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.node-4 { top: 50%; left: 0; transform: translateY(-50%); animation-delay: 3s; }

@keyframes nodeFloat {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(5px);
    }
}

.node-1, .node-3 {
    animation: nodeFloatVertical 4s ease-in-out infinite;
}

@keyframes nodeFloatVertical {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* Hero Wave */
.ps-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.ps-hero-wave svg {
    width: 100%;
    height: 120px;
    fill: var(--bg-white);
}

/* ================================
   SECTION HEADER
================================ */
.ps-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.ps-section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.ps-section-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

/* ================================
   SERVICES SECTION - Card Grid
================================ */
.ps-services {
    padding: 8rem 2rem;
    background: var(--bg-white);
}

.ps-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.ps-service-card {
    background: linear-gradient(145deg, #f8f9fa 0%, #f1f3f5 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(26, 35, 50, 0.08);
    box-shadow: 0 4px 24px rgba(26, 35, 50, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.ps-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ps-service-card:hover::before {
    transform: scaleX(1);
}

.ps-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(26, 35, 50, 0.12);
    border-color: rgba(212, 175, 55, 0.2);
}

.ps-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.ps-service-card:hover .ps-card-icon {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
}

.ps-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-gold);
    transition: color 0.4s ease;
}

.ps-service-card:hover .ps-card-icon svg {
    color: var(--navy);
}

.ps-service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.ps-service-card > p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.ps-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ps-card-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ps-card-features li:last-child {
    border-bottom: none;
}

.ps-card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-gold);
    border-radius: 50%;
}

/* ================================
   NETWORK SECTION
================================ */
.ps-network {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
}

.ps-network-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ps-network-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ps-network-content > p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.ps-network-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ps-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(26, 35, 50, 0.06);
}

.ps-stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-gold);
    display: block;
    margin-bottom: 0.25rem;
}

.ps-stat-label {
    font-size: 0.8rem;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Network Visual */
.ps-network-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.network-map {
    position: relative;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.03) 0%, rgba(26, 35, 50, 0.08) 100%);
    border-radius: 50%;
    border: 2px dashed rgba(212, 175, 55, 0.2);
}

.map-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}

.map-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    opacity: 0;
    animation: dotRing 2s ease-out infinite;
}

.dot-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    background: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dot-asia { top: 30%; right: 15%; animation-delay: 0s; }
.dot-europe { top: 25%; left: 25%; animation-delay: 0.5s; }
.dot-americas { bottom: 35%; left: 10%; animation-delay: 1s; }
.dot-mena { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 1.5s; }

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes dotRing {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* ================================
   PROCESS SECTION - Vertical Timeline
================================ */
.ps-process {
    padding: 8rem 2rem;
    background: var(--bg-white);
}

.ps-process-timeline {
    position: relative;
}

.ps-timeline-line {
    position: absolute;
    left: 30px;
    top: 30px;
    width: 2px;
    height: calc(100% - 120px);
    background: linear-gradient(180deg, var(--primary-gold) 0%, rgba(212, 175, 55, 0.3) 100%);
}

.ps-process-step {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.ps-process-step:last-child {
    margin-bottom: 0;
}

.ps-step-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.ps-step-marker span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.ps-step-content {
    padding-top: 0.5rem;
}

.ps-step-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.ps-step-content p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ================================
   CATEGORIES SECTION
================================ */
.ps-categories {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

.ps-categories .ps-section-header h2 {
    color: white;
}

.ps-categories .ps-section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.ps-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.ps-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.4s ease;
}

.ps-category:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
    transform: translateY(-5px);
}

.ps-category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.4s ease;
}

.ps-category:hover .ps-category-icon {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-dark) 100%);
}

.ps-category-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-gold);
    transition: color 0.4s ease;
}

.ps-category:hover .ps-category-icon svg {
    color: var(--navy);
}

.ps-category span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ================================
   CTA SECTION
================================ */
.ps-cta {
    padding: 8rem 2rem;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.ps-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(26, 35, 50, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.ps-cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.ps-cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ps-cta-content > p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.ps-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ps-cta-buttons .cta-button {
    min-width: 200px;
}

.ps-cta-buttons .cta-button.outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.ps-cta-buttons .cta-button.outline:hover {
    background: var(--navy);
    color: white;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
    .ps-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .ps-hero-visual {
        order: -1;
    }
    
    .search-hub {
        width: 280px;
        height: 280px;
    }
    
    .ps-network-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .ps-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ps-hero {
        padding-top: 70px;
    }
    
    .ps-hero .container {
        padding: 2rem 1rem 6rem;
    }
    
    .ps-hero-content {
        text-align: center;
    }
    
    .ps-hero .breadcrumb {
        justify-content: center;
    }
    
    .ps-hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .ps-hero-cta {
        justify-content: center;
    }
    
    .search-hub {
        width: 240px;
        height: 240px;
    }
    
    .hub-center {
        width: 60px;
        height: 60px;
    }
    
    .hub-center svg {
        width: 28px;
        height: 28px;
    }
    
    .ring-1 { width: 110px; height: 110px; }
    .ring-2 { width: 170px; height: 170px; }
    .ring-3 { width: 230px; height: 230px; }
    
    .supplier-node {
        width: 40px;
        height: 40px;
    }
    
    .supplier-node svg {
        width: 18px;
        height: 18px;
    }
    
    .ps-hero-wave svg {
        height: 80px;
    }
    
    .ps-services,
    .ps-network,
    .ps-process,
    .ps-categories,
    .ps-cta {
        padding: 5rem 1rem;
    }
    
    .ps-services-grid {
        grid-template-columns: 1fr;
    }
    
    .ps-network-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .ps-stat {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .ps-stat-number {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .network-map {
        width: 250px;
        height: 250px;
    }
    
    .ps-timeline-line {
        left: 20px;
        top: 20px;
        height: calc(100% - 100px);
    }
    
    .ps-step-marker {
        width: 40px;
        height: 40px;
    }
    
    .ps-step-marker span {
        font-size: 0.9rem;
    }
    
    .ps-process-step {
        gap: 1.5rem;
    }
    
    .ps-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ps-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ps-cta-buttons .cta-button {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .ps-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .ps-category {
        padding: 1.5rem 0.75rem;
    }
    
    .ps-category span {
        font-size: 0.75rem;
    }
}

/* Logo link fix */
.logo-link {
    text-decoration: none;
    display: block;
}

.logo-link .logo {
    cursor: pointer;
}

