/* ========================================
   AOVO Partners Page - Premium Design
   Modern, Trendy, Elegant Styling
   ======================================== */

/* ========================================
   Hero Section
   ======================================== */
.partner-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-primary);
}

.partner-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(184, 151, 126, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(200, 169, 106, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 10, 15, 0.95) 0%, var(--color-primary) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(184, 151, 126, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184, 151, 126, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.partner-hero .container {
    position: relative;
    z-index: 2;
}

.partner-hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 0;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(184, 151, 126, 0.15);
    border: 1px solid rgba(184, 151, 126, 0.3);
    border-radius: 50px;
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.hero-title .title-line {
    display: block;
    opacity: 0;
    transform: translateY(40px);
}

.hero-title .title-accent {
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 48px;
    word-break: keep-all;
    opacity: 0;
    transform: translateY(30px);
}

.hero-desc strong {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(30px);
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
    opacity: 0;
}

.scroll-indicator span {
    font-family: var(--font-display);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--color-accent) 0%, transparent 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ========================================
   Partner Sections - Common Styles
   ======================================== */
.partner-section {
    padding: 120px 0;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    margin-bottom: 20px;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent));
}

.section-tag::before {
    right: calc(100% + 16px);
}

.section-tag::after {
    left: calc(100% + 16px);
    background: linear-gradient(90deg, var(--color-accent), transparent);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--color-gray-500);
    max-width: 600px;
    margin: 0 auto;
    word-break: keep-all;
}

/* ========================================
   How It Works Section
   ======================================== */
.partner-how {
    background: var(--color-off-white);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.process-line {
    display: none;
}

.process-item {
    background: var(--color-white);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(184, 151, 126, 0.2);
}

.process-item:hover::before {
    opacity: 1;
}

/* Arrow between items */
.process-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--color-accent);
    border-right: 2px solid var(--color-accent);
    transform: translateY(-50%) rotate(45deg);
    z-index: 3;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(184, 151, 126, 0.3);
}

.process-content {
    text-align: center;
}

.process-icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    margin: 0 auto 16px;
}

.process-icon svg {
    width: 100%;
    height: 100%;
}

.process-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.process-content p {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    word-break: keep-all;
}

/* ========================================
   Value Proposition Section
   ======================================== */
.partner-value {
    background: var(--color-white);
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.value-main {
    max-width: 520px;
}

.value-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 300;
    color: var(--color-primary);
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.text-gradient {
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-desc {
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.9;
    margin-bottom: 40px;
    word-break: keep-all;
}

.value-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--color-off-white);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(184, 151, 126, 0.1);
    transform: translateX(8px);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-white);
}

.highlight-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 2px;
}

.highlight-text span {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* Commission Card */
.value-card-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.commission-card {
    background: linear-gradient(145deg, var(--color-primary) 0%, #1a1a24 100%);
    border-radius: 32px;
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

.commission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(184, 151, 126, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.commission-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(184, 151, 126, 0.5), rgba(184, 151, 126, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.commission-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.commission-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.commission-badge {
    background: rgba(184, 151, 126, 0.2);
    border: 1px solid rgba(184, 151, 126, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.commission-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.commission-percent {
    font-family: var(--font-display);
    font-size: 7rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.commission-unit {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
}

.commission-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.commission-example {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.example-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.example-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.example-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* ========================================
   Why Partner Section
   ======================================== */
.partner-why {
    background: var(--color-off-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--color-white);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(184, 151, 126, 0.2);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    color: var(--color-accent);
    transition: transform 0.4s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    word-break: keep-all;
}

/* ========================================
   Application Section
   ======================================== */
.partner-apply {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a1a24 100%);
    position: relative;
    overflow: hidden;
}

.partner-apply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 50% 50% at 0% 0%, rgba(184, 151, 126, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 100% 100%, rgba(200, 169, 106, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.partner-apply .section-tag {
    color: var(--color-accent);
}

.apply-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.apply-info {
    max-width: 480px;
}

.apply-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.apply-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 48px;
    word-break: keep-all;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(184, 151, 126, 0.3);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-gold));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-text a {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--color-accent);
}

/* Application Form */
.apply-form-wrapper {
    background: var(--color-white);
    border-radius: 32px;
    padding: 48px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

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

.apply-form .form-group {
    margin-bottom: 24px;
}

.apply-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.apply-form label .required {
    color: #e74c3c;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-off-white);
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 1rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.apply-form input::placeholder,
.apply-form textarea::placeholder {
    color: var(--color-gray-400);
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(184, 151, 126, 0.1);
}

.apply-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
}

.apply-form textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    padding: 18px 32px;
    font-size: 1.0625rem;
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* ========================================
   FAQ Section
   ======================================== */
.partner-faq {
    background: var(--color-white);
}

.partner-faq .faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.partner-faq .faq-item {
    background: var(--color-off-white);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.partner-faq .faq-item:hover {
    border-color: rgba(184, 151, 126, 0.2);
}

.partner-faq .faq-item.active {
    background: var(--color-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(184, 151, 126, 0.3);
}

.partner-faq .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.partner-faq .faq-question span {
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--color-primary);
    padding-right: 20px;
}

.partner-faq .faq-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.partner-faq .faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.partner-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.partner-faq .faq-answer p {
    padding: 0 28px 24px;
    font-size: 1rem;
    color: var(--color-gray-600);
    line-height: 1.8;
    word-break: keep-all;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .value-grid {
        gap: 60px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .partner-section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .value-main {
        max-width: 100%;
        text-align: center;
    }

    .value-highlights {
        max-width: 500px;
        margin: 0 auto;
    }

    .highlight-item:hover {
        transform: none;
    }

    .apply-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .apply-info {
        max-width: 100%;
        text-align: center;
    }

    .contact-info {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Process Timeline - 2 columns */
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-item:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .partner-hero-content {
        padding: 80px 0 120px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .stat-value {
        font-size: 1.75rem;
    }

    .section-tag::before,
    .section-tag::after {
        display: none;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .why-card {
        padding: 32px 24px;
    }

    .commission-card {
        padding: 36px;
    }

    .commission-percent {
        font-size: 5rem;
    }

    .commission-unit {
        font-size: 2rem;
    }

    .apply-form-wrapper {
        padding: 32px 24px;
        border-radius: 24px;
    }

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

    /* Process Timeline - 1 column */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .process-item {
        padding: 32px 24px;
    }

    .scroll-indicator {
        bottom: 24px;
    }
}

@media (max-width: 480px) {
    .partner-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-desc strong {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .commission-percent {
        font-size: 4rem;
    }

    .apply-form input,
    .apply-form select,
    .apply-form textarea {
        padding: 14px 16px;
    }

    .partner-faq .faq-question {
        padding: 20px;
    }

    .partner-faq .faq-question span {
        font-size: 1rem;
    }

    .partner-faq .faq-answer p {
        padding: 0 20px 20px;
        font-size: 0.9375rem;
    }
}
