/* Boostaro - Main Stylesheet */

:root {
    --primary: #1a3c6e;     /* Navy blue - primary color */
    --secondary: #2d5f8b;   /* Secondary blue */
    --accent: #36a853;      /* Green accent */
    --danger: #e74c3c;      /* Red for CTA buttons */
    --light-bg: #f8f9fa;    /* Light background */
    --dark: #212529;        /* Dark color for text */
    --gray: #6c757d;        /* Gray for secondary text */
}

body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

/* Header & Navigation */
header {
    background-color: var(--primary) !important;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.navbar-nav .btn {
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.navbar-nav .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .navbar-nav .btn {
        display: inline-block;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
}

/* Hero Section - Novo Design */
#hero {
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 620px;
    color: #fff;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.hero-content {
    max-width: 100%;
    margin: 0;
    padding: 40px 20px;
    font-size: 16px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-content .lead {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

#hero .btn-danger {
    background: var(--danger);
    border: none;
    padding: 15px 35px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
    z-index: 2;
}

#hero .btn-danger span {
    position: relative;
    z-index: 2;
    margin-right: 10px;
}

#hero .btn-danger .fas {
    transition: all 0.3s ease;
}

#hero .btn-danger:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.4);
}

#hero .btn-danger:hover .fas {
    transform: translateX(5px);
}

#hero .btn-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

#hero .btn-danger:hover::before {
    left: 100%;
}

/* Check icons */
#hero .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 15px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    max-width: fit-content;
}

#hero .feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

#hero .fas.fa-check-circle {
    color: var(--accent);
    margin-right: 10px;
    font-size: 1.25rem;
}

/* Hero image container */
.hero-image-wrapper {
    position: relative;
    height: 600px;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 2;
}

/* Ratings */
#hero .ratings {
    color: #FFD700;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    #hero {
        min-height: auto;
    }
    
    #hero::before {
        width: 100%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
        opacity: 0.1;
    }
    
    .hero-content {
        padding: 40px 20px 20px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    #hero .feature-item {
        margin: 0 auto 12px;
    }
    
    .hero-image-wrapper {
        height: 450px;
    }
    
    #hero .btn-danger {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    #hero .ratings {
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content .lead {
        font-size: 1.1rem;
    }
    
    .hero-image-wrapper {
        height: 400px;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        padding: 40px 15px 20px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    #hero .btn-danger {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .hero-image-wrapper {
        height: 350px;
    }
}

/* Section Styling */
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(42, 95, 139, 0.05);
    z-index: 0;
}

section::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(42, 95, 139, 0.05);
    z-index: 0;
}

section h2.display-5 {
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

section h2.display-5::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Card Styling */
.card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 12px;
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

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

/* Icons */
.text-success {
    color: var(--accent) !important;
}

.text-danger {
    color: var(--danger) !important;
}

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

/* Benefits Section */
#benefits {
    background-color: #f8f9fa;
}

.benefit-card {
    padding: 25px;
    border-radius: 12px;
    background-color: white;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
    z-index: 1;
}

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

.benefit-card h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background-color: rgba(54, 168, 83, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--accent);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(10deg);
    background-color: rgba(54, 168, 83, 0.2);
}

/* Guarantee Badge */
.guarantee-badge {
    border: none;
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 0 auto 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.guarantee-badge::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Testimonials */
.testimonial-card {
    border-radius: 12px;
    border: none;
    border-top: 4px solid var(--accent);
    overflow: hidden;
}

.testimonial-card img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card .text-warning {
    color: #FFD700 !important;
}

/* CTA sections */
.cta-section {
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.cta-box {
    background: linear-gradient(135deg, #2d5f8b, #1a3c6e);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.cta-pulse {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    opacity: 0.7;
    z-index: -1;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}

.pulse-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pulse-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.pulse-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.pulse-btn:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.guarantee-seal {
    animation: rotate-slow 10s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Melhorias responsivas */
@media (max-width: 767px) {
    .btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* Comparison Table */
.comparison-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.comparison-table th {
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 15px;
    font-weight: 600;
    border: none;
}

.comparison-table td {
    padding: 15px;
    vertical-align: middle;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.comparison-check {
    color: var(--accent);
    font-size: 1.2rem;
}

.comparison-x {
    color: var(--danger);
    font-size: 1.2rem;
}

/* FAQ Section */
.accordion-item {
    margin-bottom: 1rem;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--primary);
    background-color: white;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(26, 60, 110, 0.05);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(26, 60, 110, 0.25);
}

.accordion-body {
    padding: 1.5rem;
    background-color: white;
}

/* Footer */
footer {
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15% 100%);
}

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

footer a:hover {
    color: white;
    transform: translateX(3px);
}

footer h4, footer h5 {
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
}

footer h4::after, footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

/* Trust Badges */
.trust-badge {
    display: inline-block;
    margin: 0 10px;
    padding: 8px 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.trust-badge i {
    color: var(--accent);
}

/* Sticky Order Button */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.sticky-cta:hover {
    transform: translateY(-5px) scale(1.05);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn ease 1s;
}

@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

/* Pricing Cards */
.card-header {
    font-weight: bold;
    text-transform: uppercase;
    padding: 1.25rem;
}

/* Best Value Badge */
.badge.bg-warning {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    font-weight: 700;
    z-index: 2;
}

/* Best Value Card Animation */
.border-danger.border-3 {
    position: relative;
    overflow: hidden;
    transform: scale(1.05);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.2) !important;
    border: none !important;
}

.border-danger.border-3::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--danger);
}

.border-danger.border-3:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.3) !important;
}

/* Responsive adjustments for pricing cards */
@media (max-width: 767.98px) {
    .border-danger.border-3 {
        transform: scale(1.02);
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .border-danger.border-3:hover {
        transform: scale(1.05);
    }
}

/* Inventory Counter */
.inventory-counter {
    font-weight: bold;
}

.inventory-flash {
    animation: flash 1s ease;
}

@keyframes flash {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.5;
        color: red;
        transform: scale(1.2);
    }
}

.urgent-message {
    animation: pulse 2s infinite;
}

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