/* Mobile Page Styles */

:root {
    --xfinity-purple: #6a1b9a;
    --xfinity-blue: #0057b8;
    --xfinity-dark: #1a1a1a;
    --xfinity-gray: #666;
    --xfinity-light-gray: #f5f5f5;
    --text-primary: #212121;
    --text-secondary: #666;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Xfinity Standard', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Tabs */
.mobile-nav {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.nav-tabs {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}

.nav-tabs li {
    white-space: nowrap;
}

.nav-tabs a {
    display: block;
    padding: 20px 0;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs a:hover,
.nav-tabs a.active {
    color: var(--xfinity-blue);
    border-bottom-color: var(--xfinity-blue);
}

/* Hero Section */
.hero-mobile {
    background: linear-gradient(135deg, #f8f4ff 0%, #fff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(106, 27, 154, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-text > p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-pricing {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}

.price-amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--xfinity-purple);
}

.price-duration {
    font-size: 18px;
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-features {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.hero-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    color: var(--text-primary);
}

.hero-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 18px;
}

.hero-image {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--xfinity-blue);
    color: #fff;
}

.btn-primary:hover {
    background: #004494;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 87, 184, 0.3);
}

.btn-primary-large {
    padding: 18px 48px;
    font-size: 18px;
}

.btn-secondary {
    background: transparent;
    color: var(--xfinity-blue);
    border-color: var(--xfinity-blue);
}

.btn-secondary:hover {
    background: var(--xfinity-blue);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    border-color: var(--xfinity-blue);
    color: var(--xfinity-blue);
}

.btn-link {
    background: transparent;
    color: var(--xfinity-blue);
    padding: 14px 0;
    text-decoration: underline;
}

.btn-link:hover {
    color: #004494;
}

/* Disclaimer Text */
.disclaimer,
.plans-disclaimer,
.comparison-note {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: 20px;
}

/* Plans Section */
.plans-section {
    padding: 80px 0;
    background: #fff;
}

.plans-section h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.promo-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    margin: 30px auto;
    width: fit-content;
    font-weight: 600;
}

.promo-badge img {
    width: 24px;
    height: 24px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.plan-card {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card.featured {
    border-color: var(--xfinity-purple);
    box-shadow: 0 8px 30px rgba(106, 27, 154, 0.15);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.plan-badge {
    margin-bottom: 20px;
}

.plan-badge img {
    height: 30px;
}

.plan-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.plan-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.plan-features {
    list-style: none;
    margin: 30px 0;
    padding: 0;
}

.plan-features li {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.plan-features strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
}

.plan-features span {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 3px;
}

.plan-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

/* Comparison Section */
.comparison-section {
    background: linear-gradient(135deg, #f8f4ff 0%, #fff 100%);
    padding: 60px 0;
    text-align: center;
}

.comparison-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

/* Holiday Deals Section */
.holiday-deals-section {
    padding: 80px 0;
    background: #fff;
}

.holiday-deals-section h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.holiday-deals-section > p {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 50px;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.deal-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.deal-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.deal-image {
    margin-bottom: 20px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deal-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.deal-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.deal-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--xfinity-purple);
    margin-bottom: 5px;
}

.deal-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* More Reasons Section */
.more-reasons-section {
    padding: 80px 0;
    background: var(--xfinity-light-gray);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.reason-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.reason-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.reason-icon {
    margin-bottom: 20px;
}

.reason-icon img {
    width: 80px;
    height: 80px;
}

.reason-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.reason-card p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.reason-card a {
    color: var(--xfinity-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.reason-card a:hover {
    color: #004494;
    text-decoration: underline;
}

/* Terms Section */
.terms-section {
    padding: 80px 0;
    background: #fff;
}

.terms-section h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.terms-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.terms-accordion details {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.terms-accordion details:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.terms-accordion summary {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terms-accordion summary::after {
    content: '+';
    font-size: 24px;
    color: var(--xfinity-blue);
    transition: transform 0.3s ease;
}

.terms-accordion details[open] summary::after {
    transform: rotate(45deg);
}

.terms-accordion p {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #6a1b9a 0%, #4a148c 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary-large {
    background: #fff;
    color: var(--xfinity-purple);
}

.cta-section .btn-primary-large:hover {
    background: var(--xfinity-light-gray);
    transform: translateY(-3px);
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .deals-grid,
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text > p {
        font-size: 18px;
    }

    .price-amount {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .nav-tabs {
        gap: 20px;
    }

    .nav-tabs a {
        font-size: 14px;
        padding: 15px 0;
    }

    .plans-section h2,
    .holiday-deals-section h2 {
        font-size: 32px;
    }

    .deals-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .plan-card {
        padding: 30px 20px;
    }

    .terms-section h2,
    .cta-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text > p {
        font-size: 16px;
    }

    .hero-pricing {
        padding: 20px;
    }

    .price-amount {
        font-size: 32px;
    }

    .plan-card h3 {
        font-size: 24px;
    }

    .deal-card h3 {
        font-size: 20px;
    }

    .deal-price {
        font-size: 28px;
    }

    .reason-card h3 {
        font-size: 20px;
    }
}