/* ================================
   XIRUBOT - LANDING PAGE STYLES
   ================================ */

:root {
    --primary-color: #075e54;
    --secondary-color: #ece5dd;
    --accent-color: #25d366;
    --text-color-light: #f8f9fa;
    --text-color-dark: #333;
    --logo-green-dark: #0f4c3a;
    --logo-green-light: #7cb342;
}

/* Reset e Base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    color: var(--text-color-dark);
    margin: 0;
    padding: 0;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 10px 0;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img,
.hero-logo-img,
.footer-logo-img {
    max-width: 200px;
    height: auto;
}

.hero-logo-img {
    background: rgba(255, 255, 255, 0.3);;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.footer-logo-img {
    background: rgba(255, 255, 255, 0.3);;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {

    .logo-img,
    .hero-logo-img,
    .footer-logo-img {
        max-width: 150px;
    }
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* Botões Header */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-outline-success {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 1rem;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #128c7e);
    padding: 140px 0 100px;
    color: var(--text-color-light);
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-logo-text {
    color: white;
}

.hero-logo-text .logo-text {
    color: white;
    font-size: 1.5rem;
}

.hero-logo-text .logo-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Botões CTA */
.cta-button {
    background: var(--accent-color);
    color: white !important;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    border: none;
    font-size: 1.1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white !important;
}

/* Componentes */
.chat-interface {
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(7, 94, 84, 0.3);
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.benefit-card {
    border: none;
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s;
    margin-bottom: 30px;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(7, 94, 84, 0.3);
}

/* Cards de Planos */
.plan-card {
    border: 2px solid #e9ecef;
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 30px;
    text-align: center;
    transition: all 0.3s;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.plan-card.popular {
    background: linear-gradient(135deg, var(--primary-color), #128c7e);
    color: var(--text-color-light);
    box-shadow: 0 20px 40px rgba(7, 94, 84, 0.3);
    transform: translateY(-15px);
    border-color: var(--accent-color);
}

.plan-card.popular:hover {
    transform: translateY(-20px);
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    flex-grow: 1;
}

.plan-card ul li {
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    text-align: left;
}

.plan-card .price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.plan-card.popular .price {
    color: var(--text-color-light);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* CTA Bottom */
.cta-bottom-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 1.1rem;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 40px 0;
    text-align: center;
}

/* Elementos Fixos */
.fixed-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: pulse 2s infinite;
}

/* Cores Utilitárias */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-white {
    color: #fff !important;
}

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

.text-warning {
    color: #ffc107 !important;
}

.text-success {
    color: #198754 !important;
}

.text-muted {
    color: #6c757d !important;
}

/* Responsivo Mobile */
@media (max-width: 768px) {
    .header-buttons {
        gap: 10px;
    }

    .btn-outline-success,
    .cta-button {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .hero-logo {
        justify-content: center;
        text-align: center;
    }

    .hero-logo .logo-xi {
        font-size: 3rem;
    }

    .header .logo-xi {
        font-size: 2rem;
    }

    .hero-section {
        padding: 120px 0 80px;
    }

    .cta-bottom-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-bottom-buttons .cta-button,
    .cta-bottom-buttons .btn-outline-light {
        width: 100%;
        max-width: 300px;
    }
}

/* Animações */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 0.6s ease forwards;
}

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