/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

/* Color Variables */
:root {
    --primary-color: #00C851;
    --primary-dark: #00A843;
    --secondary-color: #2E7D32;
    --accent-color: #4CAF50;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --background-light: #f8fdf9;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --success-color: #00C851;
    --warning-color: #FF6B35;
    --error-color: #FF3D71;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo img {
    width: 32px;
    height: 32px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav a.active {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-login, .btn-signup {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 200, 81, 0.3);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fdf9 0%, #ffffff 100%);
    margin-top: 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Nutrition Card */
.nutrition-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-header h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.progress-indicator {
    background: #f0f0f0;
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    height: 100%;
    border-radius: 8px;
    transition: width 0.5s ease;
}

.nutrition-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.metric:last-child {
    border-bottom: none;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.metric-value {
    font-weight: 600;
    color: var(--text-primary);
}

.metric-change {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.metric-change.positive {
    background: rgba(0, 200, 81, 0.1);
    color: var(--success-color);
}

/* Problem Section */
.problem-section {
    padding: 5rem 0;
    background: var(--background-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    line-height: 1.6;
}

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

.problem-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

/* Solution Section */
.solution-section {
    padding: 5rem 0;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    padding: 0.75rem;
    background: rgba(0, 200, 81, 0.1);
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Nutrition Breakdown */
.nutrition-breakdown {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.nutrition-breakdown h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.nutrition-chart {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 200px;
    gap: 1rem;
}

.chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.chart-bar {
    background: linear-gradient(to top, var(--primary-color), var(--accent-color));
    width: 100%;
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    transition: height 0.5s ease;
}

.chart-item span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5rem;
    line-height: 1.2;
}

/* Pricing Section */
/* Pricing Section - Enhanced */
.pricing-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-light) 0%, #ffffff 100%);
}

/* 할인 배너 */
.discount-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #00a642 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 1000px;
    box-shadow: 0 8px 32px rgba(0, 200, 81, 0.3);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 32px rgba(0, 200, 81, 0.3); }
    50% { box-shadow: 0 12px 40px rgba(0, 200, 81, 0.5); }
}

.discount-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    gap: 2rem;
}

.discount-icon {
    font-size: 2.5rem;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.discount-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.discount-text strong {
    font-size: 1.5rem;
    font-weight: 700;
}

.discount-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.timer-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.timer {
    display: flex;
    gap: 1rem;
}

.timer-unit {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.pricing-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    position: relative;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-color);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 12px 40px rgba(0, 200, 81, 0.2);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    background: linear-gradient(90deg, var(--primary-color) 0%, #00a642 100%);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card.premium {
    border-color: #9C27B0;
}

.pricing-card.premium::before {
    background: linear-gradient(90deg, #9C27B0 0%, #673AB7 100%);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 200, 81, 0.3);
}

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

.pricing-header h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.pricing-header p {
    color: var(--text-secondary);
}

.pricing-price {
    margin: 2rem 0;
}

.price-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.original-price {
    font-size: 1.25rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-badge {
    background: var(--error-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.unit {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.price-note {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.save-amount {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
}

.per-pack {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.feature-highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.feature-disabled {
    color: var(--text-light);
    opacity: 0.6;
}

.btn-subscription {
    padding: 1.25rem 2rem !important;
    font-size: 1.1rem !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, #00a642 100%) !important;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0, 200, 81, 0.3) !important;
    border: none !important;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    width: 100%;
}

.btn-subscription::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-subscription:hover::before {
    left: 100%;
}

.btn-main-text {
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-sub-text {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

.card-benefits {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.benefit-item .benefit-icon {
    font-size: 1.25rem;
}

.card-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* 구독 혜택 섹션 */
.subscription-benefits {
    margin-top: 5rem;
    text-align: center;
}

.subscription-benefits h3 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.benefit-card .benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

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

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.cta-section .btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand > p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.contact-info strong {
    color: var(--white);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.link-group h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.link-group a {
    display: block;
    color: #cccccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.company-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.company-info p {
    color: #999;
    font-size: 0.8125rem;
    margin-bottom: 0.25rem;
    line-height: 1.6;
}

.company-info strong {
    color: #cccccc;
}

.copyright {
    text-align: center;
    margin-bottom: 2rem;
}

.copyright p {
    color: #999;
    font-size: 0.875rem;
}

.certifications {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 1rem 0;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.cert-item:hover {
    opacity: 1;
}

.cert-icon {
    font-size: 2rem;
}

.cert-name {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

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

    .nav {
        gap: 1rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

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

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

    .solution-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .company-info p {
        font-size: 0.75rem;
    }
    
    .certifications {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .cert-icon {
        font-size: 1.5rem;
    }
    
    .cert-name {
        font-size: 0.625rem;
    }

    .nutrition-chart {
        height: 150px;
    }

    .chart-item span {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat {
        flex-direction: row;
        gap: 0.5rem;
    }

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

    .nutrition-card {
        padding: 1.5rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }
}