:root {
    --bg-color: #f8fafc;
    --text-dark: #0f172a;
    --text-light: #475569;
    --accent: #3b82f6;
    --secondary: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Jost', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Jost', sans-serif;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero h1 {
    line-height: 1.1;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text-dark);
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 2rem;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    padding: 8rem 5% 6rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.btn {
    display: inline-block;
    background-color: var(--text-dark);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Section Styling */
.section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 5%;
    text-align: center;
    margin-top: 4rem;
}

footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 5%;
    text-align: left;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left h2 {
    color: white;
    margin-bottom: 1rem;
}

.footer-left p {
    color: #94a3b8;
    margin-bottom: 0;
    font-style: italic;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.footer-right p:last-child {
    margin-bottom: 0;
}

.footer-right a {
    color: white;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

.footer-legal {
    color: #64748b;
    font-size: 0.9rem;
}

footer p {
    color: #94a3b8;
    margin-bottom: 2rem;
}

footer h2 {
    color: white;
    margin-bottom: 2rem;
}

/* Image Containers */
.image-container {
    background-color: transparent;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.image-container-dark {
    background-color: white;
    height: 500px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-container-dark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Variants */
.section-white {
    background-color: white;
    border-radius: 20px;
}

.section-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-highlight {
    background-color: #f1f5f9;
    padding: 4rem;
    border-radius: 20px;
    text-align: left;
}

.section-title-large {
    font-size: 2.5rem;
}

.section-text-constrained {
    max-width: 800px;
}

.tag-list {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
}

.tag-list span {
    font-weight: 600;
}

/* Form Styling */
.form-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.form-container .section-title {
    margin-bottom: 1rem;
}

.form-container .section-text {
    margin-bottom: 3rem;
}

.waitlist-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
}

.form-group-full {
    grid-column: 1 / -1;
}

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

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    background-color: white;
    color: var(--text-dark);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.radio-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border: 2px solid var(--secondary);
    border-radius: 8px;
    background-color: white;
    transition: border-color 0.3s, background-color 0.3s;
    flex: 1;
    min-width: 0;
}

.radio-option:hover {
    border-color: var(--accent);
    background-color: #f8fafc;
}

.radio-option input[type="radio"] {
    margin: 0;
    cursor: pointer;
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--accent);
}

.radio-option input[type="radio"]:checked + span {
    font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
    border-color: var(--accent);
    background-color: #eff6ff;
}

.radio-option span {
    flex: 1;
    color: var(--text-dark);
    transition: font-weight 0.2s;
}

.form-submit {
    justify-self: center;
    margin-top: 0.5rem;
}

.form-message {
    display: none;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
    font-weight: 500;
}

.form-message.show {
    display: block;
}

.form-success {
    background-color: #f0fdf4;
    border: 2px solid #86efac;
    color: #166534;
}

.form-error {
    background-color: #fef2f2;
    border: 2px solid #fca5a5;
    color: #991b1b;
}

.form-submitting {
    opacity: 0.6;
    pointer-events: none;
}

.form-submitting .form-submit {
    cursor: not-allowed;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-links {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .grid-2 > div:first-child {
        order: 1;
    }
    .grid-2 > div:last-child {
        order: 2;
    }
    #solution .grid-2 > div:first-child {
        order: 2;
    }
    #solution .grid-2 > div:last-child {
        order: 1;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .waitlist-form {
        grid-template-columns: 1fr;
    }
    .radio-group {
        flex-direction: column;
    }
}
