/* =============================================================
   Plonify — Główny arkusz stylów
   Wygenerowany z prototypów HTML (11 plików)
   ============================================================= */

/* ─── 1. PALETA KOLORÓW I ZMIENNE ─── */
:root {
    --bg-pure: #fdfcfb;
    --bg-pastel: #f1f4ef;
    --green-main: #b0c49e;
    --green-dark: #3a4b31;
    --green-dark-b2b: #2a3623;
    /* Ciemniejszy dla sekcji B2B */
    --accent-coral: #f7a47c;
    --text-dark: #20261b;
    --text-muted: #5e6b52;

    --font-display: 'Fraunces', serif;
    --font-ui: 'Plus Jakarta Sans', sans-serif;

    --radius-organic: 6px 30px 8px 25px;
    --radius-organic-tight: 4px 20px 6px 14px;
    --ease-organic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --ease-fluid: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ─── 2. RESET ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-pure);
    color: var(--text-dark);
    font-family: var(--font-ui);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    cursor: none;
}

/* Texture noise w tle */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 999;
}

/* ─── 3. NIESTANDARDOWY KURSOR ─── */
.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--green-main);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    mix-blend-mode: multiply;
    transition:
        width 0.3s var(--ease-fluid),
        height 0.3s var(--ease-fluid),
        background-color 0.3s var(--ease-fluid),
        opacity 0.3s ease;
}

.cursor.hovered {
    width: 56px;
    height: 56px;
    background-color: var(--accent-coral);
    mix-blend-mode: normal;
    opacity: 0.8;
}

/* ─── 4. TYPOGRAFIA ─── */
h1,
h2,
h3 {
    color: var(--green-dark);
    font-weight: 300;
}

.title-display {
    font-family: var(--font-display);
    font-size: clamp(3rem, 9vw, 7rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-left: -2%;
    position: relative;
}

.kinetic-text {
    display: inline-block;
    color: var(--green-main);
    animation: kineticPulse 5s infinite var(--ease-fluid);
}

@keyframes kineticPulse {

    0%,
    100% {
        font-weight: 200;
        font-stretch: 50%;
        letter-spacing: -0.04em;
    }

    50% {
        font-weight: 900;
        font-stretch: 150%;
        letter-spacing: -0.02em;
    }
}

.title-ui {
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    line-height: 1.1;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.title-ui::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-coral);
    border-radius: 2px;
}

p {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 65ch;
    color: var(--text-muted);
    font-weight: 300;
}

/* ─── 5. PRZYCISKI ─── */
.btn {
    display: inline-block;
    background: var(--green-main);
    color: var(--bg-pure);
    padding: 1.25rem 2.8rem 1.35rem 2.6rem;
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: var(--radius-organic);
    transition: all 0.5s var(--ease-organic);
    border: 3px solid transparent;
    cursor: none;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn:hover {
    background: var(--bg-pure);
    color: var(--green-dark);
    border-color: var(--green-main);
    transform: translateY(-5px) rotate(-1.5deg);
    box-shadow: 6px 15px 25px rgba(176, 196, 158, 0.3);
}

.btn:hover::after {
    left: -100%;
}

.btn-outline {
    background: transparent;
    color: var(--green-dark);
    border: 3px solid var(--green-main);
}

.btn-outline:hover {
    background: var(--green-main);
    color: var(--bg-pure);
    transform: translateY(-5px) rotate(1.5deg);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-coral);
    color: var(--text-dark);
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
    animation: badgePulse 3s infinite ease-in-out;
}

@keyframes badgePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(247, 164, 124, 0);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 15px rgba(247, 164, 124, 0.3);
    }
}

/* ─── 6. LAYOUT ─── */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 5rem);
}

section {
    padding: 8rem 0;
    position: relative;
}

/* ─── 7. NAWIGACJA ─── */
nav,
#site-nav {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo {
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--green-dark);
    text-decoration: none;
    font-style: italic;
    position: relative;
}

.logo span {
    color: var(--accent-coral);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a,
.nav-links li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    list-style: none;
}

.nav-links a::before,
.nav-links li a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-main);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active,
.nav-links li a:hover {
    color: var(--green-main);
}

.nav-links a:hover::before,
.nav-links a.active::before,
.nav-links li a:hover::before {
    width: 100%;
}

.nav-link-special {
    border: 2px solid var(--accent-coral) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    color: var(--accent-coral) !important;
}

.nav-link-special::before {
    display: none !important;
}

.nav-link-special:hover {
    background: var(--accent-coral) !important;
    color: var(--bg-pure) !important;
}

.nav-back {
    font-weight: 800;
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.nav-back:hover {
    color: var(--accent-coral);
}

/* ─── 8. HERO ─── */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, #e8eee4 0%, var(--bg-pure) 60%);
    border-radius: 0 0 60px 60px;
    position: relative;
    z-index: 2;
}

.hero-desc {
    margin: 2.5rem 0 3.5rem;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    color: var(--text-dark);
    border-left: 4px solid var(--accent-coral);
    padding-left: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ─── 9. PASEK POSTĘPU ─── */
.progress-container {
    margin: 2.5rem 0;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
    font-weight: 800;
    color: var(--text-dark);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #e8eee4;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: var(--green-main);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s var(--ease-fluid);
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShimmer 1.5s infinite;
}

@keyframes progressShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.progress-fill.success {
    background: var(--accent-coral);
    animation: successConfetti 1s forwards;
}

.progress-fill.success::after {
    display: none;
}

@keyframes successConfetti {
    0% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.3);
    }

    100% {
        transform: scaleY(1);
    }
}

/* ─── 10. KARTY ZBIÓREK (DROPS) ─── */
.drops-section {
    background-color: var(--green-dark);
    color: var(--bg-pure);
    border-radius: 60px;
    margin: 5rem 1rem;
    padding: 8rem clamp(1rem, 5vw, 4rem);
    position: relative;
}

.drops-section h2,
.drops-section p {
    color: var(--bg-pure);
}

.drops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.drop-card {
    background: var(--bg-pure);
    border-radius: var(--radius-organic);
    padding: 3rem;
    color: var(--text-dark);
    transition: all 0.5s var(--ease-organic);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(176, 196, 158, 0.3);
}

.drop-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-coral);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.drop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1rem;
}

.drop-farmer {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--green-dark);
    line-height: 1.1;
}

.drop-loc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 0.6rem;
    display: block;
    border-left: 2px solid var(--accent-coral);
    padding-left: 10px;
}

/* Tag dystansu */
.distance-tag {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--bg-pastel);
    color: var(--green-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    border: 2px solid var(--green-main);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    z-index: 2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.distance-tag.far {
    background: #fff;
    border-color: #e0e0e0;
    color: #999;
    box-shadow: none;
}

/* Małe przyciski w kartach */
.btn-small {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--green-dark);
    color: #fff;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    cursor: none;
    letter-spacing: 0.05em;
    border: none;
}

.btn-small:hover {
    background: var(--accent-coral);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 164, 124, 0.3);
}

/* ─── 11. BENTO GRID (JAK TO DZIAŁA) ─── */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 5rem;
}

.bento-card {
    background: var(--bg-pastel);
    padding: 3.5rem 2.8rem;
    border-radius: var(--radius-organic);
    position: relative;
    transition: all 0.6s var(--ease-organic);
    border: 1px solid rgba(176, 196, 158, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bento-card:nth-child(2) {
    grid-row: span 2;
}

.bento-card:hover {
    transform: translateY(-10px) rotate(-1deg);
    background: #ffffff;
    border-color: var(--green-main);
    box-shadow: 6px 15px 30px rgba(176, 196, 158, 0.15);
}

.step-num {
    font-family: var(--font-display);
    font-size: 6rem;
    color: #e8eee4;
    position: absolute;
    top: -25px;
    right: 20px;
    line-height: 1;
    text-shadow:
        -1px -1px 0 var(--green-main),
        1px -1px 0 var(--green-main),
        -1px 1px 0 var(--green-main),
        1px 1px 0 var(--green-main);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.bento-card:hover .step-num {
    opacity: 1;
    color: var(--bg-pure);
}

.bento-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    transform: rotate(-5deg);
    transition: transform 0.4s var(--ease-organic);
}

.bento-card:hover .bento-icon {
    transform: scale(1.1) rotate(0deg);
}

/* ─── 12. FAQ / AKORDEON ─── */
.faq-section {
    padding: 8rem 0;
    background-color: var(--bg-pure);
}

.faq-header {
    text-align: left;
    margin-bottom: 4rem;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    border-bottom: 2px solid rgba(176, 196, 158, 0.3);
    padding-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--green-main);
}

.faq-item summary {
    font-family: var(--font-ui);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 800;
    color: var(--text-dark);
    cursor: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    padding: 1rem 0;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    transition: transform 0.5s var(--ease-organic);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--green-main);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background 0.3s ease, transform 0.5s var(--ease-organic);
}

.faq-icon::before {
    width: 100%;
    height: 3px;
    border-radius: 2px;
}

.faq-icon::after {
    width: 3px;
    height: 100%;
    border-radius: 2px;
}

.faq-item[open] summary {
    color: var(--green-dark);
}

.faq-item[open] .faq-icon {
    transform: rotate(135deg);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
    background: var(--accent-coral);
}

.faq-answer {
    margin-top: 1rem;
    padding-right: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeDown 0.4s var(--ease-fluid) forwards;
    opacity: 0;
    transform: translateY(-10px);
}

@keyframes fadeDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── 13. MARQUEE ─── */
.marquee-container {
    background: var(--green-dark);
    padding: 1.5rem 0;
    transform: rotate(-1.5deg) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: flex;
    animation: scrollMarquee 25s linear infinite;
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--bg-pure);
    margin: 0 3rem;
    font-style: italic;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.marquee-content span::before {
    content: '✦';
    font-size: 1rem;
    color: var(--accent-coral);
}

.marquee-content span:hover {
    opacity: 1;
    color: var(--accent-coral);
    transform: scale(1.05) rotate(1deg);
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ─── 14. STATYSTYKI ─── */
.stats-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    padding: 4rem clamp(1rem, 5vw, 5rem);
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 6rem);
    color: var(--green-main);
    line-height: 0.9;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.stat-label {
    font-family: var(--font-ui);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── 15. STOPKA ─── */
footer {
    background: var(--bg-pastel);
    padding: 5rem 0 2.5rem;
    border-top: 1px solid rgba(176, 196, 158, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-text {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--green-dark);
    font-style: italic;
    line-height: 1.1;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 1.5rem;
}

.footer-social a {
    color: var(--green-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-coral);
    transform: scale(1.1);
}

/* ─── 16. ANIMACJE REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-fluid);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ─── 17. FORMULARZE — WSPÓLNE ─── */
.form-control {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-family: var(--font-ui);
    font-size: 1.1rem;
    border: 2px solid rgba(176, 196, 158, 0.4);
    border-radius: var(--radius-organic-tight);
    background: var(--bg-pure);
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
    cursor: none;
}

.form-control:focus {
    border-color: var(--accent-coral);
    background: #fff;
    box-shadow: 0 5px 15px rgba(247, 164, 124, 0.1);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #aab8a1;
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 800;
    color: var(--green-dark);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

/* Custom Checkbox */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1rem;
    cursor: none;
}

.checkbox-group input {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--green-main);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.checkbox-custom::after {
    content: '✓';
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s var(--ease-organic);
}

.checkbox-group input:checked+.checkbox-custom {
    background: var(--green-main);
    border-color: var(--green-main);
}

.checkbox-group input:checked+.checkbox-custom::after {
    opacity: 1;
    transform: scale(1);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    cursor: none;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: none;
    inset: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s var(--ease-organic);
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--green-main);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

/* ─── 18. RESPONSYWNOŚĆ ─── */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .bento-card:nth-child(2) {
        grid-row: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-wrapper {
        flex-direction: column;
        gap: 3rem;
        align-items: flex-start;
    }

    .drops-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        border-radius: 0 0 30px 30px;
    }

    .drops-section {
        margin: 2rem 0;
        border-radius: 0;
        padding: 5rem 1.5rem;
    }

    .btn {
        text-align: center;
        width: 100%;
    }

    .title-display {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .cursor {
        display: none;
    }

    body {
        cursor: auto;
    }

    .faq-item summary {
        cursor: pointer;
    }

    .btn-small,
    .toggle-switch {
        cursor: pointer;
    }
}