/* Premium Affiliate Program Styles */
:root {
    --premium-blue: #0284c7;
    --premium-dark-blue: #0c4a6e;
    --premium-light-blue: #38bdf8;
    --premium-gradient: linear-gradient(135deg, #0c4a6e, #0369a1, #0284c7);
    --premium-accent: #0ea5e9;
    --premium-text: #0f172a;
    --premium-light-bg: #f8fafc;
    --premium-card-bg: rgba(255, 255, 255, 0.9);
    --premium-shadow: 0 10px 25px rgba(0, 32, 96, 0.1);
    --premium-hover-shadow: 0 15px 35px rgba(0, 32, 96, 0.15);
}

/* General Styles */
body {
    background-color: var(--premium-light-bg);
    color: var(--premium-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    background: var(--premium-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--premium-gradient);
    border-radius: 3px;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 1rem auto 0;
}

.gradient-text {
    background: var(--premium-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero Section */
.affiliate-hero {
    position: relative;
    padding: 100px 20px 120px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    overflow: hidden;
}

.affiliate-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.05) 0%, transparent 300px),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.05) 0%, transparent 300px);
    pointer-events: none;
}

.affiliate-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.affiliate-hero-text {
    flex: 1;
    max-width: 550px;
    padding-right: 40px;
}

.affiliate-hero-text h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.affiliate-hero-text .subtitle {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--premium-card-bg);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--premium-shadow);
    min-width: 120px;
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--premium-hover-shadow);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--premium-accent);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--premium-gradient);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
}

.cta-button:hover::before {
    transform: translateX(100%);
}

.affiliate-hero-image {
    flex: 1;
    max-width: 550px;
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--premium-shadow);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.floating-card {
    position: absolute;
    background: var(--premium-card-bg);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    box-shadow: var(--premium-shadow);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s infinite ease-in-out;
}

.floating-card i {
    font-size: 1.25rem;
    color: var(--premium-accent);
}

.floating-card span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--premium-text);
}

.card-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: -30px;
    animation-delay: -2s;
}

.card-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 20px;
    background-color: var(--premium-light-bg);
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--premium-card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--premium-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--premium-gradient);
    opacity: 0.7;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--premium-hover-shadow);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--premium-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

.step-icon i {
    font-size: 1.75rem;
    color: white;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--premium-text);
}

.step-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.03) 0%, transparent 300px),
        radial-gradient(circle at 70% 80%, rgba(14, 165, 233, 0.03) 0%, transparent 300px);
    pointer-events: none;
}

.benefits-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: var(--premium-card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--premium-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.benefit-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--premium-hover-shadow);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--premium-gradient);
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--premium-accent);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon i {
    color: white;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--premium-text);
}

.benefit-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 20px;
    background-color: white;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--premium-light-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--premium-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--premium-hover-shadow);
}

.testimonial-content {
    position: relative;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    color: rgba(14, 165, 233, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--premium-accent);
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--premium-text);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.85rem;
    color: #64748b;
}

/* FAQ Section */
.faq-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--premium-card-bg);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: var(--premium-shadow);
    overflow: hidden;
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--premium-hover-shadow);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--premium-text);
    margin: 0;
}

.faq-question i {
    color: var(--premium-accent);
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-question {
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Application Section */
.application-section {
    padding: 80px 20px;
    background-color: white;
}

.application-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.affiliate-form {
    background: var(--premium-card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--premium-shadow);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--premium-text);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--premium-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.85rem;
    font-weight: 400;
    color: #475569;
}

.checkbox-group a {
    color: var(--premium-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--premium-gradient);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
    margin-top: 1.5rem;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
}

.application-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--premium-gradient);
    border-radius: 16px;
    padding: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: var(--premium-shadow);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=774&q=80') center/cover no-repeat;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.sidebar-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.sidebar-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
}

.sidebar-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    position: relative;
}

.sidebar-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.sidebar-benefits li i {
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-cta {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

.sidebar-cta p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.email-link:hover {
    opacity: 0.8;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .affiliate-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .affiliate-hero-text {
        max-width: 100%;
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .affiliate-hero-image {
        max-width: 80%;
    }

    .application-container {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .affiliate-hero {
        padding: 80px 20px 100px;
    }

    .affiliate-hero-text h1 {
        font-size: 2.5rem;
    }

    .affiliate-hero-text .subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
    }

    .stat-item {
        min-width: 100px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .steps-container,
    .benefits-grid,
    .testimonials-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .affiliate-hero-text h1 {
        font-size: 2rem;
    }

    .affiliate-hero-text .subtitle {
        font-size: 1rem;
    }

    .cta-button {
        width: 100%;
    }

    .step-card,
    .benefit-card,
    .testimonial-card {
        padding: 1.5rem;
    }

    .affiliate-form {
        padding: 1.5rem;
    }
}
