/* RootAura Brand Palette */
:root {
    --cream: #F9F7F2;
    --forest-green: #1B3022;
    --antique-gold: #D4AF37;
    --earth-brown: #4A3728;
    --soft-glow: rgba(212, 175, 55, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Replace 'background.jpg' with your actual image file */
    background: linear-gradient(rgba(249, 247, 242, 0.92), rgba(249, 247, 242, 0.92)), 
                url('background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Keeps the image still while the page breathes */
    
    font-family: 'Montserrat', sans-serif;
    color: var(--forest-green);
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Hero Section Layout */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 20px;
}

/* Enhancing the Aura for the Background */
.aura-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    /* We make the glow slightly stronger to stand out against the texture */
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(249, 247, 242, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 5s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0.8; }
    100% { transform: scale(0.9); opacity: 0.4; }
}

.content {
    position: relative;
    z-index: 2;
}

/* Logo handling - prevents blur by using native dimensions */
.main-logo {
    width: 159px; 
    height: auto;
    margin-bottom: 2.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    image-rendering: -webkit-optimize-contrast; 
}

/* Typography */
.tagline {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 400;
}

.tagline span {
    font-style: italic;
    color: var(--antique-gold);
}

.description {
    font-size: 0.95rem;
    max-width: 450px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
    opacity: 0.8;
}

/* Progress Bar */
.status-container {
    margin-bottom: 2.5rem;
}

.status-text {
    font-size: 0.65rem;
    letter-spacing: 3px;
    margin-bottom: 8px;
    color: var(--earth-brown);
}

.progress-bar {
    width: 160px;
    height: 1px;
    background: rgba(27, 48, 34, 0.1);
    margin: 0 auto;
}

.progress-fill {
    width: 90%;
    height: 100%;
    background: var(--antique-gold);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 14px 38px;
    border: 1px solid var(--forest-green);
    color: var(--forest-green);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    transition: all 0.4s ease;
}

.cta-button:hover {
    background-color: var(--forest-green);
    color: var(--cream);
    letter-spacing: 3px;
}

/* Footer Styles */
footer {
    padding: 3rem 2rem;
    text-align: center;
}

.philosophy {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    color: var(--forest-green);
    opacity: 0.6;
}

.copyright {
    font-size: 0.7rem;
    color: var(--earth-brown);
    opacity: 0.5;
}

.footer-link {
    color: var(--forest-green);
    text-decoration: none;
    border-bottom: 1px solid var(--antique-gold);
    margin-left: 5px;
}

.footer-link-a {
    color: var(--forest-green);
    text-decoration: none;
    border-bottom: 1px solid var(--antique-gold);
    margin-left: 5px;
    font-size: 13px;
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
    .tagline { font-size: 1.8rem; }
    .description { font-size: 0.85rem; width: 90%; }
    .aura-glow { width: 220px; height: 220px; }
}


/* Legal Page Specific Styles */
.legal-page {
    overflow-y: auto; /* Allows scrolling for long text */
    height: auto;
    min-height: 100vh;
}

.legal-header {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.back-home {
    text-decoration: none;
    color: var(--antique-gold);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s;
}

.back-home:hover {
    color: var(--forest-green);
}

.footer-logo {
    width: 100px; /* Smaller logo for legal pages */
    height: auto;
    opacity: 0.8;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 80px 20px;
}

.legal-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.legal-content h1 span {
    font-style: italic;
    color: var(--antique-gold);
}

.last-updated {
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 50px;
    opacity: 0.5;
}

.policy-block {
    margin-bottom: 40px;
}

.policy-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--forest-green);
    margin-bottom: 15px;
}

.policy-block p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--earth-brown);
    opacity: 0.9;
}

/* Ensure the footer stays at the bottom of long pages */
footer 
.privacy {
    border-top: 1px solid rgba(27, 48, 34, 0.05);
    margin-top: auto;
}