/* General body styling */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #000, #000, #000);
    color: #fff;
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-attachment: fixed;
    animation: fadeIn 2s ease-out;
}

/* Fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Header styling */
header {
    text-align: center;
    padding: 60px 20px;
    margin-top: 30px;
    height: auto;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #00ffcc;
}

/* Header text styling */
header h1 {
    font-size: calc(4rem + 2vw);
    color: #00ffcc;
    text-shadow: 0 5px 15px rgba(0, 255, 204, 0.8);
    animation: glow 1.5s infinite alternate, bounce 1.5s ease-in-out infinite;
}

/* Glow animation */
@keyframes glow {
    from {
        text-shadow: 0 5px 10px rgba(0, 255, 204, 0.5);
    }
    to {
        text-shadow: 0 5px 20px rgba(0, 255, 204, 1);
    }
}

/* Bounce animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Subheading in header */
header p {
    font-size: 1.3rem;
    margin-top: 15px;
    color: #dcdcdc;
}

/* Call-to-action button styling */
.cta {
    margin-top: 30px;
}

.cta button {
    padding: 18px 40px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #00ffcc, #000);
    border: none;
    border-radius: 50px;
    color: #000;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 255, 204, 0.3);
}

.cta button:hover {
    transform: scale(1.15);
    box-shadow: 0 5px 25px rgba(0, 255, 204, 0.6);
    background: linear-gradient(135deg, #00ffcc, #2c5364);
}

/* Section styling */
section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Feature section layout */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Feature item styling */
.feature-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(5px);
}

.feature-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: rgba(0, 255, 204, 0.2);
}

.feature-item h3 {
    color: #00ffcc;
    margin-bottom: 12px;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.feature-item:hover h3 {
    color: #fff;
}

/* Interactive section with background */
.interactive-section {
    position: relative;
    width: 100%; /* Ensure it spans full width */
    margin-top: 50px;
    background: #000;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 255, 204, 0.3);
    padding: 20px; /* Add padding for inner spacing */
    display: flex; /* Use flexbox for centering */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    justify-content: center; /* Center children vertically */
}

/* Pricing Table Styling */
.pricing-table {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    border-radius: 1.25rem;
    margin: 2rem auto;
    border: 2px solid #00ffcc;
    max-width: 90%;
    box-shadow: 0 0.3125rem 1.5625rem rgba(0, 255, 204, 0.4);
    transition: all 0.3s ease;
    text-align: center; /* Ensure text content is centered */
}

.pricing-table:hover {
    box-shadow: 0 0.5rem 2.1875rem rgba(0, 255, 204, 0.6);
}

.pricing-table h2 {
    color: #00ffcc;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* Slider styling */
.slider {
    width: 90%;
    margin: 25px 0;
    height: 22px;
    border-radius: 10px;
    background: linear-gradient(90deg, #000, #00ffcc);
    appearance: none;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

/* Fluid value and dynamic price container */
.pricing-info {
    display: flex; /* Use flexbox for alignment */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center-align horizontally */
    justify-content: center; /* Center-align vertically */
    margin-top: 20px; /* Add spacing above */
    text-align: center; /* Center text within the container */
}

/* Fluid value styling */
.fluid-value {
    font-size: 2.2rem;
    font-weight: bold;
    color: #4caf50;
    transition: all 0.3s ease;
    transform: scale(1.1);
    margin-bottom: 10px; /* Add spacing below fluid value */
}

/* Dynamic price styling */
.dynamic-price {
    font-size: 1.6rem;
    color: #fff;
    font-weight: bold;
}

/* Media Query for Small Screens */
@media (max-width: 768px) {
    .pricing-table {
        padding: 1.5rem;
        border-radius: 1rem;
        box-shadow: 0 0.25rem 1.25rem rgba(0, 255, 204, 0.4);
    }

    .pricing-table h2 {
        font-size: 1.6rem;
    }

    .fluid-value {
        font-size: 1.8rem;
    }

    .dynamic-price {
        font-size: 1.4rem;
    }
}

/* Media Query for Extra Small Screens */
@media (max-width: 480px) {
    .pricing-table {
        padding: 1rem;
        border-radius: 0.75rem;
    }

    .pricing-table h2 {
        font-size: 1.4rem;
    }

    .fluid-value {
        font-size: 1.6rem;
    }

    .dynamic-price {
        font-size: 1.2rem;
    }
}


/* Example usage section */
.example-usage {
    margin-top: 40px;
    font-size: 1.2rem;
    color: #aaa;
    line-height: 1.7;
}


/* Footer styling */
footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 30px;
    text-align: center;
    margin-top: 60px;
    color: #aaa;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

footer:hover {
    background: rgba(0, 0, 0, 1);
}

footer p {
    font-size: 1rem;
}

footer p a {
    color: #00ffcc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer p a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Media queries for mobile responsiveness */
@media (max-width: 768px) {
    header h1 {
        font-size: 3.5rem;
    }

    .cta button {
        font-size: 1.2rem;
        padding: 14px 30px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 20px;
    }

    .pricing-table {
        width: 90%;
    }
}

@media (max-width: 480px) {
    body {
        padding: 0 15px;
    }

    header h1 {
        font-size: 2.9rem;
    }

    .cta button {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .faq-item {
        padding: 20px;
    }

    footer {
        font-size: 0.9rem;
    }
}
