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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

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

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav a:hover {
    opacity: 0.8;
}

.main {
    padding: 2rem 0;
    min-height: calc(100vh - 140px);
}

.hero {
    padding: 4rem 0;
}

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

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2d3436;
}

.hero-content p {
    font-size: 1.2rem;
    color: #636e72;
    margin-bottom: 2rem;
}

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

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.features {
    padding: 4rem 0;
    background: white;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2d3436;
}

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

.card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2d3436;
}

.card p {
    color: #636e72;
    font-size: 0.9rem;
}

.how-it-works {
    padding: 4rem 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2d3436;
}

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

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2d3436;
}

.step p {
    color: #636e72;
    font-size: 0.9rem;
}

.auth-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.auth-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2d3436;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #2d3436;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.error-message {
    background: #ffeaa7;
    color: #8b4513;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.input-group {
    display: flex;
    gap: 0.5rem;
}

.input-group input {
    flex: 1;
}

.input-group .btn {
    white-space: nowrap;
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #636e72;
}

.auth-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.survey-section {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.survey-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 700px;
}

.survey-card h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #2d3436;
}

.survey-card p {
    text-align: center;
    margin-bottom: 2rem;
    color: #636e72;
}

.plans-section {
    padding: 2rem 0;
}

.bmi-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
}

.bmi-info h2 {
    margin-bottom: 1rem;
}

.bmi-display {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bmi-value {
    font-size: 4rem;
    font-weight: 700;
}

.bmi-category {
    font-size: 1.2rem;
    font-weight: 600;
}

.plans-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2d3436;
}

.plans-section p {
    text-align: center;
    margin-bottom: 2rem;
    color: #636e72;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.plan-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.plan-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-header h3 {
    font-size: 1.3rem;
}

.plan-tag {
    background: rgba(255,255,255,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.plan-description {
    padding: 1rem 1.5rem;
    color: #636e72;
    border-bottom: 1px solid #eee;
}

.plan-content {
    padding: 1.5rem;
}

.plan-section {
    margin-bottom: 1.5rem;
}

.plan-section:last-child {
    margin-bottom: 0;
}

.plan-section h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #2d3436;
}

.plan-section p {
    color: #636e72;
    font-size: 0.9rem;
    line-height: 1.8;
}

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

.dashboard-section {
    padding: 2rem 0;
}

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

.dashboard-header h2 {
    font-size: 2rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: #636e72;
}

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

.stats-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.stats-card h3 {
    margin-bottom: 1.5rem;
    color: #2d3436;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #636e72;
}

.stat-status {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.3rem;
}

.plan-detail {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.plan-detail .plan-header {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
}

.plan-detail .plan-description {
    border-bottom: none;
}

.plan-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
}

.section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #2d3436;
}

.section-content {
    color: #636e72;
    line-height: 1.8;
    white-space: pre-line;
}

.motivation-card {
    background: linear-gradient(135deg, #fdcb6e 0%, #f39c12 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 2rem;
}

.motivation-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.motivation-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.motivation-icon {
    font-size: 3rem;
}

.no-plan {
    text-align: center;
    padding: 4rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.no-plan-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.no-plan h3 {
    font-size: 1.5rem;
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.no-plan p {
    color: #636e72;
    margin-bottom: 2rem;
}

.footer {
    background: #2d3436;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .nav {
        gap: 1rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
}
