/* =========================================
   VARIÁVEIS GLOBAIS E RESET
   ========================================= */
   :root {
    --bg-color: #0b0c10;
    --bg-secondary: #1f2833;
    --text-primary: #ffffff;
    --text-secondary: #c5c6c7;
    --accent-color: #45a29e;
    --accent-highlight: #66fcf1;
    --glass-bg: rgba(31, 40, 51, 0.4);
    --glass-border: rgba(102, 252, 241, 0.2);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   UTILITIES
   ========================================= */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header h2 span,
h1 span {
    color: var(--accent-highlight);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* BOTÕES */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-highlight));
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(102, 252, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 252, 241, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-highlight);
    color: var(--accent-highlight);
}

.btn-secondary:hover {
    background: var(--accent-highlight);
    color: var(--bg-color);
}

.pulse-effect {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(102, 252, 241, 0.7); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 15px rgba(102, 252, 241, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(102, 252, 241, 0); }
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-highlight);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-highlight);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px 0;
    background: radial-gradient(circle at top right, rgba(69,162,158,0.2), transparent 50%),
                radial-gradient(circle at bottom left, rgba(102,252,241,0.1), transparent 50%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-highlight);
    border: 1px solid var(--accent-highlight);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-weight: 300;
}

/* =========================================
   BENEFITS SECTION
   ========================================= */
.benefits {
    padding: 100px 0;
    background: var(--bg-color);
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px 30px;
    text-align: left;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-highlight);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.about-content {
    padding: 50px;
    text-align: center;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 20px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text strong {
    color: var(--text-primary);
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-color);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
}

.step {
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--bg-color);
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 20px rgba(69, 162, 158, 0.5);
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.step p {
    color: var(--text-secondary);
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(31, 40, 51, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 0;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--accent-highlight);
}

.faq-item summary {
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-highlight);
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
    color: var(--accent-highlight);
}

.faq-answer {
    padding: 0 25px 25px 25px;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 5px;
}

.faq-answer p {
    line-height: 1.6;
}

/* =========================================
   FINAL CTA & FOOTER
   ========================================= */
.final-cta {
    padding: 80px 0;
    text-align: center;
}

.cta-box {
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.btn-large {
    font-size: 1.3rem;
    padding: 18px 40px;
}

.small-note {
    font-size: 0.8rem !important;
    margin-top: 15px !important;
    opacity: 0.6;
}

footer {
    padding: 30px 0;
    text-align: center;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* =========================================
   APP CAROUSEL (NETFLIX STYLE)
   ========================================= */
.carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.app-gallery.carousel {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 30px;
    padding-bottom: 20px;
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.app-gallery.carousel::-webkit-scrollbar { 
    display: none; 
}

.app-card {
    min-width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding: 30px;
    background: rgba(31, 40, 51, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
}

.app-card:hover {
    border-color: var(--accent-highlight);
    transform: translateY(-5px);
}

.app-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

.app-info {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.app-info h2 {
    font-size: 2rem;
    color: var(--accent-highlight);
    margin-bottom: 10px;
}

.app-info > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.app-features {
    list-style: none;
    margin-bottom: 25px;
}

.app-features li {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.app-steps {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--accent-highlight);
}

.app-steps strong {
    display: block;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.app-steps ol {
    margin-left: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.8);
    color: var(--accent-highlight);
    border: 1px solid var(--accent-highlight);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.carousel-btn:hover {
    background: var(--accent-highlight);
    color: #fff;
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

/* =========================================
   PRICING SECTION (PLANOS PREMIUM)
   ========================================= */
.pricing-section {
    padding: 60px 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.pricing-card {
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-highlight);
    box-shadow: 0 10px 30px rgba(102, 252, 241, 0.15);
}

.pricing-card.popular {
    border-color: var(--accent-highlight);
    box-shadow: 0 0 30px rgba(102, 252, 241, 0.25);
    transform: scale(1.05);
    background: rgba(31, 40, 51, 0.8);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 252, 241, 0.4);
}

.badge-plan {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 22px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    text-transform: uppercase;
}

.badge-plan.highlight {
    background: var(--accent-highlight);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.5);
}

.badge-plan.highlight-secondary {
    background: var(--bg-secondary);
    color: var(--accent-highlight);
    border: 1px solid var(--accent-highlight);
}

.plan-name {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.plan-price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: #fff;
    font-weight: 800;
}

.plan-price .currency { font-size: 1.2rem; margin-top: 10px; margin-right: 5px; color: var(--accent-highlight); }
.plan-price .value { font-size: 4rem; line-height: 1; }
.plan-price .cents { font-size: 1.2rem; margin-top: 10px; color: var(--accent-highlight); }

.plan-period {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 5px;
}

.plan-divider {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 35px;
}

.plan-features li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.btn-plan {
    width: 100%;
}

.plan-footer-text {
    margin-top: 15px;
    font-size: 0.85rem;
}

/* =========================================
   BLOG SECTION (Premium Setup)
   ========================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-highlight);
    box-shadow: 0 10px 30px rgba(102, 252, 241, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    background-color: rgba(0,0,0,0.5); /* Placeholder until image is added */
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--accent-highlight);
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    font-weight: 700;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--accent-highlight);
}

/* =========================================
   MENU MOBILE TOGGLE
   ========================================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--accent-highlight);
    transition: var(--transition);
    border-radius: 3px;
}

/* =========================================
   RESPONSIVIDADE (MOBILE E DESKTOP)
   ========================================= */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(11, 12, 16, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        text-align: center;
        padding: 30px 0;
        transition: 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hero {
        padding: 120px 0 60px 0 !important;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }
    
    .cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary, .btn-secondary, .btn-large {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-content {
        padding: 30px !important;
    }

    .about-content h2 {
        font-size: 1.5rem !important;
    }

    .carousel-btn {
        display: none; /* No celular o cliente apenas arrasta com o dedo (swipe) */
    }

    .app-card {
        flex-direction: column;
        padding: 20px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pricing-card.popular {
        transform: none;
    }

    .app-info h2 {
        font-size: 1.5rem;
    }

    .grid-cards {
        grid-template-columns: 1fr;
    }

    .faq-item summary {
        font-size: 1rem;
        padding: 15px 40px 15px 15px;
    }

    .faq-item summary::after {
        right: 15px;
    }
}
