/* Global Styles */
:root {
    --primary-color: #0d1b2a;
    /* Deep Navy Blue */
    --secondary-color: #00b4d8;
    /* Cyan/Teal */
    --accent-color: #fca311;
    /* Amber/Orange */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gradient-bg: linear-gradient(135deg, var(--primary-color) 0%, #1b263b 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.section-padding {
    padding: 100px 0;
}

.full-width {
    width: 100%;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background: #0096c7;
    border-color: #0096c7;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-dot {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.btn-nav {
    padding: 10px 24px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(252, 163, 17, 0.3);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(to right, #ffffff 50%, #f0f4f8 50%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--secondary-color);
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--secondary-color);
}

.hero p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 90%;
}

.trusted-badge {
    margin-top: 30px;
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    text-align: center;
}


.blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(40px);
}

.product-img {
    position: relative;
    z-index: 3;
    max-height: 550px;
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
    }

    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(0, 180, 216, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Features */
.features {
    background: var(--white);
}

.subheading {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns on large screens */
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 180, 216, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Info Section */
.row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.col-image {
    flex: 1;
}

.col-text {
    flex: 1;
}

.rounded-shadow {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Ingredients */
.ingredients {
    background: #fbfbfb;
}

.ingredients-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.ingredient-item {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--secondary-color);
}

.ingredient-item h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
    align-items: center;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid #eee;
}

.pricing-card.popular {
    transform: scale(1.05);
    /* Slight scale up for emphasis */
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--secondary-color);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.cents {
    font-size: 1.5rem;
}

.features-list {
    margin: 30px 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 12px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 14px;
}

/* Responsive */
@media screen and (max-width: 968px) {
    .hero {
        padding: 120px 0 60px;
        background: var(--white);
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-top: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        width: 100%;
    }

    .product-img {
        max-height: 400px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-btns {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .row {
        flex-direction: column;
    }

    .rounded-shadow {
        height: auto;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 50px auto 0;
    }

    .pricing-card.popular {
        transform: scale(1);
    }
}

@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Pricing Images */
.offer-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
    display: block;
}

.pricing-card:hover .offer-img {
    transform: scale(1.02);
}

.pricing-card {
    padding: 15px !important;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: 'Outfit', sans-serif;
}

.nutrition-table th,
.nutrition-table td {
    border-bottom: 1px solid #ddd;
    padding: 12px 8px;
    text-align: left;
    font-size: 0.95rem;
}

.nutrition-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--primary-color);
}

.nutrition-table tr:hover {
    background-color: #f1f1f1;
}

.nutrition-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 15px;
    text-align: justify;
}