/* Agent Apply Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #F26522;
    --primary-dark: #D4541E;
    --secondary-color: #10b981;
    --accent-color: #F26522;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-light: #94a3b8;
    --bg-primary: #1a1a1a;
    --bg-secondary: #0D0D0D;
    --bg-tertiary: #252525;
    --border-color: rgba(242, 101, 34, 0.3);
    --border-light: rgba(242, 101, 34, 0.2);
    --error-color: #ef4444;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.2);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.2);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.2);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(rgba(13, 13, 13, 0.7), rgba(13, 13, 13, 0.75)),
                url('../images/bg_1.jpg') center center / cover no-repeat fixed;
    min-height: 100vh;
    position: relative;
}

/* Gradiente ya aplicado directamente en body */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #ffffff;
}

.logo img {
    height: 2.5rem;
    width: auto;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(242, 101, 34, 0.2);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Main Content */
.main {
    padding: 2rem 0 4rem;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 26, 26, 0.95);
    padding: 1.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    position: relative;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: 60%;
    right: -40%;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.progress-step.active:not(:last-child)::after,
.progress-step.completed:not(:last-child)::after {
    background: var(--primary-color);
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.progress-step.completed .step-number {
    background: var(--success-color);
    color: white;
}

.progress-step span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

.progress-step.active span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Form Container */
.form-container {
    background: rgba(26, 26, 26, 0.95);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.form-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    text-align: center;
}

.form-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Form Steps */
.agent-form {
    padding: 2rem;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.2s ease;
    background: rgba(13, 13, 13, 0.8);
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.2);
}

.form-group input:invalid,
.form-group select:invalid {
    border-color: var(--error-color);
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-light);
}

.error-message {
    font-size: 0.75rem;
    color: var(--error-color);
    display: none;
}

.error-message.show {
    display: block;
}

/* Password Input */
.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input input {
    flex: 1;
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: var(--text-primary);
}

/* Phone Input */
.phone-input {
    display: flex;
    gap: 0.5rem;
}

.phone-input select {
    flex: 0 0 auto;
    min-width: 120px;
}

.phone-input input {
    flex: 1;
}

/* Document Upload */
.document-upload-section {
    margin: 2rem 0;
}

.document-upload-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.upload-instructions {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.upload-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.upload-box {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--bg-secondary);
}

.upload-box:hover {
    border-color: var(--primary-color);
    background: var(--bg-primary);
}

.upload-box.has-file {
    border-color: var(--success-color);
    border-style: solid;
    background: rgba(16, 185, 129, 0.05);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.upload-content i {
    font-size: 2rem;
    color: var(--text-light);
}

.upload-content h4 {
    font-weight: 600;
    color: var(--text-primary);
}

.upload-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-preview {
    display: none;
    margin-top: 1rem;
}

.upload-preview.show {
    display: block;
}

.upload-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Verification Section */
.verification-section {
    margin: 2rem 0;
}

.verification-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.verification-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.verification-content h3 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.verification-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Terms Section */
.terms-section {
    margin: 2rem 0;
}

.terms-container {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.125rem;
    width: 1.25rem;
    height: 1.25rem;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.link-button {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

.link-button:hover {
    color: var(--primary-dark);
}

/* Signature Section */
.signature-section {
    margin-top: 1.5rem;
}

.signature-section h3 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.signature-section p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.signature-container {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem;
    background: var(--bg-primary);
}

#signatureCanvas {
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-md);
    cursor: crosshair;
    display: block;
    margin: 0 auto;
    background: white;
}

.signature-actions {
    margin-top: 1rem;
    text-align: center;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.btn-primary,
.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.terms-content h3 {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.terms-content h3:first-child {
    margin-top: 0;
}

.terms-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.terms-content ul {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
}

.modal-footer {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

/* Submission Progress Modal */
.submission-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.submission-modal {
    background: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.submission-modal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.submission-modal-logo {
    height: 32px;
    width: auto;
}

.submission-modal-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.submission-modal-body {
    padding: 1.25rem 1.5rem;
}

.submission-warning {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.submission-warning i {
    color: #f59e0b;
    font-size: 1rem;
    flex-shrink: 0;
}

.submission-warning span {
    color: #fbbf24;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
}

.submission-steps {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.submission-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: transparent;
}

.submission-step .step-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: #64748b;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.submission-step .step-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.submission-step .step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    transition: color 0.3s ease;
}

.submission-step .step-status {
    font-size: 0.72rem;
    color: #475569;
    font-weight: 400;
}

.submission-step .step-indicator {
    flex-shrink: 0;
    font-size: 0.5rem;
    color: #334155;
    transition: all 0.3s ease;
}

/* Step states */
.submission-step.active {
    background: rgba(242, 101, 34, 0.08);
}

.submission-step.active .step-icon {
    background: rgba(242, 101, 34, 0.15);
    color: #F26522;
}

.submission-step.active .step-label {
    color: #ffffff;
}

.submission-step.active .step-indicator i {
    animation: pulse-dot 1s ease-in-out infinite;
    color: #F26522;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.submission-step.completed .step-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.submission-step.completed .step-label {
    color: #94a3b8;
}

.submission-step.completed .step-indicator i::before {
    content: "\f00c";
}

.submission-step.completed .step-indicator {
    color: #10b981;
    font-size: 0.75rem;
}

.submission-step.error .step-icon {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.submission-step.error .step-label {
    color: #ef4444;
}

.submission-step.error .step-indicator i::before {
    content: "\f00d";
}

.submission-step.error .step-indicator {
    color: #ef4444;
    font-size: 0.75rem;
}

.submission-modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.submission-result {
    text-align: center;
}

.submission-result.success {
    color: #10b981;
}

.submission-result.success i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.submission-result.success .result-title {
    font-size: 1rem;
    font-weight: 600;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.submission-result.success .result-message {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}

.submission-result.error-result {
    color: #ef4444;
}

.submission-result.error-result i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.submission-result.error-result .result-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ef4444;
    margin-bottom: 0.25rem;
}

.submission-result.error-result .result-message {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Submission modal responsive */
@media (max-width: 480px) {
    .submission-modal {
        max-width: 100%;
        border-radius: 12px;
    }

    .submission-modal-header {
        padding: 1rem 1.25rem;
    }

    .submission-modal-body {
        padding: 1rem 1.25rem;
    }

    .submission-step {
        padding: 0.6rem 0.65rem;
        gap: 0.6rem;
    }

    .submission-step .step-icon {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .submission-step .step-label {
        font-size: 0.8rem;
    }

    .submission-warning span {
        font-size: 0.75rem;
    }
}

/* Toast */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: #ffffff;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
    color: #1a1a1a;
}

.toast span {
    color: #1a1a1a;
    font-weight: 500;
}

.toast.success {
    border-color: var(--success-color);
    background: #ffffff;
    border-left: 4px solid var(--success-color);
}

.toast.error {
    border-color: var(--error-color);
    background: #ffffff;
    border-left: 4px solid var(--error-color);
}

.toast.warning {
    border-color: var(--warning-color);
    background: #ffffff;
    border-left: 4px solid var(--warning-color);
}

.toast i {
    font-size: 1.25rem;
}

.toast.success i {
    color: var(--success-color);
}

.toast.error i {
    color: var(--error-color);
}

.toast.warning i {
    color: var(--warning-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .progress-bar {
        flex-direction: column;
        gap: 1rem;
    }

    .progress-step {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    .progress-step:not(:last-child)::after {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .upload-container {
        grid-template-columns: 1fr;
    }

    .phone-input {
        flex-direction: column;
    }

    .phone-input select {
        min-width: auto;
    }

    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .form-navigation .btn-primary,
    .form-navigation .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }

    #signatureCanvas {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .agent-form {
        padding: 1rem;
    }

    .form-header {
        padding: 1.5rem 1rem;
    }

    .form-header h1 {
        font-size: 1.5rem;
    }

    .form-header p {
        font-size: 1rem;
    }

    .toast-container {
        left: 1rem;
        right: 1rem;
    }

    .toast {
        min-width: auto;
    }
}

/* Membership Styles */
.step-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    text-align: center;
}

#membershipContainer {
    margin-top: 2rem;
    animation: fadeInUp 0.3s ease-out;
}

.membership-details {
    margin-top: 2rem;
    animation: fadeInUp 0.3s ease-out;
}

.membership-card {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.membership-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.logo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.logo-watermark img {
    width: 300px;
    height: auto;
    filter: brightness(0) invert(1);
}

.membership-top {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.plan-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.plan-badge span {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.commission-display {
    margin-bottom: 1.5rem;
}

.commission-number {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.commission-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.plan-description {
    color: white;
    font-size: 1rem;
    line-height: 1.6;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.membership-middle {
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.price-display {
    text-align: center;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.membership-bottom {
    padding: 1.5rem 2rem 2rem;
    background: rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.example-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.example-title i {
    font-size: 1rem;
}

.example-calculations {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
}

.calc-label {
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
}

.calc-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
}

.calc-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
    margin: 0.5rem 0;
}

.calc-row.earning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    margin: 0.75rem -1.25rem -1rem;
    padding: 1rem 1.25rem;
    border-radius: 0 0 12px 12px;
}

.calc-row.earning .calc-label {
    color: #92400e;
    font-weight: 700;
    font-size: 0.9rem;
}

.calc-row.earning .calc-value.highlight {
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .membership-card {
        max-width: 100%;
    }

    .commission-number {
        font-size: 3rem;
    }

    .price-value {
        font-size: 2rem;
    }

    .plan-description {
        font-size: 0.9rem;
        padding: 0.875rem 1rem;
    }

    .membership-top,
    .membership-middle,
    .membership-bottom {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .logo-watermark img {
        width: 200px;
    }
}
