/* ─── TOKENS ─── */
:root {
    --primary: #FF7E5F;
    --primary-dark: #e06040;
    --secondary: #2D5A27;
    --text: #1d1d1f;
    --text-muted: #555;
    --bg: #ffffff;
    --bg-soft: #fff9f4;
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.45);
    --shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 60px rgba(0, 0, 0, 0.12);
    --radius: 24px;
    --radius-sm: 14px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ─── LAYOUT ─── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 100px 0;
    scroll-margin-top: 85px;
}

/* Explicit section background overrides */
.light-bg {
    background: var(--bg-soft);
}


/* ─── GLASS UTILITY ─── */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.glass-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 6px solid white;
    box-shadow: var(--shadow);
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ─── NAVBAR ─── */
nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1140px;
    height: 66px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

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

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    padding: 0.65rem 1.6rem;
    font-size: 0.95rem;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 18px rgba(255, 126, 95, 0.3);
    transition: transform 0.25s, box-shadow 0.25s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 126, 95, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: var(--text);
    box-shadow: none;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.45);
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    background: linear-gradient(160deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.35) 100%),
        url('hero-mobile.webp') center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 1.5rem 60px;
}

.hero-content {
    width: 100%;
}

.hero .glass-card {
    display: inline-block;
    padding: 3rem 2.5rem;
    max-width: 720px;
    text-align: left;
    /* Fully transparent — only blur & subtle border */
    background: transparent;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border: none;
    box-shadow: none;
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.2rem;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.hero .btn-glass {
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}


.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ─── SECTION TITLES ─── */
.section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 3.5rem;
}

/* ─── ABOUT ─── */
#rolunk {
    padding-top: 120px;
}

.about-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-img {
    height: 440px;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ─── FEATURES ─── */
.light-bg {
    background: var(--bg-soft);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.feature-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 2.8rem;
}

/* ─── PRICING ─── */
.price-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 760px;
    margin: 0 auto;
}

.price-card {
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.price-badge {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(255, 126, 95, 0.1);
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
}

.price-amount {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
}

.price-amount span {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.soon-label {
    font-size: 1.6rem;
    color: var(--text-muted);
}

.price-card--soon {
    opacity: 0.75;
}

.price-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.price-perks {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: left;
}

/* ─── GALLERY ─── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    aspect-ratio: 1 / 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ─── FAQ ─── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
}

.faq-question {
    padding: 1.2rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    user-select: none;
}

.faq-question span {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.2rem;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    display: block;
}

/* ─── ORDER FUNNEL ─── */
.funnel-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem;
}

.funnel-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.funnel-header h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 6px;
    background: #e8e8ed;
    border-radius: 999px;
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
}

.progress-fill {
    height: 100%;
    width: 25%;
    background: var(--primary);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.funnel-step {
    display: none;
}

.funnel-step.active {
    display: block;
    animation: fadeInUp 0.35s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

.funnel-step h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* ─── INPUTS ─── */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.input-group label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid #e0e0e0;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.6);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text);
    transition: border-color 0.2s;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-row {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-row .btn {
    flex: 1;
    text-align: center;
}

.shipping-info-alert {
    background: #fffafa;
    border: 1.5px solid #ffe8e3;
    color: #e06040;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ─── QTY CONTROL ─── */
.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0.5rem 0 1rem;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    max-width: 320px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.qty-btn {
    background: var(--bg-soft);
    border: none;
    font-size: 1.5rem;
    font-weight: 700;
    width: 52px;
    height: 52px;
    cursor: pointer;
    color: var(--primary);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.qty-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

#qty-select {
    flex: 1;
    border: none;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    background: white;
    cursor: pointer;
    padding: 0 0.5rem;
    height: 52px;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
}

#qty-select:focus {
    background: #fff9f4;
}

/* ─── ORDER SUMMARY BOX ─── */
.order-summary-box {
    background: linear-gradient(135deg, #fff8f0, #fff3e0);
    border: 2px solid #f0c080;
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.5rem;
    margin: 1rem 0 1.5rem;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(240,192,128,0.3);
    color: var(--text-muted);
}

.order-summary-row:last-of-type {
    border-bottom: none;
}

.order-summary-total {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text);
    padding-top: 0.6rem;
    margin-top: 0.2rem;
    border-top: 2px solid #f0c080 !important;
    border-bottom: none !important;
}

.free-shipping-note {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
}

/* ─── REQUIRED STAR ─── */
.required-star {
    color: #e06040;
    font-weight: 700;
    margin-left: 2px;
}

.required-star-optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.82rem;
    margin-left: 4px;
}

/* ─── INPUT ERROR STATE ─── */
.input-error {
    border-color: #d32f2f !important;
    background: #fff5f5 !important;
    animation: shake 0.35s ease;
}

@keyframes shake {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-5px); }
    40%  { transform: translateX(5px); }
    60%  { transform: translateX(-4px); }
    80%  { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

/* ─── STEP 2 DIVIDER ─── */
.step2-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin: 1.8rem 0 1.2rem;
    padding: 0.8rem 1rem;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}

/* ─── FRUIT PRICE ─── */
.fruit-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.2rem;
}

.fruit-option-card--disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.4);
}

.fruit-option-card--disabled .fruit-price {
    color: var(--text-muted);
}

/* ─── REVIEW TOTAL ─── */
.review-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
    margin-top: 0.4rem;
    border-top: 2px dashed #e0e0e0;
    font-size: 1rem;
}

.review-total-amount {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

/* ─── FRUIT SELECTOR ─── */
.fruit-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.2rem 0;
}

.fruit-option {
    cursor: pointer;
}

.fruit-option input[type="radio"] {
    display: none;
}

.fruit-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    border: 2.5px solid #e0e0e0;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.25s ease;
    text-align: center;
}

.fruit-option-card:hover {
    border-color: var(--primary);
    background: rgba(255, 126, 95, 0.06);
    transform: translateY(-2px);
}

.fruit-option input[type="radio"]:checked + .fruit-option-card {
    border-color: var(--primary);
    background: rgba(255, 126, 95, 0.1);
    box-shadow: 0 4px 18px rgba(255, 126, 95, 0.2);
}

.fruit-emoji {
    font-size: 2.5rem;
    line-height: 1;
}

.fruit-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
}

.field-error {
    color: #d32f2f;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0.8rem;
    background: #fff5f5;
    border-radius: 8px;
    border: 1px solid #ffcdd2;
}

/* ─── REVIEW & CRATES ─── */
.review-box {
    background: var(--bg-soft);
    border: 1px solid #ece8e3;
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.review-box p {
    font-size: 0.95rem;
}

.review-box strong {
    color: var(--text);
}

.privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 1.2rem 0;
}

.privacy-note input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary);
}

.privacy-note a {
    color: var(--primary);
    text-decoration: underline;
}

.crate-visualization {
    background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 100%);
    border: 2px dashed #f0c080;
    border-radius: 24px;
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    overflow: hidden;
    /* prevent child overflow */
}

.peach-counter {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.peach-counter-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.crates-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    min-height: 30px;
    max-width: 100%;
}

.crate {
    width: 100px;
    height: 72px;
    background: linear-gradient(160deg, #e09850, #c07030);
    border: 3px solid #8b5a2b;
    border-bottom: 5px solid #5c3a1a;
    border-radius: 6px;
    padding: 5px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    flex-shrink: 0;
}

.crate::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px 6px 0 0;
}

.crate:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.crate-peach {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 35% 30%, #ffb895, #ff6b42);
    border-radius: 50%;
    margin: 1px;
    box-shadow: inset -1px -1px 3px rgba(0, 0, 0, 0.15);
    animation: peach-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes peach-pop {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive crate sizes */
@media (max-width: 600px) {
    .crate {
        width: 80px;
        height: 58px;
    }

    .crate-peach {
        width: 13px;
        height: 13px;
    }

    .crates-grid {
        gap: 8px;
    }

    .peach-counter {
        font-size: 2rem;
    }
}

/* ─── SUCCESS ─── */
.success-box {
    text-align: center;
    padding: 3rem;
    background: #e8f5e9;
    border-radius: var(--radius);
    color: var(--secondary);
}

.success-box h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* ─── FOOTER ─── */
footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: white;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.65;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links p {
    font-size: 0.8rem;
    opacity: 0.45;
    margin-top: 0.5rem;
}

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

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    /* Navbar collapses to full-width strip on mobile */
    nav {
        top: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        padding: 0.55rem 1.1rem;
        font-size: 0.9rem;
    }

    section {
        padding: 70px 0;
    }

    #rolunk {
        padding-top: 90px;
    }

    .hero {
        padding: 100px 1rem 50px;
        text-align: center;
    }

    .hero .glass-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .about-flex {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-img {
        height: 280px;
    }

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

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

    .price-cards-grid {
        grid-template-columns: 1fr;
    }

    .fruit-selector {
        grid-template-columns: 1fr 1fr;
    }

    .funnel-card {
        padding: 1.5rem;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .btn-row {
        flex-direction: column;
    }

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

    .qty-control {
        max-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        align-items: flex-start;
    }
}

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

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

    .fruit-selector {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .fruit-option-card {
        padding: 1rem 0.8rem;
    }

    .fruit-emoji {
        font-size: 2rem;
    }

    .price-card {
        padding: 2rem 1rem;
    }
}