/* Hero Section Styles */
.hero-section {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1519125323398-675f0ddb6308?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.75) 0%, rgba(57, 73, 171, 0.65) 100%);
    backdrop-filter: blur(2px);
}

/* Logo */
.logo-container {
    position: absolute;
    top: 30px;
    left: 40px;
    z-index: 10;
}

.logo {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
}

/* Hero Content */
.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: fadeInLeft 0.8s ease-out;
}

.hero-content-inner {
    width: 100%;
    max-width: 480px;
    text-align: left;
    color: #fff;
}

.hero-content-inner h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-content-inner p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.hero-benefits li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-benefits li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.hero-badge {
    display: inline-block;
    font-size: 1rem;
    color: #ffe082;
    background: rgba(255, 224, 130, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    border: 1px solid rgba(255, 224, 130, 0.3);
}

/* Hero Form Container */
.hero-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: fadeInRight 0.8s ease-out;
}

/* Hero Form Inner */
.hero-form-inner {
    background: #fff;
    color: #212121;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(30, 40, 90, 0.15);
    height: 75vh;
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.hero-form-inner::-webkit-scrollbar {
    width: 6px;
}

.hero-form-inner::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.hero-form-inner::-webkit-scrollbar-thumb {
    background: #bdbdbd;
    border-radius: 10px;
}

.hero-form-inner::-webkit-scrollbar-thumb:hover {
    background: #9e9e9e;
}

.hero-form-inner h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #1a237e;
    letter-spacing: -0.5px;
}

.hero-form-inner .form-subtitle {
    font-size: 0.85rem;
    color: #757575;
    margin-bottom: 1rem;
}

/* Form Messages */
.form-message {
    padding: 0.7rem 0.85rem;
    border-radius: 6px;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideDown 0.3s ease-out;
}

.form-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.form-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* Form Fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.7rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #424242;
}

.form-group label .required {
    color: #d32f2f;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.6rem;
    border-radius: 6px;
    border: 1.5px solid #e0e0e0;
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3949ab;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(57, 73, 171, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9e9e9e;
}

.form-group small {
    color: #757575;
    font-size: 0.75rem;
    margin-top: 0.15rem;
}

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

/* Submit Button */
.submit-btn {
    padding: 0.75rem;
    background: linear-gradient(135deg, #3949ab 0%, #1a237e 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 0.4rem;
    box-shadow: 0 4px 12px rgba(57, 73, 171, 0.25);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(57, 73, 171, 0.35);
}

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

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

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

/* Privacy Note */
.privacy-note {
    font-size: 0.75rem;
    color: #757575;
    text-align: center;
    margin-top: 0.7rem;
    line-height: 1.3;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Responsive Design */
@media (max-width: 900px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
    }

    .logo-container {
        top: 20px;
        left: 20px;
    }

    .logo {
        height: 44px;
    }

    .hero-container {
        flex-direction: column;
        gap: 0;
    }

    .hero-content {
        padding: 30px;
    }

    .hero-content-inner {
        text-align: center;
        max-width: 100%;
    }

    .hero-content-inner h1 {
        font-size: 2rem;
    }

    .hero-content-inner p {
        font-size: 1rem;
    }

    .hero-benefits li {
        justify-content: center;
    }

    .hero-form {
        padding: 30px;
    }

    .hero-form-inner {
        height: auto;
        min-height: 65vh;
        max-width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
}

@media (max-width: 600px) {
    .logo-container {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo {
        height: 50px;
    }

    .hero-container {
        padding: 0 20px;
    }

    .hero-content {
        padding: 90px 20px 25px 20px;
    }

    .hero-content-inner {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-content-inner h1 {
        font-size: 1.75rem;
    }

    .hero-content-inner p {
        font-size: 0.95rem;
    }

    .hero-benefits {
        font-size: 0.9rem;
    }

    .hero-form {
        padding: 20px;
    }

    .hero-form-inner {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-form-inner {
        padding: 30px 25px;
    }

    .hero-form-inner h2 {
        font-size: 1.3rem;
    }
}
