/* Nebula Theme Variables */
:root {
    --primary-color: #4F46E5;
    /* Indigo 600 */
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary-color: #0F172A;
    /* Slate 900 */
    --accent-color: #06B6D4;
    /* Cyan 500 */
    --text-color: #334155;
    /* Slate 700 */
    --light-bg: #F1F5F9;
    /* Slate 100 - slightly darker than before for contrast */
    --white: #ffffff;
    --border-radius: 16px;
    /* More rounded */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-main: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar a {
    color: #cbd5e1;
    text-decoration: none;
    margin-right: 25px;
    transition: color 0.2s;
    font-weight: 500;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.top-bar i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-brand img {
    width: auto;
    object-fit: contain;
}

.navbar-brand h2 {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--text-color);
    margin: 0 15px;
    position: relative;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 20px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 35px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.35);
}

/* Hero Slider */
.carousel-item {
    height: 750px;
    /* Taller hero */
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centered content */
    text-align: center;
}

.hero-content {
    color: white;
    z-index: 2;
    max-width: 900px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 45px;
    color: #e2e8f0;
    font-weight: 400;
}

.carousel-indicators [data-bs-target] {
    background-color: white;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    opacity: 0.5;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--accent-color);
    transform: scale(1.2);
}

/* Section Common */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    text-align: left;
    /* Left aligned titles */
    margin-bottom: 70px;
    position: relative;
    padding-left: 20px;
    border-left: 5px solid var(--accent-color);
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-title p {
    color: #64748b;
    font-size: 1.1rem;
    max-width: 600px;
}

/* Speed Calculator - Dark Theme Section */
.calculator-section {
    background: var(--secondary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background Pattern for Calculator */
.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--primary-color) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    pointer-events: none;
}

.calculator-section .section-title h2 {
    color: white;
}

.calculator-section .section-title p {
    color: #94a3b8;
}

.calc-item {
    background: rgba(255, 255, 255, 0.05);
    /* Glass dark */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    padding: 25px;
}

.calc-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.calc-icon {
    color: var(--accent-color);
    background: rgba(6, 182, 212, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.calc-item h6 {
    color: white;
    font-size: 1.1rem;
}

.calc-item small {
    color: #94a3b8 !important;
}

.calc-controls button {
    width: 36px;
    height: 36px;
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.calc-controls button:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--secondary-color);
}

.calc-controls input {
    color: white;
    font-size: 1.2rem;
}

/* Packages */
.packages-section {
    background-color: var(--light-bg);
}

.nav-pills .nav-link {
    background: white;
    color: var(--text-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    margin: 0 8px;
}

.nav-pills .nav-link.active {
    background: var(--secondary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-15px);
}

.pricing-header h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 20px;
}

.pricing-speed {
    color: var(--secondary-color);
    font-weight: 800;
    font-size: 3rem;
    margin: 10px 0;
    line-height: 1;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.pricing-currency {
    font-size: 1.2rem;
    color: #94a3b8;
    vertical-align: top;
    margin-top: -10px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 15px;
    padding-left: 32px;
    position: relative;
    color: var(--text-color);
    font-weight: 500;
}

.pricing-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 4px;
    background: rgba(79, 70, 229, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-popular {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--accent-color);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: none;
    /* No rotation */
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.3);
}

/* Services */
.service-section {
    background-color: white;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: left;
    /* Distinct from center aligned pricing */
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    background: #e0e7ff;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
}

.service-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* FAQ */
.faq-section {
    background-color: var(--light-bg);
}

.accordion-item {
    border: none;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    color: var(--secondary-color);
    background: white;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: #fff;
    box-shadow: inset 0 -1px 0 #f1f5f9;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 25px;
    color: #64748b;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #94a3b8;
    padding: 100px 0 40px;
}


footer h5 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--accent-color);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background: linear-gradient(135deg, #25d366, #128C7E);
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .carousel-item {
        height: 500px;
    }

    .nav-pills .nav-link {
        margin-bottom: 5px;
    }
}