/* ========================================
   LANDING PAGE - SISTEMA SAAS RESTAURANTES
   Cores: Dourado (#D4AF37) e Preto (#1a1a1a)
   ======================================== */

:root {
    --gold: #D4AF37;
    --gold-light: #F0D977;
    --gold-dark: #B8962C;
    --black: #1a1a1a;
    --black-light: #2d2d2d;
    --white: #ffffff;
    --gray: #f8f9fa;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   HEADER / NAVBAR
   ======================================== */

.navbar-custom {
    background: var(--black) !important;
    padding: 1.2rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    padding: 0.8rem 0;
    background: rgba(26, 26, 26, 0.98) !important;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold) !important;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--gold-light) !important;
    transform: scale(1.05);
}

.navbar-brand i {
    margin-right: 0.5rem;
    color: var(--gold);
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin: 0 1rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.navbar-nav .nav-link:hover {
    color: var(--gold) !important;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem 0;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

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

.btn-primary-custom {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--black);
    border: none;
    padding: 1rem 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    color: var(--black);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--gold);
    padding: 1rem 3rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--black);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: var(--white);
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black);
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* ========================================
   PRICING SECTION
   ======================================== */

.pricing-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    position: relative;
    overflow: hidden;
}

.pricing-section > .container {
    position: relative;
    z-index: 1;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.pricing-section .section-title {
    color: var(--white);
}

.pricing-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    height: 100%;
    border: 3px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    border-color: var(--gold-light);
    /* Removido o scale para igualar altura dos cards */
}

.pricing-card.featured:hover {
    /* Mantém apenas o efeito de elevação, sem scale extra */
    transform: translateY(-15px);
}

.pricing-card.featured .pricing-title,
.pricing-card.featured .pricing-price,
.pricing-card.featured .pricing-features li {
    color: var(--white);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-light);
    color: var(--black);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.pricing-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--black);
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.pricing-card.featured .pricing-price {
    color: var(--white);
}

.pricing-period {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.pricing-card.featured .pricing-period {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    padding: 0.8rem 0;
    color: #444;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
}

.pricing-features li i {
    color: var(--gold);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.pricing-card.featured .pricing-features li i {
    color: var(--white);
}

.btn-link {
    color: var(--gold) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--gold-light) !important;
}

.pricing-card.featured .btn-link {
    color: var(--white) !important;
}

.pricing-card.featured .btn-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.btn-pricing {
    width: 100%;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--gold);
    background: var(--gold);
    color: var(--black);
}

.btn-pricing:hover {
    background: var(--gold-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* Equal height pricing cards inside the pricing container */
#pricing-container > .col-lg-4,
#pricing-container > .col-md-6,
#pricing-container .col-lg-4,
#pricing-container .col-md-6 {
    display: flex;
    align-items: stretch;
}

#pricing-container .pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#pricing-container .pricing-card .pricing-features {
    flex: 1 1 auto;
}

#pricing-container .pricing-card .btn-pricing {
    margin-top: auto;
}

/* Ensure a consistent minimum height on larger screens */
@media (min-width: 992px) {
    #pricing-container .pricing-card {
        min-height: 520px;
    }
}

.pricing-card.featured .btn-pricing {
    background: var(--white);
    color: var(--gold);
    border-color: var(--white);
}

.pricing-card.featured .btn-pricing:hover {
    background: var(--black);
    color: var(--gold);
    border-color: var(--white);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-5px);
}

/* ========================================   ANIMATIONS
   ======================================== */

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

/* ========================================   RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
}
