/* 서브페이지 공통 스타일 */

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.3rem;
    font-weight: bold;
    color: #667eea;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #667eea;
}

.nav-links a.active {
    color: #667eea;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #667eea;
}

.page-content {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
    padding: 40px 20px;
}

.page-content .container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.page-content h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.page-content section {
    margin-bottom: 40px;
}

.page-content h2 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 30px;
}

.page-content h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 15px;
    margin-top: 25px;
}

.page-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.page-content ul, .page-content ol {
    color: #555;
    line-height: 1.8;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-content li {
    margin-bottom: 8px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 60px;
    margin-top: 40px;
}

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

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

/* About 페이지 스타일 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    margin-top: 0;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.how-to-use ol {
    background: #f8f9fa;
    padding: 30px;
    padding-left: 50px;
    border-radius: 15px;
}

.how-to-use li {
    margin-bottom: 15px;
    font-weight: 500;
}

.use-cases ul {
    list-style: none;
    margin-left: 0;
}

.use-cases li {
    padding: 15px;
    background: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.use-cases strong {
    color: #667eea;
}

.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.stats-section h2 {
    color: white;
    margin-top: 0;
}

.stats-section p, .stats-section li {
    color: rgba(255, 255, 255, 0.9);
}

.stats-section ul {
    margin-left: 20px;
}

/* Contact 페이지 스타일 */
.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    min-width: 250px;
}

.contact-card h3 {
    margin-top: 0;
}

.contact-card a {
    color: #667eea;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

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

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

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
}

.faq-section {
    margin-top: 50px;
}

.faq-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.faq-item h3 {
    margin-top: 0;
    color: #667eea;
    margin-bottom: 10px;
}

.faq-item p {
    margin-bottom: 0;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-content {
        margin-top: 120px;
    }

    .page-content .container {
        padding: 30px 20px;
    }

    .page-content h1 {
        font-size: 1.8rem;
    }

    .footer {
        padding: 30px 20px;
    }

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

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