/* ============================================
   DIVENTA PARTNER - Design Premium
   ============================================ */

/* Hero Section */
.partner-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    overflow: hidden;
    background: var(--bg-primary);
}

.partner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

body.theme-gradient-vibrant .partner-hero::before {
    background-image:
        linear-gradient(rgba(255, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 0, 0.06) 1px, transparent 1px);
}

.partner-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 340deg,
        rgba(37, 99, 235, 0.15) 350deg,
        rgba(37, 99, 235, 0.25) 355deg,
        rgba(255, 255, 255, 0.3) 357deg,
        rgba(37, 99, 235, 0.25) 359deg,
        transparent 360deg
    );
    animation: heroSweep 8s linear infinite;
    z-index: 1;
    pointer-events: none;
    filter: blur(60px);
}

body.theme-gradient-vibrant .partner-hero::after {
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 340deg,
        rgba(255, 0, 0, 0.2) 350deg,
        rgba(255, 0, 0, 0.4) 355deg,
        rgba(255, 255, 255, 0.3) 357deg,
        rgba(255, 0, 0, 0.4) 359deg,
        transparent 360deg
    );
}

@keyframes heroSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.partner-hero > * {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

body.theme-gradient-vibrant .hero-badge {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.2);
    color: var(--primary-light);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-title .gradient-text {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual - Benefits Preview */
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px 28px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 20px;
}

body.theme-gradient-vibrant .benefit-card {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.benefit-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-3d);
    border-color: var(--primary);
}

body.theme-gradient-vibrant .benefit-card:hover {
    border-color: rgba(255, 0, 0, 0.4);
}

.benefit-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: 14px;
    flex-shrink: 0;
}

.benefit-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
    fill: none;
}

.benefit-card-text {
    flex: 1;
}

.benefit-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.2;
}

.benefit-card-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

body.theme-gradient-vibrant .stat-item {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-warm);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Section Common Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.theme-gradient-vibrant .section-label {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.2);
    color: var(--primary-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Partnership Types Section */
.partnership-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.partnership-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
    gap: 32px;
}

.partnership-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.theme-gradient-vibrant .partnership-card {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.partnership-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.partnership-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
}

.partnership-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

body.theme-gradient-vibrant .partnership-card:hover {
    border-color: rgba(255, 0, 0, 0.3);
}

.partnership-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: var(--gradient-warm);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partnership-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: 16px;
    margin-bottom: 24px;
}

.partnership-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    fill: none;
}

.partnership-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.partnership-card > p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.partnership-features {
    list-style: none;
    margin: 0 0 32px 0;
    padding: 0;
    flex-grow: 1;
}

.partnership-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.partnership-features li:last-child {
    border-bottom: none;
}

.partnership-features li svg {
    width: 20px;
    height: 20px;
    stroke: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.partnership-commission {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

body.theme-gradient-vibrant .partnership-commission {
    background: rgba(255, 255, 255, 0.03);
}

.commission-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}

/* Benefits Section */
.benefits-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all var(--transition-normal);
}

body.theme-gradient-vibrant .benefit-item {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

body.theme-gradient-vibrant .benefit-item:hover {
    border-color: rgba(255, 0, 0, 0.3);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: 14px;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
    fill: none;
}

.benefit-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.benefit-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Process Section */
.process-section {
    padding: 120px 0;
    background: var(--bg-primary);
}

.process-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 60px;
}

.process-line {
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    border-radius: 3px;
}

.process-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--primary);
}

.process-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent);
}

.process-item {
    position: relative;
    margin-bottom: 48px;
    padding-left: 20px;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-dot {
    position: absolute;
    left: -52px;
    top: 8px;
    width: 24px;
    height: 24px;
    background: var(--bg-primary);
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 2;
    transition: all var(--transition-normal);
}

.process-item:hover .process-dot {
    transform: scale(1.3);
    background: var(--primary);
    box-shadow: 0 0 30px var(--primary);
}

.process-content {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px 28px;
    transition: all var(--transition-normal);
}

body.theme-gradient-vibrant .process-content {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.process-item:hover .process-content {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    transform: translateX(4px);
}

body.theme-gradient-vibrant .process-item:hover .process-content {
    border-color: rgba(255, 0, 0, 0.3);
}

.process-step {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

body.theme-gradient-vibrant .process-step {
    background: rgba(255, 0, 0, 0.1);
    color: var(--primary-light);
}

.process-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.process-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Ideal Partner Section */
.ideal-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.ideal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ideal-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.ideal-content > p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.ideal-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ideal-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--glass-border);
}

.ideal-list li:last-child {
    border-bottom: none;
}

.ideal-list li svg {
    width: 24px;
    height: 24px;
    stroke: var(--secondary);
    flex-shrink: 0;
    margin-top: 2px;
}

.ideal-list li span {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ideal-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ideal-stat {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
    transition: all var(--transition-normal);
}

body.theme-gradient-vibrant .ideal-stat {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.ideal-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.ideal-stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-warm);
    border-radius: 12px;
    margin: 0 auto 16px;
}

.ideal-stat-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    fill: none;
}

.ideal-stat h4 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.ideal-stat p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--bg-primary);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 60px;
    background: var(--gradient-warm);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="white" opacity="0.1"/></svg>');
    opacity: 0.5;
}

.cta-content > * {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
    margin-top: 60px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

body.theme-gradient-vibrant .faq-item {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.08);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

body.theme-gradient-vibrant .faq-item:hover {
    border-color: rgba(255, 0, 0, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    gap: 16px;
}

.faq-question svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer-content {
    padding: 0 24px 24px;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partnership-grid {
        max-width: 100%;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .ideal-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .partner-hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .benefit-card {
        padding: 16px 20px;
    }
    
    .benefit-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .benefit-card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .benefit-card-title {
        font-size: 1.125rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .stat-item {
        padding: 24px 16px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .partnership-section,
    .benefits-section,
    .process-section,
    .ideal-section,
    .cta-section,
    .faq-section {
        padding: 80px 0;
    }
    
    .process-container {
        padding-left: 50px;
    }
    
    .process-line {
        left: 16px;
    }
    
    .process-dot {
        left: -46px;
    }
    
    .process-content {
        padding: 20px;
    }
    
    .partnership-card {
        padding: 28px;
    }
    
    .cta-content {
        padding: 40px 24px;
    }
    
    .ideal-visual {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .ideal-stat {
        padding: 20px 16px;
    }
}
