:root {
    /* Brand Colors extracted from the product image */
    --brand-yellow: #fbcb2b;
    --brand-orange: #eb7124;
    --brand-dark-blue: #1f3458;
    --brand-light-blue: #34bced;
    --brand-red: #e84e27;

    --bg-color: #ffffff;
    --bg-secondary: #fffaf0;
    /* Very light yellow/orange tint */
    --text-color: #1f3458;
    /* Dark blue for readable, friendly text */
    --text-muted: #5a6e8f;

    --font-heading: 'Fredoka', 'Outfit', sans-serif;
    --font-main: 'Outfit', sans-serif;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

html {
    scroll-padding-top: 100px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(251, 203, 43, 0.2);
    z-index: 1000;
    transition: var(--transition);
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-orange);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    color: var(--brand-orange);
    font-size: 1.6rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--brand-orange);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

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

.cart-icon {
    position: relative;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--brand-dark-blue);
    transition: var(--transition);
}

.cart-icon:hover {
    color: var(--brand-orange);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -12px;
    background: var(--brand-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transform: scale(1);
    border: 2px solid white;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-count.bump {
    transform: scale(1.4);
    background: var(--brand-yellow);
    color: var(--brand-dark-blue);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--brand-dark-blue);
    cursor: pointer;
    z-index: 1001;
    /* Above the mobile menu */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7rem 5% 3rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-secondary) 100%);
}

/* Decorative Background Shapes */
.shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
}

.shape-blue {
    width: 80px;
    height: 80px;
    background: var(--brand-light-blue);
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite alternate;
}

.shape-red {
    width: 40px;
    height: 40px;
    background: var(--brand-red);
    bottom: 30%;
    left: 45%;
    animation: float 6s ease-in-out infinite alternate-reverse;
}

.shape-yellow {
    width: 120px;
    height: 120px;
    background: var(--brand-yellow);
    top: 15%;
    right: 5%;
    animation: float 10s ease-in-out infinite;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.tagline {
    display: inline-block;
    background: rgba(235, 113, 36, 0.1);
    color: var(--brand-orange);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--brand-dark-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-badges i {
    color: var(--brand-light-blue);
    margin-right: 0.4rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.primary-btn {
    background: var(--brand-orange);
    color: white;
    box-shadow: 0 10px 25px rgba(235, 113, 36, 0.3);
}

.primary-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(235, 113, 36, 0.4);
    background: #f08140;
}

.primary-btn:active {
    transform: translateY(1px);
}

.secondary-btn {
    background: transparent;
    color: var(--brand-dark-blue);
    border: 2px solid var(--brand-dark-blue);
}

.secondary-btn:hover {
    background: var(--brand-dark-blue);
    color: white;
    transform: translateY(-5px);
}

.blue-btn {
    background: var(--brand-light-blue);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(52, 188, 237, 0.3);
}

.blue-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(52, 188, 237, 0.4);
    background: #25aae2;
    color: white;
}

.hero-image-container {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.glow-orb {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 203, 43, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 4s ease-in-out infinite alternate;
}

.hero-image {
    width: 100%;
    max-width: 550px;
    z-index: 2;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.15)) contrast(1.05);
    /* Enhance contrast slightly */
    /* Mix blend mode multiply makes white transparent against light backgrounds */
    mix-blend-mode: multiply;
}

/* Animations */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Features Section */
.features {
    padding: 6rem 5%;
    background: white;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.8rem;
    margin-bottom: 4rem;
    font-weight: 700;
    color: var(--brand-dark-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    border: 2px solid var(--bg-secondary);
    border-radius: 30px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(235, 113, 36, 0.1);
    border-color: rgba(251, 203, 43, 0.5);
}

.icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 40%;
    /* slightly squarish organic shape */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1.8rem;
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.orange-bg {
    background: var(--brand-orange);
    box-shadow: 0 10px 20px rgba(235, 113, 36, 0.3);
}

.yellow-bg {
    background: var(--brand-yellow);
    box-shadow: 0 10px 20px rgba(251, 203, 43, 0.3);
}

.blue-bg {
    background: var(--brand-light-blue);
    box-shadow: 0 10px 20px rgba(52, 188, 237, 0.3);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--brand-dark-blue);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Ingredients Section */
.ingredients {
    padding: 6rem 5%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.ingredients-content {
    flex: 1;
    max-width: 600px;
}

.ingredients .section-title {
    text-align: left;
    margin-bottom: 3rem;
}

.ingredient-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.ingredient-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(251, 203, 43, 0.15);
}

.ingredient-icon {
    font-size: 2rem;
    color: var(--brand-orange);
    background: rgba(235, 113, 36, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ingredient-text h4 {
    font-family: var(--font-heading);
    color: var(--brand-dark-blue);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.ingredients-image {
    flex: 1;
    position: relative;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gummy-abstract {
    position: absolute;
    border-radius: 30px;
    opacity: 0.9;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.gummy-1 {
    width: 150px;
    height: 180px;
    background: var(--brand-orange);
    transform: rotate(-15deg);
    z-index: 3;
    animation: float 5s ease-in-out infinite alternate;
}

.gummy-2 {
    width: 120px;
    height: 140px;
    background: var(--brand-yellow);
    right: 15%;
    top: 10%;
    transform: rotate(25deg);
    z-index: 2;
    animation: float 6s ease-in-out infinite alternate-reverse;
}

.gummy-3 {
    width: 100px;
    height: 120px;
    background: var(--brand-light-blue);
    left: 15%;
    bottom: 10%;
    transform: rotate(45deg);
    z-index: 1;
    animation: float 7s ease-in-out infinite alternate;
}

/* Footer */
footer {
    background: white;
    padding: 3rem 5%;
    text-align: center;
    border-top: 2px solid rgba(251, 203, 43, 0.2);
}

.footer-logo {
    justify-content: center;
    margin-bottom: 1rem;
}

/* ========================================= */
/* CART & CHECKOUT PAGE STYLES */
/* ========================================= */

.cart-page {
    background-color: #f8fbff;
    /* Very subtle blue-tinted light background */
}

.static-navbar {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
}

.back-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--brand-orange);
    transform: translateX(-5px);
}

.checkout-container {
    max-width: 1200px;
    margin: 3rem auto 6rem;
    padding: 0 5%;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.checkout-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--brand-dark-blue);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

/* Cart Items */
.cart-items-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background: #f8fbff;
    border-radius: 15px;
    padding: 10px;
    mix-blend-mode: multiply;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--brand-dark-blue);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e0e6ed;
    border-radius: 30px;
    overflow: hidden;
}

.qty-btn {
    width: 35px;
    height: 35px;
    background: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--bg-secondary);
    color: var(--brand-orange);
}

.qty-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    transition: var(--transition);
}

.remove-btn:hover {
    color: var(--brand-red);
}

.cart-item-price {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--brand-dark-blue);
}

/* Order Summary */
.payment-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.order-summary-box,
.payment-options-box {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.order-summary-box h3,
.payment-options-box h3 {
    font-family: var(--font-heading);
    color: var(--brand-dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.summary-divider {
    height: 1px;
    background: #e0e6ed;
    margin: 1.5rem 0;
}

.total-row {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand-dark-blue);
    font-family: var(--font-heading);
    margin-bottom: 0;
}

.free-shipping {
    color: #27ae60;
    font-weight: 600;
}

/* Payment Options */
.security-badge {
    display: inline-block;
    background: #f0fdf4;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    width: 100%;
    text-align: center;
    border: 1px solid #bbf7d0;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method-label {
    border: 2px solid #e0e6ed;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.payment-method-label:hover {
    border-color: #cbd5e1;
}

.payment-method-label.selected {
    border-color: var(--brand-orange);
    background-color: rgba(235, 113, 36, 0.02);
}

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

.payment-method-label input[type="radio"] {
    display: none;
    /* Hide default radio */
}

.method-name {
    font-weight: 600;
    color: var(--brand-dark-blue);
}

.card-icons {
    display: flex;
    gap: 0.5rem;
    font-size: 1.5rem;
    color: #cbd5e1;
}

.card-icons i {
    color: #64748b;
}

.paypal-icon {
    font-size: 1.5rem;
    color: #00457C;
}

.apple-icon {
    font-size: 1.6rem;
    color: #000;
}

/* Credit Card Form */
.credit-card-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e6ed;
}

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

.form-group.half {
    width: 48%;
}

.form-row {
    display: flex;
    justify-content: space-between;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(235, 113, 36, 0.1);
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.hint-icon {
    cursor: pointer;
    color: var(--brand-light-blue);
}

.checkout-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.checkout-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #94a3b8;
    box-shadow: none;
    transform: none;
}

.trust-indicators {
    text-align: center;
    border-top: 1px solid #e0e6ed;
    padding-top: 1.5rem;
}

.trust-img {
    height: 35px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.guarantee-text {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.guarantee-text i {
    color: var(--brand-yellow);
    margin-right: 0.3rem;
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 52, 88, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 4rem 3rem;
    border-radius: 30px;
    text-align: center;
    max-width: 500px;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.modal-content.show {
    transform: scale(1);
    opacity: 1;
}

.success-icon-wrapper {
    width: 100px;
    height: 100px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 3rem;
    margin: 0 auto 2rem;
    transform: scale(0);
}

.success-icon-wrapper.pop {
    animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.2s;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

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

.modal-content h2 {
    font-family: var(--font-heading);
    color: var(--brand-dark-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.order-number {
    font-family: monospace;
    font-size: 1.2rem !important;
    background: #f1f5f9;
    padding: 0.8rem;
    border-radius: 8px;
    color: var(--brand-dark-blue) !important;
    font-weight: 700;
    margin-bottom: 2rem !important;
}

/* ========================================= */
/* REVIEWS PAGE STYLES */
/* ========================================= */

.reviews-page {
    background-color: var(--bg-secondary);
}

.reviews-header {
    padding: 10rem 5% 5rem;
    background: white;
    border-bottom: 2px solid rgba(251, 203, 43, 0.2);
}

.text-center {
    text-align: center;
}

.overall-rating {
    margin-top: 2rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 3rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid rgba(251, 203, 43, 0.3);
}

.big-stars {
    font-size: 2rem;
    color: var(--brand-yellow);
}

.rating-number {
    font-weight: 700;
    color: var(--brand-dark-blue);
    font-size: 1.1rem;
}

.reviews-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(235, 113, 36, 0.08);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.bg-orange {
    background: var(--brand-orange);
}

.bg-blue {
    background: var(--brand-light-blue);
}

.bg-yellow {
    background: var(--brand-yellow);
    color: var(--brand-dark-blue);
}

.reviewer-name {
    font-family: var(--font-heading);
    color: var(--brand-dark-blue);
    font-size: 1.2rem;
}

.verified-badge {
    color: #27ae60;
    font-size: 1rem;
    margin-left: 0.3rem;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stars {
    color: var(--brand-yellow);
    font-size: 1.2rem;
}

.review-title {
    font-size: 1.4rem;
    color: var(--brand-dark-blue);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.review-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
    font-style: italic;
}

.cta-section {
    background: linear-gradient(135deg, var(--brand-dark-blue) 0%, #11203b 100%);
    color: white;
    text-align: center;
    padding: 6rem 5%;
    margin-top: 4rem;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 2rem;
}

/* ========================================= */
/* FAQ SECTION STYLES */
/* ========================================= */

.faq-section {
    padding: 6rem 5%;
    background: white;
    max-width: 900px;
    margin: 0 auto;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 2px solid var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(251, 203, 43, 0.3);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: white;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--brand-dark-blue);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--brand-orange);
}

.faq-question i {
    color: var(--brand-orange);
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background: var(--bg-secondary);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Responsive modifications for new pages */
@media (max-width: 992px) {

    .shape,
    .gummy-abstract {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

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

    .trust-badges {
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

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

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .cart-item-img {
        width: 100%;
        height: 200px;
    }

    .cart-item-price {
        position: absolute;
        top: 2rem;
        right: 0;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 5%;
    background: white;
    position: relative;
    z-index: 10;
}

.pricing-section .section-title {
    margin-bottom: 4rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    /* Center them vertically for the middle one to pop out */
}

.pricing-card {
    background: white;
    border: 2px solid var(--bg-secondary);
    border-radius: 30px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(251, 203, 43, 0.5);
}

.popular-card {
    border-color: var(--brand-orange);
    box-shadow: 0 15px 40px rgba(235, 113, 36, 0.15);
    transform: scale(1.05);
    /* Make it slightly larger */
    z-index: 2;
}

.popular-card:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: var(--brand-orange);
}

.value-card {
    border-color: var(--brand-light-blue);
}

.popular-badge,
.value-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.popular-badge {
    background: var(--brand-orange);
}

.value-badge {
    background: var(--brand-light-blue);
}

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--brand-dark-blue);
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.pricing-price {
    margin-bottom: 2rem;
    color: var(--brand-dark-blue);
}

.pricing-price .currency {
    font-size: 1.8rem;
    font-weight: 600;
    vertical-align: top;
    line-height: 1;
}

.pricing-price .amount {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
}

.pricing-price .cents {
    font-size: 1.4rem;
    font-weight: 600;
    vertical-align: top;
    line-height: 1;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2.5rem;
    text-align: left;
    flex-grow: 1;
    /* Push the button to the bottom */
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pricing-features li i {
    color: #27ae60;
    /* Green checkmark */
    font-size: 1.1rem;
}

.pricing-btn {
    width: 100%;
    margin-top: auto;
}

/* Mobile Responsiveness for Pricing Grid */
@media (max-width: 992px) {
    .popular-card {
        transform: scale(1);
        /* Remove scale on smaller screens to prevent overflow */
    }

    .popular-card:hover {
        transform: translateY(-10px);
    }
}

/* ========================================= */
/* CONTACT PAGE STYLES */
/* ========================================= */

.contact-page {
    background-color: var(--bg-secondary);
}

.contact-container {
    max-width: 1100px;
    margin: 6rem auto;
    padding: 0 5%;
}

.contact-header {
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background: var(--brand-dark-blue);
    color: white;
    padding: 3rem 2.5rem;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(31, 52, 88, 0.2);
    position: sticky;
    top: 6rem;
    overflow: hidden;
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    list-style: none;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-details li i {
    color: var(--brand-yellow);
    font-size: 1.3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--brand-orange);
    transform: translateY(-3px);
}

/* Form Styles */
.form-container {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-group.half {
    flex: 1;
}

.form-group label {
    font-weight: 600;
    color: var(--brand-dark-blue);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input {
    padding: 1rem 1.2rem;
    border: 2px solid #e0e6ed;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    background: #f8fbff;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-orange);
    background: white;
    box-shadow: 0 0 0 4px rgba(235, 113, 36, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.form-status {
    margin-top: 1rem;
    font-weight: 600;
    text-align: center;
}

.form-status.error {
    color: var(--brand-red);
}

.success-state {
    text-align: center;
    padding: 2rem 0;
}

.success-state.hidden {
    display: none;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #eefdf4;
    color: #27ae60;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.success-icon-wrapper.pop {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

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

.success-state h2 {
    font-family: var(--font-heading);
    color: var(--brand-dark-blue);
    margin-bottom: 1rem;
}

.success-state p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-info-card {
        padding: 2rem;
        position: static;
    }

    .form-container {
        padding: 1.5rem;
    }

    .contact-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .nutrition-label-container {
        padding: 12px;
        margin-top: 2rem;
        max-width: 100%;
    }

    .nutrition-label {
        padding: 8px 10px;
    }

    .nt-title {
        font-size: 2rem;
    }

    .nt-row {
        font-size: 0.95rem;
        padding: 1px 0;
    }

    .nt-blend-text {
        font-size: 0.85rem;
        padding-left: 10px;
    }

    .nt-other {
        font-size: 0.8rem;
    }

    .nt-thick-divider {
        margin: 2px 0;
    }

    .ingredients {
        flex-direction: column;
        padding: 4rem 5%;
    }

    .ingredients-image {
        width: 100%;
        min-height: auto;
    }
}


/* ========================================= */
/* LIVE CHAT WIDGET STYLES                   */
/* ========================================= */

#essova-chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    font-family: var(--font-body);
}

/* Launcher Button */
#chat-launcher {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--brand-orange);
    color: white;
    border: none;
    box-shadow: 0 5px 20px rgba(235, 113, 36, 0.4);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    transition: var(--transition);
    position: absolute;
    bottom: 0;
    right: 0;
}

#chat-launcher:hover {
    transform: scale(1.05);
    background: #f08140;
}

/* Chat Window */
.chat-hidden {
    display: none;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
}

.chat-visible {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
    flex-direction: column;
    width: 380px;
    height: 550px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: absolute;
    bottom: 85px;
    right: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Header */
.chat-header {
    background: var(--brand-dark-blue);
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.agent-avatar {
    width: 45px;
    height: 45px;
    background: white;
    color: var(--brand-orange);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chat-header h4 {
    margin: 0 0 3px 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
}

.chat-header p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Message Area */
.chat-messages {
    flex: 1;
    padding: 20px;
    background: #f8fbff;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.chat-message {
    display: flex;
    max-width: 85%;
    clear: both;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.message-bot {
    align-self: flex-start;
}

.message-bot .message-bubble {
    background: white;
    color: var(--text-color);
    border-bottom-left-radius: 4px;
}

.message-user {
    align-self: flex-end;
}

.message-user .message-bubble {
    background: var(--brand-orange);
    color: white;
    border-bottom-right-radius: 4px;
}

/* Quick Replies */
.chat-action-container {
    align-self: flex-end;
    margin-top: 5px;
    margin-bottom: 5px;
}

.chat-action-btn {
    background: white;
    border: 1px solid var(--brand-orange);
    color: var(--brand-orange);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.chat-action-btn:hover {
    background: rgba(235, 113, 36, 0.1);
}

/* Input Area */
.chat-input-area {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    border: 1px solid #e2e8f0;
    padding: 12px 15px;
    border-radius: 30px;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.chat-input-area input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(37, 170, 226, 0.1);
}

.chat-input-area button {
    background: var(--brand-dark-blue);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input-area button:hover {
    background: var(--brand-orange);
}



@media (max-width: 480px) {
    #essova-chat-widget {
        bottom: 15px;
        right: 15px;
    }

    .chat-visible {
        width: calc(100vw - 30px);
        height: 80vh;
        bottom: 80px;
    }
}

/* ========================================= */
/* ========================================= */

.nutrition-label-container {
    background: white;
    padding: 24px;
    border-radius: 20px;
    max-width: 380px;
    margin: 0 auto;
    font-family: var(--font-body);
    color: var(--text-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    border: 2px solid var(--bg-secondary);
    transition: var(--transition);
}

.nutrition-label-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(251, 203, 43, 0.15);
    border-color: rgba(251, 203, 43, 0.5);
}

.nutrition-label {
    position: relative;
    z-index: 2;
}

.nt-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    padding: 0;
    line-height: 1.1;
    color: var(--brand-dark-blue);
    text-align: center;
}

.nt-serving-info {
    margin: 0 0 1rem;
    border-bottom: 2px solid var(--brand-orange);
    padding-bottom: 1rem;
    text-align: center;
    background: rgba(235, 113, 36, 0.05);
    border-radius: 10px;
    padding: 10px;
}

.nt-serving-info p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nt-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    padding: 6px 0;
    align-items: center;
}

.nt-header {
    font-weight: 700;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    margin-bottom: 4px;
    color: var(--brand-dark-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nt-divider {
    border-bottom: 1px solid #f1f5f9;
}

.nt-thick-divider {
    border-bottom: 2px solid #e2e8f0;
    margin: 8px 0;
}

.nt-label-col {
    font-weight: 600;
    flex: 1;
    color: var(--brand-dark-blue);
}

.nt-label-col.indent {
    padding-left: 15px;
    font-weight: 400;
    color: var(--text-color);
}

.nt-label-col.indent-double {
    padding-left: 30px;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.nt-val-col {
    display: flex;
    font-weight: 500;
}

.nt-val {
    min-width: 60px;
    text-align: right;
    color: var(--text-color);
}

.nt-pct {
    min-width: 50px;
    text-align: right;
    font-weight: 700;
    color: var(--brand-orange);
}

.nt-asterisk {
    min-width: 50px;
    text-align: right;
    font-weight: 700;
    color: var(--brand-light-blue);
}

.nt-blend-text {
    font-size: 0.85rem;
    line-height: 1.4;
    padding: 10px;
    margin: 5px 0;
    background: #f8fbff;
    border-radius: 8px;
    color: var(--text-muted);
}

.nt-footer {
    font-size: 0.8rem;
    line-height: 1.4;
    padding-top: 10px;
    color: var(--text-muted);
    text-align: center;
}

.nt-footer p {
    margin: 2px 0;
}

.nt-other {
    border-top: 2px dashed #e2e8f0;
    margin-top: 15px;
    padding-top: 15px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.nt-other strong {
    font-weight: 700;
    color: var(--brand-dark-blue);
}

/* ========================================= */
/* SIDE CART DRAWER STYLES */
/* ========================================= */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(31, 52, 88, 0.5);
    backdrop-filter: blur(3px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    /* Hidden off screen by default */
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: #f8fbff;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-drawer.open {
    right: 0;
}

.cart-drawer-header {
    padding: 20px 25px;
    background: white;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h2 {
    font-family: var(--font-heading);
    color: var(--brand-dark-blue);
    font-size: 1.6rem;
    margin: 0;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.cart-close-btn:hover {
    color: var(--brand-red);
    transform: rotate(90deg);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 25px;
}

.cart-drawer-footer {
    padding: 20px 25px 30px;
    background: white;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.02);
}

/* Sidebar Specific overrides for cart items */
.cart-drawer .cart-item {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-drawer .cart-item-img {
    width: 80px;
    height: 80px;
}

.cart-drawer .cart-item-details h3 {
    font-size: 1.1rem;
}

.cart-drawer .cart-item-price {
    font-size: 1.1rem;
    align-self: flex-start;
}

/* Mobile Menu Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        justify-content: center;
    }

    .nav-actions {
        position: static;
    }

    .mobile-menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        left: 3%;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        padding: 5px;
        z-index: 2000;
    }

    .nav-actions>a {
        position: absolute;
        right: 5%;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        max-height: 400px !important;
        padding-bottom: 10px;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1.2rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links a::after {
        display: none;
    }

    /* Adjust hero text for mobile since we are fixing responsiveness */
    .hero-content h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .hero-buttons {
        flex-direction: column;
    }
}