/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Updated Theme: Specific Blue-Mean Gradient */
    --newton-brand: #1ebbf0;
    --newton-brand-dark: #1598c4;
    --newton-gradient: linear-gradient(135deg, #1ebbf0 0%, #36dab1 100%);

    --bs-body-bg: #ffffff;
    --bs-body-color: #333333;
    --bs-heading-color: #1a1a1a;

    --font-primary: 'Outfit', sans-serif;
}

body {
    background-color: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
    font-family: var(--font-primary) !important;
    overflow-x: hidden;
    padding-top: 100px;
    /* Fix for fixed-top navbar overlap */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--bs-heading-color);
}

/* Typography Gradient */
.text-gradient {
    background: var(--newton-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn-primary {
    background: var(--newton-gradient) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(18, 180, 197, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(18, 180, 197, 0.5);
    background: linear-gradient(135deg, #0e8c9a 0%, #12b4c5 100%) !important;
}

/* Cards (Glassmorphism Light) */
/* Cards (Glassmorphism Light) */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

/* Navbar Glassmorphism */
.navbar-glass {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Absolute Center Navbar Links (Desktop Only) */
@media (min-width: 992px) {
    .navbar-nav-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        display: flex;
        justify-content: center;
        gap: 0;
    }
}



.navbar-glass .container {
    max-width: 1400px;
    /* Lebarkan container agar lebih lega */
}


/* Navbar Brand */
.navbar-brand .text-gradient {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.navbar-glass .nav-link {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    font-weight: 500;
    font-size: 0.8rem;
}

.navbar-brand img {
    height: 40px;
}

/* Nav Links Base */
.navbar-nav .nav-link {
    color: #555;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 0.25rem !important;
    position: relative;
    transition: color 0.3s ease;
    margin: 0;
    display: flex !important;
    align-items: center;
    gap: 8px;
    /* Space between icon and text */
}

/* Nav Link Hover & Active */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #1ebbf0;
    /* Fallback */
}

/* Animated Underline Effect */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background: var(--newton-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(45, 225, 253, 0.5);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Icons in Navbar */
.navbar-nav .nav-link i {
    display: inline-block;
    background: var(--newton-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: translateY(-2px) scale(1.1);
}

/* Mobile Toggler */
.navbar-toggler {
    border: none;
    box-shadow: none !important;
    color: var(--newton-brand);
}

.navbar-toggler:hover {
    background: rgba(30, 187, 240, 0.1);
    border-radius: 5px;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(18, 180, 197, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
}

/* Feature Icons */
/* Feature Icons */
.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(30, 187, 240, 0.1);
    /* Updated to match new brand */
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    background: var(--newton-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border-radius: 1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.feature-card:hover .feature-icon {
    background: var(--newton-gradient);
    color: white;
    transform: rotateY(360deg);
}

.feature-card:hover .feature-icon i {
    background: none;
    -webkit-text-fill-color: white;
    color: white;
}

/* Pricing Cards */
.pricing-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    color: #333;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--newton-brand);
    box-shadow: 0 15px 40px rgba(18, 180, 197, 0.15);
}

.pricing-card.popular {
    border: 2px solid var(--newton-brand);
    position: relative;
    background: #fbfdff;
}

.pricing-card.popular::after {
    content: 'MOST POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--newton-gradient);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.text-brand {
    background: var(--newton-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.bg-brand {
    background: var(--newton-gradient) !important;
    color: white !important;
}

/* Utilities */
.bg-light-alt {
    background-color: #f9fbfd !important;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}

.transition {
    transition: all 0.3s ease;
}

/* Check Coverage Box overrides */
#check .form-control {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    color: #333 !important;
}

#check .form-control::placeholder {
    color: #adb5bd !important;
}

/* Footer */
footer {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
    border-top: none !important;
}

footer h5,
footer h6 {
    color: #ffffff !important;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer .text-brand {
    background: var(--newton-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animated Wi-Fi Icon */
.wifi-animated svg {
    overflow: visible;
}

.wifi-part {
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.wifi-dot {
    animation: wifi-fade 2s infinite 0s;
}

.wifi-arc-1 {
    animation: wifi-fade 2s infinite 0.5s;
}

.wifi-arc-2 {
    animation: wifi-fade 2s infinite 1.0s;
}

.wifi-arc-3 {
    animation: wifi-fade 2s infinite 1.5s;
}

@keyframes wifi-fade {
    0% {
        opacity: 0.3;
        filter: drop-shadow(0 0 0 rgba(30, 187, 240, 0));
    }

    5% {
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(30, 187, 240, 0.8));
    }

    30% {
        opacity: 0.3;
        filter: drop-shadow(0 0 0 rgba(30, 187, 240, 0));
    }

    100% {
        opacity: 0.3;
    }
}

/* Particles */
.particle-group {
    opacity: 0;
    pointer-events: none;
}

.particle-group-dot {
    animation: particles-pop 2s infinite 0s;
}

.particle-group-1 {
    animation: particles-pop 2s infinite 0.5s;
}

.particle-group-2 {
    animation: particles-pop 2s infinite 1.0s;
}

.particle-group-3 {
    animation: particles-pop 2s infinite 1.5s;
}

@keyframes particles-pop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    40% {
        opacity: 0;
        transform: scale(1.5);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

.particle {
    fill: #36dab1;
    filter: drop-shadow(0 0 2px #36dab1);
}

/* Enhanced Wi-Fi Animation - Neon Style */
.wifi-animated svg {
    overflow: visible;
}

/* Base style for parts */
.wifi-part {
    opacity: 0.1;
    /* Dimmer off state */
    transition: all 0.3s ease;
    stroke-linecap: round;
    /* Round ends for gel look */
    filter: drop-shadow(0 0 2px rgba(30, 225, 253, 0.3));
    /* Slight glow even when off */
}

/* Animation Delays */
.wifi-dot {
    animation: wifi-neon-pulse 2s infinite 0s;
}

.wifi-arc-1 {
    animation: wifi-neon-pulse 2s infinite 0.5s;
}

.wifi-arc-2 {
    animation: wifi-neon-pulse 2s infinite 1.0s;
}

.wifi-arc-3 {
    animation: wifi-neon-pulse 2s infinite 1.5s;
}

/* Neon Pulse Animation */
@keyframes wifi-neon-pulse {
    0% {
        opacity: 0.1;
        stroke-width: 12;
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }

    10% {
        opacity: 1;
        stroke-width: 14;
        /* Slightly pulse thicker */
        filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 10px #2de1fd) drop-shadow(0 0 20px #2de1fd) drop-shadow(0 0 40px #27e9b8);
    }

    40% {
        opacity: 0.5;
        stroke-width: 12;
        filter: drop-shadow(0 0 5px #2de1fd);
    }

    100% {
        opacity: 0.1;
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
}

/* Particle Groups */
.particle-group {
    opacity: 0;
    pointer-events: none;
}

.particle-group-dot {
    animation: particles-explode 2s infinite 0s;
}

.particle-group-1 {
    animation: particles-explode 2s infinite 0.5s;
}

.particle-group-2 {
    animation: particles-explode 2s infinite 1.0s;
}

.particle-group-3 {
    animation: particles-explode 2s infinite 1.5s;
}

/* Particle Explosion Animation */
@keyframes particles-explode {
    0% {
        opacity: 0;
        transform: scale(0.5) translate(0, 0);
    }

    10% {
        opacity: 1;
        transform: scale(1.2) translate(0, 0);
    }

    50% {
        opacity: 0;
        /* Use CSS vars for direction if supported, else default spread */
        transform: scale(0.5) translate(var(--tx, 10px), var(--ty, -10px));
    }

    100% {
        opacity: 0;
        transform: scale(0.5) translate(var(--tx, 10px), var(--ty, -10px));
    }
}

.particle {
    fill: #ffffff;
    /* White core */
    filter: drop-shadow(0 0 2px #2de1fd) drop-shadow(0 0 5px #27e9b8);
    /* Teal glow */
}