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

html {
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

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

/* Header and Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

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

.nav-menu a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #0066cc;
}

.nav-menu a:focus {
    outline: 2px solid #0066cc;
    outline-offset: 4px;
}

/* Hero Sections */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-text {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.hero-small {
    background-color: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
}

.hero-small h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
}

.content-section.alt-bg {
    background-color: #f8f9fa;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.content-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.content-block p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.grid-2.reverse {
    direction: rtl;
}

.grid-2.reverse > * {
    direction: ltr;
}

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

/* Feature Cards */
.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

.feature-icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Info Cards */
.info-card {
    padding: 2rem;
    background: #fff;
    border-left: 4px solid #667eea;
    border-radius: 4px;
}

.info-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.info-card p {
    color: #555;
}

/* Image Block */
.image-block img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Notice Box */
.notice {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.notice p {
    color: #856404;
    margin: 0;
    font-size: 0.95rem;
}

/* Text Content */
.intro-text,
.text-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text p,
.text-content p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.text-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    text-align: center;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 3rem;
    border-radius: 12px;
    text-align: center;
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cta-box p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #fff;
}

/* Button */
.button {
    display: inline-block;
    background-color: #fff;
    color: #667eea;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    text-decoration: none;
}

.button:focus {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Contact Info */
.contact-info {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.contact-item p {
    color: #555;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form .button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    width: 100%;
    padding: 1rem;
}

.contact-form .button:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4292 100%);
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.legal-content p {
    margin-bottom: 1.25rem;
    color: #555;
    line-height: 1.8;
}

.legal-content a {
    color: #0066cc;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand p {
    color: #ccc;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a:focus {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

/* Utility Classes */
.mt-40 {
    margin-top: 2.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.125rem;
    }

    .hero-small h1 {
        font-size: 1.875rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .grid-2.reverse {
        direction: ltr;
    }

    .nav-menu {
        gap: 1rem;
    }

    .content-section {
        padding: 3rem 0;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

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

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

    .hero-text {
        font-size: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-menu li {
        text-align: center;
    }

    .logo {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .content-block h2 {
        font-size: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 3rem 0;
    }
}
