/* Landing Page Professional */
:root {
    --primary: #0e2a47;
    --success: #7bc143;
    --light: #f8f9fa;
    --dark: #2c3e50;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    padding: 1rem 0;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.logo-nav {
    max-height: 50px;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--success) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3c61 100%);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123,193,67,0.1) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.badge-custom {
    display: inline-block;
    background: rgba(123,193,67,0.2);
    color: var(--success);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 0;
}

.stat-item p {
    margin: 0;
    opacity: 0.8;
}

.hero-image-container {
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.hero-image {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.floating-card {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #2c3e50;
    animation: floatCard 3s ease-in-out infinite;
    z-index: 10;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 20%;
    left: -10%;
}

.card-2 {
    bottom: 20%;
    right: -10%;
    animation-delay: 1.5s;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Sections */
.section-white {
    background: white;
    padding: 100px 0;
}

.section-gray {
    background: #f8f9fa;
    padding: 100px 0;
}

.section-badge {
    display: inline-block;
    background: rgba(123,193,67,0.1);
    color: var(--success);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #2c3e50; font-size: 0.95rem;
}

/* Step Cards */
.step-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    position: relative;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--success) 0%, #6aa838 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(123,193,67,0.3);
}

.step-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 20px;
}

.step-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Feature Cards Pro */
.feature-card-pro {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

.feature-card-pro:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-card-pro.featured {
    border: 2px solid var(--success);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.feature-icon-pro {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--success) 0%, #6aa838 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
}

.feature-card-pro h4 {
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.feature-list li {
    padding: 8px 0;
    color: #2c3e50; font-size: 0.95rem;
}

.feature-list i {
    color: var(--success);
    margin-right: 10px;
}

/* Integration Section */
.integration-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 30px;
}

.integration-item i {
    font-size: 2.5rem;
    margin-top: 5px;
}

.integration-item h5 {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary);
}

/* Code Preview */
.code-preview {
    background: #1e1e1e;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.code-header {
    background: #2d2d2d;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
}

.code-dot:nth-child(2) {
    background: #ffbd2e;
}

.code-dot:nth-child(3) {
    background: #28ca42;
}

.code-title {
    margin-left: auto;
    color: #888;
    font-size: 0.9rem;
}

.code-preview pre {
    padding: 30px;
    margin: 0;
    color: #d4d4d4;
    overflow-x: auto;
}

.code-comment { color: #6a9955; }
.code-var { color: #9cdcfe; }
.code-function { color: #dcdcaa; }
.code-string { color: #ce9178; }
.code-number { color: #b5cea8; }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3c61 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123,193,67,0.15) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--primary);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 30px;
}

.footer-logo {
    max-height: 40px;
    filter: brightness(0) invert(1);
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--success);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--success);
    transform: translateY(-3px);
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 40px 0 30px;
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s;
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #6aa838 100%);
    border: none;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(123,193,67,0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .floating-card {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* OVERRIDE - Hero melhorado */
.hero-image-container {
    position: relative !important;
    z-index: 1 !important;
}

.hero-image {
    max-width: 550px !important;
    width: 100% !important;
    position: relative !important;
    z-index: 5 !important;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.3)) !important;
}

.floating-card {
    z-index: 2 !important;
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
}

.card-1 {
    top: 15% !important;
    left: -5% !important;
}

.card-2 {
    bottom: 15% !important;
    right: -5% !important;
}

/* Ilustração SVG Animada */
.hero-illustration {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.card-main { animation: cardFloat 4s ease-in-out infinite; }
.coin { animation: coinFloat 3s ease-in-out infinite; }
.coin-1 { animation-delay: 0s; }
.coin-2 { animation-delay: 1s; }
.coin-3 { animation-delay: 2s; }
.graph polyline {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards;
}
.check-icon { animation: pulse 2s ease-in-out infinite; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}
@keyframes coinFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Ilustração SVG Animada */
.hero-illustration {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

.card-main { animation: cardFloat 4s ease-in-out infinite; }
.coin { animation: coinFloat 3s ease-in-out infinite; }
.coin-1 { animation-delay: 0s; }
.coin-2 { animation-delay: 1s; }
.coin-3 { animation-delay: 2s; }
.graph polyline {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards;
}
.check-icon { animation: pulse 2s ease-in-out infinite; }

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}
@keyframes coinFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Ilustração Hero */
.hero-illustration {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

/* Animações da Ilustração */
.card-main {
    animation: cardFloat 4s ease-in-out infinite;
    transform-origin: center;
}

.coin {
    animation: coinFloat 3s ease-in-out infinite;
}

.coin-1 { animation-delay: 0s; }
.coin-2 { animation-delay: 1s; }
.coin-3 { animation-delay: 2s; }

.graph polyline {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 3s ease-out forwards;
}

.check-icon {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes coinFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Hero Stats Cards - Simples */
.hero-stats-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 500px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
    border-color: rgba(123,193,67,0.5);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7bc143 0%, #6aa838 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.stat-icon i {
    font-size: 2rem;
    color: white;
}

.stat-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.stat-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
    color: white;
}

@media (max-width: 768px) {
    .hero-stats-cards {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

/* OVERRIDE - Cards Hero Alinhados */
.hero-section .row {
    align-items: center !important;
}

.hero-stats-cards {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    max-width: 450px !important;
    margin: 0 auto !important;
}

.stat-card {
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 18px !important;
    padding: 25px 15px !important;
}

.stat-icon {
    width: 55px !important;
    height: 55px !important;
}

@media (max-width: 991px) {
    .hero-stats-cards {
        margin-top: 40px !important;
    }
}

/* FIX - Alinhamento dos Cards Hero */
.hero-stats-cards {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    max-width: 500px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.stat-card {
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 20px !important;
    padding: 25px 20px !important;
    text-align: center !important;
    transition: all 0.3s !important;
    height: 100% !important;
}

.stat-card:hover {
    background: rgba(255,255,255,0.15) !important;
    transform: translateY(-5px) !important;
    border-color: rgba(123,193,67,0.5) !important;
}

.stat-icon {
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #7bc143 0%, #6aa838 100%) !important;
    border-radius: 15px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 15px !important;
}

.stat-icon i {
    font-size: 2rem !important;
    color: white !important;
}

.stat-card h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: white !important;
}

.stat-card p {
    font-size: 0.9rem !important;
    opacity: 0.8 !important;
    margin: 0 !important;
    color: white !important;
}

/* Garantir alinhamento vertical */
.hero-section .row {
    align-items: center !important;
}

@media (max-width: 991px) {
    .hero-stats-cards {
        margin-top: 50px !important;
    }
}

/* OVERRIDE - Cards Hero Alinhados */
.hero-section .row {
    align-items: center !important;
}

.hero-stats-cards {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    max-width: 450px !important;
    margin: 0 auto !important;
}

.stat-card {
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 18px !important;
    padding: 25px 15px !important;
}

.stat-icon {
    width: 55px !important;
    height: 55px !important;
}

@media (max-width: 991px) {
    .hero-stats-cards {
        margin-top: 40px !important;
    }
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 30px;
    align-items: center;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.badge-item i {
    font-size: 1.5rem;
    color: var(--success);
}

/* Trust Badges - Selos de Confiança */
.trust-badges {
    display: flex;
    gap: 35px;
    align-items: center;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.95);
    font-size: 0.95rem;
    font-weight: 500;
}

.badge-item i {
    font-size: 1.5rem;
    color: #7bc143;
}

@media (max-width: 768px) {
    .trust-badges {
        gap: 20px;
        margin-top: 2rem !important;
    }
    
    .badge-item {
        font-size: 0.85rem;
    }
    
    .badge-item i {
        font-size: 1.3rem;
    }
}
