/* Refined Color Palette and General Styling */
:root {
    --primary: #034737;
    --primary-dark: #356E21;
    --primary-light: #0080001a;
    --primary-lighter: #ecfdf5;
    --primary-gradient: linear-gradient(135deg, #045f4a 0%, #034737 100%);
    --primary-soft-gradient: linear-gradient(135deg, #356E21 0%, #356E21 100%);
    --secondary: #f9fafb;
    --accent: #6366f1;
    --accent-dark: #4f46e5;
    --accent-light: #e0e7ff;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #9ca3af;
    --white: #ffffff;
    --black: #000000;
    --border: #e5e7eb;
    --border-dark: #d1d5db;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --shadow-soft: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    overflow-x: hidden;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 16px;
    font-size: 2.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Hero Section */
.affiliate-hero {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 120px 0 160px;
    position: relative;
    overflow: hidden;
}

.affiliate-hero .hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.affiliate-hero .hero-text {
    flex: 1;
}

.affiliate-hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.025em;
}

.affiliate-hero h1 .highlight {
    color: var(--primary);
    display: inline-block;
}

.affiliate-hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary-light);
    z-index: -1;
    border-radius: 4px;
}

.affiliate-hero p {
    font-size: 1.25rem;
    margin-bottom: 32px;
    color: var(--text-secondary);
    max-width: 90%;
}

.affiliate-hero .hero-cta {
    display: flex;
    gap: 16px;
}

.affiliate-hero .hero-image {
    flex: 1;
    position: relative;
    transition: transform 0.5s ease;
}

.affiliate-hero .hero-image:hover {
    transform: translateY(-10px);
}

.affiliate-hero .hero-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    width: 100%;
    transition: all 0.3s ease;
}

.affiliate-hero .hero-image img:hover {
    box-shadow: var(--shadow-soft);
}

.commission-badge {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    animation: float 6s ease-in-out infinite;
}

.badge-inner {
    width: 110px;
    height: 110px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.badge-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.badge-subtext {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

/* Improved Why Partner Section */
.why-partner {
    padding: 100px 0;
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid var(--primary-lighter);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-soft-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-lighter);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background-color: var(--primary-light);
    transform: scale(1.05);
}

.benefit-icon svg {
    color: var(--primary);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon svg {
    transform: scale(1.1);
}

.benefit-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.benefit-card:hover h3 {
    color: var(--primary);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Refined How It Works Section */
.how-it-works {
    padding: 100px 0;
    background-color: var(--secondary);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: var(--primary-lighter);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.steps-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.step-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 8px 15px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.step-content {
    background-color: var(--white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: var(--shadow-soft);
    flex: 1;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.step-card:hover .step-content {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-medium);
}

.step-content h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.step-card:hover .step-content h3 {
    color: var(--primary);
}

.step-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

.step-connector {
    position: absolute;
    left: 30px;
    top: 60px;
    width: 2px;
    height: calc(100% - 120px);
    background-color: var(--primary-light);
    z-index: 0;
}

/* Improved Who Can Join Section */
.who-can-join {
    padding: 100px 0;
    background-color: var(--white);
}

.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.persona-card {
    text-align: center;
    padding: 35px 25px;
    border-radius: 16px;
    background-color: var(--white);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.persona-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-soft-gradient);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.persona-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.persona-card:hover::after {
    transform: scaleX(1);
}

.persona-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.persona-card:hover .persona-icon {
    background-color: var(--primary-light);
    transform: scale(1.05);
}

.persona-icon svg {
    color: var(--primary);
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.persona-card:hover .persona-icon svg {
    transform: scale(1.1);
}

.persona-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.persona-card:hover h3 {
    color: var(--primary);
}

.persona-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}

.no-tech-required {
    background-color: var(--primary-lighter);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.no-tech-required:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.no-tech-icon {
    width: 70px;
    height: 70px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.no-tech-required:hover .no-tech-icon {
    transform: scale(1.05);
}

.no-tech-icon svg {
    color: var(--primary);
    width: 30px;
    height: 30px;
}

.no-tech-required h3 {
    margin-bottom: 16px;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.no-tech-required p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Completely Redesigned Earnings Calculator */
.earnings-calculator {
    padding: 100px 0;
    background-color: var(--secondary);
    position: relative;
    overflow: hidden;
}

.earnings-calculator::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: var(--primary-lighter);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.calculator-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.calculator-form {
    padding: 40px;
    border-bottom: 1px solid var(--border);
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.input-group {
    margin-bottom: 0;
}

.input-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.number-input-container {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.number-input-container:hover, .number-input-container:focus-within {
    border-color: var(--primary);
}

.number-btn {
    width: 50px;
    height: 50px;
    background-color: var(--primary-lighter);
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-btn:hover {
    background-color: var(--primary-light);
}

.number-btn:active {
    transform: scale(0.95);
}

.number-input {
    flex: 1;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    background-color: var(--white);
}

.number-input:focus {
    outline: none;
}

.select-container {
    position: relative;
}

.custom-select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--text-primary);
    background-color: var(--white);
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select:hover, .custom-select:focus {
    border-color: var(--primary);
    outline: none;
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary);
}

.calculator-results {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.result-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-lighter) 100%);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.result-card:hover::before {
    opacity: 1;
}

.result-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
    color: var(--text-primary);
    position: relative;
}

.result-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    transition: all 0.3s ease;
}

.result-card:hover .result-value {
    transform: scale(1.05);
}

.result-period {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 8px;
    position: relative;
}

.calculator-note {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* Enhanced Why ChatSerene Section */
.why-chatserene {
    padding: 100px 0;
    background-color: var(--white);
}

.product-features {
    display: flex;
    align-items: center;
    gap: 60px;
}

.product-image {
    flex: 1;
    position: relative;
    transition: all 0.5s ease;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background-color: var(--primary-lighter);
    border-radius: 16px;
    z-index: -1;
    transition: all 0.5s ease;
}

.product-image:hover::before {
    top: 15px;
    left: 15px;
}

.product-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    width: 100%;
    transition: all 0.5s ease;
}

.product-image:hover img {
    transform: translateY(-10px) translateX(-10px);
}

.product-benefits {
    flex: 1;
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    padding: 15px;
    border-radius: 12px;
}

.benefit-item:hover {
    background-color: var(--primary-lighter);
    transform: translateX(10px);
}

.benefit-check {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-check {
    background-color: var(--primary);
}

.benefit-check svg {
    color: var(--primary);
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-check svg {
    color: var(--white);
}

.benefit-text h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-text h3 {
    color: var(--primary);
}

.benefit-text p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Refined Testimonials Section */
.affiliate-testimonials {
    padding: 100px 0;
    background-color: var(--secondary);
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 30px 10px;
    scrollbar-width: none;
    margin: 0 -10px;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 320px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.testimonial-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-light);
}

.testimonial-content {
    padding: 40px;
    position: relative;
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card:hover .testimonial-content::before {
    transform: scaleX(1);
}

.quote-icon {
    margin-bottom: 20px;
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    transform: scale(1.1);
    color: var(--primary);
}

.testimonial-content p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-author img {
    border-color: var(--primary-light);
}

.author-info h4 {
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-info h4 {
    color: var(--primary);
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: normal;
}

/* Enhanced Sign Up Section */
.signup-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    position: relative;
}

.signup-container {
    display: flex;
    gap: 60px;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    position: relative;
}

.signup-content {
    flex: 1;
    padding: 60px 40px;
    background: var(--primary-gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.signup-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.signup-content h2 {
    font-size: 2.25rem;
    margin-bottom: 24px;
    color: var(--white);
    position: relative;
}

.signup-content p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    line-height: 1.7;
}

.signup-benefits {
    list-style: none;
    margin-bottom: 0;
    position: relative;
}

.signup-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
}

.signup-benefits li svg {
    color: var(--white);
    flex-shrink: 0;
}

.signup-form {
    flex: 1;
    padding: 60px 40px;
}

.signup-form h3 {
    margin-bottom: 30px;
    font-size: 1.75rem;
    text-align: center;
    color: var(--text-primary);
}

.signup-form .form-group {
    margin-bottom: 24px;
}

.signup-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}

.signup-form input,
.signup-form select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.signup-form input:focus,
.signup-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-lighter);
}

.signup-form input:hover,
.signup-form select:hover {
    border-color: var(--primary-light);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.checkbox-group a:hover {
    color: var(--primary-dark);
}

.signup-form button {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.signup-form button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

/* Improved FAQ Section */
.affiliate-faq {
    padding: 100px 0;
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.faq-question {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question h3,
.faq-question:hover h3 {
    color: var(--primary);
}

.faq-toggle {
    background: none;
    border: none;
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.faq-toggle:hover {
    background-color: var(--primary-lighter);
    transform: rotate(90deg);
}

.faq-item.active .faq-toggle {
    background-color: var(--primary-light);
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 0 28px;
    display: none;
    line-height: 1.7;
}

.faq-answer p {
    color: var(--text-secondary);
    margin-bottom: 0;
    padding-right: 40px;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

/* Enhanced CTA Section */
.affiliate-cta {
    background: var(--primary-gradient);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.affiliate-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 2.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-content .btn-primary {
    background-color: #fff;
    color: var(--primary);
    font-size: 1.25rem;
    padding: 16px 32px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-content .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.faq-answer {
    display: none; /* Hidden by default */
}
.faq-item.active .faq-answer {
    display: block !important; /* Ensures it stays visible when active */
}


/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
    
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .affiliate-hero .hero-content {
        flex-direction: column;
    }
    
    .affiliate-hero .hero-text {
        text-align: center;
    }
    
    .affiliate-hero .hero-cta {
        justify-content: center;
    }
    
    .product-features {
        flex-direction: column;
    }
    
    .signup-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .affiliate-hero h1 {
        font-size: 2.25rem;
    }
    
    .commission-badge {
        top: 10px;
        right: 10px;
        width: 100px;
        height: 100px;
    }
    
    .badge-inner {
        width: 90px;
        height: 90px;
    }
    
    .badge-text {
        font-size: 2rem;
    }
    
    .step-connector {
        display: none;
    }
    
    .calculator-results {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
    
    .testimonial-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .affiliate-hero .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
    }
}
