/* 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: #2563eb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

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

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.nav-brand a:hover {
    text-decoration: none;
    color: #2563eb;
}

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

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

.nav-menu a:hover {
    color: #2563eb;
    text-decoration: none;
}

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

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

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

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

/* Content Sections */
.features-intro,
.platform-overview,
.platform-access,
.content-section {
    padding: 4rem 0;
}

.features-intro .container,
.platform-overview .container,
.platform-access .container,
.content-section .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.platform-overview .container,
.content-section.alt .container {
    grid-template-columns: 1fr 1fr;
}

.platform-overview img,
.content-section.alt img {
    order: 2;
}

.platform-overview .content,
.content-section.alt .content {
    order: 1;
}

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

.content p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.features-intro {
    background-color: #f9fafb;
}

.platform-access {
    background-color: #f9fafb;
}

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

/* Info Cards */
.info-cards {
    padding: 4rem 0;
    background-color: #fff;
}

.info-cards .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minminmax(280px, 1fr));
    gap: 2rem;
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.card p {
    color: #4b5563;
}

/* Info Grid */
.info-grid {
    padding: 4rem 0;
}

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

.info-item {
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 8px;
}

.info-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

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

/* Features Grid */
.features-grid {
    padding: 4rem 0;
}

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

.feature-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2563eb;
}

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

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

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

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.25rem;
}

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

.contact-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

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

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-item p {
    color: #4b5563;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #1f2937;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 0;
    border-color: #2563eb;
}

.submit-button {
    background-color: #2563eb;
    color: #fff;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: #1d4ed8;
}

.submit-button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Legal Content */
.legal-content {
    padding: 4rem 0;
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

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

.legal-content em {
    color: #6b7280;
}

/* Notice */
.notice {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.5rem 0;
    margin: 3rem 0;
}

.notice p {
    color: #92400e;
    font-size: 0.9375rem;
}

/* Footer */
footer {
    background-color: #1f2937;
    color: #9ca3af;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-brand strong {
    color: #fff;
    font-size: 1.25rem;
}

.footer-brand p:last-child {
    margin-top: 0.5rem;
}

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

.footer-links a {
    color: #9ca3af;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

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

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

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

    .platform-overview .container,
    .content-section.alt .container {
        grid-template-columns: 1fr;
    }

    .platform-overview img,
    .content-section.alt img {
        order: 1;
    }

    .platform-overview .content,
    .content-section.alt .content {
        order: 2;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .hero {
        padding: 3rem 0;
    }

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

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

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

    .container {
        padding: 0 1rem;
    }

    nav {
        padding: 0.75rem 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .features-intro,
    .platform-overview,
    .platform-access,
    .content-section,
    .info-cards,
    .info-grid,
    .features-grid,
    .contact-section {
        padding: 2.5rem 0;
    }
}
