/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary-color: #1a4d2e;
    /* Deep Herbal Green */
    --primary-light: #4caf50;
    /* Fresh Green */
    --secondary-color: #c5a028;
    /* Premium Gold */
    --text-dark: #1f2937;
    /* Dark Gray for text */
    --text-light: #6b7280;
    /* Light Gray for descriptions */
    --bg-light: #f9fafb;
    /* Off-white background */
    --bg-white: #ffffff;
    --accent-color: #e11d48;
    /* Red/Rose for CTA */

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px 0;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Prompt', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

.text-gold {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(26, 77, 46, 0.3);
}

.btn-primary:hover {
    background-color: #c5a028;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 77, 46, 0.4);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(26, 77, 46, 0.3);    
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 77, 46, 0.4);
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    display: block;
    font-size: 1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Header & Nav */
denta-header,
denta-footer,
denta-blog-cta,
denta-toc {
    display: block;
    width: 100%;
}

denta-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    box-shadow: var(--shadow-sm);
    /* Removed fixed position from here as parent handles it */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    z-index: 1001;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.badge {
    background: #e6f6e8;
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Problem Section */
.problems {
    padding: var(--section-padding);
    background-color: white;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.problem-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.problem-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    border-color: #eee;
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

/* Arguments/Ingredients */
.ingredients {
    padding: var(--section-padding);
    background-color: #f0fdf4;
}

.ingredient-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.ingredient-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ingredient-card:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.card-img {
    height: 200px;
    background-color: #ddd;
    /* Placeholder fallback color */
    background-position: center;
    background-size: cover;
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

/* Pricing */
.pricing {
    padding: var(--section-padding);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.price-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #eee;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.price-card.popular {
    border: 2px solid var(--secondary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.price-unit {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Blog Section */
.blog-preview {
    padding: var(--section-padding);
    background-color: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.blog-img {
    height: 200px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.blog-body {
    padding: 25px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Footer */
footer {
    background-color: white;
    color: #3c3e53;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    display: block;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: #3c3e53;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-badges {
        justify-content: center;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .mobile-cta {
        width: 80%;
        text-align: center;
    }

    /* Hamburger Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .price-card.popular {
        transform: none;
    }
}

/* Blog CTA Component */
.cta-container {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 2px solid #e6f6e8;
    border-radius: 20px;
    padding: 30px;
    margin: 60px 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: center;
}

.cta-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.cta-image img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

.cta-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.cta-desc {
    color: var(--text-light);
    margin-bottom: 20px !important;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.platform-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none !important;
    color: white !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.platform-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-line {
    background-color: #06C755;
}

.btn-fb {
    background-color: #1877F2;
}

.btn-shopee {
    background-color: #EE4D2D;
}

.btn-tiktok {
    background-color: #000000;
}

.cta-phone {
    text-align: right;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.cta-phone a {
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-mini {
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #444;
    border: 1px dashed var(--primary-color);
    display: inline-block;
}

@media (max-width: 768px) {
    .cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-phone {
        text-align: center;
    }
}

/* Footer Utility */
.footer-menu-container {
    text-align: right;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        /* Stack columns */
        text-align: center;
    }

    .footer-menu-container {
        text-align: center;
        /* Center align on mobile */
        margin-top: 30px;
    }

    .footer-links {
        align-items: center !important;
        /* Override flex alignment */
    }
}