/* Reset e Variáveis */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --success: #10B981;
    --success-dark: #059669;
    --warning: #F59E0B;
    --danger: #EF4444;
    --black: #1A1A1A;
    --gray-dark: #2D2D2D;
    --gray: #6C757D;
    --gray-light: #F8F9FA;
    --white: #FFFFFF;
    --border-radius: 8px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--black);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
}

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

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

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--black);
    cursor: pointer;
}

/* Project Hero Section */
.project-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-light) 100%);
}

.project-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--black);
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-category {
    display: inline-block;
    background: var(--success);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-tagline {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.project-hero-buttons {
    display: flex;
    gap: 1rem;
}

.project-hero-visual {
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.dashboard-window {
    background: var(--gray-dark);
    border-radius: var(--border-radius);
    width: 100%;
    height: 100%;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.window-controls {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-bottom: 1px solid #4a5568;
}

.window-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
}

.window-controls span:nth-child(2) {
    background: #ffbd2e;
}

.window-controls span:nth-child(3) {
    background: #27ca3f;
}

.dashboard-content {
    flex: 1;
    padding: 1.5rem;
    color: var(--white);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h3 {
    color: var(--white);
    margin: 0;
}

.date-filter {
    background: #4a5568;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #2d3748;
    padding: 1rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.stat-card.highlight {
    background: var(--success);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #cbd5e0;
}

.chart-placeholder {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 120px;
    margin-top: 1rem;
}

.chart-bar {
    flex: 1;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
}

/* Project Overview */
.project-overview {
    background-color: var(--white);
}

.project-overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.overview-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.overview-text p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.project-details {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.detail-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.detail-item p {
    margin: 0;
    color: var(--gray);
}

.overview-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-box {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border-left: 4px solid var(--success);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Features Section */
.project-features {
    background-color: var(--gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--success);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--success);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
}

/* Demo Section */
.project-demo {
    background-color: var(--white);
}

.demo-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.demo-tabs {
    display: flex;
    background: var(--gray-light);
    border-bottom: 1px solid #e2e8f0;
}

.demo-tab {
    flex: 1;
    padding: 1rem 2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.demo-tab.active {
    background: var(--white);
    border-bottom-color: var(--primary);
    color: var(--primary);
}

.demo-tab:hover:not(.active) {
    background: rgba(37, 99, 235, 0.05);
}

.demo-content {
    padding: 2rem;
    min-height: 400px;
}

.demo-screen {
    display: none;
}

.demo-screen.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.screen-header h3 {
    margin: 0;
}

.screen-actions {
    display: flex;
    gap: 1rem;
}

.screen-btn {
    padding: 0.5rem 1rem;
    background: var(--gray-light);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.demo-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.demo-stat {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.stat-title {
    display: block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-value.positive {
    color: var(--success);
}

.stat-value.negative {
    color: var(--danger);
}

.demo-chart {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    height: 200px;
}

.chart-container {
    display: flex;
    align-items: end;
    gap: 1rem;
    height: 100%;
}

.chart-bar {
    flex: 1;
    background: var(--primary);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 5px;
    color: var(--white);
    font-size: 0.8rem;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.transaction-icon.income {
    background: var(--success);
}

.transaction-icon.expense {
    background: var(--danger);
}

.transaction-details {
    flex: 1;
}

.transaction-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.transaction-category {
    font-size: 0.8rem;
    color: var(--gray);
}

.transaction-amount {
    font-weight: 700;
    font-size: 1.1rem;
}

.transaction-amount.positive {
    color: var(--success);
}

.transaction-amount.negative {
    color: var(--danger);
}

/* Technology Stack */
.project-tech {
    background-color: var(--gray-light);
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.tech-category h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateX(5px);
    background: var(--primary);
    color: var(--white);
}

.tech-item i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.tech-item span {
    font-weight: 500;
}

/* Testimonials */
.project-testimonials {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.author-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
}

.author-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray);
}

/* CTA Section */
.project-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

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

/* Footer */
.footer {
    background: var(--gray-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1.5rem;
    text-align: center;
    color: #cbd5e0;
}

/* Responsividade */
@media (max-width: 1024px) {
    .project-hero-content {
        gap: 3rem;
    }
    
    .project-hero-text h1 {
        font-size: 3rem;
    }
    
    .project-overview-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Navigation */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Hero */
    .project-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .project-hero-text h1 {
        font-size: 2.5rem;
    }
    
    .project-hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .project-hero-visual {
        height: 300px;
    }
    
    /* Overview */
    .project-overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Demo */
    .demo-tabs {
        flex-direction: column;
    }
    
    .demo-stats {
        grid-template-columns: 1fr;
    }
    
    /* Tech Stack */
    .tech-stack {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .project-hero {
        padding: 8rem 0 3rem;
    }
    
    .project-hero-text h1 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .project-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .project-hero-text h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}