/* ==========================================================================
   CONFIGURAÇÕES GERAIS E RESETS
   ========================================================================== */
:root {
    --bg-color: #0d0d11;
    --card-color: #16161e;
    --card-border: rgba(255, 255, 255, 0.08);
    --text-color: #e2e8f0;
    --text-muted: #94a3b8;
    --text-bright: #ffffff;
    
    --primary-color: #9d4edd;
    --primary-hover: #b5179e;
    --secondary-color: #24252f;
    --secondary-hover: #2e303f;
    
    --accent-color: #ff007f;
    --success-color: #2ec4b6;
    --success-hover: #20a396;
    
    --max-width: 1200px;
    --font-header: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary-hover);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BOTÕES E COMPONENTES GERAIS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--text-bright);
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.6);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    color: var(--text-bright);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-family: var(--font-header);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(13, 13, 17, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-text {
    font-family: var(--font-header);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-bright);
    letter-spacing: -0.5px;
}

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

.logo-badge {
    background-color: var(--primary-color);
    color: var(--text-bright);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding: 160px 0 100px 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.announcement {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(157, 78, 221, 0.1);
    border: 1px solid rgba(157, 78, 221, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

.announcement-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--text-bright);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: uppercase;
}

.announcement-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
}

.hero-content h1 {
    font-family: var(--font-header);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-bright);
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-features-list {
    display: flex;
    gap: 24px;
}

.feature-item-mini {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Mockup de visualização do app */
.preview-card {
    background-color: var(--card-color);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.preview-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.preview-header {
    background-color: #1e1e28;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--card-border);
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.window-title {
    margin-left: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

.preview-app-interface {
    display: flex;
    height: 350px;
}

.sidebar-mock {
    width: 30%;
    background-color: #12121a;
    border-right: 1px solid var(--card-border);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-mock .item {
    height: 32px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.03);
    padding-left: 12px;
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sidebar-mock .item.active {
    background-color: rgba(157, 78, 221, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.content-mock {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mock-status {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--card-border);
    padding: 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: var(--success-color);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 0.2; }
    50% { opacity: 1; }
    100% { opacity: 0.2; }
}

.mock-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-bar-item label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    display: block;
}

.mock-bar-item .bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
}

.mock-bar-item .fill {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 100px;
}

.mock-bar-item .fill-green {
    height: 100%;
    background-color: var(--success-color);
    border-radius: 100px;
}

/* ==========================================================================
   METRICS BAR
   ========================================================================== */
.metrics-bar {
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    padding: 40px 0;
}

.metrics-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.metric-box {
    text-align: center;
}

.metric-box h3 {
    font-family: var(--font-header);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 5px;
}

.metric-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.features-section {
    padding: 120px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--card-color);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(157, 78, 221, 0.3);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: rgba(157, 78, 221, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-family: var(--font-header);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how-it-works {
    background-color: rgba(255, 255, 255, 0.01);
    padding: 120px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-box {
    position: relative;
    padding-top: 40px;
}

.step-num {
    font-family: var(--font-header);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(157, 78, 221, 0.15);
    position: absolute;
    top: -20px;
    left: 0;
    z-index: 0;
}

.step-box h4 {
    font-family: var(--font-header);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.step-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
    position: relative;
    padding: 120px 0;
}

.pricing-glow {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    background-color: var(--card-color);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.price-card.premium {
    border: 2px solid var(--primary-color);
    background: linear-gradient(180deg, #181926 0%, var(--card-color) 100%);
    box-shadow: 0 15px 35px -10px rgba(157, 78, 221, 0.25);
}

.premium-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--text-bright);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 100px;
    text-transform: uppercase;
}

.card-header h4 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.card-header .description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.price {
    display: flex;
    align-items: baseline;
    margin-bottom: 32px;
}

.price .symbol {
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 4px;
}

.price .amount {
    font-family: var(--font-header);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-bright);
    line-height: 1;
}

.price .period {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-left: 6px;
}

.card-features {
    list-style: none;
    margin-bottom: 40px;
}

.card-features li {
    margin-bottom: 14px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-features li span {
    font-weight: bold;
}

.card-features li span:contains("✔") {
    color: var(--success-color);
}

.card-features li span:contains("✖") {
    color: var(--accent-color);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    padding: 120px 0;
    border-top: 1px solid var(--card-border);
}

.faq-container {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background-color: var(--card-color);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 12px;
}

.faq-item h4 {
    font-family: var(--font-header);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #08080c;
    border-top: 1px solid var(--card-border);
    padding: 80px 0 40px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 10px;
    font-size: 0.95rem;
}

.footer-copyright {
    border-top: 1px solid var(--card-border);
    width: 100%;
    padding-top: 30px;
}

.footer-copyright p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features-list {
        justify-content: center;
    }
    
    .preview-card {
        transform: none;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .metrics-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 70px;
    }
    
    .nav-menu {
        display: none; /* Simplificado para mobile */
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-container {
        grid-template-columns: 1fr;
    }
}
