@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', -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: linear-gradient(135deg, #c8d5e8 0%, #e8e8ec 50%, #d8d8dc 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow-x: hidden;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 100vh;
    max-width: 1920px;
    margin: 0 auto;
    overflow: visible;
}

.laptop-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    overflow: visible;
    position: relative;
}

.laptop-image {
    width: 140%;
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: translateX(-5%);
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.25)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.content-wrapper {
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tagline-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.form-module {
    background: #2c3e50;
    border-radius: 32px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#name,
#email,
#heardFrom {
    width: 100%;
    padding: 20px 28px;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
    color: #2c3e50;
}

#name:focus,
#email:focus,
#heardFrom:focus {
    box-shadow: 0 0 0 3px rgba(91, 134, 229, 0.3);
}

#name::placeholder,
#email::placeholder {
    color: #a0aec0;
}

#heardFrom {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235b86e5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 24px center;
    background-size: 12px;
    background-color: white;
    cursor: pointer;
    padding-right: 50px;
}

#heardFrom option {
    color: #2c3e50;
}

#submitBtn {
    width: 100%;
    padding: 20px 36px;
    font-size: 17px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #5b86e5 0%, #36d1dc 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    margin-top: 10px;
}

#submitBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(91, 134, 229, 0.4);
}

#submitBtn:active {
    transform: translateY(0);
}

#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loader {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

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

.hidden {
    display: none !important;
}

.message {
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
    margin-top: 8px;
}

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

.message.success {
    background: #d4edda;
    color: #155724;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
}

.privacy-notice {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    line-height: 1.5;
}

.privacy-notice a {
    color: #36d1dc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-notice a:hover {
    color: #5b86e5;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    color: #4a5568;
    font-size: 14px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 0;
        min-height: auto;
    }

    .laptop-side {
        order: 2;
        padding: 40px 20px;
    }

    .form-side {
        order: 1;
        padding: 40px 20px;
    }

    .laptop-image {
        width: 100%;
        max-width: 700px;
        transform: translateX(0);
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    }
}

@media (max-width: 768px) {
    body {
        padding: 20px 0;
    }

    .hero-section {
        padding: 0;
    }

    .laptop-side {
        padding: 20px;
        display: none;
    }

    .form-side {
        padding: 20px;
    }

    .tagline-image {
        margin-bottom: 20px;
        max-width: 100%;
    }

    .form-module {
        padding: 35px 25px;
        border-radius: 24px;
    }

    .content-wrapper {
        gap: 25px;
    }

    #name,
    #email,
    #heardFrom {
        padding: 16px 24px;
        font-size: 16px;
    }

    #submitBtn {
        padding: 16px 32px;
        font-size: 16px;
    }

    .copyright {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px 0;
    }

    .form-side {
        padding: 15px;
    }

    .tagline-image {
        margin-bottom: 15px;
    }

    .form-module {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .content-wrapper {
        gap: 20px;
    }

    form {
        gap: 14px;
    }

    #name,
    #email,
    #heardFrom {
        padding: 15px 20px;
        font-size: 15px;
    }

    #submitBtn {
        padding: 15px 28px;
        font-size: 15px;
        margin-top: 8px;
    }

    .message {
        padding: 14px 20px;
        font-size: 13px;
    }

    .copyright {
        font-size: 12px;
        margin-top: 15px;
    }
}

@media (max-width: 360px) {
    .form-module {
        padding: 25px 18px;
    }

    #name,
    #email,
    #heardFrom,
    #submitBtn {
        font-size: 14px;
    }
}
