:root {
    --primary: 255 107 138; /* #FF6B8A */
    --primary-light: 255 229 229; /* #FFE5E5 */
    --secondary: 74 144 226; /* #4A90E2 */
    --background: 255 255 255; /* #FFFFFF */
    --surface: 248 250 252; /* #F8FAFC */
    --text-primary: 15 23 42; /* #0F172A */
    --text-secondary: 100 116 139; /* #64748B */
    --border: 226 232 240; /* #E2E8F0 */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: rgb(var(--text-primary));
    background-color: rgb(var(--background));
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(var(--text-primary));
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.cookie-modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: rgb(var(--text-secondary));
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid rgb(var(--border));
    border-radius: var(--border-radius);
}

.cookie-label {
    display: block;
    cursor: pointer;
}

.cookie-label input {
    margin-right: 10px;
}

.cookie-label small {
    display: block;
    color: rgb(var(--text-secondary));
    margin-top: 5px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(var(--primary));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: rgb(var(--text-primary));
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: rgb(var(--primary));
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: rgb(var(--text-primary));
    margin: 3px 0;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.btn-primary {
    background: rgb(var(--primary));
    color: white;
}

.btn-primary:hover {
    background: rgb(255 69 120);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgb(var(--text-secondary));
    color: white;
}

.btn-outline {
    background: transparent;
    color: rgb(var(--primary));
    border: 2px solid rgb(var(--primary));
}

.btn-outline:hover {
    background: rgb(var(--primary));
    color: white;
}

/* Hero Section */
.hero {
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, rgb(var(--primary-light)) 0%, rgb(var(--surface)) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: rgb(var(--primary));
}

.hero-text p {
    font-size: 1.25rem;
    color: rgb(var(--text-secondary));
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: rgb(var(--text-primary));
}

.section-header p {
    font-size: 1.25rem;
    color: rgb(var(--text-secondary));
}

/* Services Section */
.services {
    padding: 100px 20px;
    background: rgb(var(--background));
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgb(var(--border));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgb(var(--text-primary));
}

.service-card p {
    color: rgb(var(--text-secondary));
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 20px;
    background: rgb(var(--surface));
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: rgb(var(--text-primary));
}

.about-text p {
    font-size: 1.125rem;
    color: rgb(var(--text-secondary));
    margin-bottom: 20px;
    line-height: 1.7;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(var(--primary));
    margin-bottom: 5px;
}

.stat p {
    color: rgb(var(--text-secondary));
    font-weight: 500;
}

/* Reviews Section */
.reviews {
    padding: 100px 20px;
    background: rgb(var(--background));
}

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

.review-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgb(var(--border));
}

.stars {
    color: #ffd700;
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.review-card p {
    color: rgb(var(--text-secondary));
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
}

.reviewer {
    border-top: 1px solid rgb(var(--border));
    padding-top: 15px;
}

.reviewer strong {
    color: rgb(var(--text-primary));
}

/* Newsletter Section */
.newsletter {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgb(var(--primary)) 0%, rgb(255 69 120) 100%);
    color: white;
}

.newsletter-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-text p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Latest Blog Section */
.latest-blog {
    padding: 100px 20px;
    background: rgb(var(--surface));
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgb(var(--border));
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-content {
    padding: 30px;
}

.blog-content h3 {
    margin-bottom: 15px;
}

.blog-content h3 a {
    text-decoration: none;
    color: rgb(var(--text-primary));
    font-size: 1.25rem;
    font-weight: 600;
}

.blog-content h3 a:hover {
    color: rgb(var(--primary));
}

.blog-content p {
    color: rgb(var(--text-secondary));
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgb(var(--border));
}

.blog-meta .date {
    color: rgb(var(--text-secondary));
    font-size: 0.9rem;
}

.blog-meta .category {
    background: rgb(var(--primary-light));
    color: rgb(var(--primary));
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: rgb(var(--background));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgb(var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: rgb(var(--text-primary));
}

.contact-item p {
    color: rgb(var(--text-secondary));
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgb(var(--border));
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgb(var(--border));
    border-radius: var(--border-radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(var(--primary));
    box-shadow: 0 0 0 3px rgba(var(--primary), 0.1);
}

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

/* Expert Team Section */
.expert-team {
    padding: 100px 20px;
    background: rgb(var(--surface));
}

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

.expert-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgb(var(--border));
}

.expert-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.expert-photo {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.expert-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgb(var(--text-primary));
}

.expert-title {
    font-size: 1rem;
    font-weight: 500;
    color: rgb(var(--primary));
    margin-bottom: 15px;
}

.expert-card p {
    color: rgb(var(--text-secondary));
    line-height: 1.6;
}

/* Product Categories Section */
.product-categories {
    padding: 100px 20px;
    background: rgb(var(--background));
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-item {
    background: white;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgb(var(--border));
}

.category-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.category-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgb(var(--text-primary));
}

.category-item p {
    color: rgb(var(--text-secondary));
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-count {
    display: inline-block;
    background: rgb(var(--primary-light));
    color: rgb(var(--primary));
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Blog Article Styles */
.article-header {
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, rgb(var(--primary-light)) 0%, rgb(var(--surface)) 100%);
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgb(var(--text-secondary));
    text-decoration: none;
}

.breadcrumb a:hover {
    color: rgb(var(--primary));
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-meta .category {
    background: rgb(var(--primary));
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.article-meta .date,
.article-meta .reading-time {
    color: rgb(var(--text-secondary));
    font-size: 0.9rem;
}

.article-subtitle {
    font-size: 1.25rem;
    color: rgb(var(--text-secondary));
    margin-bottom: 40px;
    line-height: 1.6;
}

.article-hero-image {
    margin-top: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.article-content {
    padding: 80px 20px;
    background: rgb(var(--background));
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-body {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgb(var(--border));
}

.article-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgb(var(--text-secondary));
}

.table-of-contents {
    background: rgb(var(--surface));
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    border-left: 4px solid rgb(var(--primary));
}

.table-of-contents h3 {
    margin-bottom: 20px;
    color: rgb(var(--text-primary));
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents li {
    margin-bottom: 10px;
}

.table-of-contents a {
    color: rgb(var(--text-secondary));
    text-decoration: none;
    padding: 8px 0;
    display: block;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.table-of-contents a:hover {
    color: rgb(var(--primary));
    border-bottom-color: rgb(var(--primary));
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: rgb(var(--text-primary));
    border-bottom: 2px solid rgb(var(--primary-light));
    padding-bottom: 10px;
}

.ingredient-card {
    background: rgb(var(--surface));
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    border-left: 4px solid rgb(var(--primary));
}

.ingredient-info h3 {
    color: rgb(var(--primary));
    margin-bottom: 15px;
}

.ingredient-info ul {
    margin-left: 20px;
}

.ingredient-info li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.scientific-evidence {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    border: 1px solid rgb(var(--border));
}

.scientific-evidence h4 {
    color: rgb(var(--secondary));
    margin-bottom: 10px;
}

.usage-tips {
    background: rgb(var(--primary-light));
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.usage-tips h4 {
    color: rgb(var(--primary));
    margin-bottom: 15px;
}

.caution-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 30px 0;
}

.caution-box h4 {
    color: #856404;
    margin-bottom: 10px;
}

.article-conclusion {
    background: rgb(var(--surface));
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 40px;
    border-left: 4px solid rgb(var(--primary));
}

.article-sidebar {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    height: fit-content;
    border: 1px solid rgb(var(--border));
}

.related-articles {
    margin-bottom: 40px;
}

.related-articles h3 {
    color: rgb(var(--text-primary));
    margin-bottom: 20px;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 10px;
}

.related-articles a {
    color: rgb(var(--text-secondary));
    text-decoration: none;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgb(var(--border));
    transition: var(--transition);
}

.related-articles a:hover {
    color: rgb(var(--primary));
}

.newsletter-signup h3 {
    color: rgb(var(--text-primary));
    margin-bottom: 15px;
}

.sidebar-newsletter {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-newsletter input {
    padding: 12px;
    border: 1px solid rgb(var(--border));
    border-radius: var(--border-radius);
    font-size: 14px;
}

/* Footer */
.footer {
    background: rgb(var(--text-primary));
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

.social-links a:hover {
    background: rgb(var(--primary));
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 15px 60px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .services,
    .about,
    .reviews,
    .latest-blog,
    .contact {
        padding: 60px 15px;
    }

    .newsletter {
        padding: 60px 15px;
    }

    .newsletter-text h2 {
        font-size: 2rem;
    }

    .service-card,
    .review-card {
        padding: 25px 20px;
    }

    .contact-form {
        padding: 25px;
    }

    .modal-content {
        padding: 20px;
    }
}
