/* CSS Variables & Premium Design System */
:root {
    /* Palette */
    --color-bg: #FAFAF8;
    /* Ultra-light warm gray/beige */
    --color-bg-alt: #F2F0EB;
    /* Slightly darker beige for sections */
    --color-white: #FFFFFF;

    --color-text-main: #2C3333;
    /* Deep Charcoal for readability */
    --color-text-light: #4F5D5D;

    --color-emerald: #2D5C52;
    /* Muted Emerald - Trust/Authority */
    --color-emerald-dark: #1F423A;

    --color-accent: #C28E5B;
    /* Warm earthy gold/bronze for highlights */
    --color-cta: #D27D4A;
    /* Terracotta/Salmon for primary CTA - stands out against green */
    --color-cta-hover: #B86536;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* More depth */
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    /* Floating elements */
    --shadow-glow: 0 0 20px rgba(210, 125, 74, 0.3);

    --border-radius: 12px;
    /* Slightly more structured than round */
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 18px;
    /* Readable mobile base */
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    /* Bolder */
    color: var(--color-emerald-dark);
    line-height: 1.25;
}

p {
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.bg-white {
    background-color: var(--color-white);
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

.bg-emerald {
    background-color: var(--color-emerald);
    color: var(--color-white);
}

.hidden-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none;
    }
}

/* Typography Hierarchy */
.heading-xl {
    font-size: 3.2rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.heading-lg {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

.heading-md {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.subheading {
    font-size: 1.25rem;
    color: var(--color-text-light);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 2rem auto;
}

.highlight {
    color: var(--color-cta);
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    z-index: 10;
}

.btn-primary {
    background-color: var(--color-cta);
    color: var(--color-white);
    box-shadow: 0 10px 20px rgba(210, 125, 74, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-cta-hover);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(210, 125, 74, 0.4);
}

.btn-pulse {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(210, 125, 74, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(210, 125, 74, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(210, 125, 74, 0);
    }
}

.btn-full-mobile {
    width: auto;
}

/* Header */
.header {
    padding: 20px 0;
    position: absolute;
    width: 100%;
    z-index: 50;
    background: transparent;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-emerald-dark);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image-container {
    margin-top: 40px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img {
    width: 100%;
    display: block;
    transform: scale(1.02);
    transition: transform 2s ease;
}

.hero:hover .hero-img {
    transform: scale(1.05);
}

/* Sections */
.box-feature {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    margin: 30px 0;
    border-top: 4px solid var(--color-emerald);
}

.checklist {
    text-align: left;
    margin: 30px auto;
    display: inline-block;
}

.checklist li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-emerald);
    font-weight: 900;
    font-size: 1.2rem;
    background: var(--color-bg-alt);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Split Layouts */
.split-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-content {
    flex: 1;
}

.split-image {
    flex: 1;
}

.split-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* Authority/Blockquote */
.quote-box {
    border-left: 4px solid var(--color-accent);
    padding-left: 30px;
    margin: 40px 0;
    font-style: italic;
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

/* Footer & Compliance */
.footer {
    background-color: var(--color-emerald-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
    font-size: 0.9rem;
    text-align: center;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-white);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.footer-links a:hover {
    border-color: var(--color-white);
}

.disclaimer-section {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0.6;
}

.pre-footer-disclaimer {
    background: #F1F1F1;
    color: #666;
    padding: 15px;
    font-size: 0.75rem;
    text-align: center;
}

/* Utilities for visual flow */
.arrow-down-divider {
    color: var(--color-accent);
    font-size: 2rem;
    margin: 20px 0;
    opacity: 0.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .heading-xl {
        font-size: 2.4rem;
    }

    .heading-lg {
        font-size: 2rem;
    }

    .split-section {
        flex-direction: column;
        text-align: center;
    }

    .btn-full-mobile {
        width: 100%;
        display: block;
        text-align: center;
    }

    .checklist {
        display: block;
    }

    .hero {
        padding-top: 100px;
    }
}

/* Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}