/**
 * GoCore Accounting - Landing Page CSS
 * Estilos específicos para a landing page
 */

/* Reset e Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    overflow-x: clip;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f8fafc;
    color: #0f1a26;
    line-height: 1.6;
    min-height: 100vh;
    padding-top: 70px; /* Compensar header fixo */
}

/* Landing Header */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 1.5rem;
}

.landing-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-header-brand {
    display: flex;
    align-items: center;
}

.landing-header-brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0b5fd4;
    letter-spacing: -0.02em;
}

.landing-header-actions {
    display: flex;
    align-items: center;
}

.landing-header-login-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0b5fd4 0%, #6366f1 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.landing-header-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 95, 212, 0.3);
}

.landing-header-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .landing-header {
        padding: 0.75rem 1rem;
    }
    
    .landing-header-inner {
        flex-wrap: wrap;
    }
    
    .landing-header-user {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .landing-header-app-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .landing-header-user-name {
        font-size: 0.85rem;
        display: none; /* Hide name on mobile to save space */
    }
    
    .landing-header-logout-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .landing-header-login-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

.landing-header-app-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #0b5fd4 0%, #6366f1 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.landing-header-app-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 95, 212, 0.3);
}

.landing-header-user-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f1a26;
}

.landing-header-logout-btn {
    padding: 0.5rem 1rem;
    background: rgba(11, 95, 212, 0.1);
    color: #0b5fd4;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(11, 95, 212, 0.2);
    cursor: pointer;
}

.landing-header-logout-btn:hover {
    background: rgba(11, 95, 212, 0.2);
    border-color: rgba(11, 95, 212, 0.3);
}

/* Hero Section */
.landing-hero {
    position: relative;
    padding: 6rem 1.5rem 6rem;
    overflow: hidden;
    background: linear-gradient(135deg, #0b5fd4 0%, #6366f1 50%, #8b5cf6 100%);
    color: #fff;
}

.landing-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.landing-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(11, 95, 212, 0.3) 0%, transparent 50%);
    animation: gradientMove 10s ease-in-out infinite;
}

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

.landing-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particlesMove 20s linear infinite;
}

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

.landing-hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.landing-hero-shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation: float1 8s ease-in-out infinite;
}

.landing-hero-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -100px;
    animation: float2 10s ease-in-out infinite;
}

.landing-hero-shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 30px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, -30px) rotate(-180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.landing-hero-inner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.landing-hero-content {
    z-index: 1;
}

.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.landing-hero-badge-icon {
    font-size: 1rem;
}

.landing-hero-badge-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.landing-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.landing-hero-title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

.landing-hero-title-line:nth-child(1) { animation-delay: 0.1s; }
.landing-hero-title-line:nth-child(2) { animation-delay: 0.2s; }
.landing-hero-title-line:nth-child(3) { animation-delay: 0.3s; }

.landing-hero-title-accent {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 550px;
    animation: fadeInUp 0.8s ease-out 0.4s;
    animation-fill-mode: both;
}

.landing-hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.5s;
    animation-fill-mode: both;
}

.gocore-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1px solid #d5dde8;
    border-radius: 6px;
    background: #ffffff;
    color: #0f1a26;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gocore-btn:hover {
    border-color: #0b5fd4;
    background: #eef2f7;
}

.gocore-btn-primary {
    background: #0b5fd4;
    border-color: #0b5fd4;
    color: #fff;
}

.gocore-btn-primary:hover {
    background: #094aa8;
    border-color: #094aa8;
}

.gocore-btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    border-radius: 12px;
    font-weight: 600;
}

.gocore-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.gocore-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.gocore-btn-animated {
    position: relative;
    overflow: hidden;
}

.gocore-btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.gocore-btn-animated:hover::before {
    left: 100%;
}

.gocore-btn-text {
    position: relative;
    z-index: 1;
}

.gocore-btn-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.gocore-btn-animated:hover .gocore-btn-icon {
    transform: translateX(5px);
}

.landing-hero-trust {
    display: flex;
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 0.6s;
    animation-fill-mode: both;
}

.landing-hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.landing-hero-trust-icon {
    font-size: 1.25rem;
}

.landing-hero-visual {
    position: relative;
    animation: fadeInRight 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.landing-hero-dashboard {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

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

.landing-hero-dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.landing-hero-dashboard-dots {
    display: flex;
    gap: 0.5rem;
}

.landing-hero-dashboard-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.landing-hero-dashboard-dot-red { background: #ef4444; }
.landing-hero-dashboard-dot-yellow { background: #f59e0b; }
.landing-hero-dashboard-dot-green { background: #10b981; }

.landing-hero-dashboard-title {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
}

.landing-hero-dashboard-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.landing-hero-dashboard-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.landing-hero-dashboard-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.landing-hero-dashboard-card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.landing-hero-dashboard-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.landing-hero-dashboard-card-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* Stats Section */
.landing-stats {
    padding: 4rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #d5dde8;
}

.landing-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.landing-stat-item {
    text-align: center;
    padding: 1.5rem;
}

.landing-stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0b5fd4;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.landing-stat-label {
    font-size: 0.875rem;
    color: #5c6f82;
    font-weight: 500;
}

/* Features Section */
.landing-features {
    padding: 6rem 1.5rem;
    background: #f8fafc;
}

.landing-features-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.landing-features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.landing-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f1a26;
    letter-spacing: -0.02em;
}

.landing-section-description {
    font-size: 1.125rem;
    color: #5c6f82;
    max-width: 600px;
    margin: 0 auto;
}

.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.landing-feature-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #d5dde8;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.landing-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #0b5fd4;
}

.landing-feature-card-inner {
    padding: 2rem;
}

.landing-feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0b5fd4 0%, #6366f1 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.landing-feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f1a26;
}

.landing-feature-description {
    font-size: 0.95rem;
    color: #5c6f82;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.landing-feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(11, 95, 212, 0.05);
    border-radius: 8px;
    border-left: 3px solid #0b5fd4;
}

.landing-feature-highlight-icon {
    color: #0b5fd4;
    font-weight: 700;
}

.landing-feature-highlight-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0b5fd4;
}

/* How It Works Section */
.landing-how-it-works {
    padding: 6rem 1.5rem;
    background: #fff;
}

.landing-how-it-works-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.landing-how-it-works-header {
    text-align: center;
    margin-bottom: 4rem;
}

.landing-how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.landing-how-it-works-step {
    text-align: center;
    position: relative;
}

.landing-how-it-works-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0b5fd4 0%, #6366f1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(11, 95, 212, 0.3);
}

.landing-how-it-works-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #0f1a26;
}

.landing-how-it-works-step-description {
    font-size: 0.95rem;
    color: #5c6f82;
    line-height: 1.6;
}

/* CTA Section */
.landing-cta {
    position: relative;
    padding: 6rem 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #fff;
}

.landing-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.landing-cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(4, 120, 87, 0.3) 0%, transparent 50%);
    animation: gradientMove 10s ease-in-out infinite;
}

.landing-cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.landing-cta-shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    animation: float1 8s ease-in-out infinite;
}

.landing-cta-shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
    animation: float2 10s ease-in-out infinite;
}

.landing-cta-inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.landing-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.landing-cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.landing-cta-cta {
    margin-bottom: 2rem;
}

.landing-cta-trust {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.landing-cta-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.landing-cta-trust-icon {
    color: #fbbf24;
    font-weight: 700;
}

/* Footer Styles for Landing Page */
.landing-footer {
    background: #fff;
    border-top: 1px solid #d5dde8;
    margin-top: auto;
    padding: 3rem 1.5rem 1rem;
}

.landing-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.landing-footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.landing-footer-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f1a26;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.landing-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.landing-footer-links a {
    color: #5c6f82;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.landing-footer-links a:hover {
    color: #0b5fd4;
}

.landing-footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.landing-footer-contact a {
    color: #5c6f82;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.landing-footer-contact a:hover {
    color: #0b5fd4;
}

.landing-footer-bottom {
    background: #f8fafc;
    border-top: 1px solid #d5dde8;
    padding: 1.5rem 1.5rem;
}

.landing-footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.landing-footer-copyright {
    font-size: 0.875rem;
    color: #5c6f82;
    margin: 0;
}

.landing-footer-powered {
    font-size: 0.875rem;
    color: #5c6f82;
    margin: 0;
}

.landing-footer-powered a {
    color: #0b5fd4;
    text-decoration: none;
    font-weight: 600;
}

.landing-footer-powered a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .landing-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .landing-hero-content {
        order: 2;
    }
    
    .landing-hero-visual {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .landing-hero-title {
        font-size: 2.5rem;
    }
    
    .landing-hero-cta {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    
    .landing-hero-trust {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .landing-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .landing-how-it-works-steps {
        grid-template-columns: 1fr;
    }
    
    .landing-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .landing-footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .landing-hero {
        padding: 4rem 1rem 3rem;
    }
    
    .landing-hero-title {
        font-size: 2rem;
    }
    
    .landing-hero-description {
        font-size: 1rem;
    }
    
    .landing-hero-cta {
        flex-direction: column;
    }
    
    .landing-hero-trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .landing-hero-dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .landing-features-grid {
        grid-template-columns: 1fr;
    }
    
    .landing-stats-inner {
        grid-template-columns: 1fr;
    }
    
    .landing-section-title {
        font-size: 1.75rem;
    }
    
    .landing-cta-title {
        font-size: 1.75rem;
    }
    
    .landing-cta-trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .landing-header {
        padding: 0.75rem 1rem;
    }
    
    .landing-header-brand-text {
        font-size: 1.25rem;
    }
    
    .landing-header-login-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .landing-header-user {
        gap: 0.5rem;
    }
    
    .landing-header-app-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .landing-header-user-name {
        display: none; /* Hide name on mobile to save space */
    }
    
    .landing-header-logout-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .landing-footer-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .landing-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}
