/* Franchise page specific styles */
.franchise-page {
    background: var(--bg-primary);
    min-height: calc(100vh - 76px);
    padding: 4rem 0;
    position: relative;
    transition: background 0.3s ease;
}

.franchise-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Hero Section */
.franchise-hero {
    padding: 3rem 0;
}

.franchise-main-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff9900, #ff7700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.franchise-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin: 0;
}

/* Section Wrapper */
.section-wrapper {
    margin-bottom: 4rem;
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #ff9900, #ff7700);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Inquiry Card */
.inquiry-card {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.15), rgba(255, 119, 0, 0.15));
    border: 2px solid rgba(255, 153, 0, 0.4);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
}

.inquiry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.4);
    border-color: rgba(255, 153, 0, 0.6);
}

.inquiry-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff9900, #ff7700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.inquiry-icon {
    font-size: 2.5rem;
    color: #fff;
}

.inquiry-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.inquiry-subtitle {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.inquiry-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.btn-primary-inquiry {
    background: linear-gradient(135deg, #ff9900, #ff7700);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
    color: #fff;
}

/* Partner Type Cards */
.partner-type-card {
    background: linear-gradient(135deg, #ff9900, #ff7700);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.3);
    border: 2px solid transparent;
}

.partner-type-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.partner-type-card:hover::before {
    opacity: 1;
}

.partner-type-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.partner-type-card:hover::after {
    transform: translateX(100%);
}

.partner-type-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(255, 153, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.partner-type-icon-wrapper {
    width: 90px;
    height: 90px;
    background: white;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s ease;
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
}

.partner-type-card:hover .partner-type-icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.15) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.partner-type-icon {
    font-size: 2.8rem;
    color: black;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 1;
}

.partner-type-card:hover .partner-type-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.partner-type-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: black;
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.partner-type-card:hover .partner-type-title {
    transform: translateY(-2px);
}

.partner-type-description {
    font-size: 1rem;
    color: black;
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Benefit Cards */
.benefit-card {
    background: linear-gradient(135deg, #ff9900, #ff7700);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.5));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 153, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon-wrapper {
    width: 80px;
    height: 80px;
    background: white;
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.benefit-card:hover .benefit-icon-wrapper {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.5);
}

.benefit-icon {
    font-size: 2.5rem;
    color: black;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.benefit-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: black;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.benefit-text {
    font-size: 1rem;
    color: black;
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Revenue CTA */
.revenue-cta-wrapper {
    margin: 4rem 0;
}

.revenue-cta-card {
    background: linear-gradient(135deg, #ff9900, #ff7700);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(255, 153, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.revenue-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.revenue-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.revenue-icon {
    font-size: 2.5rem;
    color: #fff;
}

.revenue-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.revenue-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.btn-revenue-calculator {
    background: #000;
    color: #fff;
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-revenue-calculator:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #fff;
}

/* Modern Accordion */
.accordion-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item-modern {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.1), rgba(255, 119, 0, 0.1));
    border: 2px solid rgba(255, 153, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.accordion-item-modern:hover {
    border-color: rgba(255, 153, 0, 0.5);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
}

.accordion-header-modern {
    margin: 0;
}

.accordion-button-modern {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem 2rem;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-button-modern:not(.collapsed) {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.2), rgba(255, 119, 0, 0.2));
    color: #ff9900;
}

.accordion-button-modern::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff9900;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.accordion-button-modern:not(.collapsed)::after {
    content: '−';
    transform: rotate(0deg);
}

.accordion-button-modern:hover {
    background: rgba(255, 153, 0, 0.1);
}

.accordion-button-modern:not(.collapsed):hover {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.25), rgba(255, 119, 0, 0.25));
}

.accordion-button-modern i {
    color: #ff9900;
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(255, 153, 0, 0.3));
}

.accordion-body-modern {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 500;
}

.requirement-list li i {
    color: #ff9900;
    font-size: 1.3rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(255, 153, 0, 0.3));
}

/* Investment Table */
.investment-table-wrapper {
    overflow-x: auto;
}

.investment-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
    border: 1px solid rgba(255, 153, 0, 0.2);
}

.investment-table thead {
    background: linear-gradient(135deg, #ff9900, #ff7700);
}

.investment-table thead th {
    padding: 1.25rem;
    text-align: left;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.investment-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.investment-table tbody tr:hover {
    background: rgba(255, 153, 0, 0.1);
}

.investment-table tbody td {
    padding: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
}

.investment-table tbody td:first-child {
    font-weight: 700;
    color: var(--text-primary);
}

/* Responsibility Table */
.responsibility-table-wrapper {
    overflow-x: auto;
}

.responsibility-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
    border: 1px solid rgba(255, 153, 0, 0.2);
}

.responsibility-table thead {
    background: linear-gradient(135deg, #ff9900, #ff7700);
}

.responsibility-table thead th {
    padding: 1.25rem;
    text-align: left;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    width: 50%;
}

.responsibility-table tbody td {
    padding: 1.5rem;
    vertical-align: top;
}

.responsibility-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.responsibility-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 500;
}

.responsibility-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff9900;
    font-weight: bold;
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(255, 153, 0, 0.3));
}

/* Registration CTA */
.registration-cta-card {
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.15), rgba(255, 119, 0, 0.15));
    border: 2px solid rgba(255, 153, 0, 0.4);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
}

.registration-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff9900, #ff7700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
}

.registration-icon {
    font-size: 2.5rem;
    color: #fff;
}

.registration-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.registration-subtitle {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.registration-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.btn-primary-registration {
    background: #000;
    color: #fff;
    border: none;
    padding: 0.875rem 2.5rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
}

.btn-primary-registration:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .franchise-main-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .revenue-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .franchise-page {
        padding: 2rem 0;
    }
    
    .franchise-main-title {
        font-size: 2rem;
    }
    
    .franchise-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .inquiry-card,
    .eligibility-card {
        padding: 2rem 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .revenue-cta-card {
        padding: 2rem 1.5rem;
    }
    
    .revenue-title {
        font-size: 1.25rem;
    }
    
    .accordion-button-modern {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
    }
    
    .accordion-body-modern {
        padding: 1.5rem;
    }
    
    .registration-cta-card {
        padding: 2rem 1.5rem;
    }
    
    .registration-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .franchise-content {
        padding: 0 1rem;
    }
    
    .franchise-main-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .inquiry-icon-wrapper,
    .registration-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .inquiry-icon,
    .registration-icon {
        font-size: 2rem;
    }
    
    .benefit-icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon {
        font-size: 1.5rem;
    }
    
    .investment-table,
    .responsibility-table {
        font-size: 0.9rem;
    }
    
    .investment-table thead th,
    .investment-table tbody td,
    .responsibility-table thead th,
    .responsibility-table tbody td {
        padding: 0.75rem;
    }
}

/* Dark mode adjustments */
[data-theme="dark"] .eligibility-card,
[data-theme="dark"] .benefit-card {
    background: var(--bg-secondary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .accordion-item-modern {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .accordion-button-modern {
    background: var(--bg-primary);
}

[data-theme="dark"] .accordion-body-modern {
    background: var(--bg-secondary);
}

[data-theme="dark"] .investment-table,
[data-theme="dark"] .responsibility-table {
    background: var(--bg-primary);
}

[data-theme="dark"] .investment-table tbody tr:hover,
[data-theme="dark"] .responsibility-table tbody tr:hover {
    background: var(--bg-secondary);
}
