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

:root {
    --blue-primary: #3B5EC0;
    --blue-dark: #2D4A9A;
    --teal-primary: #1DB887;
    --teal-dark: #17956D;
    --teal-light: #E8F8F3;
    --blue-light: #EEF2FA;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gray-900: #111827;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--blue-light) 0%, var(--teal-light) 100%);
    min-height: 100vh;
    color: var(--gray-900);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    max-width: 320px;
    height: auto;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--gray-700);
    max-width: 600px;
    margin: 0 auto;
}

.signup-section {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.signup-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(59, 94, 192, 0.1);
    max-width: 680px;
    width: 100%;
}

.signup-card h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.signup-card > p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

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

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

.form-group label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.form-group input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-100);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 3px rgba(29, 184, 135, 0.15);
}

.form-group input::placeholder {
    color: var(--gray-500);
}

.submit-btn {
    background: var(--teal-primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 184, 135, 0.35);
}

.submit-btn:active {
    transform: translateY(0);
}

.privacy-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

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

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(59, 94, 192, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.125rem;
    color: var(--blue-primary);
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Modal styles */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 1rem;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    max-width: 360px;
    width: 100%;
    animation: popIn 0.3s ease-out;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: var(--teal-light);
    color: var(--teal-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.modal-content h2 {
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.modal-btn {
    background: var(--teal-primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}

.modal-btn:hover {
    background: var(--teal-dark);
}

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

    .signup-card {
        padding: 1.5rem;
    }

    .logo {
        max-width: 240px;
    }
}
