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

:root {
    /* Colors Light Mode (default) */
    --primary: 239 68% 68%;
    --primary-dark: 239 68% 58%;
    --primary-glow: 239 68% 78%;
    --background: 0 0% 98%;
    --section: 0 0% 94%;
    --text: 240 10% 3.9%;
    --text-light: 240 5% 45%;
    --border: 240 6% 90%;
    
    /* Shadows */
    --shadow-primary: 0 10px 30px -10px hsl(var(--primary) / 0.3);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode */
[data-theme="dark"] {
    --background: 240 10% 3.9%;
    --section: 240 5% 6%;
    --text: 0 0% 98%;
    --text-light: 240 5% 64.9%;
    --border: 240 3.7% 15.9%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--text));
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--text));
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: hsl(var(--text-light));
    line-height: 1.8;
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 2rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background-color: hsl(var(--primary-dark));
    transform: scale(1.05);
    box-shadow: 0 15px 40px -15px hsl(var(--primary) / 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: hsl(var(--background) / 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid hsl(var(--border));
    z-index: 1000;
    padding: 1rem 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
}


.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    color: hsl(var(--text-light));
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: hsl(var(--primary));
}


.logo img {
    height: auto;
    max-width: 100px;
}

/* Theme Toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: hsl(var(--border));
    border: 1px solid hsl(var(--border));
    transition: var(--transition-smooth);
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition-smooth);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background-color: hsl(var(--primary));
    border-color: hsl(var(--primary));
}

input:checked + .slider:before {
    transform: translateX(24px);
    background-color: white;
}

.theme-icon {
    font-size: 1rem;
    color: hsl(var(--text-light));
    transition: var(--transition-smooth);
}

.theme-icon.active {
    color: hsl(var(--primary));
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

/* PDV Carousel Styles */

.PDV {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}


.desktop-images {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.desktop-images img {
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.desktop-images img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.mobile-carousel {
    display: none;
}

/* Mobile Carousel */
@media (max-width: 768px) {
    .desktop-images {
        display: none;
    }


    .mobile-carousel {
        display: block !important;
        margin: 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .PDV {
        position: relative;
        overflow: hidden;
        border-radius: 16px;
        background: hsl(var(--section));
        padding: 1rem;
    }

    .carousel-container {
    position: relative;
    width: 100%;
    max-width: 400px; /* ou o tamanho do seu mockup de celular */
    margin: 0 auto;    /* centraliza horizontalmente */
    padding: 0 1rem;   /* evita que encoste nas bordas da tela */
    overflow: hidden;
    }
    .carousel-track {
        display: flex;
        transition: transform 0.3s ease;

    }

    .carousel-slide {
        min-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel-slide img {
        max-width: 90%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        margin: 0 auto;

    }
    

    .carousel-controls {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .carousel-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: hsl(var(--border));
        cursor: pointer;
        transition: var(--transition-smooth);
    }

    .carousel-dot.active {
        background: hsl(var(--primary));
        transform: scale(1.2);
    }

    .carousel-arrows {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: hsl(var(--background) / 0.9);
        border: 1px solid hsl(var(--border));
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition-smooth);
        font-size: 1.2rem;
        color: hsl(var(--text));
    }

    .carousel-arrows:hover {
        background: hsl(var(--primary));
        color: white;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--section)));
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: hsl(var(--text));
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    color: hsl(var(--text-light));
    margin-bottom: 2rem;
    line-height: 1.8;
}

@media (min-width: 1024px) {
    .hero {
        padding: 10rem 0 6rem;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.875rem;
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: hsl(var(--background));
}

.features-grid {
    display: grid;
    gap: 2rem;
}

.feature {
    text-align: center;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--text));
    margin-bottom: 1rem;
}

.feature-description {
    color: hsl(var(--text-light));
    line-height: 1.8;
}

@media (min-width: 768px) {
    .features {
        padding: 5rem 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

/* Mobile Section */
.mobile {
    padding: 4rem 0;
    background-color: hsl(var(--section));
}


.mobile-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.mobile-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.mobile-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--text));
    margin-bottom: 0.5rem;
}

.mobile-feature p {
    color: hsl(var(--text-light));
}

.mobile-image {
    text-align: center;
}

.mobile-image img {
    max-width: 100%;
    height: auto;
    max-width: 450px;
}

.PDV img{
    max-width: 200px;
    
}

@media (min-width: 1024px) {
    .mobile {
        padding: 5rem 0;
    }
    
    .mobile-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .mobile-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Technology Section */
.technology {
    padding: 4rem 0;
    background-color: hsl(var(--background));
}

.technology-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.technology-image {
    text-align: center;
}

.technology-image img {
    max-width: 100%;
    height: auto;
    max-width: 400px;
}

@media (min-width: 1024px) {
    .technology {
        padding: 5rem 0;
    }
    
    .technology-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background-color: hsl(var(--section));
}

.stats-grid {
    display: grid;
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: hsl(var(--text-light));
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.stat-description {
    color: hsl(var(--text-light));
}

@media (min-width: 768px) {
    .stats {
        padding: 4rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .stat-number {
        font-size: 3.75rem;
    }
}

/* Solution Section */
.solution {
    padding: 4rem 0;
    background-color: hsl(var(--background));
    text-align: center;
}

.solution-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.solution-step {
    padding: 2rem 1rem;
    border-radius: 0.5rem;
    background-color: hsl(var(--section));
    border: 1px solid hsl(var(--border));
    transition: var(--transition-smooth);
}

.solution-step:hover {
    border-color: hsl(var(--primary));
    transform: translateY(-2px);
}

.step-number {
    width: 3rem;
    height: 3rem;
    background-color: hsl(var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

.solution-step h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: hsl(var(--text));
    margin-bottom: 0.5rem;
}

.solution-step p {
    color: hsl(var(--text-light));
}

@media (min-width: 768px) {
    .solution {
        padding: 5rem 0;
    }
    
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .solution-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background-color: hsl(var(--section));
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .cta {
        padding: 5rem 0;
    }
}

/* Footer */
.footer {
    padding: 3rem 0 1rem;
    background-color: hsl(var(--background));
    border-top: 1px solid hsl(var(--border));
}

.footer-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: hsl(var(--text));
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    color: hsl(var(--primary));
}

.footer-section p {
    color: hsl(var(--text-light));
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-link {
    color: hsl(var(--text-light));
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover,
.footer-link:hover {
    color: hsl(var(--primary));
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid hsl(var(--border));
}

.footer-bottom p {
    color: hsl(var(--text-light));
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
a:focus {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .mobile-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 1rem;
        text-align: center;
    }

    .mobile-content {
        max-width: 100%;
    }

    .mobile-image {
        text-align: center;
        width: 100%;
    }

    .mobile-image img {
        max-width: 100%;
        height: auto;
    }
    .technology-image img {
        text-align: center;
        height: 300px;
    }
}
