
.hp-affiliate {
    font-family: 'Outfit', 'Inter', sans-serif;
    color: #0f172a;
    background-color: #ffffff;
    width: 100%;
    margin: 0 auto;
    padding: 0px 0px 80px;
}
.hp-affiliate * {
    box-sizing: border-box;
}

/* Hero Section */

.hp-affiliate-hero-section {
    width: 1200px;
    margin: 0 auto;
}

.hp-affiliate-hero {
    background: #0f172a;
    color: #ffffff;
    text-align: center;
    padding: 60px 40px;
    border-radius: 1px;
    margin-bottom: 60px;
}
.hp-affiliate-hero-tag {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 12px;
    display: block;
    font-weight: 500;
}
.hp-affiliate-hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 16px;
    color: #ffffff;
    letter-spacing: -0.02em;
}
.hp-affiliate-hero p {
    font-size: 16px;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}
.hp-affiliate-hero-btn {
    display: inline-block;
    background: #eab308;
    color: #0f172a;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.1s ease;
}
.hp-affiliate-hero-btn:hover {
    background: #ca8a04;
}

/* Headings */
.hp-affiliate-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.hp-affiliate-section-header h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.hp-affiliate-section-header p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* How It Works Grid */
.hp-affiliate-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}
.hp-affiliate-step-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    background: #ffffff;
}
.hp-affiliate-step-icon {
    width: 48px;
    height: 48px;
    background: #eff6ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #2563eb;
}
.hp-affiliate-step-icon svg {
    width: 24px;
    height: 24px;
}
.hp-affiliate-step-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #0f172a;
}
.hp-affiliate-step-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Commission Structure Grid */
.hp-affiliate-comm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
    align-items: center;
}
.hp-affiliate-comm-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    background: #ffffff;
}
.hp-affiliate-comm-card.highlighted {
    border: 2px solid #eab308;
    position: relative;
}
.hp-affiliate-comm-tag {
    font-size: 11px;
    font-weight: 700;
    color: #eab308;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}
.hp-affiliate-comm-card h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 12px;
}
.hp-affiliate-comm-card.highlighted h3 {
    color: #0f172a;
}
.hp-affiliate-comm-rate {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 12px;
}
.hp-affiliate-comm-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* Why Partner With Us Grid */
.hp-affiliate-why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 80px;
}
.hp-affiliate-why-card {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    background: #ffffff;
}
.hp-affiliate-why-check {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eab308;
    flex-shrink: 0;
}
.hp-affiliate-why-check svg {
    width: 16px;
    height: 16px;
}
.hp-affiliate-why-card span {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
}

/* Form Section */
.hp-affiliate-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 40px;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.hp-affiliate-form-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 24px 0 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}
.hp-affiliate-form-section-title:first-of-type {
    margin-top: 0;
}
.hp-affiliate-form-field {
    margin-bottom: 16px;
}
.hp-affiliate-form-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.hp-affiliate-form-field label .required {
    color: #ef4444;
    margin-left: 2px;
}
.hp-affiliate-form-field input[type="text"],
.hp-affiliate-form-field input[type="email"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.hp-affiliate-form-field input:focus {
    outline: none;
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
}
.hp-affiliate-form-field input::placeholder {
    color: #94a3b8;
}
.hp-affiliate-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.hp-affiliate-form-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: -4px 0 16px;
}
.hp-affiliate-submit-btn {
    width: 100%;
    background: #eab308;
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-top: 8px;
}
.hp-affiliate-submit-btn:hover {
    background: #ca8a04;
}
.hp-affiliate-submit-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

/* Messages */
.hp-affiliate-message {
    padding: 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}
.hp-affiliate-message.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    display: block;
}
.hp-affiliate-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

/* Responsive Rules */
@media (max-width: 768px) {
    .hp-affiliate-steps-grid,
    .hp-affiliate-comm-grid,
    .hp-affiliate-why-grid {
        grid-template-columns: 1fr;
    }
    .hp-affiliate-form-wrapper {
        padding: 24px 20px;
    }
    .hp-affiliate-form-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .hp-affiliate-hero h1 {
        font-size: 32px;
    }
}
