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

body {
    font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont,
        sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Hero Section - Compact & Modern */
.hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1920&h=600&fit=crop&q=80")
        center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(102, 126, 234, 0.95),
        rgba(118, 75, 162, 0.92)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    min-width: 180px;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: white;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Form Section */
.form-section {
    background: white;
    padding: 80px 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.form-intro {
    text-align: center;
    margin-bottom: 60px;
}

.form-intro h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.form-intro p {
    font-size: 17px;
    color: #666;
    margin-bottom: 30px;
}

.progress-container {
    max-width: 600px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 50px;
}

.progress-text {
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
}

/* Form Cards */
.form-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.03), transparent);
    pointer-events: none;
}

.form-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f5f5f5;
}

.card-number {
    display: none;
}

.card-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}

.card-title h3 i {
    color: #667eea;
    font-size: 22px;
}

.card-title p {
    font-size: 14px;
    color: #999;
    line-height: 1.4;
    margin: 0;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
    color: #2c3e50;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #d0d0d0;
    background: #f5f5f5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

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

/* Checkbox & Radio Cards */
.checkbox-grid,
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.checkbox-card,
.radio-card {
    position: relative;
    cursor: pointer;
}

.checkbox-card input,
.radio-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-label i {
    font-size: 18px;
    color: #667eea;
}

.checkbox-card.small .checkbox-label {
    padding: 12px 16px;
    font-size: 14px;
}

.checkbox-card input:checked ~ .checkbox-label,
.radio-card input:checked ~ .radio-label {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.checkbox-card input:checked ~ .checkbox-label i {
    color: white;
}

.checkbox-card:hover .checkbox-label,
.radio-card:hover .radio-label {
    border-color: #667eea;
    background: #f0f3ff;
    transform: translateY(-2px);
}

/* Consent Box */
.consent-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #f8f9fa;
    padding: 24px;
    border-radius: 16px;
    border: 2px solid #e8e8e8;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}

.consent-label input {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #667eea;
    flex-shrink: 0;
    margin-top: 2px;
}

.consent-label span {
    font-size: 15px;
    color: #2c3e50;
    line-height: 1.6;
    font-weight: 500;
}

.consent-label a {
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
}

.consent-label a:hover {
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 40px;
}

.btn {
    padding: 18px 48px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #f8f9ff;
    border-color: #5568d3;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

.modal-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.modal-icon i {
    font-size: 50px;
    color: white;
}

.modal-content h3 {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.modal-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 350px;
        padding: 40px 16px;
    }

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

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

    .hero-stats {
        gap: 20px;
    }

    .stat-card {
        padding: 20px 24px;
        min-width: 150px;
    }

    .stat-number {
        font-size: 32px;
    }

    .form-section {
        padding: 60px 16px;
    }

    .form-intro h2 {
        font-size: 28px;
    }

    .form-card {
        padding: 30px 20px;
    }

    .card-header {
        flex-direction: column;
        text-align: center;
    }

    .card-number {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .card-title h3 {
        font-size: 20px;
        justify-content: center;
    }

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

    .checkbox-grid,
    .radio-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        margin: 20px;
        padding: 40px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-badge {
        font-size: 13px;
        padding: 8px 20px;
    }

    .stat-card {
        width: 100%;
        max-width: 300px;
    }

    .form-intro h2 {
        font-size: 24px;
    }

    .form-card {
        padding: 24px 16px;
    }

    .card-title h3 {
        font-size: 18px;
    }
}
