/* Juicy Co — bold & playful static site */
:root {
    --bg: #fffaf2;
    --fg: #0e0e0e;
    --muted: #6b6b6b;
    --green: #7ed957;
    --green-ink: #0d2e10;
    --yellow: #ffd60a;
    --yellow-ink: #3a2900;
    --black: #0e0e0e;
    --black-ink: #fffaf2;
    --accent: #ff5e3a;
    --shadow: 0 24px 60px -20px rgba(0,0,0,.35);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.5;
    overflow-x: hidden;
}

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

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

.display {
    font-family: 'Archivo Black', 'Arial Black', sans-serif;
    letter-spacing: -.02em;
    line-height: .9;
}

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

/* NAV */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,250,242,.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Archivo Black', sans-serif;
    font-size: 24px;
}

.logo span {
    background: var(--yellow);
    padding: 0 8px;
    border-radius: 8px;
    display: inline-block;
    transform: rotate(-3deg);
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
    font-weight: 600;
}

.cart-btn {
    position: relative;
    background: var(--fg);
    color: var(--bg);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 999px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* HERO */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .6;
    animation: blob 18s ease-in-out infinite;
}

.blob.g {
    width: 420px;
    height: 420px;
    background: var(--green);
    top: -100px;
    left: -100px;
}

.blob.y {
    width: 480px;
    height: 480px;
    background: var(--yellow);
    top: 30%;
    right: -160px;
    animation-delay: -6s;
}

.blob.k {
    width: 320px;
    height: 320px;
    background: var(--black);
    bottom: -80px;
    left: 30%;
    opacity: .25;
    animation-delay: -12s;
}

@keyframes blob {
    0%, 100% {
        transform: translate(0,0) scale(1);
    }
    33% {
        transform: translate(40px,-30px) scale(1.1);
    }
    66% {
        transform: translate(-30px,40px) scale(.9);
    }
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 80px 0;
}

.eyebrow {
    display: inline-block;
    border: 1px solid rgba(0,0,0,.2);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    background: rgba(255,255,255,.6);
    backdrop-filter: blur(6px);
}

.hero h1 {
    font-size: clamp(3.5rem,9vw,8rem);
    margin-top: 24px;
}

.hero h1 .pop {
    background: var(--green);
    color: var(--green-ink);
    padding: 0 16px;
    border-radius: 18px;
    display: inline-block;
    transform: rotate(-2deg);
}

.hero p {
    margin-top: 28px;
    max-width: 480px;
    color: var(--muted);
    font-size: 18px;
}

.hero-cta {
    margin-top: 32px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-size: 15px;
    transition: transform .2s ease, opacity .2s;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-solid {
    background: var(--fg);
    color: var(--bg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--fg);
    color: var(--fg);
}

.hero-stats {
    display: flex;
    gap: 24px;
    margin-top: 48px;
    align-items: center;
}

.hero-stats .num {
    font-family: 'Archivo Black', sans-serif;
    font-size: 32px;
}

.hero-stats .lbl {
    color: var(--muted);
    font-size: 14px;
}

.hero-stats .sep {
    width: 1px;
    height: 40px;
    background: rgba(0,0,0,.2);
}

.hero-bottles {
    position: relative;
    height: 560px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bottles img {
    position: absolute;
    height: 420px;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,.3));
    animation: bob 5s ease-in-out infinite;
}

.hero-bottles img:nth-child(1) {
    left: 5%;
    height: 340px;
    animation-delay: 0s;
}

.hero-bottles img:nth-child(2) {
    z-index: 2;
    height: 360px;
    animation-delay: -1.5s;
}

.hero-bottles img:nth-child(3) {
    right: 5%;
    height: 340px;
    animation-delay: -3s;
}

@keyframes bob {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* MARQUEE */
.marquee {
    background: var(--fg);
    color: var(--bg);
    padding: 14px 0;
    overflow: hidden;
    font-family: 'Archivo Black', sans-serif;
    font-size: 20px;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    gap: 48px;
    padding-left: 48px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* SECTIONS */
.bottle-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.bottle-section.green {
    background: var(--green);
    color: var(--green-ink);
}

.bottle-section.yellow {
    background: var(--yellow);
    color: var(--yellow-ink);
}

.bottle-section.black {
    background: var(--black);
    color: var(--black-ink);
}

.bs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.bs-grid.reverse > div:first-child {
    order: 2;
}

.bs-img {
    position: relative;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-img::before {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: currentColor;
    opacity: .08;
}

.bs-img img {
    position: relative;
    height: 520px;
    filter: drop-shadow(0 40px 50px rgba(0,0,0,.4));
    animation: bob 6s ease-in-out infinite;
}

.tag {
    display: inline-block;
    background: currentColor;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.tag span {
    color: var(--bg);
}

.bottle-section.green .tag {
    color: var(--green-ink);
}

.bottle-section.green .tag span {
    color: var(--green);
}

.bottle-section.yellow .tag {
    color: var(--yellow-ink);
}

.bottle-section.yellow .tag span {
    color: var(--yellow);
}

.bottle-section.black .tag {
    color: var(--black-ink);
}

.bottle-section.black .tag span {
    color: var(--black);
}

.bs-name {
    font-size: clamp(3rem,7vw,6rem);
    margin-top: 20px;
}

.bs-tag {
    font-size: 22px;
    margin-top: 14px;
    font-weight: 600;
    opacity: .9;
}

.bs-story {
    margin-top: 20px;
    max-width: 480px;
    opacity: .85;
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.chip {
    border: 2px solid currentColor;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.bs-buy {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.bs-buy .price {
    font-family: 'Archivo Black', sans-serif;
    font-size: 40px;
}

.btn-add {
    background: currentColor;
    border-radius: 999px;
    padding: 14px 26px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-add span {
    display: inline-block;
}

.bottle-section.green .btn-add {
    color: var(--green-ink);
}

.bottle-section.green .btn-add span {
    color: var(--green);
}

.bottle-section.yellow .btn-add {
    color: var(--yellow-ink);
}

.bottle-section.yellow .btn-add span {
    color: var(--yellow);
}

.bottle-section.black .btn-add {
    color: var(--black-ink);
}

.bottle-section.black .btn-add span {
    color: var(--black);
}

.btn-detail {
    border: 2px solid currentColor;
    background: transparent;
    color: inherit;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    font-size: 14px;
}

.reviews {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.review {
    border-radius: 18px;
    padding: 18px;
    font-size: 13px;
}

.review p,
.review .who {
    color: inherit;
}

.review p {
    opacity: .92;
}

.review .who {
    margin-top: 10px;
    font-weight: 800;
    opacity: .7;
    font-size: 12px;
}

.bottle-section.green .review {
    background: var(--green-ink);
    color: var(--green);
}

.bottle-section.green .review p,
.bottle-section.green .review .who {
    color: inherit;
}

.bottle-section.yellow .review {
    background: var(--yellow-ink);
    color: var(--yellow);
}

.bottle-section.yellow .review p,
.bottle-section.yellow .review .who {
    color: inherit;
}

.bottle-section.black .review {
    background: var(--black-ink);
    color: var(--black);
}

.bottle-section.black .review p,
.bottle-section.black .review .who {
    color: inherit;
}

.review .stars {
    color: var(--accent);
    margin-bottom: 6px;
    letter-spacing: 2px;
    font-size: 14px;
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s ease, transform .9s ease;
}

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

.reveal.d1 {
    transition-delay: .1s;
}

.reveal.d2 {
    transition-delay: .2s;
}

.reveal.d3 {
    transition-delay: .3s;
}

.reveal.d4 {
    transition-delay: .4s;
}

/* FOOTER */
footer {
    background: var(--fg);
    color: var(--bg);
    padding: 80px 0 40px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

footer h4 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--yellow);
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 8px;
    opacity: .8;
}

footer li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.news {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.news input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 999px;
    border: none;
    background: rgba(255,255,255,.1);
    color: var(--bg);
    font: inherit;
}

.news input::placeholder {
    color: rgba(255,255,255,.5);
}

.news button {
    background: var(--yellow);
    color: var(--fg);
    border: none;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}

.copy {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.1);
    opacity: .6;
    font-size: 13px;
    text-align: center;
}

/* CART / FORM */
.page {
    padding: 64px 0;
    min-height: 70vh;
}

.page h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2.5rem,6vw,5rem);
}

.cart-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-row {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    padding: 16px;
    border-radius: 18px;
}

.cart-row img {
    height: 80px;
    width: 80px;
    object-fit: contain;
}

.cart-row .info {
    flex: 1;
}

.cart-row .info h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 18px;
}

.cart-row .qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-row .qty button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.2);
    background: #fff;
    cursor: pointer;
    font-weight: 800;
}

.cart-row .price {
    font-family: 'Archivo Black', sans-serif;
    font-size: 20px;
    min-width: 60px;
    text-align: right;
}

.cart-row .rm {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--accent);
    font-weight: 700;
}

.empty {
    text-align: center;
    padding: 60px 0;
    color: var(--muted);
}

.summary {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: var(--fg);
    color: var(--bg);
    border-radius: 18px;
}

.summary .total {
    font-family: 'Archivo Black', sans-serif;
    font-size: 28px;
}

.checkout-form {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 680px;
}

.checkout-form input {
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,.15);
    font: inherit;
    background: #fff;
}

.checkout-form input.full {
    grid-column: span 2;
}

.checkout-form button {
    grid-column: span 2;
    padding: 18px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    font-size: 16px;
}

.field-err {
    color: var(--accent);
    font-size: 12px;
    margin-top: -6px;
}

/* PRODUCT DETAIL */
.pd {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 80px 0;
}

.pd img {
    height: 600px;
    margin: 0 auto;
    filter: drop-shadow(0 40px 50px rgba(0,0,0,.3));
}

.pd h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(3rem,7vw,6rem);
}

.pd .price {
    font-family: 'Archivo Black', sans-serif;
    font-size: 48px;
    margin-top: 20px;
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--fg);
    color: var(--bg);
    padding: 14px 22px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    font-weight: 600;
    transform: translateY(120%);
    transition: transform .35s ease;
    z-index: 100;
}

.toast.show {
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 880px) {
    .hero-grid,
    .bs-grid,
    .bs-grid.reverse,
    .pd,
    .foot-grid {
        grid-template-columns: 1fr;
    }

    .bs-grid.reverse > div:first-child {
        order: 0;
    }

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

    .checkout-form {
        grid-template-columns: 1fr;
    }

    .checkout-form input.full,
    .checkout-form button {
        grid-column: span 1;
    }

    .nav-links a:not(.cart-btn) {
        display: none;
    }

    .hero-bottles {
        height: 420px;
    }

    .hero-bottles img {
        height: 280px !important;
    }

    .hero-bottles img:nth-child(2) {
        height: 340px !important;
    }
}
