:root {
    --primary-color: #0D7377;
    --secondary-color: #14A3A8;
    --accent-color: #579950;
    --dark-color: #0A1628;
    --light-bg: #F0F5F4;
    --text-color: #1A2B3C;
    --light-text: #E0E8E6;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Pretendard', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.hero-content {
    z-index: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    animation: slideInLeft 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.cta-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero-image {
    z-index: 1;
    animation: slideInRight 1s ease-out;
}

.hero-image img {
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Assessment Section */
.assessment {
    padding: 80px 0;
    background-color: white;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.assessment h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    text-align: center;
    transform: translateY(0);
    animation: fadeInUp 0.8s ease-out;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.feature-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-item p {
    color: var(--text-color);
    opacity: 0.8;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
footer {
    padding: 40px 0;
    background-color: var(--dark-color);
    color: var(--light-text);
    text-align: center;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(1deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(-1deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }

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

    .hero-image {
        margin-top: 40px;
    }

    .hero-image img {
        max-width: 100%;
    }

    .features-container {
        grid-template-columns: 1fr;
    }
}

/* Assessment Form */
.category-section {
    margin-bottom: 30px;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light-bg);
}

.question {
    margin-bottom: 16px;
}

.question label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-color);
}

.question select {
    width: 100%;
    padding: 10px 14px;
    font-size: 1rem;
    font-family: 'Pretendard', sans-serif;
    border: 1px solid #D0D9D7;
    border-radius: 8px;
    background-color: white;
    color: var(--text-color);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231A2B3C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    min-height: 44px;
    transition: border-color 0.2s ease;
}

.question select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.15);
}

/* Score Card */
.score-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

.score-grade {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.score-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.score-max {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.6;
}

.score-message {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 8px;
}

/* Recommendation Box */
.recommendation-box {
    padding: 24px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    text-align: center;
}

.recommendation-box h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.recommendation-box p {
    margin-bottom: 16px;
    color: var(--text-color);
    opacity: 0.85;
    line-height: 1.6;
}

/* Results Container */
.results-container {
    margin-top: 30px;
}

/* Hidden class for sections */
.hidden {
    display: none;
}