/* General Body & Typography */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    /* CHANGED: Darker purple background */
    background-color: #e6e6fa; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* --- ULTIMATE FIX: Prevents horizontal scroll/slide --- */
    overflow-x: hidden !important; 
}

/* --- AGGRESSIVE FIX: Reset box-sizing universally to prevent overflow --- */
*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

/* Updated Purple Hues */
h1 {
    color: #852881;
    line-height: 1.2;
}
h2 {
    color: #6234BA;
    line-height: 1.2;
}
h3 {
    color: #6234BA;
    line-height: 1.2;
}

h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
}

h2 {
    font-size: 2.2em;
    margin-bottom: 25px;
    text-align: center;
}

h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

p {
    margin-bottom: 15px;
}

.highlight {
    color: #8A2BE2;
}

/* --- CROSS-PROMOTIONAL BANNER STYLES --- */
.promo-banner {
    display: block;
    background-color: #4B0082; /* Dark purple background for contrast */
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 5px 0; /* REDUCED VERTICAL PADDING (was 10px) */
    font-size: 0.8em; /* SMALLER FONT SIZE */
    border-bottom: 3px solid #FF6700;
    margin-top: 0; 
}

.promo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Reduced gap */
    max-width: 1100px;
}

.promo-logo {
    height: 20px; /* SMALLER LOGO HEIGHT (was 30px) */
    width: auto;
    border-radius: 5px;
}

.promo-banner p {
    margin: 0;
    font-weight: 400;
}

.promo-cta {
    font-weight: 700;
    color: #FF6700;
    white-space: nowrap; 
}

.promo-banner:hover {
    background-color: #5D3FD3;
}

/* Mobile adjustments for banner */
@media (max-width: 600px) {
    .promo-container {
        flex-wrap: wrap;
        padding: 2px 5px; /* Extremely small padding on mobile */
    }
    
    .promo-banner p {
        flex-basis: 100%;
        font-size: 0.75em; /* Tiniest font size on mobile */
        margin-bottom: 3px;
    }

    .promo-logo {
        height: 18px; /* Tiniest logo height on mobile */
    }

    .promo-cta {
        display: none;
    }
}

/* Header/Hero Section */
.hero {
    /* CHANGED: Deeper purple gradient */
    background: linear-gradient(135deg, #5D3FD3 0%, #4B0082 100%);
    color: #ffffff; /* CHANGED: Default text to white */
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #8A2BE2;
}

/* --- SUB-PAGE HEADER FIX (NO LARGE PADDING) --- */
.sub-header {
    /* CHANGED: Deeper purple gradient */
    background: linear-gradient(135deg, #5D3FD3 0%, #4B0082 100%);
    color: #ffffff; /* CHANGED: Default text to white */
    text-align: center;
    padding: 15px 20px 20px 20px;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid #8A2BE2;
}

/* Ensure dynamic bubble effects are disabled on the sub-header */
.sub-header::before,
.sub-header::after {
    content: none !important;
}

/* --- FAST-MOVING OCTOPUS BUBBLE EFFECT (HOMEPAGE ONLY) --- */
.hero::before { 
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.1); /* Lightened bubbles */
    border-radius: 50%;
    box-shadow:
        100vw 50vh 0 0 rgba(255, 255, 255, 0.1),
        -10vw 80vh 0 0 rgba(255, 255, 255, 0.08),
        50vw -30vh 0 0 rgba(255, 255, 255, 0.12),
        -40vw -60vh 0 0 rgba(255, 255, 255, 0.07),
        20vw 100vh 0 0 rgba(255, 255, 255, 0.1),
        80vw 20vh 0 0 rgba(255, 255, 255, 0.08);

    animation: bubbles 15s linear infinite;
    z-index: 0;
    filter: blur(1px);
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: rgba(255, 103, 0, 0.5); /* Keep orange accent */
    border-radius: 50%;
    box-shadow:
        -100vw -50vh 0 0 rgba(255, 103, 0, 0.4),
        80vw 120vh 0 0 rgba(255, 103, 0, 0.5),
        -50vw 30vh 0 0 rgba(255, 103, 0, 0.3);

    animation: bubbles 20s linear infinite reverse;
    z-index: 0;
    filter: blur(1px);
}
/* --- END OF DYNAMIC EFFECT --- */


.hero .container {
    position: relative;
    z-index: 1;
}

/* --- LOGO STYLES (UPDATED FOR JPEG AND ROUNDED CORNERS) --- */
.site-logo-link {
    display: block;
    margin-bottom: 15px;
    text-align: center;
}

/* FIX: Apply negative margin to the logo link *only* in the main hero 
   to pull it up and compensate for the large 80px top padding. */
.hero .site-logo-link {
    margin-top: -30px; 
}

/* Corrected margin for sub-pages to retain small gap */
.sub-header .site-logo-link {
    margin-bottom: 10px;
    margin-top: 0; 
}


.site-logo {
    max-width: 350px;
    height: auto;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.site-logo:hover {
    transform: scale(1.02);
}

/* --- MAIN NAVIGATION STYLES --- */
.main-nav {
    text-align: center;
    padding: 10px 0;
    margin-bottom: 40px; /* Gap after nav on homepage */
    /* CHANGED: Darker transparent bg for contrast */
    background-color: rgba(0, 0, 0, 0.15); 
    border-radius: 8px;
    padding: 10px 0;
}

/* NEW FIX: Reduces bottom margin of navigation on sub-pages to remove dead space */
.sub-header .main-nav {
    margin-bottom: 20px;
}


.main-nav a {
    color: #f0e6ff; /* CHANGED: Light purple links */
    text-decoration: none;
    font-weight: 600;
    margin: 0 10px; /* Reduced horizontal margin for compactness */
    padding: 3px 8px; /* Reduced padding for compactness */
    transition: color 0.2s, background-color 0.2s;
    border-radius: 5px;
    font-size: 0.9em; /* Slightly smaller font size for compactness */
    display: inline-block;
}

.main-nav a:hover {
    color: #ffffff; /* White on hover */
    background-color: #8A2BE2;
}

/* CHANGED: Highlight in hero is now orange */
.hero .highlight {
    color: #FF6700;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    color: #ffffff; /* CHANGED: Ensure H1 is white */
}

.hero .subtitle {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: #f0e6ff; /* CHANGED: Light purple subtitle */
}

.bonus-info {
    font-size: 1.1em;
    font-weight: 600;
    margin-top: 25px;
    padding: 10px 20px;
    /* CHANGED: Darker transparent bg for contrast */
    background-color: rgba(0, 0, 0, 0.2); 
    border-radius: 8px;
    display: inline-block;
}

/* Buttons (Main CTA remains Orange for contrast) */
.button {
    display: inline-block;
    background-color: #FF6700;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.3em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
}

.button:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
}

/* Call to action button animation */
.pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Sections */
.section {
    padding: 60px 0;
}

.about-us {
    background-color: #fcfaff; /* CHANGED: Very light purple */
    border-bottom: 1px solid #eee;
}

.about-us .content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-us .text-content {
    flex: 2;
    min-width: 300px;
}

.about-us .image-content {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.responsive-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.how-it-works {
    background-color: #f7f3ff; /* CHANGED: Lightened purple */
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.step-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.step-card .icon {
    font-size: 3em;
    color: #8A2BE2;
}

.step-card h3 {
    color: #5D3FD3;
    margin-top: 0;
}

.secondary-cta {
    background-color: #8A2BE2;
}

.secondary-cta:hover {
    background-color: #6A0DAD;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 25px 20px;
    font-size: 0.9em;
    margin-top: auto;
}

/* --- FOOTER LINK COLOR FIX --- */
.footer-nav a {
    color: #fff !important; /* Force links to stay white */
}

.footer-nav a:hover {
    color: #FF6700 !important; /* Force hover color */
}

/* --- FOOTER LOGO STYLES --- */
.footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
    filter: brightness(0.9) grayscale(0.2);
}

/* --- FOOTER SOCIAL ICONS --- */
.social-icons-wrapper {
    margin-top: 15px;
    margin-bottom: 10px;
    text-align: center;
}

.social-icon {
    width: 24px !important; /* Force width */
    height: 24px !important; /* Force height */
    margin: 0 8px;
    opacity: 0.8;
    transition: opacity 0.2s;
    vertical-align: middle;
}

.social-icon:hover {
    opacity: 1.0;
}

/* --- NEW HOMEPAGE BENEFITS SECTION --- */
.key-benefits {
    padding: 40px 0;
    background-color: #f7f3ff; /* CHANGED: Was light green */
    text-align: center;
    border-bottom: 1px solid #d4d4d4;
}

.key-benefits h2 {
    margin-bottom: 30px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    border-top: 5px solid #8A2BE2;
}

.benefit-card h3 {
    color: #5D3FD3;
    margin-top: 0;
    font-size: 1.3em;
}

.benefit-card a {
    color: #FF6700;
    text-decoration: none;
    font-weight: 600;
}

.benefit-card a:hover {
    text-decoration: underline;
}

/* --- NEW GENERIC PAGE STYLES (for new pages) --- */
.content-page {
    padding: 60px 20px;
    max-width: 900px;
    margin: 40px auto;
    background-color: #fff; /* White content boxes */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.content-page h2 {
    text-align: left;
}

/* --- ULTIMATE FIX: Flexbox Alignment for Bullet Points --- */
.bullet-points li {
    margin-bottom: 20px; /* Increased margin */
    padding-left: 0; 
    list-style: none;
    font-size: 1.1em;
    position: relative;
    /* Added Flexbox to control horizontal and vertical alignment */
    display: flex; 
    align-items: flex-start; /* Aligns the icon to the top of the text line */
}

.bullet-points li::before {
    content: '🐙';
    /* Removed absolute positioning */
    font-size: 1.5em; 
    margin-right: 12px; /* Creates space between icon and text */
    line-height: 1.2; 
    color: #FF6700;
}

/* FIX: This new block forces the H3 and P tags to stack vertically */
.bullet-points li div {
    flex: 1;
}

.bullet-points li h3 {
    margin-top: 0;
    margin-bottom: 5px; /* Space between H3 and P */
}

.bullet-points li p {
    margin: 0;
    font-size: 0.9em; /* Make sub-text smaller */
}
/* --- END OF BULLET POINT FIX --- */


/* --- CONTACT PAGE STYLES --- */
.contact-info {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #e6e6fa;
    border-radius: 10px;
}

.web-form {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background: #fcfaff; /* Keep form background light */
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.web-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #5D3FD3;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.web-form label {
    display: block;
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #5D3FD3;
    text-align: left;
    font-size: 0.95em;
}

.web-form input[type="text"],
.web-form input[type="email"],
.web-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1em;
    transition: border-color 0.3s;
    margin-bottom: 15px;
}

.web-form input:focus,
.web-form textarea:focus {
    border-color: #8A2BE2;
    outline: none;
}

.web-form textarea {
    resize: vertical;
}

.web-form button[type="submit"] {
    /* Style button using existing button classes */
    display: block;
    width: 100%;
    margin-top: 25px;
    font-size: 1.3em;
    padding: 15px 35px;
}

/* --- IMAGE WITH TEXT LAYOUT FOR BENEFITS PAGE --- */
.image-with-text-block {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
    border: 1px solid #eee; /* Subtle border for definition */
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.image-with-text-block img {
    max-width: 100%; /* Ensures images are responsive */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.image-with-text-block p {
    flex: 1; /* Allows text to take remaining space */
    min-width: 280px; /* Ensures text doesn't get too narrow */
    margin-bottom: 0; /* Remove default paragraph margin */
}

/* Specific styling for images that should float right or be centered */
.small-image-right {
    flex-basis: 35%; /* Image takes about 35% width */
    order: 2; /* Puts image on the right by default */
}

.image-with-text-block .small-image-right + p {
    order: 1; /* Puts text on the left by default */
}

.large-image-center {
    flex-basis: 100%; /* Image takes full width */
    text-align: center; /* Center the image */
    margin-bottom: 15px; /* Add space below image */
}

/* --- FAQ PAGE TITLE COLOR FIX --- */
.content-page .faq-item h3 {
    color: #5D3FD3 !important; /* Force purple on FAQ titles */
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero .subtitle {
        font-size: 1.2em;
    }

    .button {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    h2 {
        font-size: 1.8em;
    }

    .about-us .content-wrapper {
        flex-direction: column;
    }

    .about-us .text-content,
    .about-us .image-content {
        min-width: unset;
        width: 100%;
    }

    .section {
        padding: 40px 0;
    }

    .site-logo {
        max-width: 280px;
    }
    
    .footer-logo {
        max-width: 120px;
    }

    /* Navigation stacking on smaller screens */
    .main-nav a {
        display: inline-block; /* Keep inline for 768px and up */
        margin: 5px 10px;
    }

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

    .web-form {
        padding: 20px;
    }

    /* Responsive adjustments for image with text */
    .image-with-text-block {
        flex-direction: column; /* Stack image and text vertically */
        text-align: center;
    }

    .image-with-text-block .small-image-right,
    .image-with-text-block .small-image-right + p {
        order: unset; /* Reset order for stacking */
        flex-basis: auto; /* Allow items to size naturally */
        min-width: unset;
        width: 100%;
    }
    
    /* STICKY MOBILE CTA FIX */
    .cta-button {
        /* FIX: Ensure the button is fully visible on mobile load */
        position: fixed; 
        bottom: 0;      
        left: 0;
        width: 100vw;    
        margin: 0;      
        padding: 15px 0; 
        z-index: 1000;  
        border-radius: 0; 
        font-size: 1.2em;
        animation: pulse 1.5s infinite; 
    }

    /* Add space at the bottom of the body content to prevent the sticky button 
       from covering up the actual content or footer when scrolling down. */
    body {
        padding-bottom: 70px; 
    }
    
    /* FINAL FIX: Ensure the sticky button wrapper is centered on mobile */
    .mobile-sticky-cta-wrapper {
        padding: 0; 
        height: 70px; 
        display: block !important; 
        text-align: center;
        /* FIX: Ensures the wrapper doesn't cause overflow */
        margin: 0;
        width: 100%;
    }
}

/* FIX: Targeting very small screens (like smaller phones) to prevent header cutoff */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8em;
    }

    .hero .subtitle {
        font-size: 1em;
    }

    .button {
        font-size: 1em;
        padding: 10px 20px;
    }

    h2 {
        font-size: 1.6em;
    }

    .site-logo {
        max-width: 220px;
    }
    .footer-logo {
        max-width: 100px;
    }
    
    /* Navigation stacking on the very smallest screens */
    .main-nav a {
        display: block; /* Forces each link onto its own line */
        margin: 5px 10px;
        font-size: 1em;
    }
}

/* --- FASTER BUBBLE ANIMATION --- */
@keyframes bubbles {
    0% { transform: translateY(0) rotate(0deg) }
    100% { transform: translateY(-100vh) rotate(360deg) }
}

/* --- DESKTOP STICKY BUTTON WRAPPER STYLES --- */
.mobile-sticky-cta-wrapper {
    text-align: center; /* FIX: This centers the button block on desktop */
    padding: 20px 0; /* Adds necessary vertical space on desktop */
    display: block; /* Ensures it acts like a normal block on desktop */
}