/* ===== EVERGLO DESIGN SYSTEM ===== */

:root {
    --cream: #FDF6F0;
    --cream-dark: #F5EDE4;
    --blush: #E8C4B8;
    --blush-deep: #D4A090;
    --rose: #C27B6B;
    --rose-dark: #A85D4E;
    --espresso: #2C1810;
    --espresso-soft: #4A3228;
    --champagne: #F0E1D4;
    --gold: #C9A96E;
    --gold-light: #DBBF8A;
    --sage: #A8B5A0;
    --mauve: #B8879B;
    --white: #FFFFFF;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--espresso);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== UTILITY ===== */
.font-display {
    font-family: var(--font-display);
}

.text-gold {
    color: var(--gold);
}

.text-rose {
    color: var(--rose);
}

.text-mauve {
    color: var(--mauve);
}

.bg-cream {
    background: var(--cream);
}

.bg-cream-dark {
    background: var(--cream-dark);
}

.bg-espresso {
    background: var(--espresso);
}

/* ===== BUTTONS ===== */
.btn-glo {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--espresso);
    color: var(--cream);
    border: none;
    padding: 16px 40px;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-glo:hover {
    background: var(--rose-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(194, 123, 107, 0.35);
}

.btn-glo-outline {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: transparent;
    color: var(--espresso);
    border: 2px solid var(--espresso);
    padding: 14px 38px;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-glo-outline:hover {
    background: var(--espresso);
    color: var(--cream);
    transform: translateY(-2px);
}

.btn-glo-rose {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--rose);
    color: var(--white);
    border: none;
    padding: 18px 48px;
    border-radius: 60px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-glo-rose:hover {
    background: var(--rose-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(194, 123, 107, 0.4);
}

/* ===== NAVBAR ===== */
.navbar-glo {
    background: rgba(253, 246, 240, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(44, 24, 16, 0.06);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar-glo.scrolled {
    box-shadow: 0 4px 30px rgba(44, 24, 16, 0.08);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--espresso);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo span {
    color: var(--rose);
}

.navbar-glo .nav-link {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--espresso-soft);
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

.navbar-glo .nav-link:hover {
    color: var(--rose);
}

.nav-cta-btn {
    font-size: 0.9rem !important;
    padding: 10px 24px !important;
    background: var(--espresso);
    color: var(--cream) !important;
    border-radius: 60px;
    margin-left: 8px;
}

.nav-cta-btn:hover {
    background: var(--rose-dark) !important;
    color: var(--white) !important;
}

/* ===== SECTION LABELS & HEADINGS ===== */
.section-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 16px;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--espresso);
    margin-bottom: 20px;
}

.section-heading em {
    font-style: italic;
    color: var(--rose);
}

.section-subtext {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--espresso-soft);
    max-width: 560px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 48px 0;
    border-top: 1px solid rgba(44, 24, 16, 0.06);
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--espresso);
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--rose);
}

.footer p {
    font-size: 0.9rem;
    color: var(--espresso-soft);
    opacity: 0.6;
}

.footer-links {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--espresso-soft);
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== GUIDE CONTENT (rendered markdown) ===== */
.guide-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--espresso);
}

.guide-content h1,
.guide-content h2,
.guide-content h3 {
    font-family: var(--font-display);
    color: var(--espresso);
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    line-height: 1.2;
}

.guide-content h1 { font-size: 1.8rem; }
.guide-content h2 { font-size: 1.4rem; }
.guide-content h3 { font-size: 1.15rem; }

.guide-content p {
    margin-bottom: 1em;
}

.guide-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1em 0;
}

.guide-content blockquote {
    border-left: 3px solid var(--rose);
    background: var(--cream);
    margin: 1.2em 0;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
}

.guide-content blockquote p:last-child {
    margin-bottom: 0;
}

.guide-content code {
    background: var(--cream-dark);
    color: var(--espresso);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
}

.guide-content pre {
    background: var(--espresso);
    color: var(--cream);
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.2em 0;
}

.guide-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: 0.88rem;
}

.guide-content ul,
.guide-content ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.guide-content li {
    margin-bottom: 0.4em;
}

.guide-content a {
    color: var(--rose);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.guide-content a:hover {
    color: var(--rose-dark);
}

.guide-content hr {
    border: none;
    border-top: 1px solid var(--cream-dark);
    margin: 2em 0;
}

.guide-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2em 0;
}

.guide-content th,
.guide-content td {
    padding: 10px 14px;
    border: 1px solid var(--cream-dark);
    text-align: left;
}

.guide-content th {
    background: var(--cream);
    font-weight: 600;
}

.guide-content strong {
    font-weight: 600;
}
