/* ==========================================================================
   TALMID LAB LANDING PAGE STYLESHEET
   --------------------------------------------------------------------------
   Colors:
   - Off-White Background: #FDF9F1
   - Primary Graphite:     #282C2F
   - Secondary Text:       #5A5C5C
   - Light Grey Accent:    #A4A4A1
   - Gold Accent (CTA):    #DAB466
   - Soft Gold Beige:      #D5C5A3
   ========================================================================== */

/* --- CSS Variables & Reset --- */
:root {
    --bg-color: #FDF9F1;
    --primary-color: #282C2F;
    --text-secondary: #5A5C5C;
    --light-grey: #A4A4A1;
    --accent-color: #DAB466;
    --accent-hover: #C5A059;
    --border-color: #D5C5A3;
    
    --card-bg: #FFFFFF;
    --card-hover-shadow: 0 12px 24px rgba(40, 44, 47, 0.08);
    --card-border-hover: rgba(218, 180, 102, 0.4);
    
    --font-title: 'Lora', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 800px;
}

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

.text-light {
    color: #FFFFFF !important;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-title);
    font-weight: 600;
    line-height: 1.25;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

p:last-child {
    margin-bottom: 0;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--primary-color);
}

/* --- Section Headers --- */
.section-header {
    margin-bottom: 60px;
}

.section-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto;
}

.title-divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 16px auto;
}

/* --- Buttons & CTAs --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
    box-shadow: 0 4px 12px rgba(40, 44, 47, 0.15);
}

.btn-primary:hover {
    background-color: #1a1d1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(40, 44, 47, 0.25);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(218, 180, 102, 0.25);
}

.btn-secondary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(218, 180, 102, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.icon-telegram {
    transition: transform var(--transition-normal);
}

.btn:hover .icon-telegram {
    transform: translateX(3px) scale(1.05);
}

/* Pulse animation for key conversion buttons */
.btn-pulse {
    position: relative;
    z-index: 1;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-color: inherit;
    z-index: -1;
    opacity: 0.4;
    transform: scale(1);
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.05);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* --- Header & Navigation --- */
.main-header {
    height: var(--header-height);
    background-color: rgba(253, 249, 241, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(213, 197, 163, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: 0 4px 20px rgba(40, 44, 47, 0.05);
    border-bottom-color: rgba(213, 197, 163, 0.6);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.logo-area:hover {
    opacity: 0.9;
}

.logo-img {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-header-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-header-cta:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 6px;
    transition: color var(--transition-fast);
}

.mobile-menu-toggle:hover {
    color: var(--accent-color);
}

/* --- Hero Section --- */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(218, 180, 102, 0.15);
    color: #b0893b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero-cta-caption {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.hero-image-area {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image-frame {
    position: relative;
    max-width: 380px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(40, 44, 47, 0.1);
    border: 1px solid var(--border-color);
    background-color: var(--primary-color);
    transition: transform var(--transition-slow);
}

.hero-image-frame:hover {
    transform: scale(1.02) rotate(1deg);
}

.hero-featured-img {
    width: 100%;
    height: auto;
    filter: brightness(0.95);
    transition: filter var(--transition-normal);
}

.hero-image-frame:hover .hero-featured-img {
    filter: brightness(1.02);
}

.frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(253, 249, 241, 0) 50%, rgba(40, 44, 47, 0.2) 100%);
    pointer-events: none;
}

/* --- Section: O que é (About) --- */
.about-section {
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 100px 0;
    position: relative;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.about-description p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-description p.lead-text {
    color: #FFFFFF;
    font-size: 1.3rem;
    font-weight: 500;
}

.about-action-wrapper {
    margin-top: 24px;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.pillar-card {
    display: flex;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 24px;
    border-radius: 16px;
    border-left: 4px solid var(--accent-color);
    transition: background-color var(--transition-normal), transform var(--transition-normal);
}

.pillar-card:hover {
    background-color: rgba(255, 255, 255, 0.06);
    transform: translateX(6px);
}

.pillar-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(218, 180, 102, 0.15);
    color: var(--accent-color);
    flex-shrink: 0;
}

.pillar-body h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.pillar-body p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* --- Section: Para quem é (Audience) --- */
.audience-section {
    padding: 100px 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.audience-card {
    background-color: var(--card-bg);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(213, 197, 163, 0.3);
    box-shadow: 0 4px 10px rgba(40, 44, 47, 0.02);
    transition: all var(--transition-normal);
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--card-border-hover);
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: rgba(218, 180, 102, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform var(--transition-normal);
}

.audience-card:hover .card-icon {
    transform: scale(1.1);
}

.audience-card h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.audience-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Highlighted last card */
.audience-card-highlight {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.audience-card-highlight h3 {
    color: #FFFFFF;
}

.audience-card-highlight p {
    color: rgba(255, 255, 255, 0.7);
}

.audience-card-highlight .card-icon {
    background-color: rgba(218, 180, 102, 0.2);
    color: var(--accent-color);
}

.audience-card-highlight:hover {
    border-color: var(--accent-color);
    background-color: #1f2224;
}

/* --- Section: Telegram Beta --- */
.telegram-beta-section {
    padding: 60px 0;
    position: relative;
}

.beta-box {
    background: linear-gradient(135deg, #FDF9F1 0%, #F5EFEB 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(40, 44, 47, 0.03);
}

.beta-badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 24px;
}

.beta-content h2 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.beta-desc {
    font-size: 1.1rem;
    line-height: 1.65;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.beta-highlight {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background-color: rgba(218, 180, 102, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 12px 12px 0;
    margin-bottom: 32px;
}

.alert-icon {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.beta-highlight span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #8c6f35;
    line-height: 1.5;
}

.beta-cta-area {
    display: flex;
    justify-content: flex-start;
}

.beta-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-graphic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 8px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    box-shadow: 0 15px 30px rgba(40, 44, 47, 0.15);
    transition: transform var(--transition-slow);
}

.beta-box:hover .circle-graphic {
    transform: rotate(5deg) scale(1.05);
}

.circle-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.circle-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* --- Section: O que encontrar (Features) --- */
.features-section {
    padding: 100px 0;
    background-color: var(--card-bg);
    border-top: 1px solid rgba(213, 197, 163, 0.3);
    border-bottom: 1px solid rgba(213, 197, 163, 0.3);
}

.features-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.features-info {
    position: sticky;
    top: 120px;
}

.features-lead {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.features-list-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 12px;
    transition: background-color var(--transition-fast);
}

.feature-item:hover {
    background-color: rgba(253, 249, 241, 0.5);
}

.feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(218, 180, 102, 0.15);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon {
    width: 14px;
    height: 14px;
}

.feature-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.feature-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* --- Section: Chamada Final --- */
.cta-final-section {
    background-color: var(--primary-color);
    padding: 100px 0;
    color: #FFFFFF;
    position: relative;
}

.cta-final-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(218, 180, 102, 0.05) 0%, transparent 80%);
    pointer-events: none;
}

.cta-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    display: block;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 1.2rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.cta-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- Footer --- */
.main-footer {
    background-color: #1a1d1f;
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.logo-img-footer {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(213, 197, 163, 0.3);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: -4px;
}

.footer-info {
    text-align: right;
    max-width: 500px;
}

.footer-disclaimer {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-email {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.footer-email-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-email-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* --- Animation Classes (Scroll Reveal) --- */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-delayed {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* --- Responsive Adjustments --- */

@media (max-width: 1024px) {
    .hero-container {
        gap: 32px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .beta-box {
        grid-template-columns: 1fr;
        padding: 40px;
        text-align: center;
    }
    
    .beta-cta-area {
        justify-content: center;
    }
    
    .beta-highlight {
        justify-content: center;
        text-align: left;
    }
    
    .circle-graphic {
        margin: 0 auto;
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-info {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 40px 24px;
        gap: 24px;
        transform: translateY(-120%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-top: 1px solid rgba(213, 197, 163, 0.2);
        box-shadow: 0 10px 30px rgba(40, 44, 47, 0.1);
        overflow-y: auto;
    }
    
    .nav-menu.open {
        transform: translateY(0);
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 8px 0;
    }
    
    .btn-header-cta {
        width: 100%;
        max-width: 300px;
        margin-top: 12px;
    }
    
    /* Layout */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image-area {
        order: 0;
        margin-bottom: 20px;
    }
    
    .hero-cta-wrapper {
        align-items: center;
        width: 100%;
    }
    
    .btn-large {
        width: 100%;
        font-size: 1rem;
        padding: 16px 24px;
    }
    
    .section-title {
        font-size: 1.85rem;
    }
    
    .about-section {
        padding: 80px 0;
    }
    
    .audience-section {
        padding: 80px 0;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
    }
    
    .features-section {
        padding: 80px 0;
    }
    
    .cta-final-section {
        padding: 80px 0;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-info {
        text-align: center;
    }
}
