/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a0a20; /* Fallback color */
    color: #e0e0ff;
    line-height: 1.6;
    /* Added for centering */
    display: flex;
    flex-direction: column; /* Stack items vertically if needed */
    justify-content: center; /* Vertical centering */
    align-items: center;   /* Horizontal centering */
    min-height: 100vh;     /* Ensure body takes full height */
    /* overflow-x: hidden; /* Removed, Flexbox/max-width should handle */
    padding: 20px 0; /* Add some padding top/bottom for breathing room */
}

/* --- Background --- */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Use 100% instead of 100vh for better compatibility sometimes */
    background-image: url('images/bg.png'); /* Make sure this path is correct */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.9;
}

.logo {
    text-align:center;
    width:100%;
    display:block;
    margin-bottom:30px;
}

.logo img{
    max-width:100%;
    width:350px;
}

/* --- Content Layout (Adjusted for Centering) --- */
.content-container {
    position: relative; /* Keep relative for absolute children like ::after */
    z-index: 1;
    max-width: 800px;
    width: 90%; /* Ensure it doesn't touch edges on smaller viewports */
    /* margin: 5vh 0 5vh 5%; /* REMOVED - Handled by body flexbox */
    margin: 0 auto; /* Horizontal margin auto (redundant with align-items but safe) */
    /* Removed vertical margin, body padding handles spacing */
    padding: 0 20px; /* Keep internal padding */
}


/* --- Panels (Slightly Enhanced) --- */
.panel {
    background: rgba(15, 12, 40, 0.88); /* Slightly less transparent */
    border: 1px solid rgba(120, 80, 200, 0.3);
    padding: 35px 40px; /* Slightly more padding */
    margin-bottom: 35px; /* Increased spacing */
    border-radius: 15px; /* Slightly larger radius */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; /* Smooth transition */
    /* Initial state for scroll animation */
    opacity: 0;
    transform: translateY(30px);
}
/* Remove bottom margin from the last panel inside the container */
.content-container > .panel:last-child {
    margin-bottom: 0;
}


.panel.is-visible { /* State when scrolled into view */
    opacity: 1;
    transform: translateY(0);
}

.panel:hover {
    transform: translateY(-5px) scale(1.01); /* Lift and slight zoom */
    box-shadow: 0 15px 40px rgba(144, 95, 199, 0.3); /* More prominent shadow with color tint */
    border-color: rgba(144, 95, 199, 0.6); /* Highlight border on hover */
}

/* --- Section Title --- */
.section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.8rem;
    color: #eabfff; /* Light orchid */
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 0 0 8px rgba(234, 191, 255, 0.4);
}
/* Underline effect for section titles */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(234, 191, 255, 0), #eabfff, rgba(234, 191, 255, 0));
    border-radius: 1px;
}


/* --- Hero Section --- */
.hero-section h1 { font-family: 'Cinzel Decorative', serif; font-size: 2.8rem; color: #f0d0ff; text-align: center; margin-bottom: 10px; letter-spacing: 2px; text-shadow: 0 0 10px rgba(240, 208, 255, 0.5); }
.hero-section .tagline { font-size: 1.1rem; color: #c0b0ff; text-align: center; margin-bottom: 25px; font-weight: 300; }
.optin-form { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.optin-form input[type="email"] { padding: 14px 18px; border: 1px solid rgba(120, 80, 200, 0.5); background-color: rgba(10, 10, 30, 0.7); color: #e0e0ff; border-radius: 8px; font-size: 1rem; font-family: 'Poppins', sans-serif; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.optin-form input[type="email"]::placeholder { color: #a090cc; }
.optin-form input[type="email"]:focus { outline: none; border-color: #f0d0ff; box-shadow: 0 0 15px rgba(240, 208, 255, 0.3); }
.optin-form button { padding: 14px 20px; background: linear-gradient(90deg, #c86dd7, #905fc7); color: #ffffff; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
.optin-form button:hover { transform: scale(1.03); background: linear-gradient(90deg, #d87ee7, #a06fd7); box-shadow: 0 5px 15px rgba(200, 109, 215, 0.4); }

/* Features List (Hero) */
.features-list-hero { list-style: none; padding-left: 5px; margin-top: 20px; }
.features-list-hero li { margin-bottom: 12px; font-size: 0.95rem; color: #d0c0ff; }
.features-list-hero li::before { content: ''; display: inline-block; width: 1em; text-align: center; margin-right: 10px; font-size: 1.1em; vertical-align: middle; } /* Use specific icons below */
.features-list-hero li:nth-child(1)::before { content: '✨'; }
.features-list-hero li:nth-child(2)::before { content: '🌙'; }
.features-list-hero li:nth-child(3)::before { content: '🔮'; }


/* --- Features Section --- */
.features-section { /* Inherits .panel styles */ }
.feature-item { display: flex; align-items: center; gap: 20px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid rgba(120, 80, 200, 0.15); }
.feature-item:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.feature-icon-wrapper { flex-shrink: 0; width: 55px; height: 55px; background: rgba(216, 126, 231, 0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; border: 1px solid rgba(216, 126, 231, 0.3); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-icon { font-size: 2rem; color: #ffcc80; line-height: 1; text-shadow: 0 0 8px rgba(255, 204, 128, 0.6); transition: transform 0.3s ease; }
.feature-item:hover .feature-icon-wrapper { transform: scale(1.1); box-shadow: 0 0 15px rgba(216, 126, 231, 0.4); }
.feature-item:hover .feature-icon { transform: rotate(15deg); }
.feature-content h3 { font-size: 1.3rem; color: #ffcc80; margin-bottom: 8px; font-weight: 600; }
.feature-content p { font-size: 0.95rem; color: #c0b0ff; font-weight: 300; }

/* --- Details Section ("What You'll Receive") --- */
.details-section { /* Inherits .panel styles */ }
.details-list { list-style: none; padding: 0; }
.details-list li {
    margin-bottom: 18px;
    padding-left: 40px; /* Space for icon */
    position: relative;
    font-size: 1rem;
    color: #d8c8ff;
}
.details-list li .detail-icon {
    position: absolute;
    left: 0;
    top: 2px; /* Adjust vertical alignment */
    font-size: 1.3em;
    line-height: 1;
    width: 30px;
    text-align: center;
}
.details-list li strong {
    font-weight: 600;
    color: #eabfff; /* Slightly brighter color for emphasis */
}

/* --- Testimonials Section --- */
.testimonials-section { /* Inherits .panel styles */ }
.testimonial-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px dashed rgba(120, 80, 200, 0.2);
}
.testimonial-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}
.testimonial-item blockquote {
    font-style: italic;
    color: #e0e0ff;
    margin-bottom: 15px;
    padding-left: 25px;
    border-left: 3px solid #a06fd7; /* Purple accent border */
    position: relative;
}
.testimonial-item blockquote::before { /* Optional subtle quote mark */
    content: '“';
    position: absolute;
    left: -5px;
    top: -10px;
    font-size: 3rem;
    color: rgba(160, 111, 215, 0.3);
    font-family: serif;
    line-height: 1;
}
.testimonial-item cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-weight: 600;
    color: #ffcc80; /* Gold color for name */
}

/* --- Final CTA Section --- */
.cta-section { /* Inherits .panel styles */
    text-align: center;
}
.cta-section p {
    font-size: 1.1rem;
    color: #d0c0ff;
    margin-bottom: 25px;
}
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #ffcc80, #fca34d); /* Gold/Orange gradient */
    color: #1f103c; /* Dark text for contrast */
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);
}
.cta-button:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #ffd599, #fcaf6b);
    box-shadow: 0 5px 15px rgba(255, 204, 128, 0.4);
}


/* --- Accessibility --- */
.sr-only { border: 0 !important; clip: rect(1px, 1px, 1px, 1px) !important; -webkit-clip-path: inset(50%) !important; clip-path: inset(50%) !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; width: 1px !important; white-space: nowrap !important; }

/* --- Scroll Animations (Using Intersection Observer JS) --- */
/* The JS will add/remove 'is-visible' class */

/* --- Responsiveness --- */
@media (max-width: 768px) {
    body {
        padding: 15px 0; /* Adjust body padding for smaller screens */
        justify-content: flex-start; /* Allow content to start near top on mobile if it's long */
    }
    .content-container {
         /* max-width: 90%; /* Already handled by width: 90% */
         padding: 0 15px; /* Adjust internal padding */
    }
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section .tagline { font-size: 1rem; }
    .panel { padding: 25px 30px; margin-bottom: 30px; }
    .section-title { font-size: 1.6rem; margin-bottom: 25px; }
    .optin-form input[type="email"], .optin-form button { font-size: 1rem; padding: 12px 15px; }
    .feature-item { gap: 15px; }
    .feature-icon-wrapper { width: 50px; height: 50px; }
    .feature-icon { font-size: 1.8rem; }
    .feature-content h3 { font-size: 1.15rem; }
    .feature-content p { font-size: 0.9rem; }
    .details-list li { font-size: 0.95rem; padding-left: 35px; }
    .details-list li .detail-icon { font-size: 1.2em; }
    .testimonial-item blockquote { padding-left: 20px; }
    .cta-section p { font-size: 1rem; }
}

@media (max-width: 480px) {
     .hero-section h1 { font-size: 1.9rem; }
     .panel { padding: 20px 25px; }
     .section-title { font-size: 1.4rem; }
     .feature-item { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
     .feature-icon-wrapper { margin-bottom: 5px; }
     .details-list li { padding-left: 30px; margin-bottom: 15px; }
     .details-list li .detail-icon { top: 0px; }
     .testimonial-item blockquote::before { font-size: 2.5rem; left: -10px; }
     .testimonial-item cite { font-size: 0.95rem; }
     .cta-button { width: 100%; padding: 14px 20px; } /* Make button full width */
}