/* --- Base Styles & Variables --- */
:root {
    /* Your Provided Color Scheme */
    --shade-1: #09011a;         /* Very Dark Purple/Black */
    --shade-1-light: #11032a;   /* Slightly Lighter Dark Purple */
    --shade-2: #21143a;         /* Dark Purple (Also Colour-5) */
    --shade-3: #DDDDDD;         /* Light Gray */
    --shade-4: #FFFFFF;         /* White */
    --shade-4a: rgba(255, 255, 255, 0.08); /* Transparent White */

    --colour-1: #FADD73;         /* Yellow Accent */
    --colour-2: #F895B7;         /* Pink Accent */
    --colour-3: #94CBAF;         /* Green Accent */
    --colour-4: #F9B29C;         /* Orange/Peach Accent */
    --colour-5: #21143a;         /* Dark Purple (Primary Background/Brand) */

    /* Mapping to Roles (Adjust as needed) */
    --primary-bg: var(--colour-5);      /* Main dark background */
    --secondary-bg: var(--shade2);     /* Even darker bg (e.g., Footer) */
    --light-bg: var(--shade-4);         /* White background */
    --subtle-bg: var(--shade-3);        /* Light gray for subtle contrast */

    --primary-text: var(--shade-1);      /* Darkest text for light backgrounds */
    --secondary-text: var(--shade-2);    /* Slightly lighter dark text */
    --light-text: var(--shade-4);        /* White text for dark backgrounds */
    --subtle-text: #555;                /* For captions or less important text */

    --accent-primary: var(--colour-1);   /* Main CTA, highlights (Yellow) */
    --accent-secondary: var(--colour-2); /* Secondary highlight (Pink) */
    --accent-tertiary: var(--colour-3);  /* Tertiary highlight (Green) */
    --accent-quaternary: var(--colour-4); /* Quaternary highlight (Peach) */

    --border-light: var(--shade-3);      /* Light border on light bg */
    --border-dark: var(--shade-1-light); /* Subtle border on dark bg */

    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--primary-text); /* Default text color */
    background-color: var(--light-bg); /* Default background */
}

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

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-text); /* Default heading color on light bg */
}
/* Adjust heading colors for dark backgrounds specifically where needed */

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 600; text-align: center; margin-bottom: 2.5rem; }
h3 { font-size: 1.8rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
    color: var(--secondary-text); /* Slightly softer text color */
}

a {
    text-decoration: none;
    color: var(--accent-secondary); /* Use pink for standard links */
    font-weight: 600;
}
a:hover {
    filter: brightness(1.1);
}


img {
    max-width: 100%;
    display: block;
}

section {
    padding: 60px 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-primary); /* Yellow for CTAs */
    color: var(--primary-bg); /* Dark text on yellow */
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 700; /* Bolder for CTA */
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(250, 221, 115, 0.3);
}

.cta-button:hover {
    filter: brightness(1.05);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(250, 221, 115, 0.4);
}


/* --- Hero Section --- */
#hero {
    background: linear-gradient(135deg, var(--shade-1) 0%, var(--primary-bg) 100%);
    color: var(--light-text);
    padding: 100px 0;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -5%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(250,221,115,0.08) 0%, rgba(250,221,115,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(248,149,183,0.08) 0%, rgba(248,149,183,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    position: relative;
}

.hero-text::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    top: -70px;
    left: -70px;
    background: linear-gradient(135deg, var(--accent-tertiary) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
}

.hero-text h1, .hero-text p {
    color: var(--light-text);
}

.hero-headline {
    font-size: 3.4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--light-text) 60%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-text .subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.7rem;
    opacity: 0.95;
    line-height: 1.5;
}

.hero-text .offer {
    font-size: 1.15rem;
    margin-bottom: 20px;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 18px;
    border-radius: 8px;
    display: inline-block;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-text .offer strong {
    color: var(--accent-primary);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    top: -30px;
    right: -30px;
    background: var(--accent-secondary);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(50px);
    z-index: -1;
}

.hero-image {
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    max-width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}


/* --- Why People Use It --- */
#why {
    background: linear-gradient(150deg, var(--colour-2) 0%, var(--colour-5) 100%);
    position: relative;
    overflow: hidden;
    color: var(--light-text);
    padding: 80px 0;
}

#why::before {
    content: '';
    position: absolute;
    top: -5%;
    right: -5%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

#why h2 {
    color: var(--light-text);
    position: relative;
    z-index: 2;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-primary);
    background-color: rgba(255, 255, 255, 0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--accent-primary);
    transition: height 0.3s ease;
}

.card:hover::before {
    height: 100%;
}

.card-icon {
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.card h4 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.card p {
    color: var(--light-text);
    opacity: 0.9;
}


/* --- How It Works --- */
#how-it-works {
    background-color: var(--colour-4); /* Light Gray */
}

#how-it-works h2 {
    color: var(--primary-text); /* Dark text */
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    text-align: center;
}

.step {
    flex: 1;
    position: relative;
    padding: 30px 20px;
    background-color: var(--light-bg); /* White background for steps */
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(33, 20, 58, 0.05); /* Subtle shadow */
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-primary); /* Yellow accent */
    color: var(--primary-bg); /* Dark text */
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 2px solid var(--light-bg); /* Make it pop slightly */
}

.step-visual {
    margin-bottom: 1.5rem;
    color: var(--accent-tertiary); /* Green icons */
}
.step h4 {
    color: var(--primary-text);
}
.step p {
    color: var(--secondary-text);
}

/* --- Preview Clip --- */
#preview {
    background: linear-gradient(135deg, var(--shade-1) 0%, var(--primary-bg) 100%);
    color: var(--light-text);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

#preview::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(250,221,115,0.1) 0%, rgba(250,221,115,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

#preview::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(248,149,183,0.1) 0%, rgba(248,149,183,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

#preview h2 {
    color: var(--light-text);
    position: relative;
    z-index: 2;
}

.audio-player-wrapper {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 15px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.audio-player-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.audio-player-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--accent-secondary);
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(30%, 30%);
}

.custom-audio-player {
    position: relative;
    width: 100%;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#waveform {
    margin: 0 20px;
    cursor: pointer;
}

.player-controls {
    display: flex;
    align-items: center;
    padding: 20px 20px 0;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--light-text);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.control-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.control-btn:hover i {
    transform: scale(1.1);
}

#playPauseBtn {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    box-shadow: 0 4px 15px rgba(248, 149, 183, 0.3);
}

#playPauseBtn:hover {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    box-shadow: 0 6px 20px rgba(248, 149, 183, 0.4);
}

.time-display {
    color: var(--light-text);
    font-size: 0.9rem;
    font-family: var(--font-main);
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.volume-slider {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 2px;
    width: 100%;
}

/* Hover effect for waveform */
#waveform:hover {
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .player-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .volume-control {
        margin: 10px 0 0 0;
        width: 100%;
        justify-content: center;
    }
    
    .volume-slider {
        width: 150px;
    }
}

.caption-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px 25px;
    border-radius: 12px;
    font-style: italic;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.caption-placeholder::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 10px;
    font-size: 60px;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.1);
}

.caption-placeholder::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: 10px;
    font-size: 60px;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.1);
}

.caption-text {
    margin: 0;
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.preview-cta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.preview-cta h3 {
    color: var(--light-text);
    font-size: 1.6rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preview-button {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 70%);
    color: var(--primary-bg);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 8px 20px rgba(248, 149, 183, 0.3);
}

.preview-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(248, 149, 183, 0.4);
}

/* --- Testimonials --- */
#testimonials {
    background-color: var(--colour-3); 
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}
#testimonials h2 {
    color: var(--primary-text);
}

/* Carousel Styling */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
    position: relative;
    flex-wrap: nowrap;
}

.testimonial-card {
    background-color: var(--light-bg);
    border: 1px solid var(--border-light);
    border-top: 4px solid var(--accent-secondary);
    padding: 25px;
    border-radius: 8px;
    flex: 0 0 calc(33.333% - 20px);
    min-width: 280px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(33, 20, 58, 0.05);
    transform: translateZ(0); /* Hardware acceleration */
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(33, 20, 58, 0.08);
}

/* Clone styling for better debugging if needed */
.testimonial-card.clone {
    /* Can add specific styling for clones if needed */
}

@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 15px);
        max-width: 350px;
    }
}

.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.nav-btn {
    background-color: var(--primary-bg);
    color: var(--light-text);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover {
    background-color: var(--accent-primary);
    color: var(--primary-bg);
    transform: translateY(-2px);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--border-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--accent-primary);
    transform: scale(1.2);
}

.dot:hover {
    background-color: var(--accent-secondary);
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-quaternary); /* Peach accent for avatar */
    margin-bottom: 15px;
    border: 2px solid var(--light-bg);
    box-shadow: 0 0 0 3px var(--accent-quaternary); /* Outer ring */
}

blockquote {
    border: none;
    padding: 0;
    margin: 0;
    font-style: italic;
}

blockquote p {
    margin-bottom: 0.5rem;
    color: var(--secondary-text);
}

cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-bg); /* Dark purple for the name/title */
    display: block;
    margin-top: 10px;
}

/* --- Final Call to Action --- */
#cta {
    background-color: var(--primary-bg); /* Dark Purple */
    color: var(--light-text);
    text-align: center;
    padding: 80px 0;
}

#cta h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light-text); /* White heading */
}

#cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--light-text); /* White paragraph */
}

.final-cta-button {
    padding: 16px 38px;
    font-size: 1.1rem;
    background-color: var(--accent-primary);
    color: var(--primary-bg);
    box-shadow: 0 8px 25px rgba(250, 221, 115, 0.3);
    letter-spacing: 0.5px;
}
.final-cta-button:hover {
     filter: brightness(1.05);
     transform: translateY(-3px) scale(1.02);
     box-shadow: 0 12px 30px rgba(250, 221, 115, 0.4);
}


/* --- Footer --- */
footer {
    background-color: var(--shade-1); /* Use the darkest shade */
    color: var(--light-text);
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}
footer p {
    color: var(--light-text);
    opacity: 0.8;
    margin: 0;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-visual {
        margin-top: 40px;
    }
     h1 { font-size: 2.5rem; }
    .hero-headline { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .hero-headline { font-size: 2.5rem; }

    .steps-container {
        flex-direction: column;
        gap: 30px; /* Adjusted gap */
    }
     .step {
         padding: 40px 20px 20px 20px; /* Adjust padding for top number */
     }
    .step-number {
         top: 15px; /* Bring inside slightly */
    }
    .testimonials-container {
         flex-direction: column;
         align-items: center;
         gap: 25px;
    }
    .testimonial-card {
         flex: 0 0 calc(100% - 30px);
         min-width: 280px;
         max-width: 100%;
         margin: 0 15px;
    }
    
    .carousel-nav {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
     section { padding: 40px 0; }
     #hero { padding: 60px 0; min-height: auto;}
     h1 { font-size: 2rem; }
     .hero-headline { font-size: 2.2rem; }
     h2 { font-size: 1.6rem; margin-bottom: 1.5rem;}
     #cta h3 { font-size: 1.8rem;}

    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .final-cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
     .hero-content { gap: 20px; }
}

/* --- Header Styles --- */
.site-header {
    background-color: var(--primary-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid var(--border-dark);
    backdrop-filter: blur(5px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    flex: 0 0 auto;
    z-index: 1010;
    padding: 5px 0;
}

.site-logo {
    height: 40px;
    width: auto;
}

.header-cta {
    flex: 0 0 auto;
}

.header-button {
    padding: 8px 18px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.header-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(250, 221, 115, 0.4);
}

/* Responsive header styles */
@media (max-width: 768px) {
    .header-container {
        padding: 0 10px;
    }
    
    .logo-container {
        text-align: left;
        padding: 5px 0;
    }
    
    .site-logo {
        height: 35px;
    }
    
    .header-button {
        padding: 7px 16px;
        font-size: 0.85rem;
    }
}

.listen-block {
    margin-bottom: 15px;
}