/* --- MODIFIED Lyora Color Scheme (Deep Royal Purple & Gold) --- */
:root {
    --primary: #2E0B38;
    /* Deep Royal Purple */
    --secondary: #C5A059;
    /* Metallic Gold */
    --accent: #E5C585;
    /* Soft Gold/Beige Accent */
    --dark: #1A1A1A;
    /* Dark Text (Near Black) */
    --light: #F9F9F7;
    /* Soft Cream/Alabaster Background */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Footer Variables mapped to new palette */
    --footer-bg: var(--primary); /* Deep Purple Background */
    --footer-text: var(--light); /* Cream Text */
    --footer-link-hover: var(--secondary); /* Gold Hover */
    --footer-divider-color: rgba(197, 160, 89, 0.2); /* Transparent Gold Divider */
}

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

html {
    font-size: 10px;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    position: relative;
    font-family: 'Montserrat', 'Roboto', sans-serif;
    overflow-x: hidden;
    font-size: 1.4rem;
    line-height: 1.6;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
    background-color: var(--light);
    position: relative;
    z-index: 2;
    padding-bottom: 50px;
}


/* --- Particle Canvas Section (Production Styles) --- */
#particleCanvasSection {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 300px; /* Fallback minimum height, JS will override with window.innerHeight */
}

#magic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Takes height from parent #particleCanvasSection */
    z-index: 1;
    background-color: #161515;
    transition: background-color 0.5s ease;
}

.playground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Takes height from parent #particleCanvasSection */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
    color: rgb(255, 255, 255);
    z-index: 2;
    /* font-family: 'Roboto', sans-serif !important; /* REMOVED - Let children define or inherit */
    /* font-size: 9px; */ /* REMOVED - Let children define font sizes */
}

.bottomPosition {
    text-align: center;
    margin-bottom: 50px;
    pointer-events: auto;
}

.bottomPosition h1 {
    font-family: inherit; /* Will inherit from body: 'Montserrat', 'Roboto', sans-serif */
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.2;
    color: inherit;
}

.minText {
    font-family: inherit; /* Will inherit from body */
    font-size: 1.6rem;
    font-weight: 400;
    opacity: 0.8;
    color: inherit;
}

/* --- Lyora Component Styles (Header, Buttons, Survey etc. - KEEP EXISTING) --- */
.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
    transition: transform 0.1s, border-color 0.3s, opacity 0.3s;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .cursor-follower {
        display: block;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
    color: var(--secondary); /* Changed to primary for visibility on light bg initially */
}

header.scrolled {
    background-color: rgba(249, 249, 247, 0.95); /* Adjusted to match new cream background */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    color: var(--primary);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-links-container {
    display: flex;
    gap: 20px;
    margin-right: 2em;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    color: inherit;
    text-decoration: none;
    transition: color 0.4s ease;
    display: block;
    font-size: 1.5rem;
}

header:not(.scrolled) .nav-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

header.scrolled .nav-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    color: inherit;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 3px;
    position: relative;
    overflow: hidden;
    padding-bottom: 5px;
    transition: color 0.4s ease;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary); /* Changed to Gold */
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s ease;
}

.logo:hover::after {
    transform: translateX(0);
}

.coming-soon-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    background-color: var(--light);
}

.coming-soon-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.9); /* More opaque for contrast */
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(46, 11, 56, 0.05); /* Slight purple tint shadow */
}

.coming-soon {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.coming-soon-content h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary); /* Changed to Purple */
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    background-color: var(--light);
    padding: 20px;
    border-radius: 15px;
    min-width: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--accent);
}

.countdown-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(46, 11, 56, 0.1);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary); /* Gold */
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary); /* Purple */
}

.newsletter {
    margin-top: 40px;
}

.newsletter p {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: var(--dark);
}

.email-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    flex-wrap: wrap;
}

.email-form input {
    flex: 1 1 auto;
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 1.5rem;
    outline: none;
    transition: var(--transition);
    background-color: var(--light);
    color: var(--dark);
    min-width: 200px;
    border: 1px solid var(--accent); /* Added subtle border */
}

.email-form input:focus {
    border-color: var(--primary);
}

.email-form button {
    padding: 10px 25px;
    background-color: var(--primary); /* Purple */
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    position: absolute;
    right: 5px;
    top: 5px;
    height: calc(100% - 10px);
    width: auto;
    flex-shrink: 0;
}

.email-form button:hover {
    background-color: var(--secondary); /* Gold hover */
    transform: translateY(-2px);
    color: var(--primary); /* Text becomes purple on hover for contrast */
    font-weight: 600;
}

#waitlistStatus {
    font-size: 1.3rem;
    margin-top: 10px;
    width: 100%;
    text-align: center;
    height: 1.5em;
    color: var(--secondary);
}

.parallax-container {
    min-height: 40vh;
    height: auto;
    overflow: hidden;
    position: relative;
    margin: 100px 0;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 0;
}

.layer-content {
    width: 80%;
    max-width: 800px;
    color: var(--dark);
}

.layer-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.layer-content p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--dark);
}

.quiz-btn,
.survey-nav-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--primary);
    color: white;
    margin: 5px;
}

.quiz-btn:hover,
.survey-nav-btn:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.quiz-btn:disabled,
.survey-nav-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.survey-prev-btn {
    background-color: var(--light);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.survey-prev-btn:hover {
    background-color: var(--accent);
}

.survey-section {
    padding: 100px 0;
    background-color: var(--light);
}

.survey-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(46, 11, 56, 0.08);
    text-align: left;
    border: 1px solid var(--accent);
}

.survey-container h2 {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.survey-container p {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.5rem;
}

.survey-container hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid var(--accent);
}

#surveyStartContainer {
    text-align: center;
    padding: 20px 0;
}

.survey-container fieldset {
    border: 1px solid var(--accent);
    padding: 20px;
    margin-bottom: 0;
    border-radius: 8px;
    display: none;
}

.survey-container fieldset.active-section {
    display: block;
}

.survey-container legend {
    font-weight: 700;
    font-size: 1.8rem;
    padding: 0 10px;
    color: var(--primary);
    margin-bottom: 15px;
}

.survey-container .form-group {
    margin-bottom: 25px;
}

.survey-container label {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 1.5rem;
}

.survey-container input[type="radio"]+label,
.survey-container input[type="checkbox"]+label {
    font-weight: 400;
    margin-left: 5px;
    cursor: pointer;
}

.survey-container input[type="radio"],
.survey-container input[type="checkbox"] {
    margin-right: 5px;
    cursor: pointer;
    transform: scale(1.1);
    accent-color: var(--secondary);
}

.survey-container input[type="text"],
.survey-container textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.4rem;
    margin-top: 5px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.survey-container input[type="text"]:focus,
.survey-container textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
}

.survey-container input[type="radio"]+label+input[type="text"],
.survey-container input[type="checkbox"]+label+input[type="text"] {
    margin-left: 10px;
    width: 60%;
    display: inline-block;
    vertical-align: middle;
}

.rating-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.rating-table th,
.rating-table td {
    text-align: center;
    padding: 8px 5px;
    border-bottom: 1px solid var(--accent);
}

.rating-table th {
    background-color: var(--light);
    font-weight: 600;
    color: var(--primary);
}

.rating-table td:first-child {
    text-align: left;
    font-weight: 500;
    width: 40%;
}

.rating-table input[type="radio"] {
    transform: scale(1.2);
}

.survey-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#surveyStatus {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.6rem;
    padding: 10px;
    border-radius: 5px;
    color: var(--primary);
}

#surveyStatus:empty {
    padding: 0;
}

.newsletter-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--secondary); /* Changed to Gold leaves */
    opacity: 0.2;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: fallingLeaves 15s linear infinite;
}

@keyframes fallingLeaves {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.2;
    }

    90% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg);
        opacity: 0;
    }
}

/* --- Social Links (Shared by Footer and potentially other areas) --- */
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--secondary);
}

.social-link:hover {
    background-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* --- NEW FOOTER STYLES --- */
.new-site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 50px 0 30px;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

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

.new-footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 30px;
}

.new-footer-brand {
    flex-basis: 100%; 
}

.new-footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--secondary); /* Gold Logo in footer */
    text-decoration: none;
    letter-spacing: 3px;
    display: inline-block; 
    margin-bottom: 8px;
}

.new-footer-tagline {
    font-size: 1.4rem;
    opacity: 0.8;
    margin-bottom: 20px;
    color: var(--footer-text);
}

.new-footer-connect {
    flex-basis: 100%; 
}

.new-footer-connect-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary);
}

.new-footer-social-icons {
    display: flex;
    justify-content: center; 
    gap: 20px;
}

.new-footer-social-icons .social-link {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--footer-text);
    border: 1px solid var(--secondary);
}
.new-footer-social-icons .social-link:hover {
    background-color: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}


.new-footer-divider {
    height: 1px;
    background-color: var(--footer-divider-color);
    margin: 30px 0;
}

.new-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.new-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px;
}

.new-footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 1.3rem;
    opacity: 0.8;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.new-footer-links a:hover {
    opacity: 1;
    color: var(--footer-link-hover);
}

.new-footer-links span {
    opacity: 0.5;
    font-size: 1.3rem;
}

.new-footer-copyright {
    font-size: 1.2rem;
    opacity: 0.7;
    text-align: center;
    width: 100%;
}


/* --- Mood Selector --- */
.interactive-emoji {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 100;
    color: white;
    border: 2px solid var(--secondary);
}

.interactive-emoji:hover {
    transform: scale(1.1);
    background-color: var(--secondary);
    color: var(--primary);
}

.mood-selector {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: white;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 100;
    border: 1px solid var(--secondary);
}

.mood-selector.active {
    display: block;
    animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mood-title {
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: center;
    color: var(--primary);
}

.mood-options {
    display: flex;
    gap: 10px;
}

.mood-option {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    color: var(--dark);
    font-size: 1.2rem;
}

.mood-option:hover {
    background-color: var(--accent);
    transform: scale(1.1);
}

/* --- Loading Screen --- */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-animation {
    width: 100px;
    height: 100px;
    position: relative;
}

.loading-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.loading-circle:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color: var(--secondary);
    animation: spin 1.5s linear infinite reverse;
}

.loading-circle:nth-child(3) {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-top-color: var(--accent);
    animation: spin 1.8s linear infinite;
}

.loading-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Media Queries --- */
@media (min-width: 768px) { /* Styles for tablet and desktop */
    .new-footer-brand {
        flex-basis: auto;
        text-align: left; 
        margin-right: auto;
    }

    .new-footer-tagline {
         margin-bottom: 0;
         text-align: left; /* Ensure tagline is left-aligned with logo */
    }

    .new-footer-connect {
        flex-basis: auto;
        text-align: right; 
    }
    .new-footer-connect-title {
        text-align: right; /* Ensure connect title is right-aligned */
    }
    .new-footer-social-icons {
        justify-content: flex-end; 
    }

    .new-footer-bottom {
        flex-direction: row;
        justify-content: center; 
        align-items: center;
    }
    .new-footer-links {
        margin-bottom: 0;
    }
    .new-footer-copyright {
        text-align: center;
    }
}


@media (max-width: 767px) {
    html {
        font-size: 9.5px;
    }

    body {
        font-size: 1.3rem;
    }

    .bottomPosition h1 {
        font-size: 2rem; /* Adjusted for mobile */
    }

    .minText {
        font-size: 1.4rem; /* Adjusted for mobile */
    }
    
    .coming-soon-content h2 {
        font-size: 2rem;
    }

    .layer-content h2 {
        font-size: 2.5rem;
    }

    .container,
    .navbar {
        padding: 0 15px;
    }

    header {
        padding: 15px 0;
    }

    /* NEW FOOTER MOBILE ALIGNMENT */
    .new-footer-brand,
    .new-footer-connect {
        display: flex;           
        flex-direction: column; 
        align-items: center;    
        width: 100%; 
    }

    .new-footer-brand .new-footer-logo, 
    .new-footer-brand .new-footer-tagline,
    .new-footer-connect .new-footer-connect-title {
        text-align: center;
        width: 100%; 
    }


    .new-footer-social-icons {
        justify-content: center; 
    }
    .new-footer-bottom {
        text-align: center; 
    }
    .new-footer-links {
        justify-content: center; 
    }


    .email-form button {
        position: static;
        width: 100%;
        margin-top: 10px;
        padding: 15px;
        height: auto;
    }

    .parallax-container {
        height: auto;
        min-height: 30vh;
        margin: 50px 0;
        padding: 30px 0;
    }

    .layer-content {
        width: 90%;
    }

    .layer-content p {
        font-size: 1.5rem;
    }

    .survey-container {
        padding: 20px;
    }

    .survey-container h2 {
        font-size: 2rem;
    }

    .survey-container legend {
        font-size: 1.6rem;
    }

    .survey-container label {
        font-size: 1.4rem;
    }

    .survey-container input[type="radio"]+label+input[type="text"],
    .survey-container input[type="checkbox"]+label+input[type="text"] {
        width: 50%;
    }

    .rating-table {
        font-size: 1.2rem;
    }

    .rating-table td:first-child {
        width: auto;
    }

    .survey-navigation {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .survey-nav-btn {
        width: 100%;
    }

    .interactive-emoji {
        bottom: 20px;
        right: 20px;
    }

    .mood-selector {
        bottom: 90px;
        right: 20px;
    }
}