:root {
    --primary: #4a86e8;
    --primary-dark: #124392;
    --primary-soft: #f0eaff;
    --secondary: #1e1e2d;
    --text-main: #2d2d3a;
    --text-sub: #6c6c7d;
    --background: #ffffff;
    --bg-light: #f8f9fc;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 16px;
}

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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Background Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}
.shape-1 {
    width: 500px; height: 500px;
    top: -100px; right: -100px;
    background: var(--primary);
}
.shape-2 {
    width: 400px; height: 400px;
    bottom: 100px; left: -100px;
    background: #4a90e2;
}

/* Navbar */
#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}
.logo a {
    color: inherit;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--primary);
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.2s, background 0.3s;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 5% 6rem;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
    margin-top: 0;
}

.hero-text { flex: 1; min-width: 300px; }

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.highlight { color: var(--primary); }

.hero p {
    font-size: 1.1rem;
    color: var(--text-sub);
    margin-bottom: 2rem;
    max-width: 500px;
}

.store-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--secondary);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: transform 0.2s;
}

.store-btn:hover { transform: translateY(-3px); }

.store-btn i { font-size: 1.8rem; }

.store-btn div { display: flex; flex-direction: column; line-height: 1.2; }
.store-btn span { font-size: 0.7rem; }
.store-btn strong { font-size: 1rem; }

.small-note { margin-top: 1rem; font-size: 0.85rem; color: #999; }

/* Phone Mockup (CSS Only) */
.hero-visual { flex: 1; display: flex; justify-content: center; position: relative; }

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--secondary);
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    border: 4px solid #333;
}

.hover-float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

.notch {
    width: 50%;
    height: 20px;
    background: var(--secondary);
    position: absolute;
    top: 10px;
    left: 25%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 2;
}

.screen {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    padding: 40px 15px 15px;
    display: flex;
    flex-direction: column;
}

/* Mockup UI Elements */
.app-header { display: flex; justify-content: space-between; margin-bottom: 20px; }
.menu-dots { width: 30px; height: 30px; background: #e0e0e0; border-radius: 8px; }
.avatar { width: 30px; height: 30px; background: var(--primary); border-radius: 50%; }

.stat-card {
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(134, 74, 232, 0.3);
}
.stat-card span { font-size: 0.8rem; opacity: 0.8; }
.stat-card h3 { font-size: 1.5rem; margin: 5px 0 10px; }
.chart-line { height: 30px; background: rgba(255,255,255,0.2); border-radius: 10px; }

.mini-list { display: flex; flex-direction: column; gap: 10px; }
.list-item {
    background: white;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.icon { background: var(--primary-soft); padding: 8px; border-radius: 8px; }
.lines { height: 8px; width: 60%; background: #eee; border-radius: 4px; }

.fab-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(134, 74, 232, 0.4);
}

/* Sections General */
section { 
    padding: 5rem 5%; 
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}
.container { 
    max-width: 1100px; 
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 0.5rem; color: var(--secondary); }
.section-header p { color: var(--text-sub); }

/* Problem vs Solution */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}

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

.problem-card { border-left: 4px solid var(--danger); }
.solution-card { border-left: 4px solid var(--success); background: #fdfdfd; }

.icon-header { font-size: 2rem; margin-bottom: 1rem; }

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--primary-soft);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.card h3 { margin-bottom: 0.5rem; color: var(--secondary); }
.card p { color: var(--text-sub); font-size: 0.95rem; line-height: 1.5; }

/* Pricing */
/* Advantages Section */
#vantagens {
    background: var(--bg-light);
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.advantage-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}
.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.advantage-card h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}
.advantage-card p {
    color: var(--text-sub);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    background: var(--white);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.testimonial-rating i {
    margin-right: 0.2rem;
}
.testimonial-text {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.testimonial-author h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 0.3rem;
}
.testimonial-author p {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin: 0;
}

.pricing { background: var(--bg-light); }
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.price-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.price-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 2;
}

.tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.amount { font-size: 2.5rem; font-weight: 800; color: var(--secondary); margin: 1rem 0; }
.amount span { font-size: 1rem; font-weight: 400; color: var(--text-sub); }

.price-card ul { text-align: left; margin: 1.5rem 0; }
.price-card li { margin-bottom: 0.8rem; color: var(--text-main); font-size: 0.95rem; }
.price-card li i { color: var(--primary); margin-right: 8px; }

.btn-nav {
    display: block;
    padding: 0.8rem;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1rem;
}
.btn-nav.primary { background: var(--primary); color: white; }
.btn-nav.outline { border: 1px solid var(--primary); color: var(--primary); }
.btn-nav:hover { opacity: 0.9; transform: scale(1.02); }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-cta-container {
    max-width: 600px;
    margin: 0 auto;
}
.faq-cta-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.faq-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.faq-cta-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}
.faq-cta-card h3 {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}
.faq-cta-card p {
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.faq-cta-card .btn-nav {
    display: inline-block;
    margin-top: 0;
}
.faq-category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-soft);
}
.faq-category-title:first-child { margin-top: 0; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-answer p { padding-bottom: 1.5rem; color: var(--text-sub); }
.faq-question.active i { transform: rotate(180deg); }

/* Footer */
footer { 
    padding: 4rem 5% 2rem; 
    background: #fff; 
    border-top: 1px solid #eee;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto 3rem;
}
.footer-grid h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.2rem;
}
.footer-grid ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.footer-grid ul li a {
    color: var(--text-sub);
    transition: color 0.3s;
}
.footer-grid ul li a:hover {
    color: var(--primary);
}
.footer-bottom { text-align: center; color: #999; font-size: 0.9rem; padding-top: 2rem; border-top: 1px solid #eee; }
.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-bottom a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal.show { display: flex; animation: fadeIn 0.3s; }
.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}
.close-modal {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}
.modal-body {
    margin-top: 1rem;
}
.modal-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}
.modal-body h3:first-of-type {
    margin-top: 0;
}
.modal-body p {
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.terms-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}
.terms-section:last-of-type {
    border-bottom: none;
}
.terms-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-sub);
}
.terms-list li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    list-style-type: disc;
}
.terms-footer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--primary-soft);
    border-radius: var(--radius);
    text-align: center;
}
.terms-footer p {
    color: var(--primary);
    margin: 0;
    font-weight: 600;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Micro-animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
/* Tablet: De 992 até 768 */
@media (max-width: 992px) and (min-width: 768px) {
    html, body { 
        overflow-x: hidden; 
        width: 100%;
        max-width: 100vw;
    }
    #navbar { 
        padding: 1.25rem 2rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .hero { 
        padding: 7rem 2rem 6rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    .price-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    section { 
        padding: 5rem 2rem; 
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    footer { 
        padding: 4rem 2rem 2rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .container { 
        padding: 0 2rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Mobile: De 767 até 360 */
@media (max-width: 767px) and (min-width: 360px) {
    html, body { 
        overflow-x: hidden; 
        width: 100%;
        max-width: 100vw;
    }
    * { 
        max-width: 100%; 
        box-sizing: border-box;
    }
    #navbar { 
        padding: 1rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { 
        flex-direction: column; 
        text-align: center; 
        padding: 7rem 1rem 6rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .hero-text { min-width: auto; width: 100%; max-width: 100%; }
    .hero-visual { width: 100%; max-width: 100%; }
    .phone-mockup { 
        width: 100%;
        max-width: 280px;
        height: auto;
        aspect-ratio: 9/16;
        box-sizing: border-box;
    }
    .hero h1 { font-size: 2.5rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .store-buttons { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .price-grid { 
        padding: 0; 
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        grid-template-columns: 1fr;
    }
    section { 
        padding: 5rem 1rem; 
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    footer { 
        padding: 4rem 1rem 2rem; 
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .faq-container { 
        padding: 0; 
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .container { 
        max-width: 100%; 
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Mobile pequeno: Abaixo de 360 */
@media (max-width: 359px) {
    html, body { 
        overflow-x: hidden; 
        width: 100%;
        max-width: 100vw;
    }
    * { 
        max-width: 100%; 
        box-sizing: border-box;
    }
    #navbar { 
        padding: 1rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { 
        flex-direction: column; 
        text-align: center; 
        padding: 6rem 1rem 4rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .hero h1 { font-size: 2rem; }
    .hero-text { min-width: auto; width: 100%; max-width: 100%; }
    .hero-visual { width: 100%; max-width: 100%; }
    .phone-mockup { 
        width: 100%;
        max-width: 240px;
        height: auto;
        aspect-ratio: 9/16;
        box-sizing: border-box;
    }
    .grid-2 { grid-template-columns: 1fr; }
    .store-buttons { justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .price-grid { 
        padding: 0; 
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        grid-template-columns: 1fr;
    }
    section { 
        padding: 3rem 1rem; 
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    footer { 
        padding: 3rem 1rem 2rem; 
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    .faq-container { 
        padding: 0; 
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .price-card { padding: 1.5rem; }
    .container { 
        max-width: 100%; 
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }
}