/* =============================
   Become an Agent Page Styles
   ============================= */

/* Hero Section */
.agent-hero {
    background: linear-gradient(135deg, #6b52df 0%, #4a3fbf 50%, #2a1faf 100%);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.agent-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(255,255,255,0.05) 0%, transparent 40%);
    pointer-events: none;
}

.agent-hero .badge-pill {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.agent-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.agent-hero h1 span {
    color: #ffd700;
}

.agent-hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.88);
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.agent-hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: white;
    color: #6b52df;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
    color: #4a3fbf;
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.6);
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
    color: white;
}

/* Stats Strip */
.agent-stats-strip {
    background: white;
    padding: 32px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.agent-stats-strip .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.stat-strip-item {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 16px 24px;
    border-right: 1px solid #e2e8f0;
}

.stat-strip-item:last-child {
    border-right: none;
}

.stat-strip-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #6b52df;
    margin-bottom: 4px;
}

.stat-strip-item p {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Benefits Section */
.agent-benefits {
    padding: 80px 0;
    background: #f7fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-badge {
    display: inline-block;
    background: #ede9fe;
    color: #6b52df;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 14px;
}

.section-subtitle {
    color: #718096;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.benefit-card {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #e8e4f8;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(123,104,238,0.15);
    border-color: #c4b5fd;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: #6b52df;
}

.benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.benefit-card p {
    color: #718096;
    font-size: 0.93rem;
    line-height: 1.65;
}

/* How it Works Section */
.how-it-works {
    padding: 80px 0;
    background: white;
}

.steps-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    position: relative;
    justify-content: center;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #6b52df, #c4b5fd);
    z-index: 0;
}

.step-item {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6b52df, #4a3fbf);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(123,104,238,0.35);
}

.step-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.step-item p {
    color: #718096;
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Application Form Section */
.agent-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7f5ff 0%, #f0f4ff 100%);
}

.agent-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Left Info Panel */
.agent-form-info {
    padding: 20px 0;
}

.agent-form-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 14px;
    line-height: 1.25;
}

.agent-form-info h2 span {
    color: #6b52df;
}

.agent-form-info p {
    color: #718096;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.info-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-highlights li i {
    color: #6b52df;
    margin-top: 2px;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-quick {
    background: white;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.contact-quick h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 14px;
}

.contact-quick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #4a5568;
}

.contact-quick-item i {
    color: #6b52df;
    width: 18px;
}

/* Form Card */
.agent-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid #e8e4f8;
}

.agent-form-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 6px;
}

.agent-form-card .form-subtitle {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.agent-form-group {
    margin-bottom: 20px;
}

.agent-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 7px;
}

.agent-form-group label span {
    color: #e53e3e;
}

.agent-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #2d3748;
    background: #fafafa;
    transition: all 0.3s ease;
    outline: none;
}

.agent-form-input:focus {
    border-color: #6b52df;
    background: white;
    box-shadow: 0 0 0 3px rgba(123,104,238,0.12);
}

.agent-form-input.error {
    border-color: #fc8181;
    background: #fff5f5;
}

select.agent-form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

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

.agent-submit-btn {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #6b52df, #4a3fbf);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

.agent-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123,104,238,0.4);
}

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

/* Form Result Messages */
.form-msg {
    display: none;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 0.93rem;
    align-items: center;
    gap: 10px;
}

.form-msg.success {
    display: flex;
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid #38a169;
}

.form-msg.error {
    display: flex;
    background: #fff5f5;
    color: #c53030;
    border-left: 4px solid #fc8181;
}

/* Field error text */
.field-error {
    font-size: 0.8rem;
    color: #e53e3e;
    margin-top: 4px;
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .agent-form-wrapper {
        grid-template-columns: 1fr;
    }

    .agent-form-info {
        order: 2;
    }

    .agent-form-card {
        order: 1;
    }

    .steps-grid::before {
        display: none;
    }

    .steps-grid {
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .agent-form-card {
        padding: 28px 20px;
    }

    .agent-hero {
        padding: 90px 0 60px;
    }

    .agent-hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .stat-strip-item {
        min-width: 140px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .stat-strip-item:last-child {
        border-bottom: none;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
}
