/* ========================================
   Landing Page - GastroWeb
   Tema Dark: #121212, #1e1e1e, #00C853
   ======================================== */

:root {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-cards: #1e1e1e;
    --text-primary: #E5E5E5;
    --text-secondary: #B0B0B0;
    --accent-color: #00C853;
    --accent-hover: #00E676;
    --border-color: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Roboto', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ========================================
   1. Cabeçalho Fixo e Translúcido
   ======================================== */

.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(68, 68, 68, 0.3);
    transition: all 0.3s ease;
}

.landing-header.scrolled {
    background: rgba(18, 18, 18, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

.text-accent {
    color: var(--accent-color);
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.btn-accent {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-accent:hover {
    background: var(--accent-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

.btn-outline-accent {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-accent:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.navbar-toggler {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28229, 229, 229, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   2. Seção Hero
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #121212 0%, #1e1e1e 100%);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.floating-panels {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    pointer-events: none;
}

.floating-panel {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(0, 200, 83, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.panel-1 {
    top: 20%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.panel-2 {
    top: 60%;
    right: 15%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
}

.panel-3 {
    bottom: 20%;
    left: 20%;
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #E5E5E5 0%, #B0B0B0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-illustration {
    position: relative;
}

.hero-icon {
    font-size: 15rem;
    color: rgba(0, 200, 83, 0.2);
    animation: fadeInScale 2s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    animation: bounce 2s infinite;
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ========================================
   3. Seção Recursos
   ======================================== */

.features-section {
    background: var(--bg-secondary);
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-cards);
    padding: 2.5rem;
    border-radius: 16px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(68, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 200, 83, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 40px rgba(0, 200, 83, 0.2);
    border-color: rgba(0, 200, 83, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.feature-card:hover .feature-icon {
    background: rgba(0, 200, 83, 0.2);
    transform: rotate(5deg) scale(1.1);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   4. Seção Planos
   ======================================== */

.plans-section {
    background: var(--bg-primary);
    padding: 6rem 0;
}

.plan-card {
    background: var(--bg-cards);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 2px solid rgba(68, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.plan-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 200, 83, 0.3);
    border-color: var(--accent-color);
}

.plan-card:hover::after {
    opacity: 1;
}

.plan-featured {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, var(--bg-cards) 0%, rgba(0, 200, 83, 0.05) 100%);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(68, 68, 68, 0.3);
}

.plan-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.price-period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.plan-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plan-features i {
    font-size: 1rem;
}

.plan-footer {
    margin-top: auto;
}

/* ========================================
   5. Seção Depoimentos
   ======================================== */

.testimonials-section {
    background: var(--bg-secondary);
    padding: 6rem 0;
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 200, 83, 0.05) 0%, transparent 70%);
    animation: parallaxMove 20s linear infinite;
}

@keyframes parallaxMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slides {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    min-height: 400px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.testimonial-card {
    background: var(--bg-cards);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(68, 68, 68, 0.3);
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.testimonial-avatar i {
    font-size: 3rem;
    color: var(--accent-color);
}

.testimonial-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.testimonial-restaurant {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-style: italic;
}

.testimonial-stars {
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-btn {
    background: var(--bg-cards);
    border: 2px solid rgba(68, 68, 68, 0.3);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: scale(1.1);
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(68, 68, 68, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

/* ========================================
   6. Seção Como Funciona
   ======================================== */

.how-it-works-section {
    background: var(--bg-primary);
    padding: 6rem 0;
}

.step-card {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
}

.step-icon {
    width: 100px;
    height: 100px;
    background: rgba(0, 200, 83, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto 1.5rem;
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

.step-card:hover .step-icon {
    background: rgba(0, 200, 83, 0.2);
    transform: rotate(5deg) scale(1.1);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   7. Rodapé
   ======================================== */

.landing-footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(68, 68, 68, 0.3);
}

.footer-brand {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Roboto', sans-serif;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(68, 68, 68, 0.3);
}

.social-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-divider {
    border-color: rgba(68, 68, 68, 0.3);
    margin: 2rem 0;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ========================================
   Responsividade
   ======================================== */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-icon {
        font-size: 10rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .plan-featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-icon {
        font-size: 8rem;
        margin-top: 2rem;
    }
    
    .feature-card,
    .plan-card {
        margin-bottom: 2rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .step-card {
        margin-bottom: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

