/* ===================================
   365 DIALER - RESELLER PAGE STYLES
   Custom styles for Become a Reseller Page
   =================================== */

/* ===== RESELLER HERO VISUAL ===== */
.reseller-visual {
    position: relative;
    width: 400px;
    max-width: 100%;
}

.reseller-illustration {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

.partnership-graphic {
    position: relative;
    width: 280px;
    height: 280px;
}

.partner-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}

.partner-circle.main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-secondary);
    font-size: 2.5rem;
    color: var(--dark-navy);
    z-index: 2;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border: 2px dashed var(--border-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.partner-circle.orbit {
    position: absolute;
    width: 55px;
    height: 55px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    font-size: 1.2rem;
    color: var(--cyan);
    animation: floatCard 4s ease-in-out infinite;
}

.partner-circle.orbit-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.partner-circle.orbit-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.partner-circle.orbit-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.partner-circle.orbit-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 3s;
}

/* Hero CTA Buttons */
.btn-outline {
    background: transparent;
    border: 2px solid var(--cyan);
    color: var(--cyan);
}

.btn-outline:hover {
    background: var(--cyan);
    color: var(--dark-navy);
}

/* ===== PARTNER STATS SECTION ===== */
.partner-stats-section {
    background: var(--bg-secondary);
    padding: 80px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cyan);
    margin: 0 auto 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ===== WHY PARTNER SECTION ===== */
.why-partner-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    text-align: center;
    transition: all var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-glow);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-glow);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--cyan);
    margin: 0 auto 20px;
}

.benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

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

/* ===== PARTNER TIERS SECTION ===== */
.partner-tiers-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
}

.tier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    transition: all var(--transition-normal);
}

.tier-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-glow);
}

.tier-card.featured {
    background: var(--gradient-glow);
    border-color: var(--cyan);
    transform: scale(1.05);
}

.tier-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.tier-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: var(--dark-navy);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: var(--radius-xl);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tier-header {
    text-align: center;
    margin-bottom: 25px;
}

.tier-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-glow);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.tier-card.featured .tier-badge {
    background: var(--gradient-secondary);
    color: var(--dark-navy);
    border: none;
}

.tier-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.tier-margin {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.margin-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.margin-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tier-features {
    list-style: none;
    margin-bottom: 30px;
}

.tier-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tier-features li:last-child {
    border-bottom: none;
}

.tier-features li i.fa-check {
    color: var(--cyan);
}

.tier-features li i.fa-times {
    color: var(--text-muted);
    opacity: 0.5;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    width: 200px;
    transition: all var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-glow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin: 0 auto 15px;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-connector {
    font-size: 1.5rem;
    color: var(--cyan);
}

/* ===== RESELLER PRODUCTS SECTION ===== */
.reseller-products-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-glow);
}

.product-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-glow);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cyan);
    margin: 0 auto 18px;
}

.product-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

/* ===== RESELLER FORM SECTION ===== */
.reseller-form-section {
    background: var(--bg-primary);
    padding: var(--section-padding);
}

.reseller-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.form-info .section-badge,
.form-info .section-title,
.form-info .section-description {
    text-align: left;
}

.form-info .section-title {
    font-size: 2.2rem;
}

.form-info .section-description {
    margin-bottom: 35px;
}

.form-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.form-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.form-feature i {
    color: var(--cyan);
    font-size: 1rem;
}

.partner-contact {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 25px;
}

.partner-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.partner-contact > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.partner-email,
.partner-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--cyan);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.partner-email:hover,
.partner-phone:hover {
    color: var(--mint);
}

/* Reseller Form Card */
.reseller-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.reseller-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.reseller-form-card > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

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

.reseller-form .form-group {
    margin-bottom: 20px;
}

.reseller-form .form-row .form-group {
    margin-bottom: 0;
}

.reseller-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.reseller-form input,
.reseller-form select,
.reseller-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.reseller-form input::placeholder,
.reseller-form textarea::placeholder {
    color: var(--text-muted);
}

.reseller-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2376fcfb' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.reseller-form select option {
    background: var(--bg-card);
    color: var(--white);
}

.reseller-form textarea {
    resize: vertical;
    min-height: 100px;
}

.reseller-form input:focus,
.reseller-form select:focus,
.reseller-form textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(118, 252, 251, 0.1);
}

/* Checkbox Styling */
.checkbox-group {
    margin-bottom: 25px !important;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label a {
    color: var(--cyan);
    text-decoration: none;
}

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

.checkmark {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--gradient-secondary);
    border-color: var(--cyan);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--dark-navy);
}

/* ===== PARTNER TESTIMONIALS SECTION ===== */
.partner-testimonials-section {
    background: var(--bg-secondary);
    padding: var(--section-padding);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-glow);
}

.testimonial-content {
    margin-bottom: 25px;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--cyan);
    margin-bottom: 15px;
}

.testimonial-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-glow);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--cyan);
}

.author-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== CTA BUTTONS ===== */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--cyan);
    color: var(--cyan);
}

.btn-secondary:hover {
    background: var(--cyan);
    color: var(--dark-navy);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .tiers-grid {
        gap: 25px;
    }

    .tier-card.featured {
        transform: scale(1);
    }

    .tier-card.featured:hover {
        transform: translateY(-10px);
    }

    .reseller-form-grid {
        gap: 40px;
    }

    .testimonials-grid {
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .reseller-visual {
        width: 350px;
    }

    .partnership-graphic {
        width: 240px;
        height: 240px;
    }

    .partner-circle.main {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .orbit-ring {
        width: 180px;
        height: 180px;
    }

    .partner-circle.orbit {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

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

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

    .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .steps-grid {
        flex-direction: column;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .step-card {
        width: 100%;
        max-width: 300px;
    }

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

    .reseller-form-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .form-info {
        text-align: center;
    }

    .form-info .section-badge,
    .form-info .section-title,
    .form-info .section-description {
        text-align: center;
    }

    .form-features {
        align-items: center;
    }

    .partner-contact {
        text-align: center;
    }

    .partner-email,
    .partner-phone {
        justify-content: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .reseller-visual {
        width: 280px;
    }

    .partnership-graphic {
        width: 200px;
        height: 200px;
    }

    .partner-circle.main {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .orbit-ring {
        width: 160px;
        height: 160px;
    }

    .partner-circle.orbit {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

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

    .stat-card {
        padding: 25px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .benefit-card {
        padding: 30px 25px;
    }

    .tier-card {
        padding: 35px 25px;
    }

    .margin-value {
        font-size: 2.5rem;
    }

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

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

    .reseller-form-card {
        padding: 30px 25px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .partner-stats-section {
        padding: 60px 0;
        margin-top: -30px;
    }
}

@media (max-width: 576px) {
    .reseller-visual {
        width: 240px;
    }

    .partnership-graphic {
        width: 180px;
        height: 180px;
    }

    .partner-circle.main {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .orbit-ring {
        width: 140px;
        height: 140px;
    }

    .partner-circle.orbit {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .tier-header h3 {
        font-size: 1.1rem;
    }

    .product-card {
        padding: 25px 20px;
    }

    .product-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .reseller-form-card {
        padding: 25px 20px;
    }

    .reseller-form-card h3 {
        font-size: 1.3rem;
    }

    .reseller-form input,
    .reseller-form select,
    .reseller-form textarea {
        padding: 12px 15px;
    }

    .testimonial-card {
        padding: 30px 25px;
    }

    .form-info .section-title {
        font-size: 1.8rem;
    }
}
