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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #FAFAFA;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    padding-bottom: 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 16px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-icon-img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.logo-icon-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.app-name {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.tagline {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 32px 0;
}

.hero-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

/* Features */
.features {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 32px;
    margin-right: 16px;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.feature-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Waitlist Section */
.waitlist-section {
    padding: 32px 0;
    text-align: center;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

/* Form */
.waitlist-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 16px;
    position: relative;
}

.form-input {
    width: 100%;
    background-color: #fff;
    border: 2px solid #E5E5E5;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    color: #1a1a1a;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-input.error {
    border-color: #FF6B6B;
}

.error-message {
    display: block;
    color: #FF6B6B;
    font-size: 14px;
    margin-top: 6px;
    margin-left: 4px;
    text-align: left;
    min-height: 20px;
}

.submit-button {
    width: 100%;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    margin-top: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.submit-button:hover {
    background-color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.submit-button:active {
    transform: translateY(1px);
}

.submit-button:disabled {
    background-color: #999;
    cursor: not-allowed;
    transform: none;
}

.privacy-note {
    font-size: 14px;
    color: #999;
    margin-top: 16px;
}

/* Success Message */
.success-message {
    background-color: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    animation: slideIn 0.3s ease;
}

.success-message.hidden {
    display: none;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.success-message h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.success-message p {
    font-size: 16px;
    color: #666;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    padding: 24px 0;
    text-align: center;
}

.footer-text {
    font-size: 14px;
    color: #999;
}

/* Loading State */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin: -8px 0 0 -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 24px 20px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 15px;
    }

    .app-name {
        font-size: 28px;
    }

    .feature-card {
        padding: 16px;
    }

    .feature-icon {
        font-size: 28px;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 16px;
    }

    .logo-icon,
    .logo-icon-img {
        width: 64px;
        height: 64px;
        font-size: 32px;
    }

    .app-name {
        font-size: 24px;
    }

    .hero-title {
        font-size: 22px;
    }

    .form-title {
        font-size: 20px;
    }
}

/* Print Styles */
@media print {

    .waitlist-form,
    .submit-button {
        display: none;
    }
}