/**
 * Wspolpraca (Cooperation) Landing Page Styles
 *
 * Design: Deep navy + coral accent — editorial, confident, partnership-focused
 * Font: DM Serif Display for headings
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --wsp-navy: #1a2744;
    --wsp-navy-light: #243352;
    --wsp-navy-dark: #0f1a30;
    --wsp-coral: #e8734a;
    --wsp-coral-light: #f09070;
    --wsp-coral-dark: #c85a34;
    --wsp-gold: #d4a855;
    --wsp-cream: #faf6f1;
    --wsp-cream-dark: #f0e8dd;
    --wsp-white: #ffffff;
    --wsp-text: #1a2744;
    --wsp-text-light: #4a5568;
    --wsp-text-muted: #8895a7;
    --wsp-border: #e2e8f0;
    --wsp-shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.06);
    --wsp-shadow-md: 0 8px 30px rgba(26, 39, 68, 0.1);
    --wsp-shadow-lg: 0 20px 60px rgba(26, 39, 68, 0.12);
    --wsp-radius-sm: 8px;
    --wsp-radius-md: 14px;
    --wsp-radius-lg: 24px;
    --wsp-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --wsp-font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
    --wsp-font-body: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
.wsp-content-wrapper {
    font-family: var(--wsp-font-body);
    color: var(--wsp-text);
    overflow-x: hidden;
    line-height: 1.6;
}

.wsp-content-wrapper *,
.wsp-content-wrapper *::before,
.wsp-content-wrapper *::after {
    box-sizing: border-box;
}

.wsp-content-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.wsp-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--wsp-navy) 0%, var(--wsp-navy-light) 50%, #2d4a6f 100%);
    overflow: hidden;
    padding: 80px 0 60px;
}

.wsp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 80% 20%, rgba(232, 115, 74, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 500px 500px at 20% 80%, rgba(212, 168, 85, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.wsp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(30deg, rgba(255,255,255,0.02) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.02) 87.5%),
        linear-gradient(150deg, rgba(255,255,255,0.02) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.02) 87.5%),
        linear-gradient(30deg, rgba(255,255,255,0.02) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.02) 87.5%),
        linear-gradient(150deg, rgba(255,255,255,0.02) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.02) 87.5%);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    pointer-events: none;
    opacity: 0.5;
}

.wsp-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.wsp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    padding: 8px 22px;
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    animation: wsp-fadeDown 0.8s ease-out;
}

.wsp-hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wsp-coral);
    animation: wsp-pulse 2s infinite;
}

.wsp-hero-title {
    font-family: var(--wsp-font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 400;
    color: var(--wsp-white);
    line-height: 1.15;
    margin: 0 0 20px;
    animation: wsp-fadeUp 0.8s ease-out 0.15s both;
}

.wsp-hero-title-accent {
    color: var(--wsp-coral);
    display: block;
}

.wsp-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0 auto 36px;
    max-width: 600px;
    animation: wsp-fadeUp 0.8s ease-out 0.3s both;
}

.wsp-hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: wsp-fadeUp 0.8s ease-out 0.45s both;
}

.wsp-hero-scroll svg {
    animation: wsp-bounce 2s infinite;
}

/* ============================================
   SECTIONS (Boutiques, Bloggers, Social)
   ============================================ */
.wsp-section {
    padding: 80px 0;
    position: relative;
}

.wsp-section:nth-child(even) {
    background: var(--wsp-cream);
}

.wsp-section:nth-child(odd) {
    background: var(--wsp-white);
}

.wsp-section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.wsp-section-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.wsp-section--boutiques .wsp-section-icon {
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
    color: var(--wsp-navy);
}

.wsp-section--bloggers .wsp-section-icon {
    background: linear-gradient(135deg, #fef3e2, #fde8c8);
    color: var(--wsp-coral-dark);
}

.wsp-section--social .wsp-section-icon {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #166534;
}

.wsp-section-title {
    font-family: var(--wsp-font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--wsp-text);
    margin: 0 0 10px;
    line-height: 1.2;
}

.wsp-section-subtitle {
    font-size: 1.05rem;
    color: var(--wsp-coral);
    font-weight: 600;
    margin: 0 0 16px;
}

.wsp-section-description {
    font-size: 1rem;
    color: var(--wsp-text-light);
    line-height: 1.7;
    margin: 0;
}

/* Benefit Cards Grid */
.wsp-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.wsp-benefit-card {
    background: var(--wsp-white);
    border-radius: var(--wsp-radius-md);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--wsp-border);
    transition: var(--wsp-transition);
    position: relative;
    overflow: hidden;
}

.wsp-section:nth-child(odd) .wsp-benefit-card {
    background: var(--wsp-cream);
}

.wsp-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--wsp-coral);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.wsp-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wsp-shadow-md);
    border-color: transparent;
}

.wsp-benefit-card:hover::before {
    transform: scaleX(1);
}

.wsp-benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--wsp-navy), var(--wsp-navy-light));
    color: var(--wsp-white);
}

.wsp-benefit-icon svg {
    width: 24px;
    height: 24px;
}

.wsp-benefit-title {
    font-family: var(--wsp-font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--wsp-text);
    margin: 0 0 10px;
}

.wsp-benefit-text {
    font-size: 0.9rem;
    color: var(--wsp-text-light);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   FORM SECTION
   ============================================ */
.wsp-form-section {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--wsp-white) 0%, var(--wsp-cream) 100%);
}

.wsp-form-wrapper {
    max-width: 640px;
    margin: 0 auto;
}

.wsp-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.wsp-form-title {
    font-family: var(--wsp-font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--wsp-text);
    margin: 0 0 12px;
}

.wsp-form-subtitle {
    font-size: 1rem;
    color: var(--wsp-text-light);
    margin: 0;
    line-height: 1.6;
}

.wsp-form {
    background: var(--wsp-white);
    border-radius: var(--wsp-radius-lg);
    padding: 40px;
    box-shadow: var(--wsp-shadow-md);
    border: 1px solid var(--wsp-border);
}

.wsp-form-group {
    margin-bottom: 24px;
}

.wsp-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wsp-text);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.wsp-form-label .wsp-optional {
    font-weight: 400;
    color: var(--wsp-text-muted);
    font-size: 0.8rem;
}

.wsp-form-input,
.wsp-form-select,
.wsp-form-textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-family: var(--wsp-font-body);
    color: var(--wsp-text);
    background: var(--wsp-cream);
    border: 2px solid transparent;
    border-radius: var(--wsp-radius-sm);
    transition: var(--wsp-transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.wsp-form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}

.wsp-form-input:focus,
.wsp-form-select:focus,
.wsp-form-textarea:focus {
    border-color: var(--wsp-coral);
    background: var(--wsp-white);
    box-shadow: 0 0 0 4px rgba(232, 115, 74, 0.1);
}

.wsp-form-input::placeholder,
.wsp-form-textarea::placeholder {
    color: var(--wsp-text-muted);
}

.wsp-form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.wsp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wsp-form-submit {
    width: 100%;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--wsp-font-body);
    color: var(--wsp-white);
    background: linear-gradient(135deg, var(--wsp-coral), var(--wsp-coral-dark));
    border: none;
    border-radius: var(--wsp-radius-sm);
    cursor: pointer;
    transition: var(--wsp-transition);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    margin-top: 8px;
}

.wsp-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 115, 74, 0.35);
}

.wsp-form-submit:active {
    transform: translateY(0);
}

.wsp-form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.wsp-form-submit .wsp-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: wsp-spin 0.7s linear infinite;
    margin: 0 auto;
}

.wsp-form-submit.is-loading .wsp-btn-text {
    display: none;
}

.wsp-form-submit.is-loading .wsp-spinner {
    display: inline-block;
}

/* Honeypot */
.wsp-form-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Notification */
.wsp-form-notification {
    display: none;
    padding: 16px 20px;
    border-radius: var(--wsp-radius-sm);
    margin-bottom: 24px;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: wsp-fadeUp 0.4s ease-out;
}

.wsp-form-notification.is-success {
    display: block;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.wsp-form-notification.is-error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes wsp-fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wsp-fadeDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wsp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes wsp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

@keyframes wsp-spin {
    to { transform: rotate(360deg); }
}

/* Scroll-triggered reveal */
.wsp-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.wsp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for benefit cards */
.wsp-benefit-card:nth-child(1) { transition-delay: 0s; }
.wsp-benefit-card:nth-child(2) { transition-delay: 0.1s; }
.wsp-benefit-card:nth-child(3) { transition-delay: 0.2s; }
.wsp-benefit-card:nth-child(4) { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .wsp-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wsp-hero {
        min-height: 420px;
        padding: 60px 0 40px;
    }

    .wsp-section {
        padding: 56px 0;
    }

    .wsp-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .wsp-benefit-card {
        padding: 24px 20px;
        text-align: left;
        display: flex;
        gap: 16px;
        align-items: flex-start;
    }

    .wsp-benefit-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .wsp-form {
        padding: 28px 20px;
        border-radius: var(--wsp-radius-md);
    }

    .wsp-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .wsp-form-section {
        padding: 56px 0 80px;
    }
}

@media (max-width: 480px) {
    .wsp-hero {
        min-height: 380px;
        padding: 50px 0 30px;
    }

    .wsp-hero-badge {
        font-size: 11px;
        padding: 6px 16px;
    }

    .wsp-section {
        padding: 44px 0;
    }

    .wsp-section-header {
        margin-bottom: 32px;
    }

    .wsp-form {
        padding: 24px 16px;
    }
}

/* ============================================
   BREADCRUMB OVERRIDE
   ============================================ */
#wspolpraca .breadcrumb-wrapper {
    background: var(--wsp-navy-dark);
}

#wspolpraca .breadcrumb-wrapper .breadcrumb {
    color: rgba(255, 255, 255, 0.5);
}

#wspolpraca .breadcrumb-wrapper .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

/* Hide default wrapper padding */
#wspolpraca #wrapperChemia {
    padding: 0;
}
