* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #e9f1ff 0%, #f5f7ff 50%, #ffe9e9 100%);
    background-attachment: fixed;
    color: #333;
}

/* COLOR PALETTE
   Blue: #0A74DA
   Red:  #D62828
*/

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #0A74DA, #004E9A 40%, #D62828);
    box-shadow: 0 2px 15px rgba(0,0,0,0.25);
    z-index: 999;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}

/* NAVIGATION */
.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: .3s;
}

.menu a:hover {
    color: #ffcccc;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.burger div {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .menu {
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        display: none;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    }
    .menu a { color: #0A74DA; }
    .menu.show { display: flex; }
    .burger { display: flex; }
}

/* HERO */
.hero {
    height: 100vh;
    background:
        linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?q=80')
        center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 60px;
    color: white;
}

.hero h1 {
    font-size: 54px;
    max-width: 650px;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 20px;
    max-width: 600px;
    margin-top: 15px;
    opacity: 0.95;
}

.cta {
    margin-top: 28px;
    background: linear-gradient(90deg, #0A74DA, #004E9A);
    padding: 14px 34px;
    border-radius: 8px;
    font-size: 18px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: .3s;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 115, 255, 0.4);
}

.cta:hover {
    background: linear-gradient(90deg, #D62828, #A51E1E);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(214,40,40,0.45);
}

/* ARTICLE SECTIONS - MOBILE OPTIMIZED */
.section {
    display: flex;
    align-items: center;
    padding: 90px 50px;
    gap: 40px;
    flex-wrap: wrap;
}

/* Default desktop layout */
.section img {
    width: 40%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.section .text {
    width: 50%;
}

/* MOBILE FIXES */
@media (max-width: 768px) {

    .section {
        flex-direction: column;
        padding: 60px 25px;
        gap: 25px;
        text-align: center;
    }

    .section img {
        width: 100%;
        max-height: 200px;
        object-fit: cover;
        border-radius: 10px;
    }

    .section .text {
        width: 100%;
    }

    .section h2 {
        font-size: 26px;
    }

    .section p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* FIX FOR ALTERNATING SECTIONS */
@media (max-width: 768px) {
    .section:nth-child(even) {
        flex-direction: column-reverse;
    }
}

/* SERVICES */
.services {
    padding: 80px 40px;
    background: #fff;
    text-align: center;
}

.services h2 {
    font-size: 34px;
    background: linear-gradient(90deg, #0A74DA, #D62828);
    -webkit-background-clip: text;
    color: transparent;
}

.grid {
    margin-top: 40px;
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    border-left: 6px solid #0A74DA;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #D62828;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* PLANS SECTION – RED & BLUE PREMIUM THEME */
.plans-section {
    padding: 110px 40px;
    background: linear-gradient(135deg, #e6f0ff 0%, #fdf5f5 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Soft red/blue blurred background glow */
.plans-section::before,
.plans-section::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.45;
}

.plans-section::before {
    background: #0A74DA;
    top: -80px;
    left: -80px;
}

.plans-section::after {
    background: #ff3b3b;
    bottom: -80px;
    right: -80px;
}

/* Titles */
.plans-section h2 {
    font-size: 40px;
    color: #0A74DA;
    position: relative;
    z-index: 2;
}

.plans-sub {
    font-size: 17px;
    color: #444;
    margin-top: 8px;
    margin-bottom: 45px;
    position: relative;
    z-index: 2;
}

/* Grid */
/* --- PLAN CARD HOVER UPGRADE --- */
.plans-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    z-index: 2;
}

/* Dim other cards on hover */
.plans-grid:hover .plan-card {
    opacity: 0.55;
    transform: scale(0.97);
}

/* Cards */
.plan-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
    border-top: 6px solid transparent;
}

/* Highlight hovered card */
.plan-card:hover {
    opacity: 1 !important;
    transform: scale(1.06) translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    z-index: 3;
    border-top: 6px solid #0A74DA;
}
/* Light moving highlight */
.plan-card::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -60%;
    width: 250%;
    height: 250%;
    background: radial-gradient(circle, rgba(255,255,255,0.5), transparent 70%);
    transition: 0.6s;
    opacity: 0;
}

/* Glow */
.plan-card:hover::before {
    opacity: 1;
    transform: scale(1.3);
}
/* Price */
.plan-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0A74DA;
}

/* Speed */
.plan-card .speed {
    font-size: 24px;
    font-weight: 700;
    color: #ff3b3b;
    margin-bottom: 8px;
}

/* Device count */
.plan-card .devices {
    font-size: 15px;
    color: #777;
    margin-bottom: 22px;
}

/* Features list */
.plan-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 28px;
}

.plan-card ul li {
    margin: 9px 0;
    color: #444;
    font-size: 15px;
}
.plan-card a {
    position: relative;
    z-index: 5;
}

/* Button */
.plan-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #0A74DA, #ff3b3b);
    color: white;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s ease;
}

.plan-btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}


/* FOOTER */
footer {
    text-align: center;
    padding: 40px;
    background: linear-gradient(90deg, #0A74DA, #D62828);
    color: white;
    margin-top: 40px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.25);
}
