/* =========================
   MEGACOM HOMEPAGE
   ========================= */

.megacom-hero {
    background:
        linear-gradient(135deg, rgba(10, 15, 35, 0.96), rgba(17, 88, 166, 0.92)),
        #0b132b;
    color: #fff;
    padding: 90px 0 70px;
    position: relative;
    overflow: hidden;
}

.megacom-hero:before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -120px;
    right: -120px;
}

.megacom-hero:after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    bottom: -120px;
    left: -100px;
}

.megacom-hero .container {
    position: relative;
    z-index: 2;
}

.megacom-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.14);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 20px;
    font-size: 14px;
}

.megacom-hero-title {
    font-size: 46px;
    line-height: 1.4;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}

.megacom-hero-text {
    font-size: 18px;
    line-height: 2;
    color: rgba(255,255,255,0.88);
    margin-bottom: 30px;
    max-width: 700px;
}

.megacom-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.megacom-hero-actions .btn {
    min-width: 190px;
    border-radius: 12px;
    font-weight: 700;
    padding: 14px 22px;
}

.megacom-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}

.megacom-hero-meta .item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.88);
    font-size: 15px;
}

.megacom-hero-meta i {
    font-size: 18px;
    color: #8fd3ff;
}

.megacom-hero-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 28px;
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.16);
}

.megacom-hero-card h3 {
    font-size: 24px;
    margin-bottom: 22px;
    color: #fff;
    font-weight: 700;
}

.megacom-quick-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.megacom-quick-links a {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 16px;
    color: #fff;
    text-decoration: none;
    transition: all .25s ease;
}

.megacom-quick-links a:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.14);
    text-decoration: none;
}

.megacom-quick-links i {
    font-size: 22px;
    margin-top: 4px;
    color: #8fd3ff;
}

.megacom-quick-links strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.megacom-quick-links span {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    line-height: 1.8;
}

.megacom-services,
.megacom-plans,
.megacom-support-routes,
.megacom-process,
.megacom-account,
.megacom-trust,
.megacom-faq {
    padding: 80px 0;
}

.megacom-plans,
.megacom-process,
.megacom-trust {
    background: #f8fafc;
}

.megacom-section-head {
    margin-bottom: 45px;
}

.megacom-section-head span {
    display: inline-block;
    color: #0f5cc0;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 14px;
}

.megacom-section-head h2 {
    font-size: 34px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
}

.megacom-section-head p {
    color: #475569;
    max-width: 760px;
    margin: 0 auto;
    line-height: 2;
}

.megacom-service-card,
.megacom-plan-card,
.megacom-process-card,
.megacom-mini-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    height: 100%;
    transition: all .25s ease;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.megacom-service-card:hover,
.megacom-plan-card:hover,
.megacom-process-card:hover,
.megacom-mini-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
}

.megacom-service-card .icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe, #eff6ff);
    color: #0f5cc0;
    font-size: 24px;
    margin-bottom: 18px;
}

.megacom-service-card h3,
.megacom-plan-card h3,
.megacom-process-card h3,
.megacom-mini-box h3,
.megacom-route-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.megacom-service-card p,
.megacom-plan-card p,
.megacom-process-card p,
.megacom-mini-box p {
    color: #475569;
    line-height: 2;
    margin-bottom: 0;
}

.megacom-plan-card .btn {
    margin-top: 18px;
    border-radius: 10px;
}

.megacom-route-card {
    border-radius: 18px;
    padding: 32px;
    height: 100%;
    color: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.megacom-route-card ul {
    padding-right: 18px;
    margin: 20px 0;
    line-height: 2.1;
}

.megacom-route-card .btn {
    border-radius: 10px;
    font-weight: 700;
}

.route-tech {
    background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.route-sales {
    background: linear-gradient(135deg, #1e293b, #334155);
}

.route-billing {
    background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}

.megacom-process-card {
    text-align: center;
}

.megacom-process-card .step {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f5cc0, #3b82f6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    margin: 0 auto 18px;
}

.megacom-mini-box i {
    font-size: 28px;
    color: #0f5cc0;
    margin-bottom: 14px;
}

.megacom-faq .accordion .card {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
}

.megacom-faq .card-header {
    background: #fff;
    border-bottom: 0;
}

.megacom-faq .btn-link {
    width: 100%;
    text-align: right;
    color: #0f172a;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 0;
}

.megacom-faq .card-body {
    color: #475569;
    line-height: 2;
    background: #fff;
}

html[dir="rtl"] .megacom-hero,
html[dir="rtl"] .megacom-services,
html[dir="rtl"] .megacom-plans,
html[dir="rtl"] .megacom-support-routes,
html[dir="rtl"] .megacom-process,
html[dir="rtl"] .megacom-account,
html[dir="rtl"] .megacom-trust,
html[dir="rtl"] .megacom-faq {
    direction: rtl;
}

@media (max-width: 991px) {
    .megacom-hero {
        padding: 70px 0 50px;
    }

    .megacom-hero-title {
        font-size: 34px;
    }

    .megacom-section-head h2 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .megacom-hero-title {
        font-size: 28px;
    }

    .megacom-hero-text {
        font-size: 16px;
    }

    .megacom-hero-actions .btn {
        width: 100%;
    }
}
