/* ---------- Reset & Fonts ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
body {
    background: radial-gradient(ellipse at bottom, #1b0036 0%, #0a0012 100%);
    color: #fff;
    overflow-x: hidden;
    position: relative;
}

/* ---------- Starry Space Background ---------- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    box-shadow: 
        100px 50px #fff, 200px 150px #fff, 300px 300px #fff,
        400px 200px #fff, 500px 350px #fff, 600px 100px #fff,
        700px 400px #fff, 800px 250px #fff, 900px 150px #fff;
    animation: twinkle 10s linear infinite;
    z-index: 0;
}
@keyframes twinkle {
    0%, 100% {opacity: 0.8;}
    50% {opacity: 0.2;}
}

/* ---------- Floating Blobs ---------- */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}
.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: float 25s infinite ease-in-out;
}
@keyframes float {
    0%, 100% {transform: translateY(0px) translateX(0px);}
    50% {transform: translateY(50px) translateX(50px);}
}

/* ---------- Navbar ---------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: relative;
    z-index: 2;
}
.navbar .logo {
    font-size: 28px;
    font-weight: bold;
    color: #87cefa;
}
.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}
.navbar .nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}
.navbar .nav-links a:hover {
    color: #87cefa;
}

/* ---------- HERO ---------- */
.hero {
    text-align: center;
    padding: 150px 20px;
    position: relative;
    z-index: 2;
}
.hero h1 { font-size: 48px; margin-bottom: 20px; color: #fff; }
.hero p { font-size: 20px; margin-bottom: 30px; }
.btn-glow {
    display: inline-block;
    padding: 15px 35px;
    font-weight: bold;
    border-radius: 30px;
    background: linear-gradient(45deg, #87cefa, #dda0dd);
    color: #000;
    text-decoration: none;
    box-shadow: 0 0 20px #87cefa, 0 0 40px #dda0dd;
    transition: 0.3s;
}
.btn-glow:hover {
    box-shadow: 0 0 30px #87cefa, 0 0 60px #dda0dd;
    transform: scale(1.05);
}

/* ---------- SECTION HEADINGS ---------- */
section h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
    color: #dda0dd;
}
section p {
    text-align: center;
    font-size: 16px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    
}

/* ---------- SERVICES / FEATURE / PORTFOLIO / TESTIMONIAL CARDS ---------- */
.service-cards, .feature-cards, .portfolio-cards, .testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    z-index: 2;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    width: 280px;
    transition: 0.3s;
    color: #fff;
    text-align: center;
}
.card h3 { color: #dda0dd; margin-bottom: 15px; }
.card h4 { color: #87cefa; margin-top: 15px; font-weight: 500; }
.card p { font-size: 16px; line-height: 1.5; }
.card img { width: 100%; border-radius: 15px; margin-bottom: 15px; }
.card:hover { transform: translateY(-10px); box-shadow: 0 0 20px #dda0dd; }

/* ---------- CTA ---------- */
.cta {
    text-align: center;
    padding: 100px 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    margin: 50px 0;
    border-radius: 20px;
    z-index: 2;
}
.cta h2 { font-size: 40px; margin-bottom: 20px; }
.cta p { font-size: 18px; margin-bottom: 30px; }

/* ---------- CONTACT ---------- */
.contact {
    text-align: center;
    padding: 100px 20px;
    z-index: 2;
}
.contact p { font-size: 18px; margin-bottom: 20px; }


/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .service-cards, .feature-cards, .portfolio-cards, .testimonial-cards {
        flex-direction: column;
        align-items: center;
    }
    .navbar { flex-direction: column; gap: 15px; }
    .footer-container { flex-direction: column; align-items: center; text-align: center; }
    .footer-links ul li, .footer-social ul li { margin-bottom: 5px; }
}

/* ---------- PRICING SECTION ---------- */
.pricing {
    text-align: center;
    padding: 100px 20px;
    z-index: 2;
}
.pricing h2 { font-size: 36px; color: #ff99ff; margin-bottom: 20px; }
.pricing p { font-size: 16px; margin-bottom: 50px; max-width: 700px; margin-left:auto; margin-right:auto; }

.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.pricing-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px 30px;
    width: 280px;
    transition: transform 0.3s, box-shadow 0.3s;
    color: #fff;
    text-align: center;
    position: relative;
    border: 2px solid rgba(255,255,255,0.1);
}
.pricing-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ffaaff;
}
.pricing-card .price {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffccff;
}
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}
.pricing-card ul li {
    font-size: 16px;
    margin: 10px 0;
}
.pricing-card a.btn-glow { width: 100%; display: inline-block; }

/* Highlight Featured Plan */
.pricing-card.featured {
    background: rgba(255,255,255,0.08);
    border: 2px solid #ff99ff;
    transform: scale(1.05);
    box-shadow: 0 0 30px #ff99ff;
}

/* Hover Effect */
.pricing-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 30px #ff99ff;
}

/* Responsive */
@media (max-width: 992px) {
    .pricing-cards { flex-direction: column; align-items: center; }
    .pricing-card { width: 80%; }
}

/* ---------- PORTFOLIO ---------- */
.portfolio-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    z-index: 2;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px 20px;
    width: 280px;
    transition: transform 0.3s, box-shadow 0.3s;
    color: #fff;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px #dda0dd, 0 0 40px #87cefa;
}

/* Card Icon */
.card-icon {
    font-size: 36px;
    color: #87cefa;
    margin-bottom: 15px;
    transition: 0.3s;
}
.card:hover .card-icon {
    color: #ff99ff;
    transform: scale(1.2);
}

.card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}
.card:hover img {
    transform: scale(1.05);
}

.card h3 { color: #dda0dd; margin-bottom: 10px; }
.card p { font-size: 15px; line-height: 1.5; color: #ccc; }

/* Responsive */
@media (max-width: 992px) {
    .portfolio-cards {
        flex-direction: column;
        align-items: center;
    }
    .card { width: 80%; }
}

/* Space between icon and text */
.navbar .nav-links a i,
.navbar .nav-cta i {
    margin-right: 8px;
    color: #87cefa;
    transition: 0.3s;
}

/* Hover effect on icons */
.navbar .nav-links a:hover i,
.navbar .nav-cta:hover i {
    color: #ff99ff;
}

/* Align icons vertically */
.navbar .nav-links a {
    display: flex;
    align-items: center;
}

/* CTA button icon */
.navbar .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Navbar Links Hover Effect */
.navbar .nav-links a {
    display: flex;
    align-items: center;
    position: relative;
    transition: 0.3s;
}

/* Glow & Scale on Hover */
.navbar .nav-links a:hover {
    color: #ff99ff;
    transform: scale(1.1);
}

/* Icon Glow */
.navbar .nav-links a i {
    margin-right: 8px;
    color: #87cefa;
    transition: 0.3s;
}
.navbar .nav-links a:hover i {
    color: #ff99ff;
    text-shadow: 0 0 8px #ff99ff, 0 0 15px #ff99ff;
}

/* Underline Glow */
.navbar .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #87cefa, #ff99ff);
    border-radius: 3px;
    transition: 0.4s ease;
}
.navbar .nav-links a:hover::after {
    width: 100%;
}

/* CTA Button Hover */
.navbar .nav-cta:hover {
    box-shadow: 0 0 40px #87cefa, 0 0 60px #ff99ff;
    transform: scale(1.1) rotate(-2deg);
}
.navbar .nav-cta:hover i {
    transform: scale(1.3) rotate(-10deg);
    text-shadow: 0 0 10px #ff99ff, 0 0 20px #87cefa;
}


/* Active Page Link */
.navbar .nav-links a.active {
    color: #ff99ff;
    font-weight: bold;
    transform: scale(1.1);
    text-shadow: 0 0 8px #ff99ff, 0 0 15px #87cefa;
}

/* Optional: active underline glow */
.navbar .nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #87cefa, #ff99ff);
    border-radius: 3px;
}
