.hbf-warning-banner {
    width: 100%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    padding: 14px 20px;
    position: relative;
    overflow: hidden;
    animation: hbfPulse 2s ease-in-out infinite;
}

@keyframes hbfPulse {
    0%, 100% { 
        background: linear-gradient(135deg, #dc2626, #b91c1c);
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
    50% { 
        background: linear-gradient(135deg, #ef4444, #dc2626);
        box-shadow: 0 0 20px 0 rgba(220, 38, 38, 0.4);
    }
}

.hbf-warning-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: hbfShimmer 2s linear infinite;
}

@keyframes hbfShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hbf-warning-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.hbf-warning-icon {
    font-size: 22px;
    animation: hbfBounce 1s ease-in-out infinite;
}

@keyframes hbfBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.1); }
}

.hbf-warning-text {
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hbf-warning-text strong {
    font-weight: 700;
}

.hbf-page-wrapper {
    font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #0f1a0f 0%, #1a2e1a 50%, #0a120a 100%);
    min-height: 100vh;
    padding: 0;
}

.hbf-page-wrapper *, 
.hbf-page-wrapper *::before, 
.hbf-page-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hbf-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 32px 20px 48px;
}

.hbf-logo-area {
    text-align: center;
    margin-bottom: 32px;
}

.hbf-logo {
    height: 50px;
    filter: brightness(1.2);
}

.hbf-progress-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.hbf-progress-step {
    height: 8px;
    width: 80px;
    border-radius: 4px;
    background: rgba(255,255,255,0.15);
    transition: all 0.5s ease;
}

.hbf-progress-step.active {
    background: linear-gradient(90deg, #9cb94b, #7a9a35);
    box-shadow: 0 0 12px rgba(156, 185, 75, 0.4);
}

.hbf-progress-step.completed {
    background: #9cb94b;
}

.hbf-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.hbf-step {
    display: none;
}

.hbf-step.active {
    display: block;
    animation: hbfFadeIn 0.4s ease;
}

@keyframes hbfFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.hbf-step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.hbf-step-icon {
    font-size: 28px;
    color: #9cb94b;
}

.hbf-step-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a2e1a;
    margin: 0;
}

.hbf-step-subtitle {
    color: #6b7280;
    font-size: 15px;
    margin-left: 40px;
    margin-bottom: 28px;
}

.hbf-data-card {
    background: #f8faf5;
    border: 1px solid #e8f0dc;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 28px;
}

.hbf-data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.hbf-data-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.hbf-data-row:first-child {
    padding-top: 0;
}

.hbf-data-label {
    color: #6b7280;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hbf-data-value {
    font-weight: 600;
    color: #1a2e1a;
    font-size: 15px;
}

.hbf-section-label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 14px;
}

.hbf-choice-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
}

.hbf-choice-card {
    cursor: pointer;
}

.hbf-choice-card input {
    display: none;
}

.hbf-choice-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    transition: all 0.2s;
    background: #fff;
}

.hbf-choice-card:hover .hbf-choice-content {
    border-color: #9cb94b;
}

.hbf-choice-card input:checked ~ .hbf-choice-content {
    border-color: #9cb94b;
    background: #f8faf5;
}

.hbf-choice-icon {
    font-size: 20px;
    color: #9ca3af;
    transition: color 0.2s;
}

.hbf-choice-card input:checked ~ .hbf-choice-content .hbf-choice-icon {
    color: #9cb94b;
}

.hbf-choice-text {
    font-weight: 600;
    color: #1a2e1a;
    font-size: 15px;
}

.hbf-info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fef9e7;
    border: 1px solid #f0d861;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 14px;
    color: #78600a;
}

.hbf-info-icon {
    font-size: 22px;
}

.hbf-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hbf-form-group {
    margin-bottom: 20px;
}

.hbf-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.hbf-form-group input,
.hbf-form-group select,
.hbf-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: #f9fafb;
    color: #1a2e1a;
    transition: all 0.2s;
}

.hbf-form-group input::placeholder,
.hbf-form-group textarea::placeholder {
    color: #9ca3af;
}

.hbf-form-group input:focus,
.hbf-form-group select:focus,
.hbf-form-group textarea:focus {
    outline: none;
    border-color: #9cb94b;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(156, 185, 75, 0.1);
}

.hbf-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.hbf-checkbox-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.hbf-checkbox-card {
    cursor: pointer;
}

.hbf-checkbox-card input {
    display: none;
}

.hbf-checkbox-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    transition: all 0.2s;
    background: #fff;
}

.hbf-checkbox-card:hover .hbf-checkbox-content {
    border-color: #9cb94b;
}

.hbf-checkbox-card input:checked ~ .hbf-checkbox-content {
    border-color: #9cb94b;
    background: #f8faf5;
}

.hbf-checkbox-box {
    width: 24px;
    height: 24px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s;
}

.hbf-checkbox-card input:checked ~ .hbf-checkbox-content .hbf-checkbox-box {
    background: #9cb94b;
    border-color: #9cb94b;
}

.hbf-checkbox-card input:checked ~ .hbf-checkbox-content .hbf-checkbox-box::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.hbf-checkbox-icon {
    font-size: 26px;
}

.hbf-checkbox-text {
    flex: 1;
}

.hbf-checkbox-text strong {
    display: block;
    font-size: 15px;
    color: #1a2e1a;
    margin-bottom: 2px;
}

.hbf-checkbox-text span {
    font-size: 13px;
    color: #6b7280;
}

.hbf-nav-buttons {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #e5e7eb;
}

.hbf-btn {
    padding: 16px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.hbf-btn-next {
    flex: 1;
    background: linear-gradient(135deg, #9cb94b, #7a9a35);
    color: #fff;
    box-shadow: 0 6px 20px rgba(156, 185, 75, 0.35);
}

.hbf-btn-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(156, 185, 75, 0.45);
}

.hbf-btn-next:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.hbf-btn-back {
    background: #fff;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    display: none;
}

.hbf-btn-back:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.hbf-success-container {
    padding: 20px 0;
}

.hbf-success-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hbf-success-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 14px;
    opacity: 0.4;
    transition: all 0.5s;
}

.hbf-success-step.active {
    opacity: 1;
    background: #f8faf5;
    border: 1px solid #e8f0dc;
}

.hbf-success-step.completed {
    opacity: 1;
    background: #f0f7e6;
    border: 1px solid #c8dba0;
}

.hbf-success-icon {
    width: 48px;
    height: 48px;
    position: relative;
    flex-shrink: 0;
}

.hbf-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #e5e7eb;
    border-top-color: #9cb94b;
    border-radius: 50%;
    animation: hbfSpin 1s linear infinite;
    display: none;
}

.hbf-success-step.active .hbf-spinner {
    display: block;
}

.hbf-success-step.completed .hbf-spinner {
    display: none;
}

@keyframes hbfSpin {
    to { transform: rotate(360deg); }
}

.hbf-checkmark {
    width: 48px;
    height: 48px;
    fill: #fff;
    background: #9cb94b;
    border-radius: 50%;
    padding: 12px;
    display: none;
}

.hbf-success-step.completed .hbf-checkmark {
    display: block;
    animation: hbfPop 0.3s ease;
}

@keyframes hbfPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.hbf-success-text strong {
    display: block;
    font-size: 16px;
    color: #1a2e1a;
    margin-bottom: 4px;
}

.hbf-success-text span {
    font-size: 14px;
    color: #6b7280;
}

.hbf-final-message {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.hbf-final-message.show {
    display: block;
    animation: hbfFadeIn 0.5s ease;
}

.hbf-final-icon {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #9cb94b, #7a9a35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 15px 40px rgba(156, 185, 75, 0.35);
}

.hbf-final-icon svg {
    width: 48px;
    height: 48px;
    fill: #fff;
}

.hbf-final-message h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a2e1a;
    margin-bottom: 8px;
}

.hbf-final-message p {
    font-size: 16px;
    color: #6b7280;
}

.hbf-footer {
    text-align: center;
    padding: 24px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.hbf-footer a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.hbf-footer a:hover {
    color: rgba(255,255,255,0.8);
}

.hbf-footer span {
    margin: 0 10px;
}

@media (max-width: 600px) {
    .hbf-container {
        padding: 20px 16px 40px;
    }
    
    .hbf-form-card {
        padding: 28px 20px;
        border-radius: 20px;
    }
    
    .hbf-step-header h1 {
        font-size: 20px;
    }
    
    .hbf-progress-step {
        width: 60px;
    }
    
    .hbf-form-row {
        grid-template-columns: 1fr;
    }
    
    .hbf-choice-cards {
        grid-template-columns: 1fr;
    }
    
    .hbf-nav-buttons {
        flex-direction: column-reverse;
    }
    
    .hbf-btn-back {
        width: 100%;
    }
    
    .hbf-warning-text {
        font-size: 13px;
    }
}