/* Reset e Variáveis */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --success: #10B981;
    --success-dark: #059669;
    --warning: #F59E0B;
    --danger: #EF4444;
    --payment: #8B5CF6;
    --payment-dark: #7C3AED;
    --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(--payment);
    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(--payment-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-outline:hover {
    background-color: var(--payment);
    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(--payment);
}

.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(--payment);
}

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

/* Payment Hero Section */
.payment-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--white) 0%, #f0f4ff 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(--payment) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-category {
    display: inline-block;
    background: var(--payment);
    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;
    margin-bottom: 2rem;
}

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

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-feature i {
    color: var(--success);
}

.project-hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.devices-showcase {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
}

.device:hover {
    transform: translateY(-10px);
    z-index: 10;
}

.device.smartphone {
    width: 200px;
    height: 400px;
    left: 20%;
    top: 20%;
    border: 8px solid #2D3748;
    border-radius: 24px;
}

.device.terminal {
    width: 250px;
    height: 180px;
    right: 20%;
    top: 30%;
    border: 12px solid #4A5568;
    border-radius: 12px;
}

.device.tablet {
    width: 280px;
    height: 200px;
    left: 50%;
    bottom: 20%;
    transform: translateX(-50%);
    border: 10px solid #2D3748;
    border-radius: 16px;
}

.device-screen {
    width: 100%;
    height: 100%;
    background: var(--gray-dark);
    border-radius: inherit;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

/* App Interface Styles */
.app-interface {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

.app-title {
    font-weight: 700;
    font-size: 1.2rem;
}

.payment-amount {
    text-align: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    opacity: 0.8;
}

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

.card-preview {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.card-number {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.card-brand {
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0.8;
}

.pay-button {
    background: var(--white);
    color: var(--payment);
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: auto;
}

.pay-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Terminal Interface */
.terminal-interface {
    width: 100%;
    height: 100%;
    padding: 1rem;
    background: #2D3748;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.terminal-header {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.terminal-amount {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.terminal-instruction {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.terminal-contactless {
    font-size: 2rem;
    color: var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Tablet Interface */
.dashboard-interface {
    width: 100%;
    height: 100%;
    padding: 1rem;
    background: var(--white);
    color: var(--black);
}

.dashboard-header h4 {
    margin: 0;
    color: var(--payment);
}

.sales-stats {
    margin-top: 1rem;
}

.sale-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.sale-value {
    font-weight: 600;
    color: var(--success);
}

/* 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(--payment);
    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(--payment);
}

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

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

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

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

.platform-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(--payment);
}

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

.platform-icon {
    font-size: 3rem;
    color: var(--payment);
    margin-bottom: 1.5rem;
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.platform-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Integrations Section */
.integrations {
    background-color: var(--white);
}

.integration-category {
    margin-bottom: 3rem;
}

.integration-category h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--payment);
}

.brands-grid, .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.brand-card, .partner-card {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

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

.brand-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    color: var(--white);
    font-size: 0.8rem;
}

.brand-logo.visa { background: #1A1F71; }
.brand-logo.mastercard { background: #EB001B; }
.brand-logo.amex { background: #2E77BC; }
.brand-logo.elo { background: #00A4E0; }
.brand-logo.hipercard { background: #D52B1E; }
.brand-logo.discover { background: #FF6000; }

.partner-logo {
    width: 60px;
    height: 60px;
    background: var(--payment);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.brand-name, .partner-name {
    font-weight: 600;
    color: var(--black);
}

/* Security Section */
.security {
    background-color: var(--gray-light);
}

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

.security-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.security-icon {
    font-size: 2.5rem;
    color: var(--payment);
    margin-bottom: 1rem;
}

.security-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

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

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

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

.scenario-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

.scenario-visual {
    background: var(--gray-light);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.scenario-info {
    padding: 1.5rem;
}

.scenario-info h3 {
    margin-bottom: 1rem;
    color: var(--payment);
}

.scenario-info p {
    color: var(--gray);
}

/* Demo Devices */
.demo-phone, .demo-terminal, .demo-tablet {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.demo-phone {
    width: 180px;
    height: 350px;
    border: 6px solid #2D3748;
    border-radius: 20px;
}

.demo-terminal {
    width: 220px;
    height: 150px;
    border: 8px solid #4A5568;
    border-radius: 8px;
}

.demo-tablet {
    width: 250px;
    height: 170px;
    border: 8px solid #2D3748;
    border-radius: 12px;
}

.phone-screen, .terminal-screen, .tablet-screen {
    width: 100%;
    height: 100%;
    background: var(--gray-dark);
    border-radius: inherit;
    overflow: hidden;
}

/* Payment Screen */
.payment-screen {
    width: 100%;
    height: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.payment-amount {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
}

.payment-methods {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.method {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.method.active {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.method i {
    display: block;
    margin-bottom: 0.25rem;
}

.method span {
    font-size: 0.8rem;
}

.pay-now-btn {
    background: var(--white);
    color: var(--payment);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: auto;
}

/* Terminal Demo */
.terminal-display {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #2D3748;
    color: var(--white);
}

.terminal-amount {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.terminal-message {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.contactless-icon {
    font-size: 1.5rem;
    color: var(--success);
    animation: pulse 2s infinite;
}

/* Tablet Demo */
.dashboard-screen {
    width: 100%;
    height: 100%;
    padding: 1rem;
    background: var(--white);
    color: var(--black);
}

.dashboard-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--payment);
}

.sales-overview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sales-metric {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.metric-value {
    font-weight: 600;
    color: var(--success);
}

/* 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(--payment);
    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(--payment) 0%, var(--primary) 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(--payment);
}

/* 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(--payment);
}

.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;
    }
    
    .devices-showcase {
        transform: scale(0.9);
    }
}

@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;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .devices-showcase {
        transform: scale(0.8);
    }
    
    /* Overview */
    .project-overview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    /* Platform Grid */
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    /* Brands Grid */
    .brands-grid, .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Security */
    .security-features {
        grid-template-columns: 1fr;
    }
    
    /* Demo */
    .demo-scenarios {
        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;
    }
    
    .payment-hero {
        padding: 8rem 0 3rem;
    }
    
    .project-hero-text h1 {
        font-size: 2rem;
    }
    
    .project-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .brands-grid, .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .project-hero-text h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .platform-card {
        padding: 2rem 1.5rem;
    }
    
    .devices-showcase {
        transform: scale(0.7);
    }
}