/* CSS Reset and Variables */
:root {
    /* Brand Official Colors from Logo & Wordmark */
    --primary-blue: #0055FF;         /* Royal Blue from logo text */
    --accent-cyan: #00E5FF;          /* Bright Cyan/Teal from logo text */
    --accent-green: #00E676;         /* Lime Green from logo text and icon */
    --accent-gold: #FFD600;          /* Yellow from coin/pin */
    
    --primary: var(--primary-blue);
    --primary-light: #2979FF;
    --accent: var(--accent-green);
    --accent-hover: #00c853;
    
    --dark: #07162c;                 /* Deep Navy/Black from logo dark parts */
    --light: #f4f7fe;                /* Fresh light ice-blue background */
    --white: #ffffff;
    --gray: #64748b;
    --gray-light: #cbd5e1;
    
    /* Dynamic Gradients */
    --gradient-brand: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-blue) 100%);
    --gradient-blue: linear-gradient(135deg, var(--primary-blue) 0%, #0091ff 100%);
    --gradient-green: linear-gradient(135deg, var(--accent-green) 0%, #00b0ff 100%);
    --gradient-dark: linear-gradient(180deg, #07162c 0%, #0f2b5c 100%);
    --gradient-glow: 0 0 20px rgba(0, 230, 118, 0.4);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0, 85, 255, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 85, 255, 0.15);
    --border-radius: 16px;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 85, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.8);
}

.logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-img-fone {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo-fallback {
    font-weight: 800;
}

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

.nav-links a {
    font-weight: 600;
    color: var(--gray);
    transition: var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

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

.btn-download {
    background: var(--gradient-brand);
    color: var(--white) !important;
    padding: 0.7rem 1.8rem;
    border-radius: 9999px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.35);
    transition: var(--transition);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.5);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--dark);
    cursor: pointer;
}

/* Mobile Nav Drawer */
.mobile-nav {
    display: none;
    background-color: var(--white);
    border-top: 1px solid var(--gray-light);
    padding: 1.5rem;
    position: absolute;
    width: 100%;
    left: 0;
    box-shadow: var(--shadow-lg);
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-links a {
    font-weight: 600;
    color: var(--gray);
}

.mobile-links a.active {
    color: var(--primary-blue);
}

/* Page Banner (Multi-page header) */
.page-banner {
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
    padding: 0rem 1rem;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,229,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.page-banner h1 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: ;
    letter-spacing: -1px;
}

.page-banner h1 span {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-banner p {
    font-size: 1.2rem;
    color: var(--gray-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 80px);
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
}

.hero-text h1 span {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-store {
    background-color: var(--dark);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow);
}

.btn-store:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background-color: #12213d;
}

.btn-store svg {
    width: 28px;
    height: 28px;
}

/* Animated Floating Hero Image Container */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-logo-container {
    position: absolute;
    width: 280px;
    height: 280px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 85, 255, 0.25));
    animation: float 6s ease-in-out infinite;
}

.phone-mockup {
    background-color: var(--dark);
    width: 320px;
    height: 640px;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    border: 4px solid #1e293b;
    position: relative;
    z-index: 2;
    opacity: 0.95;
    background: linear-gradient(135deg, #0e1d35 0%, #071122 100%);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

.phone-screen {
    background-color: #0b1528;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.phone-header {
    background: var(--gradient-brand);
    color: var(--white);
    padding: 1.5rem 1rem 1rem;
    text-align: center;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.phone-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: center;
}

.mockup-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1rem;
}

.mockup-title {
    font-size: 0.65rem;
    color: var(--accent-cyan);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.mockup-input {
    height: 35px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-button {
    background: var(--gradient-brand);
    color: var(--white);
    text-align: center;
    padding: 0.85rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

/* Steps Grid (Como Funciona) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.step-card {
    background: var(--white);
    padding: 3rem 2rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 85, 255, 0.03);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 85, 255, 0.1);
}

.step-num {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-brand);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 230, 118, 0.4);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 700;
}

.step-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Simulator Styles */
.simulator-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 85, 255, 0.05);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
    background-color: #fafbfc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: var(--white);
}

.range-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.range-slider {
    flex-grow: 1;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--gray-light);
    border-radius: 9999px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-brand);
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 230, 118, 0.4);
    transition: var(--transition);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.range-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-blue);
    min-width: 110px;
    text-align: right;
}

.result-card {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 2.2rem;
    border-radius: 16px;
    text-align: center;
    margin: 2.5rem 0;
    box-shadow: 0 10px 25px rgba(7, 22, 44, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-brand);
}

.result-label {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.25rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.result-currency {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.advantage-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    gap: 1.5rem;
    border: 1px solid rgba(0, 85, 255, 0.02);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 85, 255, 0.08);
}

.advantage-icon-box {
    background: var(--gradient-brand);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 230, 118, 0.3);
}

.advantage-info h3 {
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.2rem;
}

.advantage-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* FAQ Accordion Styles */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(0, 85, 255, 0.02);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 85, 255, 0.08);
}

.faq-header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--dark);
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 800;
    transition: var(--transition);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 2rem;
    color: var(--gray);
    font-size: 0.975rem;
}

.faq-item.active {
    border-color: rgba(0, 85, 255, 0.15);
}

.faq-item.active .faq-header {
    color: var(--primary-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--accent-green);
}

.faq-item.active .faq-body {
    max-height: 1000px;
    padding-bottom: 1.5rem;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Call To Action (App CTA) */
.cta-section {
    background: var(--gradient-dark);
    color: var(--white);
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.15) 0%, transparent 70%);
    bottom: -100px;
    right: -50px;
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

.cta-section p {
    font-size: 1.15rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Footer Section */
footer {
    background-color: #040c1a;
    color: var(--white);
    padding: 5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
}

.footer-about h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-about p {
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-links h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--accent-cyan);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-links a {
    color: var(--gray-light);
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.85;
}

.footer-links a:hover {
    color: var(--accent-green);
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--gray);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--gray);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--accent-green);
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.35);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 230, 118, 0.5);
}

/* Responsive Breakpoints */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-top: 3rem;
    }
    
    .hero-text h1 {
        font-size: 2.75rem;
    }
    
    .hero-text p {
        margin: 0 auto 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .simulator-wrapper {
        padding: 2rem 1.5rem;
    }
}
