/* ================================================
   Partner Landing Page Styles
   www.onl Partner Program - Gold Branding
   ================================================ */

/* Hero Section */
.partner-hero {
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content-left {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: rgba(153, 114, 38, 0.1);
    border: 1px solid rgba(204, 153, 51, 0.3);
    color: var(--primary-gold);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.badge-icon {
    width: 20px;
    height: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.title-gradient {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: rgba(153, 114, 38, 0.05);
    border: 1px solid rgba(204, 153, 51, 0.2);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Login Card */
.hero-content-right {
    display: flex;
    justify-content: center;
}

.login-card {
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(153, 114, 38, 0.08);
    border: 1px solid rgba(204, 153, 51, 0.25);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 450px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-gold);
}

.login-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Login Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.login-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-form label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.login-form input {
    padding: 0.875rem 1rem;
    border: 1px solid rgba(204, 153, 51, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.08);
}

.form-actions {
    margin-top: 0.5rem;
}

.form-actions .glass-button {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    border: 1px solid rgba(204, 153, 51, 0.4);
}

.form-links {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--primary-gold);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.forgot-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.login-cta {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(204, 153, 51, 0.2);
}

.login-cta p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.become-partner-btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    background: rgba(153, 114, 38, 0.1);
    border: 1px solid rgba(204, 153, 51, 0.3);
    color: var(--primary-gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.become-partner-btn:hover {
    background: rgba(153, 114, 38, 0.2);
    border-color: var(--primary-gold);
}

.login-error {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #dc2626;
    font-size: 0.875rem;
}

/* Partner Sections */
.partner-section {
    padding: 5rem 0;
    position: relative;
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    background: rgba(153, 114, 38, 0.1);
    border: 1px solid rgba(204, 153, 51, 0.3);
    color: var(--primary-gold);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(153, 114, 38, 0.05);
    border: 1px solid rgba(204, 153, 51, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(153, 114, 38, 0.1);
    border-color: rgba(204, 153, 51, 0.3);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(153, 114, 38, 0.15), rgba(204, 153, 51, 0.15));
    color: var(--primary-gold);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Commission Tiers */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.tier-card {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(153, 114, 38, 0.05);
    border: 1px solid rgba(204, 153, 51, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.tier-card:hover {
    background: rgba(153, 114, 38, 0.1);
    border-color: rgba(204, 153, 51, 0.3);
    transform: translateY(-5px);
}

.tier-card.tier-platinum {
    background: linear-gradient(135deg, rgba(153, 114, 38, 0.15), rgba(204, 153, 51, 0.15));
    border: 2px solid rgba(204, 153, 51, 0.4);
}

.tier-header {
    margin-bottom: 1.5rem;
}

.tier-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tier-commission {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-requirements {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(204, 153, 51, 0.2);
}

.tier-requirements p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.tier-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.tier-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: 700;
}

/* Dashboard Features */
.dashboard-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.dashboard-feature {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(153, 114, 38, 0.05);
    border: 1px solid rgba(204, 153, 51, 0.2);
    transition: all 0.3s ease;
}

.dashboard-feature:hover {
    background: rgba(153, 114, 38, 0.1);
    border-color: rgba(204, 153, 51, 0.3);
    transform: translateY(-3px);
}

.dashboard-feature svg {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.dashboard-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.dashboard-feature p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Program Terms */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.term-card {
    padding: 1.75rem;
    border-radius: 16px;
    background: rgba(153, 114, 38, 0.05);
    border: 1px solid rgba(204, 153, 51, 0.2);
    text-align: center;
}

.term-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(153, 114, 38, 0.15), rgba(204, 153, 51, 0.15));
    color: var(--primary-gold);
}

.term-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.term-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.term-card strong {
    color: var(--primary-gold);
}

/* Application Form */
.application-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.application-form {
    padding: 3rem;
    border-radius: 20px;
    background: rgba(153, 114, 38, 0.05);
    border: 1px solid rgba(204, 153, 51, 0.2);
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.form-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(204, 153, 51, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.application-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.application-form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="url"],
.application-form input[type="tel"],
.application-form select,
.application-form textarea {
    padding: 0.875rem 1rem;
    border: 1px solid rgba(204, 153, 51, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(255, 255, 255, 0.08);
}

.application-form select {
    cursor: pointer;
}

.application-form select[multiple] {
    min-height: 120px;
}

.application-form textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Slider */
.slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.slider-container input[type="range"] {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(204, 153, 51, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-gold);
    cursor: pointer;
}

.slider-container input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-gold);
    cursor: pointer;
    border: none;
}

.slider-value {
    min-width: 50px;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    color: white;
    font-weight: 600;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(204, 153, 51, 0.15);
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(204, 153, 51, 0.25);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-gold);
}

.checkbox-label span {
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Terms Agreement */
.terms-agreement {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(204, 153, 51, 0.2);
}

/* Submit Button */
.form-submit {
    margin-top: 2rem;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    border: 1px solid rgba(204, 153, 51, 0.4);
}

/* Application Message */
.application-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

.application-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.application-message.error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #dc2626;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 12px;
    background: rgba(153, 114, 38, 0.05);
    border: 1px solid rgba(204, 153, 51, 0.2);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(153, 114, 38, 0.05);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Page Closing */
.page-closing {
    padding: 5rem 0;
    text-align: center;
}

.closing-content {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 2rem;
    border-radius: 16px;
    background: rgba(153, 114, 38, 0.05);
    border: 1px solid rgba(204, 153, 51, 0.2);
}

.closing-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.primary-cta,
.secondary-cta {
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-cta {
    background: linear-gradient(135deg, var(--primary-gold), var(--gold-light));
    border: 1px solid rgba(204, 153, 51, 0.4);
    color: white;
}

.secondary-cta {
    background: rgba(153, 114, 38, 0.1);
    border: 1px solid rgba(204, 153, 51, 0.3);
    color: var(--primary-gold);
}

.closing-urgency {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(204, 153, 51, 0.2);
}

.closing-urgency p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.closing-urgency strong {
    color: var(--primary-gold);
}

/* ================================================
   Responsive Design
   ================================================ */

/* Mobile Large (576px - 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

/* Tablet (768px - 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .benefits-grid,
    .tiers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .application-form {
        padding: 2rem;
    }
}

/* Mobile (384px - 575.98px) */
@media (min-width: 384px) and (max-width: 575.98px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid,
    .tiers-grid,
    .dashboard-features,
    .terms-grid {
        grid-template-columns: 1fr;
    }

    .application-form {
        padding: 1.5rem;
    }

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

    .login-card {
        padding: 2rem;
    }

    .closing-cta-buttons {
        flex-direction: column;
    }

    .primary-cta,
    .secondary-cta {
        width: 100%;
    }
}

/* Smartwatch (248px - 383.98px) */
@media (min-width: 248px) and (max-width: 383.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

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

    .login-card,
    .application-form {
        padding: 1.25rem;
    }

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

/* Ultra-Tiny (< 248px) */
@media (max-width: 247.98px) {
    .partner-section {
        padding: 2rem 0;
    }

    .hero-badge,
    .section-badge {
        font-size: 0.75rem;
    }
}
