body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #FFFFFF; /* White background for the page */
}

.navbar {
    background: linear-gradient(to right, #4A00E0, #8E2DE2); /* Blue to Purple gradient */
    color: white;
    padding: 15px 0;
    position: static; /* Static nav bar */
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar .logo {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    display: flex; /* To align image and text */
    align-items: center; /* Vertically center image and text */
}

.navbar .logo-img {
    height: 30px; /* Adjust as needed */
    margin-right: 10px; /* Space between logo and text */
}

/* Ensure menu toggle is hidden on desktop */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}

.navbar .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar .nav-links li {
    margin-left: 20px;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 0;
    transition: border-bottom 0.3s ease;
}

    .navbar .nav-links a:hover {
        border-bottom: 2px solid white;
    }

    .navbar .nav-links li.active-nav-link a {
        font-size: 20px; /* Make text bigger */
        font-weight: bold; /* Make text bold */
        border-bottom: 2px solid white; /* Add an underline for emphasis */
    }

    .apk-download-btn {
    background: linear-gradient(to right, #e04a00, #e22d8e);
        color: white;
        padding: 12px 25px; /* Increased padding for larger size */
        border-radius: 30px; /* More rounded corners */
        text-decoration: none;
    font-size: 0.9em; /* Decreased text size */
        font-weight: bold;
        transition: all 0.3s ease;
        box-shadow: 0 6px 12px rgba(0,0,0,0.2); /* More prominent shadow */
        position: relative;
        z-index: 1;
        border: 3px solid white; /* White border */
    }

    .apk-download-btn:hover {
        background-color: rgba(255, 255, 255, 0.15); /* More visible background on hover */
        transform: translateY(-3px); /* More pronounced lift */
        box-shadow: 0 8px 16px rgba(0,0,0,0.3); /* Stronger shadow on hover */
    }

    .premium-banner {
        background: linear-gradient(to right, #f06, #f90); /* Orange-Pink gradient */
        color: white;
        padding: 15px 25px;
        border-radius: 10px;
        text-align: center;
        margin: 20px auto; /* Center horizontally and provide spacing */
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
        width: 100%; /* Adjust width for better responsiveness */
        max-width: none; /* Increased width */
        box-sizing: border-box;
        position: relative; /* For positioning the close button */
        border-radius: 0; /* Remove border-radius for full width */
        margin: 0; /* Remove margin for full width */
    }

    .premium-banner .close-banner {
        position: absolute;
        top: 10px;
        right: 10px;
        color: white;
        font-size: 20px;
        cursor: pointer;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        width: 25px;
        height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        line-height: 1;
        transition: background-color 0.3s ease;
    }

    .premium-banner .close-banner:hover {
        background: rgba(0, 0, 0, 0.5);
    }

    .premium-banner p {
        margin: 0 0 10px 0;
        font-size: 16px;
        font-weight: bold;
    }

    .premium-banner .premium-link {
        background-color: #4A00E0; /* Darker blue */
        color: white;
        padding: 8px 15px;
        border-radius: 5px;
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

    .premium-banner .premium-link:hover {
        background-color: #3A00B0; /* Even darker blue on hover */
    }

    .content {
        padding: 20px;
        text-align: center;
        margin-top: 20px; /* Adjust based on navbar height */
    }

    .content h1 {
        margin-bottom: 20px; /* Add more space below the heading */
    }

    .content p {
        margin-bottom: 20px; /* Add more space below the paragraph */
    }

    .cardbox {
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 30px;
        margin: 30px auto;
        max-width: 500px;
        text-align: center;
    }

    .cardbox h2 {
        color: #4A00E0;
        font-size: 2em;
        margin-bottom: 10px;
    }

    .cardbox p {
        color: #666;
        font-size: 1.1em;
        margin-bottom: 20px;
    }

    .profile-section {
        margin: 20px 0;
    }

    .profile-photo {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #8E2DE2;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        margin-bottom: 10px;
    }

    .profile-section h3 {
        color: #333;
        font-size: 1.5em;
        margin-bottom: 5px;
    }

    .profile-section p {
        color: #777;
        font-size: 0.9em;
        margin-bottom: 0;
    }

    .cardbox-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
    }

    .cardbox-buttons .btn {
        background: linear-gradient(to right, #4A00E0, #8E2DE2);
        color: white;
        padding: 12px 25px;
        border: none;
        border-radius: 25px;
        font-size: 1em;
        font-weight: bold;
        text-decoration: none;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .cardbox-buttons .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }

    .stats-section {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        margin-top: 40px;
        padding: 20px;
        background-color: #f9f9f9;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    .stat-item {
        flex: 1;
        min-width: 150px;
        text-align: center;
        padding: 15px;
    }

    .stat-number {
        font-size: 2.5em;
        font-weight: bold;
        color: #4A00E0; /* Primary color */
        display: block;
        margin-bottom: 5px;
    }

    .stat-description {
        font-size: 1em;
        color: #666;
    }

    @media (max-width: 768px) {
        .stats-section {
            flex-direction: column;
            align-items: center;
        }

        .stat-item {
            margin-bottom: 20px;
        }
    }

    .content h1 {
        font-size: 2.5em; /* Default size for the whole H1 */
        margin-bottom: 10px;
    }

    .welcome-text {
        font-size: 0.6em; /* Medium size relative to H1 */
        display: block; /* Ensures it takes its own line or behaves as a block */
        margin-bottom: 5px;
    }

    .jdx-bomber-text {
        font-size: 1.5em; /* Big size relative to H1 */
        font-weight: bold;
        background: linear-gradient(to right, #4A00E0, #8E2DE2); /* Blue to Purple gradient */
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent; /* Fallback for browsers that don't support -webkit-text-fill-color */
        display: inline-block; /* Ensures gradient applies correctly */
    }

    .phone-input-container {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 20px auto;
        max-width: 400px;
        border-radius: 25px; /* Circular from left and right */
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        position: relative; /* For pseudo-element positioning */
        z-index: 1; /* Ensure content is above pseudo-element */
    }

    .phone-input-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 25px;
        padding: 2px; /* Border thickness */
        background: linear-gradient(to right, #4A00E0, #8E2DE2); /* Gradient border */
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        z-index: -1; /* Behind the content */
        opacity: 0; /* Hidden by default */
        transition: opacity 0.3s ease;
    }

    .phone-input-container.focused::before {
        opacity: 1; /* Show when focused */
    }

    .country-code-wrapper {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        background-color: #f0f0f0;
        border-right: 1px solid #ccc; /* Default border */
        border-top-left-radius: 25px; /* Match container radius */
        border-bottom-left-radius: 25px; /* Match container radius */
    }

    .flag-icon {
        width: 24px;
        height: 18px;
        margin-right: 8px;
    }

    .country-code {
        font-size: 16px;
        color: #555;
        font-weight: bold;
    }

    .phone-input {
        flex-grow: 1;
        padding: 10px 15px;
        border: none; /* No default border here */
        font-size: 16px;
        outline: none;
        border-top-right-radius: 25px; /* Match container radius */
        border-bottom-right-radius: 25px; /* Match container radius */
    }

    .phone-input::placeholder {
        color: #aaa;
    }

    .start-button {
        background: linear-gradient(to right, #4A00E0, #8E2DE2); /* Blue to Purple gradient */
        color: white;
        padding: 12px 25px;
        border: none;
        border-radius: 25px;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        transition: opacity 0.3s ease, transform 0.2s ease;
        margin-top: 20px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .start-button:hover:not(:disabled) {
        transform: translateY(-2px);
    }

    .start-button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .stop-button {
        background: linear-gradient(to right, #e04a00, #e22d8e); /* Red to Pink gradient for Stop */
    }

/* Mobile responsiveness */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar .nav-links {
        flex-direction: column;
        width: 100%;
        display: none; /* Hidden by default on mobile */
    }

    .navbar .nav-links.active {
        display: flex; /* Show when active */
    }

    .navbar .nav-links li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }

    .navbar .nav-links a {
        display: block;
        padding: 10px 0;
        border-bottom: none;
    }

    .navbar .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .navbar .logo {
        margin-bottom: 10px;
    }

    /* Hamburger menu icon */
    .menu-toggle {
        display: block; /* Show on mobile */
        color: white;
        font-size: 30px;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 15px;
    }

    .apk-download-btn {
        display: block; /* Ensure it's visible on mobile */
        margin: 10px auto; /* Center on mobile */
    }
}

/* New styles for terms and conditions checkbox and pop-up */
.terms-checkbox-container {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #555;
}

.terms-checkbox-container input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2); /* Slightly larger checkbox */
}

.terms-checkbox-container a {
    color: #4A00E0; /* Link color */
    text-decoration: none;
    font-weight: bold;
}

.terms-checkbox-container a:hover {
    text-decoration: underline;
}

.popup-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's on top of everything */
}

.popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    text-align: left;
    position: relative;
    max-height: 80vh; /* Limit height for scrollability */
    overflow-y: auto; /* Enable scrolling for long content */
}

.popup-content h2 {
    margin-top: 0;
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.popup-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.close-button {
    background: linear-gradient(to right, #4A00E0, #8E2DE2); /* Blue to Purple gradient */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
    display: block; /* Make it a block element */
    margin: 0 auto; /* Center the button */
}

.close-button:hover {
    transform: translateY(-2px);
}

.card-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.card-box h3 {
    color: #4A00E0;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.card-box p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.card-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-box ul li {
    background-color: #e9e9e9;
    margin-bottom: 8px;
    padding: 10px 15px;
    border-radius: 5px;
    color: #333;
    font-size: 15px;
}

.card-box ul li:last-child {
    margin-bottom: 0;
}

.card-box-container {
    display: flex;
    justify-content: center; /* Center the group of card boxes */
    flex-wrap: wrap; /* Allow boxes to wrap on smaller screens */
    gap: 20px; /* Space between card boxes */
    margin-top: 30px; /* Space above the new card boxes */
}

.card-box-container .card-box {
    flex: 1; /* Allow card boxes to grow and shrink */
    min-width: 280px; /* Minimum width for each card box */
    max-width: 350px; /* Maximum width for each card box */
    margin: 0; /* Remove individual margins as gap handles spacing */
}

@media (max-width: 768px) {
    .card-box-container {
        flex-direction: column; /* Stack card boxes vertically on mobile */
        align-items: center; /* Center stacked card boxes */
    }

    .card-box-container .card-box {
        max-width: 90%; /* Adjust width for mobile */
    }
}

/* Styles for FAQ section */
.faq-section {
    margin-top: 40px;
    padding: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.faq-section h2 {
    text-align: center;
    color: #4A00E0;
    margin-bottom: 30px;
    font-size: 28px;
}

.faq-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 15px 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    color: #333;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer; /* Indicate it's clickable */
}

.faq-answer {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    display: none; /* Hidden by default */
}

/* JavaScript will toggle 'display: block' for answers */
.faq-item.active .faq-answer {
    display: block;
}

/* Styles for Footer */
.footer {
    background: linear-gradient(to right, #4A00E0, #8E2DE2); /* Blue to Purple gradient */
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    transition: text-decoration 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Styles for Plan Cards */
.plan-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.plan-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 320px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.plan-card h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
}

.plan-card .price {
    font-size: 2.5em;
    font-weight: bold;
    color: #4A00E0; /* Primary color for price */
    margin-bottom: 20px;
}

.plan-card .description {
    font-size: 1em;
    color: #666;
    margin-bottom: 30px;
    min-height: 40px; /* Ensure consistent height */
}

.plan-card .buy-button {
    background: linear-gradient(to right, #4A00E0, #8E2DE2); /* Blue to Purple gradient */
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.plan-card .buy-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Popular plan specific styles */
.plan-card.popular {
    /* Keep popular-badge styling here, but remove dynamic selection styles */
    /* The border, shadow, and transform will be handled by .selected-plan */
    z-index: 1; /* Ensure popular badge is visible */
}

.plan-card.popular .popular-badge {
    position: absolute;
    top: 20px; /* Adjusted for better visibility */
    left: -30px; /* More to the left, further outside */
    background: linear-gradient(to right, #4A00E0, #8E2DE2); /* Blue to Purple gradient */
    color: white;
    padding: 8px 30px; /* Increased padding for larger size */
    border-radius: 5px;
    font-weight: bold;
    font-size: 1em; /* Slightly larger font */
    transform: rotate(-45deg); /* More pronounced rotation */
    transform-origin: top left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Stronger shadow */
    z-index: 2;
    text-transform: uppercase; /* Make text uppercase for modern look */
    letter-spacing: 1px; /* Add letter spacing */
}

/* Styles for selected plan card */
.plan-card.selected-plan {
    border: 3px solid #8E2DE2; /* Purple border for selected plan */
    box-shadow: 0 10px 20px rgba(142, 45, 226, 0.3); /* Stronger, colored shadow */
    transform: scale(1.1); /* Make selected card bigger */
    z-index: 1; /* Bring to front */
}

/* Responsive adjustments for plan cards */
@media (max-width: 768px) {
    .plan-cards {
        flex-direction: column;
        align-items: center;
        margin-top: 20px; /* Add margin to the top of plan cards on mobile */
    }

    .plan-card {
        width: 90%;
        max-width: 350px;
    }

    .plan-card.selected-plan {
        transform: scale(1); /* Reset scale on mobile if it causes issues */
    }
}

@media (max-width: 768px) {
    .footer .container {
        flex-direction: column;
    }

    .footer-links a {
        display: block;
        margin: 5px 0;
    }
}

section {
  padding-bottom: 60px;
  background-color: #f1f1f1;
}

.how-it-works h2 {
  margin-top: 60px;
  margin-bottom: 1.8rem;
}

.how-it-works .box {
  text-align: left;
  border-left: 18px solid #f1f1f1;
  background-color: #fff;
}

.box::before {
  content: "\f058";
  background: linear-gradient(to right, #4A00E0, #8E2DE2); /* Blue to Purple gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Fallback for browsers that don't support -webkit-text-fill-color */
  font-family: FontAwesome;
  font-weight: 400;
  font-style: normal;
  display: block;
  position: absolute;
  left: -15px;
  top: 50%;
  margin-top: -25px;
  font-size: 2.5rem;
}

@media (min-width: 600px) {
  .how-it-works .d-flex {
    display: flex;
    justify-content: space-between;
  }

  .box.col-md-6 {
    width: 47%;
    max-width: 47%;
  }
}
