/* ===================================================
   HOT CRUNCH — Premium Banana Chips
   Design System & Styles
   =================================================== */

/* --- Design Tokens --- */
:root {
    /* Colors */
    --gold: #D4A843;
    --gold-light: #E8C547;
    --gold-warm: #C49520;
    --gold-deep: #A07820;
    --chilli: #C03020;
    --chilli-light: #E04030;
    --chilli-deep: #881810;

    --white: #FFFFFF;
    --off-white: #FAFAF8;
    --cream: #F5F0E8;
    --gray-50: #F8F8F6;
    --gray-100: #F0EDE8;
    --gray-200: #E0DCD5;
    --gray-300: #C8C2B8;
    --gray-400: #A09888;
    --gray-500: #787068;
    --gray-600: #585048;
    --gray-700: #383228;
    --gray-800: #201C18;
    --gray-900: #121010;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.10);
    --shadow-gold: 0 8px 32px rgba(212, 168, 67, 0.2);
    --shadow-chilli: 0 8px 32px rgba(192, 48, 32, 0.2);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration: 0.6s;
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* --- Loader --- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.loader-chip {
    width: 12px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    animation: loaderBounce 1.2s ease-in-out infinite;
}

.loader-chip:nth-child(2) {
    animation-delay: 0.15s;
    background: var(--gold-warm);
}

.loader-chip:nth-child(3) {
    animation-delay: 0.3s;
    background: var(--gold-deep);
}

@keyframes loaderBounce {

    0%,
    80%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    40% {
        transform: scale(1.8);
        opacity: 1;
    }
}

.loader-text {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--gray-700);
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.5s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled .brand-logo {
    height: 120px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 180px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s var(--ease-out);
}

@media (max-width: 768px) {
    .brand-logo {
        height: 100px;
    }
}

.nav-logo:hover .brand-logo {
    transform: scale(1.05);
}

.footer-brand-logo {
    height: 240px;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .footer-brand-logo {
        height: 120px;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.3s var(--ease-out);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out);
}

.nav-link:hover {
    color: var(--gray-800);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    background: var(--gray-800);
    color: var(--white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.4s var(--ease-out);
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    background: var(--gold);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Section Commons --- */
.section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
    position: relative;
    padding-left: 2rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.2rem;
    height: 1.5px;
    background: var(--gold);
}

.section-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--gray-800);
    margin-bottom: var(--space-lg);
}

.title-italic {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    color: var(--gold);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

/* --- Hero Section --- */
.hero {
    min-height: 100svh;
    min-height: 100vh;
    /* fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
    padding-top: 5rem;
}

@supports (min-height: 100dvh) {
    .hero {
        min-height: 100dvh;
    }
}

/* --- Sidebar Overlay --- */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Body scroll lock --- */
body.sidebar-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 168, 67, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 168, 67, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-parallax-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

/* Floating chips */
.floating-chip {
    position: absolute;
    opacity: 0.15;
    will-change: transform;
}

.chip-1 {
    top: 12%;
    right: 8%;
    width: 100px;
    animation: floatChip 8s ease-in-out infinite;
}

.chip-2 {
    top: 60%;
    left: 5%;
    width: 80px;
    animation: floatChip 10s ease-in-out infinite 1s;
}

.chip-3 {
    bottom: 20%;
    right: 15%;
    width: 70px;
    animation: floatChip 9s ease-in-out infinite 2s;
}

.chip-4 {
    top: 25%;
    left: 12%;
    width: 90px;
    animation: floatChip 11s ease-in-out infinite 0.5s;
}

.chip-5 {
    bottom: 35%;
    left: 30%;
    width: 65px;
    animation: floatChip 7.5s ease-in-out infinite 1.5s;
}

@keyframes floatChip {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(3deg);
    }

    50% {
        transform: translateY(-8px) rotate(-2deg);
    }

    75% {
        transform: translateY(-20px) rotate(4deg);
    }
}

.hero-bowl {
    position: absolute;
    right: 5%;
    bottom: 8%;
    width: clamp(280px, 35vw, 500px);
    opacity: 0;
    transform: translateY(40px);
    pointer-events: none;
}

.bowl-svg {
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
    padding-left: 5%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid rgba(212, 168, 67, 0.15);
    border-radius: var(--radius-full);
    padding: 0.45rem 1.2rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gold-warm);
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    font-family: var(--font-body);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line span,
.title-line {
    opacity: 0;
    transform: translateY(100%);
}

.title-accent {
    color: var(--gold);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--gray-500);
    margin-bottom: var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.45s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.4s var(--ease-out);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gray-900);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: var(--gold);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-product {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background: var(--gold-warm);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-chilli {
    background: var(--chilli);
    color: var(--white);
}

.btn-chilli:hover {
    background: var(--chilli-light);
    box-shadow: var(--shadow-chilli);
    transform: translateY(-2px);
}

/* --- Hero scroll indicator --- */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
}

.hero-scroll-indicator span {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 1;
    }

    50% {
        transform: scaleY(0.5);
        opacity: 0.3;
    }
}

/* --- About Section --- */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.about-left {
    position: sticky;
    top: 8rem;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.about-block {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-lg);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: all 0.5s var(--ease-out);
}

.about-block:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 168, 67, 0.15);
    transform: translateY(-2px);
}

.about-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    color: var(--gold);
}

.about-block p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-600);
}

/* --- Why Choose Us --- */
.why-us {
    background: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.feature-module {
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    position: relative;
    border-bottom: 1px solid var(--gray-200);
    transition: all 0.5s var(--ease-out);
    cursor: default;
}

.feature-module:nth-child(odd) {
    border-right: 1px solid var(--gray-200);
}

.feature-module:nth-last-child(-n+2) {
    border-bottom: none;
}

.feature-module:hover {
    background: var(--white);
}

.feature-module:hover .feature-number {
    color: var(--gold);
}

.feature-module:hover .feature-line {
    transform: scaleX(1);
}

.feature-number {
    font-family: var(--font-body);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-200);
    line-height: 1;
    transition: color 0.5s var(--ease-out);
    flex-shrink: 0;
    width: 60px;
}

.feature-content h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.4rem;
}

.feature-content p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.feature-line {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out);
}

/* --- Flavours Section --- */
.flavours {
    background: var(--white);
}

.flavours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--gray-100);
    transition: all 0.6s var(--ease-out);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    z-index: 5;
    background: var(--gold);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-full);
}

.product-badge-chilli {
    background: var(--chilli);
}

.product-visual {
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-gold .product-visual {
    background: linear-gradient(135deg, rgba(212, 168, 67, 0.05) 0%, rgba(232, 197, 71, 0.1) 100%);
}

.product-chilli .product-visual {
    background: linear-gradient(135deg, rgba(192, 48, 32, 0.05) 0%, rgba(224, 64, 48, 0.1) 100%);
}

.product-img-wrapper {
    width: 220px;
    height: 220px;
    transition: transform 0.6s var(--ease-out);
}

.product-card:hover .product-img-wrapper {
    transform: scale(1.05) rotateY(5deg);
}

.product-illustration {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.product-info {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.product-name {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* --- Delivery Section --- */
.delivery {
    background: var(--gray-50);
}

.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.delivery-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.delivery-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: all 0.4s var(--ease-out);
}

.delivery-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 168, 67, 0.2);
}

.delivery-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: var(--gold);
}

.delivery-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.2rem;
}

.delivery-item p {
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* Maharashtra map */
.maharashtra-map {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.map-outline {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawMap 3s var(--ease-out) forwards;
}

@keyframes drawMap {
    to {
        stroke-dashoffset: 0;
    }
}

.map-glow-pulse {
    animation: mapPulse 3s ease-in-out infinite;
}

@keyframes mapPulse {

    0%,
    100% {
        r: 25;
        opacity: 0.15;
    }

    50% {
        r: 35;
        opacity: 0.25;
    }
}

.map-dot {
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        r: 6;
    }

    50% {
        r: 8;
    }
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: var(--space-sm);
}

.footer-logo .logo-hot {
    color: var(--chilli-light);
}

.footer-logo .logo-crunch {
    color: var(--white);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--gray-400);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.footer-links a,
.footer-contact a {
    display: block;
    font-size: 0.88rem;
    color: var(--gray-400);
    margin-bottom: 0.6rem;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold);
}

.footer-contact p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--gray-500);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-lg);
    font-size: 0.82rem;
    color: var(--gray-500);
}

.footer-made {
    color: var(--gray-400);
}

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
    z-index: 998;
    transition: all 0.4s var(--ease-out);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.whatsapp-float.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--gray-700);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s var(--ease-out);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* --- Reveal Animation --- */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==================================
   RESPONSIVE DESIGN
   ================================== */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-left {
        position: static;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-module:nth-child(odd) {
        border-right: none;
    }

    .delivery-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .hero-bowl {
        width: clamp(200px, 30vw, 350px);
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    :root {
        --space-xl: 3rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

    /* Nav mobile */
    .nav-toggle {
        display: flex;
        z-index: 1100;
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        height: 100%;
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem var(--space-lg) var(--space-lg);
        gap: 0.3rem;
        transform: translateX(-100%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.12);
        z-index: 1050;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    /* Close (X) button inside sidebar */
    .sidebar-close-btn {
        position: absolute;
        top: 1.2rem;
        right: 1.2rem;
        font-size: 1.3rem;
        color: var(--gray-500);
        cursor: pointer;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--gray-50);
        border: 1px solid var(--gray-200);
        z-index: 10;
        transition: all 0.3s var(--ease-out);
        font-family: var(--font-body);
        line-height: 1;
        padding: 0;
    }

    .sidebar-close-btn:hover {
        background: var(--gray-200);
        color: var(--gray-800);
    }

    .nav-link {
        font-size: 1.05rem;
        padding: 0.7rem 0;
        width: 100%;
        border-bottom: 1px solid var(--gray-100);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link-cta {
        margin-top: var(--space-md);
        text-align: center;
        justify-content: center;
        display: inline-flex;
    }

    /* Hero mobile — reduced height, controlled spacing */
    .hero {
        min-height: auto;
        text-align: center;
        padding-top: 7rem;
        padding-bottom: 2.5rem;
    }

    .hero-content {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-title {
        font-size: clamp(2.2rem, 9vw, 3.2rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--space-lg);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-bowl {
        position: relative;
        right: auto;
        bottom: auto;
        width: 200px;
        margin: var(--space-md) auto 0;
        order: 2;
    }

    .hero-scroll-indicator {
        display: none;
    }

    .floating-chip {
        display: none;
    }

    .hero-badge {
        margin-bottom: var(--space-md);
    }

    /* Products mobile */
    .flavours-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .product-img-wrapper {
        width: 180px;
        height: 180px;
    }

    /* Footer mobile */
    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    /* WhatsApp float mobile spacing */
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    /* Section spacing on mobile */
    .section {
        padding: var(--space-2xl) 0;
    }

    /* Container padding */
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .hero-bowl {
        width: 180px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 0.35rem 1rem;
    }

    .btn {
        padding: 0.75rem 1.3rem;
        font-size: 0.84rem;
    }

    .feature-module {
        padding: var(--space-md) var(--space-sm);
    }

    .feature-number {
        font-size: 1.8rem;
        width: 40px;
    }

    .feature-content h3 {
        font-size: 1rem;
    }

    .feature-content p {
        font-size: 0.82rem;
    }

    .product-card:hover {
        transform: translateY(-4px);
    }

    .product-card:hover .product-img-wrapper {
        transform: scale(1.02);
    }

    /* Delivery section mobile */
    .delivery-item {
        padding: var(--space-sm);
    }

    .delivery-item h4 {
        font-size: 0.88rem;
    }

    /* Footer brand logo */
    .footer .brand-logo {
        height: 80px;
    }

    /* Section titles */
    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .section-tag {
        font-size: 0.7rem;
    }

    /* Navbar scrolled logo size */
    .navbar .brand-logo {
        height: 70px;
    }

    .navbar.scrolled .brand-logo {
        height: 60px;
    }

    /* About blocks */
    .about-block {
        padding: var(--space-md);
    }

    .about-block p {
        font-size: 0.88rem;
    }

    /* Product info */
    .product-info {
        padding: var(--space-sm) var(--space-md) var(--space-md);
    }

    .product-name {
        font-size: 1.3rem;
    }
}

/* --- Extra small devices (320px) --- */
@media (max-width: 360px) {
    :root {
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 3.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero {
        padding-top: 5.5rem;
        padding-bottom: 1.5rem;
    }

    .hero-bowl {
        width: 160px;
    }

    .hero-badge {
        font-size: 0.68rem;
        padding: 0.3rem 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.6rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.82rem;
    }

    .nav-links {
        width: 260px;
    }

    .navbar .brand-logo {
        height: 60px;
    }

    .navbar.scrolled .brand-logo {
        height: 50px;
    }

    .container {
        padding: 0 0.75rem;
    }

    .section-title {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    /* Footer */
    .footer {
        padding: var(--space-xl) 0 var(--space-sm);
    }

    .footer-tagline {
        font-size: 0.82rem;
    }

    .footer-links a,
    .footer-contact a {
        font-size: 0.82rem;
    }

    .product-visual {
        padding: var(--space-md) var(--space-sm);
    }

    .product-img-wrapper {
        width: 150px;
        height: 150px;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .floating-chip {
        display: none;
    }

    .scroll-line {
        animation: none;
    }
}

/* --- Print --- */
@media print {

    .navbar,
    .whatsapp-float,
    .hero-scroll-indicator,
    .loader {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }
}

/* --- Coupon Banner --- */
.coupon-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gray-900);
    color: var(--white);
    z-index: 2000;
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.5s var(--ease-out);
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.banner-icon {
    font-size: 1.2rem;
}

.banner-content p {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.banner-content strong {
    color: var(--gold);
    background: rgba(212, 168, 67, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.banner-close {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--gray-400);
    line-height: 1;
    padding: 5px;
    transition: color 0.3s;
}

.banner-close:hover {
    color: var(--white);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Adjust navbar when banner is visible */
body.has-banner .navbar {
    top: 45px;
}

@media (max-width: 768px) {
    .banner-content p {
        font-size: 0.8rem;
        padding-right: 20px;
    }

    body.has-banner .navbar {
        top: 60px;
    }
}