.corpgov-form-wrapper {
    max-width: 920px;
    margin: 40px auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: hidden;
    position: relative;
}

.corpgov-form-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #1e40af, #3b82f6, #06b6d4, #10b981);
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background: linear-gradient(90deg, #1e40af, #3b82f6, #06b6d4, #10b981); }
    50% { background: linear-gradient(90deg, #10b981, #06b6d4, #3b82f6, #1e40af); }
}

.corpgov-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    color: white;
    padding: 45px 35px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.corpgov-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.corpgov-logo {
    font-size: 56px;
    margin-bottom: 15px;
    display: block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.corpgov-header h2 {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.corpgov-subtitle {
    font-size: 18px;
    color: #bfdbfe;
    font-weight: 600;
    margin: 12px 0 25px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.event-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.event-detail-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.detail-icon {
    font-size: 22px;
}

.detail-text {
    font-weight: 600;
    font-size: 15px;
}

.corpgov-description {
    font-size: 16px;
    line-height: 1.7;
    color: #dbeafe;
    margin: 20px auto 0;
    max-width: 680px;
}

#corpgov-registration-form {
    padding: 45px;
}

.form-section {
    margin-bottom: 35px;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 16px;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.section-title {
    margin: 0 0 25px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: "▸";
    font-size: 24px;
    color: #3b82f6;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.form-row {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
}

.form-row label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.required {
    color: #ef4444;
    font-size: 16px;
}

.field-hint {
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
}

.form-row input, 
.form-row select {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
    background: #ffffff;
    color: #1f2937;
    font-family: inherit;
}

.form-row input:focus,
.form-row select:focus {
    border-color: #3b82f6;
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.form-row input::placeholder {
    color: #9ca3af;
}

.form-row select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='%236b7280'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 50px;
    cursor: pointer;
}

.pricing-section {
    margin: 35px 0;
}

.pricing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pricing-card {
    background: white;
    padding: 28px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2);
}

.pricing-card.active {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.25);
    transform: translateY(-5px) scale(1.02);
}

.pricing-card.active::before {
    transform: scaleX(1);
}

.pricing-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #3b82f6;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.pricing-badge.student {
    background: linear-gradient(135deg, #10b981, #059669);
}

.pricing-badge.non-member {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.pricing-card h4 {
    margin: 12px 0 8px;
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
}

.pricing-card .price {
    font-size: 32px;
    font-weight: 800;
    color: #1e40af;
    margin: 12px 0;
    letter-spacing: -1px;
}

.pricing-card p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.form-total {
    text-align: center;
    font-size: 20px;
    margin: 35px 0;
    padding: 28px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 16px;
    border: 3px solid #3b82f6;
    position: relative;
}

.form-total::before {
    content: "💳";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px 14px;
    border-radius: 50%;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.form-total span {
    color: #1e40af;
    font-weight: 800;
    font-size: 28px;
    display: block;
    margin-top: 8px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 20px;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.45);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    background: #9ca3af;
    box-shadow: none;
}

.submit-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.submit-btn:hover:not(:disabled)::before {
    left: 100%;
}

.btn-icon {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.submit-btn:hover:not(:disabled) .btn-icon {
    transform: scale(1.2) rotate(5deg);
}

.security-badge {
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 10px;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.security-icon {
    font-size: 18px;
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid #fff;
    animation: spin 0.8s linear infinite;
}

.success-icon {
    display: inline-block;
    font-size: 22px;
    animation: bounce 0.6s ease-in-out;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .corpgov-form-wrapper {
        margin: 20px;
        border-radius: 20px;
    }
    
    .corpgov-header {
        padding: 35px 25px;
    }
    
    .corpgov-header h2 {
        font-size: 26px;
    }
    
    .corpgov-subtitle {
        font-size: 16px;
    }
    
    .corpgov-logo {
        font-size: 48px;
    }
    
    .event-details {
        gap: 15px;
    }
    
    .event-detail-item {
        padding: 10px 16px;
    }
    
    #corpgov-registration-form {
        padding: 30px 25px;
    }
    
    .form-section {
        padding: 25px 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .pricing-info {
        grid-template-columns: 1fr;
    }
    
    .form-total {
        font-size: 18px;
        padding: 24px 20px;
    }
    
    .form-total span {
        font-size: 24px;
    }
    
    .submit-btn {
        font-size: 16px;
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .corpgov-header h2 {
        font-size: 22px;
    }
    
    .corpgov-subtitle {
        font-size: 14px;
    }
    
    .event-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .event-detail-item {
        justify-content: center;
    }
    
    .form-row input, 
    .form-row select {
        font-size: 16px;
        padding: 13px 14px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .pricing-card .price {
        font-size: 28px;
    }
    
    .submit-btn {
        font-size: 15px;
        padding: 16px;
    }
}