/* Global Styles aligned with Aura Tarot App */
:root {
    --color-app-bg: #FDFCF8;
    --color-surface: #FFFFFF;
    --color-accent-sage: #A7AD9B;
    --color-accent-gold: #D4AF37;
    --color-text-main: #333333; /* Slightly darker for better readability */
    --color-text-muted: #666666;
    --color-pastel-rose: #EEDDDA;
    --color-app-border: rgba(167, 173, 155, 0.3);
    
    --font-serif: "Georgia", ui-serif, Cambria, "Times New Roman", Times, serif;
    --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-app-bg);
    /* Soft "Aura" blurred blobs in the background to give it depth */
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(238, 221, 218, 0.6) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(167, 173, 155, 0.25) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--color-text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: normal;
    color: var(--color-text-main);
}

a {
    color: var(--color-accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #b5952f;
    text-decoration: underline;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 252, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-app-border);
    box-shadow: 0 4px 20px rgba(167, 173, 155, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text-main);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand:hover {
    text-decoration: none;
}

.nav-brand::before {
    content: '✧';
    color: var(--color-accent-gold);
    font-size: 1.8rem;
    line-height: 1;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-family: var(--font-serif);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-accent-gold);
    text-decoration: none;
}

/* Hero Section */
.hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 2rem 5rem;
    position: relative;
    /* Extra gradient fading into the background */
    background: linear-gradient(180deg, rgba(238, 221, 218, 0.7) 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    font-family: var(--font-serif);
    max-width: 600px;
    margin: 0 auto;
}

/* Main Container & Cards */
.container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.legal-page {
    padding-top: 8rem;
}

.content-section {
    scroll-margin-top: 100px;
    margin-bottom: 3rem;
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-app-border);
    border-top: 4px solid var(--color-accent-gold); /* Gives it a structured, premium look */
    border-radius: 16px;
    padding: 3.5rem;
    /* Soft, wide shadow tinted with the sage color to prevent the "empty" look */
    box-shadow: 0 20px 50px rgba(167, 173, 155, 0.2); 
    position: relative;
    overflow: hidden;
}

/* Decorative watermark inside cards */
.card::before {
    content: '✧';
    position: absolute;
    top: -30px;
    right: -20px;
    font-size: 12rem;
    color: var(--color-accent-gold);
    opacity: 0.04;
    font-family: var(--font-serif);
    pointer-events: none;
}

/* Typography inside sections */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-app-border);
    color: var(--color-text-main);
    text-align: center;
}

.section-body h3 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--color-accent-gold);
}

.section-body p {
    margin-bottom: 1.2rem;
}

.last-updated {
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem !important;
}

/* Lists */
.custom-list {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    background: rgba(167, 173, 155, 0.05); /* very subtle box behind lists */
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    border-radius: 8px;
}

.custom-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.5rem;
}

.custom-list li::marker {
    color: var(--color-accent-sage);
}

.custom-list strong {
    color: var(--color-text-main);
    font-weight: 600;
}

/* Contact Box */
.contact-box {
    background: #fff;
    border: 2px dashed var(--color-app-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 2.5rem 0;
    box-shadow: inset 0 0 20px rgba(167, 173, 155, 0.05);
}

.contact-box strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
    font-weight: normal;
}

.email-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent-gold);
    font-family: var(--font-serif);
}

/* Footer */
.footer {
    border-top: 1px solid var(--color-app-border);
    padding: 3rem 0;
    text-align: center;
    background: rgba(253, 252, 248, 0.9);
}

.footer-content p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-tagline {
    margin-top: 0.5rem;
    font-family: var(--font-serif);
    color: var(--color-accent-sage) !important;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .email-link {
        font-size: 1.2rem;
    }
}
