/* 
   FinanceiraMente Landing Page Styles
   Palette:
   - Light Background (Cream/Beige): #f8eee9
   - Dark Green/Sage: #758C89
   - Terracotta/Clay Brown: #7D4032
   - Text Dark: #2c2c2c
   - Text Light: #f8eee9
*/

:root {
    --color-bg-light: #f8eee9;
    --color-sage: #758C89;
    --color-terracotta: #7D4032;
    --color-text-dark: #2c2c2c;
    --color-text-light: #f8eee9;
    --color-btn-beige: #f0e6dd;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

.text-center {
    text-align: center;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 700;
}

strong {
    font-weight: 700;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.dark-text {
    color: var(--color-terracotta);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-sage {
    background-color: var(--color-sage);
    color: var(--color-text-light);
}

.btn-beige {
    background-color: var(--color-bg-light);
    color: var(--color-sage);
    /* Contrast for text */
}

.btn-terracotta {
    background-color: var(--color-terracotta);
    color: var(--color-text-light);
}

/* Hero Section */
.hero-section {
    background-color: var(--color-bg-light);
    padding: 60px 0 80px;
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.logo {
    height: 120px;
    /* Adjust based on logo aspect ratio */
    object-fit: contain;
}

.tagline-pill {
    display: inline-block;
    background-color: rgba(125, 64, 50, 0.1);
    /* Light terracotta tint */
    color: var(--color-terracotta);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(125, 64, 50, 0.2);
}

.headline {
    font-size: 3rem;
    color: var(--color-sage);
    margin-bottom: 24px;
    line-height: 1.2;
}

.headline strong {
    color: var(--color-terracotta);
}

.subheadline {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
}

/* Specialist Section */
.specialist-section {
    background-color: var(--color-sage);
    padding: 80px 0;
    color: var(--color-text-light);
}

.specialist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.specialist-name {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.specialist-bio {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.95;
}

.specialist-img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Learning Section */
.learning-section {
    background-color: var(--color-terracotta);
    padding: 80px 0;
    color: var(--color-text-light);
}

.learning-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.learning-card {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.learning-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.learning-card p {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Scarcity Section */
.scarcity-section {
    background-color: var(--color-sage);
    padding: 60px 0;
    color: var(--color-text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scarcity-text {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Bonus Section */
.bonus-section {
    background-color: var(--color-bg-light);
    padding: 80px 0;
}

.bonus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bonus-img {
    border-radius: 50%;
    /* Circular or rounded as per vibe, prompt said focus on face */
    width: 400px;
    height: 400px;
    object-fit: cover;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bonus-content {
    text-align: left;
}

.bonus-text {
    font-size: 1.2rem;
    margin-bottom: 32px;
    color: #555;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--color-bg-light);
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
    z-index: 1001;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--color-terracotta);
    text-decoration: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

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

/* Footer */
.footer {
    background-color: #222;
    color: #888;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .headline {
        font-size: 2rem;
    }

    .specialist-grid,
    .bonus-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .bonus-grid {
        display: flex;
        flex-direction: column-reverse;
        /* Image on top on mobile usually, or bottom? Let's keep standard stacking */
        flex-direction: column;
    }

    .bonus-img {
        width: 300px;
        height: 300px;
    }

    .bonus-content {
        text-align: center;
    }

    .modal-content {
        margin: 15% auto;
        width: 95%;
    }
}