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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    background: transparent;
    z-index: 100;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    font-size: 1.3rem;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    width: 32px;
    height: 32px;
}

.logo-text {
    color: #1e3a5f;
}

/* (description-banner removed — description moved into hero) */

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1e3a5f;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #5a7fa0;
    max-width: 500px;
}

.hero-sub {
    font-size: 1rem;
    color: #25455f;
    font-weight: 400;
    max-width: 520px;
    margin-top: 0.6rem;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8f0f7 100%);
    position: relative;
}

.placeholder-image svg {
    width: 100%;
    height: 100%;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: #1e3a5f;
    color: #fff;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: #152d47;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: transparent;
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: #1e3a5f;
    color: #fff;
    transform: translateY(-2px);
}

/* Solutions Section */
#projects {
    background: #ffffff;
    padding: 5rem 2rem;
}

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

.projects-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f4f8;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.12);
    border-color: #e8f0f7;
}

.project-visual {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8f0f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-visual svg {
    width: 100%;
    height: 100%;
}

.project-card h3 {
    font-size: 1.4rem;
    color: #1e3a5f;
    padding: 1.5rem 1.5rem 0.5rem;
    font-weight: 700;
}

.project-card p {
    color: #5a7fa0;
    padding: 0.5rem 1.5rem 1.5rem;
    font-size: 0.95rem;
}

/* Projects Section */
.projects {
    background: #ffffff;
    padding: 5rem 2rem;
}

.project {
    padding: 3rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.project:last-child {
    border-bottom: none;
}

.project-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-content p {
    color: #666;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.link {
    color: #1a1a1a;
    font-weight: 500;
    border-bottom: 1px solid #1a1a1a;
    transition: all 0.3s ease;
    display: inline-block;
}

.link:hover {
    color: #666;
    border-bottom-color: #666;
}

/* Capabilities Section */
.capabilities {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    padding: 5rem 2rem;
}

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

.capabilities-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.capability {
    text-align: center;
    transition: all 0.3s ease;
}

.capability:hover {
    transform: translateY(-4px);
}

.capability-visual {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e8f0f7;
    transition: all 0.3s ease;
}

.capability:hover .capability-visual {
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.12);
}

.capability-visual svg {
    width: 100%;
    height: 100%;
}

.capability p {
    font-size: 1.1rem;
    color: #1e3a5f;
    font-weight: 600;
}

/* Research Section */
#research {
    background: white;
    padding: 5rem 2rem;
}

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

.research-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.research-item {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f4f8;
}

.research-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.12);
    border-color: #e8f0f7;
}

.research-visual {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8fafc 0%, #f0f4f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.research-visual svg {
    width: 100%;
    height: 100%;
}

.research-tag {
    display: block;
    padding: 1.5rem 1.5rem;
    font-size: 1rem;
    color: #1e3a5f;
    font-weight: 600;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #1e3a5f 0%, #152d47 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.cta .btn-secondary {
    border-color: white;
    color: white;
    background: transparent;
}

.cta .btn-secondary:hover {
    background: white;
    color: #1e3a5f;
}

/* Early Access Section */
.early-access-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 100%;
}

.form-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3a5f;
}

.form-container > p {
    color: #5a7fa0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

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

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #1e3a5f;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid #d4dfe8;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3a5f;
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form button {
    padding: 1rem;
    margin-top: 1rem;
    font-size: 1rem;
}

.form-note {
    text-align: center;
    color: #7a92a8;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.success-message {
    background: #e8f5e9;
    border: 1px solid #81c784;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: #f8fafc;
    border-top: 1px solid #e8f0f7;
    padding: 2rem;
}

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

.footer-content p {
    color: #5a7fa0;
    font-size: 0.95rem;
}

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

.footer-links a {
    color: #5a7fa0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .logo-text {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        min-height: auto;
        gap: 2rem;
    }

    .hero-visual {
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    #projects h2,
    .capabilities h2,
    #research h2 {
        font-size: 2rem;
    }

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

    .cta h2 {
        font-size: 2rem;
    }

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

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .nav-container {
        padding: 1rem;
    }

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

    .projects-grid,
    .capabilities-grid,
    .research-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2rem 0;
    }

    .form-container h1 {
        font-size: 2rem;
    }
}
