:root {
    --primary: #2a063f;
    --primary-dark: #160022;
    --secondary: #5c1685;
    --accent: #8b3db8;
    --gold: #d7b56d;
    --gold-light: #f4dfad;
    --snow: #fbf9fc;
    --surface: #ffffff;
    --surface-soft: #f6f1f8;
    --text: #241b29;
    --text-light: #716778;
    --border: rgba(42, 6, 63, 0.10);
    --shadow-sm: 0 10px 30px rgba(35, 7, 50, 0.07);
    --shadow-md: 0 18px 50px rgba(35, 7, 50, 0.12);
    --shadow-lg: 0 30px 80px rgba(20, 0, 30, 0.20);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --transition: 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--snow);
    overflow-x: hidden;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #f1edf3;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--secondary));
    border-radius: 20px;
    border: 2px solid #f1edf3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.25;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

/* =========================
   HEADER & NAVIGATION
========================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.9rem 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(42, 6, 63, 0.08);
    box-shadow: 0 8px 30px rgba(26, 0, 40, 0.04);
    transition: var(--transition);
}

.nav-container {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    width: 118px !important;
    height: auto;
    display: block;
    filter: drop-shadow(0 5px 12px rgba(42, 6, 63, 0.12));
    transition: transform var(--transition);
}

.logo:hover img {
    transform: scale(1.03);
}

.logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 24px rgba(67, 11, 95, 0.22);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links > a {
    position: relative;
    text-decoration: none;
    color: #423748;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    padding: 0.7rem 0;
    transition: color var(--transition);
}

.nav-links > a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
    transform: translateX(-50%);
    transition: width var(--transition);
    border-radius: 10px;
}

.nav-links > a:hover,
.nav-links > a.active {
    color: var(--primary);
}

.nav-links > a:hover::after,
.nav-links > a.active::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.35rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.75rem 1.7rem;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    cursor: pointer;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-login {
    background: transparent;
    color: var(--primary);
    border: 1px solid rgba(42, 6, 63, 0.35);
}

.btn-login:hover {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 12px 25px rgba(42, 6, 63, 0.20);
}

.btn-register {
    color: white !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 12px 26px rgba(71, 12, 101, 0.25);
}

.btn-register:hover {
    box-shadow: 0 16px 35px rgba(71, 12, 101, 0.35);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--primary);
    background: white;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

/* =========================
   HERO SECTION
========================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 145px 2rem 70px;
    background:
        linear-gradient(90deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.88) 38%,
            rgba(255, 255, 255, 0.42) 65%,
            rgba(42, 6, 63, 0.18) 100%),
        url('../images/bg.png') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 25%, rgba(215, 181, 109, 0.19), transparent 27%),
        radial-gradient(circle at 80% 75%, rgba(92, 22, 133, 0.20), transparent 33%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    right: -220px;
    bottom: -250px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.05),
        0 0 0 110px rgba(255, 255, 255, 0.03);
}

.hero-content {
    width: min(1280px, 100%);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: left;
}

.hero-content::before {
    content: 'PREMIUM CUSTOMIZED WATER';
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    margin-bottom: 1.4rem;
    border-radius: 999px;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(215, 181, 109, 0.65);
    box-shadow: 0 8px 24px rgba(42, 6, 63, 0.08);
    backdrop-filter: blur(10px);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.hero h1 {
    max-width: 760px;
    color: var(--primary) !important;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -2.5px;
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 35px rgba(255, 255, 255, 0.45);
}

.hero p {
    max-width: 680px;
    color: #5d3d68 !important;
    font-size: 1.08rem;
    line-height: 1.85;
    margin-bottom: 2.4rem;
    font-weight: 450;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-hero {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--primary);
    padding: 1rem 2.25rem;
    box-shadow: 0 15px 35px rgba(173, 125, 33, 0.26);
}

.btn-hero:hover {
    box-shadow: 0 20px 42px rgba(173, 125, 33, 0.34);
}

.btn-hero-outline {
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(42, 6, 63, 0.24);
    padding: 1rem 2.25rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(42, 6, 63, 0.08);
}

.btn-hero-outline:hover {
    color: white !important;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 16px 35px rgba(42, 6, 63, 0.25);
}

/* =========================
   COMMON SECTION TITLE
========================= */

.section-title {
    width: min(760px, 100%);
    margin: 0 auto 4rem;
    text-align: center;
}

.section-title span {
    display: inline-block;
    margin-bottom: 0.8rem;
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    color: var(--primary);
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    line-height: 1.12;
    margin-bottom: 1.3rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -14px;
    width: 78px;
    height: 3px;
    border-radius: 10px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--gold), var(--secondary));
}

.section-title p {
    max-width: 650px;
    margin: 1.1rem auto 0;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

/* =========================
   FEATURES
========================= */

.features {
    padding: 7rem 2rem;
    background:
        radial-gradient(circle at 8% 10%, rgba(215, 181, 109, 0.10), transparent 22%),
        var(--surface);
}

.features-grid {
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.feature-card {
    position: relative;
    overflow: hidden;
    min-height: 330px;
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 250, 0.92));
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--secondary));
}

.feature-card::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    right: -70px;
    bottom: -80px;
    border-radius: 50%;
    background: rgba(92, 22, 133, 0.05);
    transition: transform var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(215, 181, 109, 0.45);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::after {
    transform: scale(1.4);
}

.feature-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    color: white;
    font-size: 1.8rem;
    background: linear-gradient(145deg, var(--primary), var(--secondary));
    box-shadow:
        0 14px 30px rgba(57, 8, 82, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
    transform: rotate(-3deg);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(0deg) scale(1.05);
}

.feature-card h3 {
    color: var(--primary);
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.92rem;
    line-height: 1.8;
}

/* =========================
   PRODUCTS
========================= */

.products {
    padding: 7rem 2rem;
    background:
        linear-gradient(135deg, rgba(42, 6, 63, 0.025), rgba(215, 181, 109, 0.08)),
        #f8f5fa;
}

.products-grid {
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: white;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 260px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(145deg, var(--primary-dark), var(--secondary));
}

.product-image::before {
    content: '';
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
}

.product-image::after {
    content: 'BIYORUWA';
    position: absolute;
    right: -25px;
    bottom: 5px;
    color: rgba(255, 255, 255, 0.06);
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 4px;
    transform: rotate(-90deg);
}

.product-image i {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.30));
    transition: transform var(--transition);
}

.product-card:hover .product-image i {
    transform: translateY(-7px) scale(1.05);
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    color: var(--primary);
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
}

.product-content p {
    min-height: 76px;
    color: var(--text-light);
    font-size: 0.91rem;
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.product-price {
    position: relative;
    padding-top: 1rem;
    margin-bottom: 1.35rem;
    color: var(--secondary);
    font-size: 1.35rem;
    font-weight: 800;
}

.product-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--gold);
}

/* =========================
   TESTIMONIALS
========================= */

.testimonials {
    padding: 7rem 2rem;
    background: white;
}

.testimonials-grid {
    width: min(1280px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.testimonial-card {
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    background:
        linear-gradient(145deg, #ffffff, #faf7fb);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(215, 181, 109, 0.48);
    box-shadow: var(--shadow-md);
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: -18px;
    right: 20px;
    color: rgba(92, 22, 133, 0.10);
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    line-height: 1;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(var(--gold), var(--secondary));
}

.testimonial-content {
    position: relative;
    z-index: 2;
    min-height: 175px;
    color: #655a6b;
    font-size: 0.94rem;
    font-style: italic;
    line-height: 1.85;
    margin-bottom: 1.8rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(42, 6, 63, 0.08);
}

.author-avatar {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.05rem;
    font-weight: 800;
    background: linear-gradient(145deg, var(--primary), var(--secondary));
    border: 3px solid rgba(215, 181, 109, 0.65);
    box-shadow: 0 9px 20px rgba(42, 6, 63, 0.16);
}

.author-info h4 {
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.97rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.78rem;
    line-height: 1.5;
}

/* =========================
   CHOCOLATE SHOWCASE
========================= */

.chocolate-showcase {
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
    background:
        linear-gradient(90deg, rgba(20, 7, 14, 0.94), rgba(43, 15, 30, 0.86)),
        url('../images/chocolate/b5.png') center/cover no-repeat fixed;
}

.chocolate-showcase::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 25%, rgba(215, 181, 109, 0.16), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(139, 61, 184, 0.18), transparent 30%);
}

.chocolate-showcase .section-title {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
}

.chocolate-showcase .section-title span {
    color: var(--gold-light);
}

.chocolate-showcase .section-title h2 {
    color: white;
}

.chocolate-showcase .section-title h2::after {
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
}

.chocolate-showcase .section-title p {
    color: rgba(255, 255, 255, 0.72);
}

.slider {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
    padding: 1.5rem 0 2.2rem;
}

.slider::before,
.slider::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 110px;
    z-index: 3;
    pointer-events: none;
}

.slider::before {
    left: 0;
    background: linear-gradient(90deg, rgba(20, 7, 14, 0.95), transparent);
}

.slider::after {
    right: 0;
    background: linear-gradient(-90deg, rgba(20, 7, 14, 0.95), transparent);
}

.slide-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollLeft 30s linear infinite;
    will-change: transform;
}

.slide-track:hover {
    animation-play-state: paused;
}

.slide-track img {
    width: 280px;
    height: 340px;
    object-fit: contain;
    display: block;
    margin: 0 18px;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(215, 181, 109, 0.28);
    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.30),
        inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    transition: var(--transition);
}

.slide-track img:hover {
    transform: translateY(-10px) scale(1.025);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.40);
}

@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-316px * 6));
    }
}

/* =========================
   CTA
========================= */

.cta {
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem;
    color: white;
    text-align: center;
    background:
        radial-gradient(circle at 18% 20%, rgba(215, 181, 109, 0.16), transparent 25%),
        linear-gradient(135deg, var(--primary-dark), var(--primary) 48%, var(--secondary));
}

.cta::before {
    content: '';
    position: absolute;
    width: 430px;
    height: 430px;
    left: -220px;
    top: -230px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.03),
        0 0 0 110px rgba(255, 255, 255, 0.02);
}

.cta::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    right: -170px;
    bottom: -180px;
    border-radius: 50%;
    background: rgba(215, 181, 109, 0.06);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.12;
    margin-bottom: 1.3rem;
}

.cta p {
    max-width: 690px;
    margin: 0 auto 2.3rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    line-height: 1.85;
}

.btn-cta {
    color: var(--primary);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    padding: 1rem 2.5rem;
    box-shadow: 0 15px 35px rgba(215, 181, 109, 0.28);
}

.btn-cta:hover {
    box-shadow: 0 20px 45px rgba(215, 181, 109, 0.38);
}

/* =========================
   FOOTER
========================= */

.footer {
    position: relative;
    overflow: hidden;
    color: white;
    padding: 5rem 2rem 2rem;
    background: #120018;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-content {
    position: relative;
    z-index: 2;
    width: min(1280px, 100%);
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 1.25fr 0.8fr 1.15fr;
    gap: 4rem;
}

.footer-column h3 {
    position: relative;
    color: white;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 2px;
    background: var(--gold);
}

.footer-column p {
    max-width: 390px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    line-height: 1.85;
    margin-bottom: 1.4rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 0.95rem;
}

.footer-column ul li i {
    width: 18px;
    margin-top: 5px;
    color: var(--gold);
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-column ul li a:hover {
    color: var(--gold-light);
    padding-left: 4px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-dark);
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.footer-bottom {
    position: relative;
    z-index: 2;
    width: min(1280px, 100%);
    margin: 0 auto;
    padding-top: 1.8rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.78rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .nav-links {
        gap: 1.25rem;
    }

    .features-grid,
    .products-grid,
    .testimonials-grid {
        gap: 1.4rem;
    }

    .feature-card,
    .testimonial-card {
        padding: 2.2rem 1.6rem;
    }
}

@media (max-width: 900px) {
    .nav-container {
        width: min(100% - 28px, 1280px);
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 14px !important;
        right: 14px !important;
        padding: 1.2rem !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.35rem !important;
        background: rgba(255, 255, 255, 0.98) !important;
        border: 1px solid var(--border);
        border-radius: 18px;
        box-shadow: var(--shadow-md) !important;
        backdrop-filter: blur(18px);
    }

    .nav-links > a {
        padding: 0.85rem 1rem;
        border-radius: 10px;
    }

    .nav-links > a::after {
        display: none;
    }

    .nav-links > a:hover,
    .nav-links > a.active {
        color: var(--primary);
        background: var(--surface-soft);
    }

    .auth-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin: 0.8rem 0 0;
    }

    .features-grid,
    .products-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .header {
        padding: 0.75rem 0;
    }

    .logo img {
        width: 100px !important;
    }

    .hero {
        min-height: auto;
        padding: 130px 1.25rem 80px;
        background:
            linear-gradient(rgba(255, 255, 255, 0.90), rgba(255, 255, 255, 0.90)),
            url('../images/bg.png') center/cover no-repeat;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content::before {
        font-size: 0.64rem;
        letter-spacing: 1px;
    }

    .hero h1 {
        max-width: 100%;
        font-size: clamp(2.7rem, 12vw, 4rem);
        letter-spacing: -1.7px;
    }

    .hero p {
        max-width: 590px;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons a {
        width: min(100%, 340px);
        margin: 0;
    }

    .features,
    .products,
    .testimonials,
    .cta {
        padding: 5rem 1.2rem;
    }

    .chocolate-showcase {
        padding: 5rem 0;
        background-attachment: scroll;
    }

    .section-title {
        margin-bottom: 3rem;
    }

    .section-title h2 {
        font-size: 2.35rem;
    }

    .features-grid,
    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .product-content p,
    .testimonial-content {
        min-height: auto;
    }

    .slide-track img {
        width: 210px;
        height: 260px;
        margin: 0 11px;
        border-radius: 18px;
    }

    @keyframes scrollLeft {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-232px * 6));
        }
    }

    .slider::before,
    .slider::after {
        width: 45px;
    }

    .footer {
        padding: 4rem 1.2rem 1.8rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.6rem;
    }

    .footer-column p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        width: calc(100% - 22px);
    }

    .auth-buttons {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .section-title h2 {
        font-size: 2.05rem;
    }

    .feature-card,
    .product-content,
    .testimonial-card {
        padding: 2rem 1.35rem;
    }

    .product-image {
        height: 220px;
    }

    .cta h2 {
        font-size: 2.3rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ===========================
   Trusted Clients Section
=========================== */

.clients-showcase {
    position: relative;
    overflow: hidden;
    padding: 90px 0;

    background:
        linear-gradient(
            rgba(20, 15, 35, 0.92),
            rgba(20, 15, 35, 0.92)
        ),
        url('../images/bg.png');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.clients-showcase::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(215, 181, 109, 0.14),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(92, 22, 133, 0.20),
            transparent 35%
        );

    pointer-events: none;
}

.clients-showcase .section-title {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.clients-showcase .section-title span {
    color: #ffd56a;
}

.clients-showcase .section-title h2 {
    color: #ffffff;
}

.clients-showcase .section-title p {
    color: rgba(255, 255, 255, 0.75);
}

/* ===========================
   Slider
=========================== */

.clients-slider {
    position: relative;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    margin-top: 50px;
    padding: 25px 0 35px;
}

.clients-slider::before,
.clients-slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 5;
    pointer-events: none;
}

.clients-slider::before {
    left: 0;
    background: linear-gradient(
        to right,
        rgba(23, 16, 32, 1),
        rgba(23, 16, 32, 0)
    );
}

.clients-slider::after {
    right: 0;
    background: linear-gradient(
        to left,
        rgba(23, 16, 32, 1),
        rgba(23, 16, 32, 0)
    );
}

/* 5 images visible on desktop */

.clients-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: clientsScroll 35s linear infinite;
    will-change: transform;
}

.clients-track:hover {
    animation-play-state: paused;
}

/* Bigger portrait cards */

.clients-track img {
    flex: 0 0 auto;

    width: calc((100vw - 180px) / 5);
    max-width: 300px;
    min-width: 230px;

    height: 440px;
    object-fit: contain;

    margin: 0 3px;
    padding: 2px;

    background: transparent;
    border-radius: 20px;

    border: 1px solid rgba(255, 213, 106, 0.28);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.30),
        0 0 0 1px rgba(255, 255, 255, 0.05);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.clients-track img:hover {
    transform: translateY(-12px) scale(1.025);

    border-color: rgba(255, 213, 106, 0.60);

    box-shadow:
        0 30px 65px rgba(0, 0, 0, 0.45);
}

/* Infinite scroll
   6 original images are duplicated once
*/

@keyframes clientsScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-320px * 6));
    }
}

/* ===========================
   Large Desktop
=========================== */

@media (min-width: 1400px) {
    .clients-track img {
        width: 280px;
        height: 460px;
        margin: 0 12px;
    }

    @keyframes clientsScroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-304px * 6));
        }
    }
}

/* ===========================
   Tablet
=========================== */

@media (max-width: 1024px) {
    .clients-track img {
        width: 250px;
        min-width: 250px;
        height: 400px;
        margin: 0 10px;
    }

    .clients-slider::before,
    .clients-slider::after {
        width: 65px;
    }

    @keyframes clientsScroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-270px * 6));
        }
    }
}

/* ===========================
   Mobile
=========================== */

@media (max-width: 768px) {
    .clients-showcase {
        padding: 65px 0;
        background-attachment: scroll;
    }

    .clients-slider {
        margin-top: 35px;
        padding: 15px 0 25px;
    }

    .clients-track img {
        width: 220px;
        min-width: 220px;
        height: 350px;

        margin: 0 8px;
        padding: 8px;

        border-radius: 16px;
    }

    .clients-slider::before,
    .clients-slider::after {
        width: 35px;
    }

    @keyframes clientsScroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-236px * 6));
        }
    }
}

/* ===========================
   Small Mobile
=========================== */

@media (max-width: 480px) {
    .clients-track img {
        width: 190px;
        min-width: 190px;
        height: 310px;
        margin: 0 7px;
    }

    @keyframes clientsScroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-204px * 6));
        }
    }
}


/* ===========================
   FINAL MOBILE MENU FIX
=========================== */
@media (max-width:900px){

.header{
    overflow:visible;
}

.nav-container{
    position:relative;
}

.mobile-menu-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    z-index:1002;
}

.nav-links{
    display:none;
    position:absolute !important;
    top:calc(100% + 10px) !important;
    left:14px !important;
    right:14px !important;
    width:auto;
    flex-direction:column !important;
    gap:6px !important;
    padding:16px !important;
    background:rgba(255,255,255,.99) !important;
    border:1px solid rgba(42,6,63,.10);
    border-radius:18px;
    box-shadow:0 18px 45px rgba(0,0,0,.14);
    z-index:1001;
}

.nav-links.mobile-open{
    display:flex !important;
}

.nav-links>a{
    width:100%;
    padding:13px 15px;
    border-radius:10px;
}

.nav-links>a::after{
    display:none;
}

.nav-links>a:hover,
.nav-links>a.active{
    background:var(--surface-soft);
}

.auth-buttons{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:10px;
}

.auth-buttons .btn{
    width:100%;
}

}

@media(max-width:480px){

.auth-buttons{
    grid-template-columns:1fr;
}

}