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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    overflow: hidden;
}

@media (max-width: 768px) {
    body {
        overflow: auto;
    }
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
}

@media (max-width: 768px) {
    .container {
        align-items: flex-start;
        min-height: auto;
        padding: 40px 20px;
    }
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.content {
    text-align: left;
    max-width: 500px;
    width: 100%;
    background: #f8fafc;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.mockup-section-mobile {
    display: none;
}

.mockup-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 300px;
    background: #1a1a1a;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}


.mockup-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 22px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.logo-placeholder-text {
    font-size: 24px;
}

#logo {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.app-name {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -1px;
    margin: 0;
}

.headline {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.5;
}

.email-form {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: stretch;
}

#email {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease;
    background: white;
}

#email:focus {
    border-color: #235379;
    box-shadow: 0 0 0 3px rgba(35, 83, 121, 0.1);
}

#submit-btn {
    padding: 16px 32px;
    background: #3d7ca9;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

#submit-btn:hover {
    background: #235379;
    transform: translateY(-1px);
}

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


.success-message {
    color: #38a169;
    font-weight: 600;
    font-size: 16px;
    animation: fadeIn 0.5s ease;
}

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


@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .phone-mockup {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
        align-items: flex-start;
        min-height: auto;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .content {
        padding: 0;
        max-width: none;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .text-content {
        order: 1;
        text-align: center;
    }

    .logo-section {
        justify-content: center;
    }

    .mockup-section-mobile {
        order: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0;
    }

    .form-content {
        order: 3;
        text-align: center;
    }

    .mockup-section {
        display: none;
    }

    .headline {
        font-size: 36px;
    }

    .subtitle {
        font-size: 18px;
        margin-bottom: 0;
    }

    .email-form {
        flex-direction: column;
        gap: 12px;
    }


    .phone-mockup {
        width: 220px;
        padding: 12px;
    }
}

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

    .content {
        gap: 30px;
    }

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

    .headline {
        font-size: 28px;
    }

    .subtitle {
        font-size: 16px;
    }

    .phone-mockup {
        width: 180px;
        padding: 10px;
    }

    .mockup-section-mobile {
        margin: 15px 0;
    }
}