/* Cable Network Page Specific Styles */

/* Cable Hero */
.cable-hero {
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.7)), url('./assets/cable-hero-bg.png');
    background-size: cover;
    background-position: center;
    padding: 6rem 1rem;
    text-align: center;
    color: white;
    overflow: hidden;
}

.cable-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.cable-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.cable-hero h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #ffffff, #bfdbfe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.cable-hero p.lead {
    font-size: 1.25rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Grid */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #bfdbfe;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: #f0f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: #e0f2fe;
}

.service-icon-wrapper i {
    font-size: 2rem;
    color: var(--accent-color);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Feature List */
.feature-list-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.feature-box {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #dbeafe;
    color: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.feature-content h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.feature-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Premium Offer Card */
.premium-offer-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(30, 58, 138, 0.25);
}

.premium-offer-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.premium-content {
    position: relative;
    z-index: 2;
}

.premium-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #60a5fa;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.5));
}

@media (max-width: 768px) {
    .cable-hero h2 {
        font-size: 2rem;
    }

    .feature-list-container {
        grid-template-columns: 1fr;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ef4444;
}

.claim-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    padding: 0.85rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2);
}


/* Partners Section */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.partner-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    max-width: 150px;
}

.partner-logo:hover {
    transform: scale(1.1);
}

/* Connection Modal Specifics */
.step-container {
    display: none;
}

.step-container.active {
    display: block;
}

.company-grid-select {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.company-option {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.company-option:hover {
    border-color: var(--accent-color);
    background: #f0f9ff;
}

.company-option.selected {
    border-color: var(--accent-color);
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.company-option img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.company-option span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    text-align: center;
}

.back-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0;
}

.back-btn:hover {
    color: var(--primary-color);
}

/* Electronics Highlight Button - Matching style with Cable button but blue theme */
.btn-electronics-highlight {
    background: linear-gradient(45deg, #3b82f6 0%, #1e3a8a 100%);
    color: white !important;
    border: none !important;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-electronics-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #1e3a8a 0%, #3b82f6 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-electronics-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-electronics-highlight:hover::before {
    opacity: 1;
}

.btn-electronics-highlight i {
    font-size: 1.1em;
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .btn-electronics-highlight {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}



/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-white {
    background: white !important;
    color: var(--primary-color) !important;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn-white:hover {
    background: #f1f5f9 !important;
}

/* Premium Offer Styles */
.premium-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.premium-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-claim {
    background: white;
    color: var(--accent-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-claim:hover {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {


    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    .hero-actions .btn-primary {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .premium-offer-card {
        padding: 2rem 1.5rem;
    }

    .premium-title {
        font-size: 1.75rem;
    }

    .premium-desc {
        font-size: 1rem;
    }

    .cable-hero {
        padding: 4rem 1rem;
        /* Reduce hero padding */
    }

    .cable-hero h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .cable-hero h2 {
        font-size: 1.8rem;
    }

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

    .service-card {
        padding: 1.5rem;
    }
}