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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header and Navigation */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    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: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #3b82f6;
}

.logo:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 4px;
}

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

.nav-menu a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: #3b82f6;
}

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

.nav-menu a.active {
    color: #3b82f6;
    border-bottom: 2px solid #3b82f6;
}

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

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

.hero .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header .lead {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

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

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

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

.content-section .image-wrapper {
    width: 100%;
}

.content-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.content-section p {
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.8;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.features h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px 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 8px 16px rgba(0, 0, 0, 0.15);
}

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

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

/* Features Detailed */
.features-detailed {
    padding: 4rem 0;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.feature-item.reverse {
    background-color: #f9fafb;
    padding: 3rem 0;
}

.feature-item.reverse .feature-content {
    order: 2;
}

.feature-item.reverse .feature-image {
    order: 1;
}

.feature-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.feature-content p {
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.8;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Capabilities Section */
.capabilities {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.capabilities h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.capability-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.capability-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.capability-card p {
    color: #4b5563;
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

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

.info-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.info-item p {
    color: #4b5563;
    line-height: 1.6;
}

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

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    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: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.submit-button {
    background-color: #3b82f6;
    color: #ffffff;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #2563eb;
}

.submit-button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 4px;
}

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

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

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: #4b5563;
    line-height: 1.7;
}

/* Notice */
.notice {
    padding: 2rem 0;
    background-color: #fef3c7;
    border-top: 2px solid #fbbf24;
    border-bottom: 2px solid #fbbf24;
}

.notice p {
    text-align: center;
    color: #92400e;
    font-style: italic;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #ffffff;
    padding: 2rem 0;
    margin-top: 4rem;
}

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

footer p {
    color: #d1d5db;
}

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

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

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

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

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

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

    .page-header h1 {
        font-size: 1.875rem;
    }

    .content-section .container,
    .feature-item,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-item.reverse .feature-content,
    .feature-item.reverse .feature-image {
        order: unset;
    }

    .nav-menu {
        gap: 1rem;
    }

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

    .footer-links {
        gap: 1rem;
    }
}

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

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

    .page-header {
        padding: 2.5rem 0;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

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

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

    .features h2,
    .capabilities h2 {
        font-size: 1.75rem;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }
}

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

    .container {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 0.75rem;
    }

    .nav-menu a {
        font-size: 0.875rem;
    }
}
