:root {
    /* Tropical & High-Converting Palette */
    --primary: #ff4757;       /* Urgent Red/Pink */
    --primary-dark: #ff253a;
    --secondary: #ffa502;     /* Alert Orange */
    --accent: #2ed573;        /* Success Green */
    --dark-green: #0a3d24;    /* Farm Rio base color */
    --light: #fdfbf7;
    --dark: #2f3542;
    
    /* Fonts */
    --font-head: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

body {
    font-family: var(--font-body);
    background: url('bg.png') center/cover fixed, linear-gradient(135deg, #0a3d24, #1a5e3a);
    color: var(--dark);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 80px; /* Space for mobile sticky button */
}

/* Urgency Bar */
.urgency-bar {
    width: 100%;
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

/* Main Layout */
.main-container {
    width: 100%;
    max-width: 600px; /* Kept narrow for extreme mobile focus & conversion */
    margin: 20px auto 40px;
    background: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 30px 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
    border: 1px solid rgba(255,255,255,0.5);
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.hero-image-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.profile-photo {
    width: 180px;
    height: 240px;
    object-fit: cover;
    border-radius: 100px 100px 20px 20px; /* Elegant Arch Shape */
    border: 6px solid white;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    animation: float 6s ease-in-out infinite;
}

.scarcity-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-green);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 2px solid white;
}

.live-icon {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse 1s infinite;
}

/* Typography */
.main-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    color: var(--dark-green);
    line-height: 1.1;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.main-title em {
    color: var(--primary);
    font-style: italic;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 25px;
}

/* Progress Scarcity Box */
.scarcity-box {
    width: 100%;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 2px solid rgba(255, 71, 87, 0.1);
}

.scarcity-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.percentage {
    color: var(--primary);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    width: 98%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 10px;
    animation: fillProgress 2s ease-out;
}

.scarcity-timer {
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
}

.scarcity-timer strong {
    color: var(--primary);
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
}

/* Groups Section */
.section-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--dark-green);
    text-align: center;
    margin-bottom: 20px;
}

.cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.group-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #eaeaea;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.group-card:active {
    transform: scale(0.98);
}

.highlight-card {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 25px rgba(255, 71, 87, 0.15);
}

.card-tag {
    position: absolute;
    top: 15px;
    right: -25px;
    background: var(--dark-green);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 30px;
    transform: rotate(45deg);
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.alert-tag { background: var(--primary); }
.warning-tag { background: var(--secondary); color: #fff;}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    color: var(--dark-green);
    margin-bottom: 5px;
}

.card-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Buttons */
.btn-join {
    display: block;
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.3);
    transition: all 0.3s;
}

.pulse-btn {
    animation: btnPulse 2s infinite;
}

.btn-secondary {
    background: var(--dark-green);
    box-shadow: 0 8px 20px rgba(10, 61, 36, 0.2);
}

/* Floating Social Hub */
.floating-social-hub {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: btnPulse 3s infinite;
}

.floating-btn:hover {
    transform: scale(1.15);
    animation: none;
}

.fb-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.3);
}

.fb-whatsapp {
    background: #25D366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}


/* Promo Toast */
.promo-toast {
    position: fixed;
    bottom: -250px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--primary);
    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 1001;
    max-width: 320px;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.promo-toast.show {
    bottom: 30px;
}

.close-toast {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark);
}

.toast-content h4 {
    color: var(--dark-green);
    font-size: 1rem;
    margin-bottom: 5px;
}

.toast-content p {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 12px;
}

.code-box {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(255, 71, 87, 0.2);
}

.code-box strong {
    display: block;
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-top: 2px;
}

/* Trust Section */
.trust-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.trust-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-green);
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid #eaeaea;
    display: none; /* Hide on desktop */
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

@keyframes btnPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

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

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 98%; }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: revealAnim 0.8s forwards;
}

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

/* Responsive */
@media (max-width: 768px) {
    .main-container {
        margin: 15px;
        padding: 25px 20px;
        border-radius: 25px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .mobile-sticky-cta {
        display: block;
    }
    
    .floating-social-hub {
        bottom: 110px;
        right: 15px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
    }
    
    .floating-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .promo-toast {
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        bottom: -250px;
    }
    
    .promo-toast.show {
        bottom: 110px; /* Acima da barra fixa do celular */
    }
}
