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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: #6366f1;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: #6366f1;
}

/* Main Content */
main {
    min-height: calc(100vh - 200px);
    padding: 2rem 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Content Sections */
.content {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.content h2 {
    color: #2d3748;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.content p {
    margin-bottom: 1rem;
    color: #4a5568;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

/* Links List */
.links-list {
    list-style: none;
    padding-left: 0;
}

.links-list li {
    padding: 1rem;
    background: #f7fafc;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    border-left: 4px solid #6366f1;
}

.links-list a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
}

.links-list a:hover {
    text-decoration: underline;
}

/* Content Pages */
.content-page {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.content-page h1 {
    color: #2d3748;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.updated-date {
    color: #718096;
    font-style: italic;
    margin-bottom: 2rem;
}

.section {
    margin-bottom: 2.5rem;
}

.section h2 {
    color: #2d3748;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.section h3 {
    color: #4a5568;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.section p {
    margin-bottom: 1rem;
    color: #4a5568;
    line-height: 1.7;
}

.section ul,
.section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: #4a5568;
}

.section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.section a {
    color: #6366f1;
    text-decoration: none;
}

.section a:hover {
    text-decoration: underline;
}

/* Notice Box */
.notice-box {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.notice-box h3 {
    color: #92400e;
    margin-bottom: 0.5rem;
}

.notice-box p {
    color: #78350f;
    margin-bottom: 0;
}

/* Steps */
.steps {
    display: grid;
    gap: 2rem;
    margin-top: 1.5rem;
}

.step {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.step h3 {
    color: #6366f1;
    margin-top: 0;
}

.step ol {
    margin-left: 1.5rem;
}

.step ul {
    margin-left: 1.5rem;
}

/* Back Link */
.back-link {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.back-link a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s;
}

.back-link a:hover {
    transform: translateX(-5px);
}

/* Footer */
footer {
    background-color: #2d3748;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        width: 100%;
    }

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

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .content,
    .content-page {
        padding: 1.5rem;
    }

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

    .section h2 {
        font-size: 1.5rem;
    }

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

@media (max-width: 480px) {
    .hero {
        padding: 2rem 1rem;
    }

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

    .content,
    .content-page {
        padding: 1rem;
    }
}
