/* BYOD Page Styles */

.byod-hero {
    background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.hero-content-byod h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content-byod > p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.hero-content-byod .hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Connect Section */
.connect-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.connect-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.connect-section > .container > p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.connect-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Care Promo Section */
.care-promo-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f4ff 0%, #fff 100%);
}

.care-promo-content {
    background: #fff;
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.care-text h3 {
    font-size: 18px;
    color: var(--xfinity-purple);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.care-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.care-text > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.care-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.setup-note {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
    color: var(--text-secondary);
}

.setup-note a {
    color: var(--xfinity-blue);
    text-decoration: none;
    font-weight: 600;
}

.setup-note a:hover {
    text-decoration: underline;
}

/* How To Section */
.how-to-section {
    padding: 80px 0;
    background: #fff;
}

.how-to-section h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-primary);
}

.how-to-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.how-to-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    background: var(--xfinity-light-gray);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.how-to-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.how-to-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.step-number {
    margin-bottom: 25px;
}

.step-number img {
    width: 80px;
    height: 80px;
}

.how-to-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.how-to-card p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
    min-height: 100px;
}

/* BYOD Reasons Section */
.byod-reasons-section {
    padding: 80px 0;
    background: var(--xfinity-light-gray);
}

.byod-reasons-section h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.byod-reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.byod-reason-card {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.byod-reason-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.byod-reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.byod-reason-card img {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
}

.byod-reason-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.byod-reason-card p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* eSIM Section */
.esim-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
}

.esim-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.esim-section h2 em {
    color: var(--xfinity-purple);
    font-style: italic;
}

.esim-section > .container > p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.esim-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Savings Calculator Section */
.savings-calculator-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
    text-align: center;
}

.savings-calculator-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Easy Switch Section */
.easy-switch-section {
    padding: 80px 0;
    background: var(--xfinity-light-gray);
}

.switch-header {
    text-align: center;
    margin-bottom: 50px;
}

.switch-header h3 {
    font-size: 18px;
    color: var(--xfinity-purple);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.switch-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-primary);
}

.switch-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.switch-feature-large {
    background: #fff;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.switch-feature-large.visible {
    opacity: 1;
    transform: translateY(0);
}

.switch-feature-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.switch-feature-large img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.switch-feature-large h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.switch-feature-large p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.easy-switch-section > .container > a {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* Budget Section */
.budget-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.budget-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.budget-section p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--xfinity-light-gray);
}

.faq-section h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-accordion details {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-accordion details:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.faq-accordion summary {
    padding: 25px 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 20px;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-accordion summary::after {
    content: '+';
    font-size: 28px;
    color: var(--xfinity-blue);
    transition: transform 0.3s ease;
}

.faq-accordion details[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 30px 25px;
}

.faq-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 15px;
}

.faq-content a {
    color: var(--xfinity-blue);
    text-decoration: none;
    font-weight: 600;
}

.faq-content a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .how-to-grid {
        grid-template-columns: 1fr;
    }

    .byod-reasons-grid,
    .switch-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content-byod h1 {
        font-size: 36px;
    }

    .care-text h2,
    .how-to-section h2,
    .byod-reasons-section h2,
    .esim-section h2,
    .switch-header h2,
    .faq-section h2 {
        font-size: 32px;
    }

    .connect-section h2,
    .savings-calculator-section h2,
    .budget-section h2 {
        font-size: 28px;
    }

    .care-promo-content {
        padding: 40px 30px;
    }

    .how-to-card p {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .hero-content-byod h1 {
        font-size: 28px;
    }

    .hero-content-byod > p {
        font-size: 16px;
    }

    .care-text h2 {
        font-size: 28px;
    }

    .byod-reason-card,
    .switch-feature-large {
        padding: 30px;
    }

    .faq-accordion summary {
        font-size: 18px;
        padding: 20px;
    }

    .faq-content {
        padding: 0 20px 20px;
    }
}