/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #0f172a;
    --background-color: #f8fafc;
    --text-color: #1e293b;
    --border-color: #e2e8f0;
    --success-color: #22c55e;
    --warning-color: #eab308;
    --danger-color: #ef4444;
    --box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --box-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
}

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

/* Header e Navegação */
header {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--box-shadow);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
    header {
        display: none;
    }
}

nav {
    max-width: 1200px;
    margin: 0 auto;
}

.nav-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

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

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
}

nav a:hover {
    color: var(--primary-color);
    background-color: #f1f5f9;
    transform: translateY(-1px);
}

nav a i {
    font-size: 1.2em;
}

.nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

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

/* Hero Section */
.hero {
    padding: 4rem 1.25rem;
    background: linear-gradient(to bottom, #ffffff, var(--background-color));
    margin-bottom: 3.75rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(120deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.1));
    z-index: 0;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.hero-badge i {
    font-size: 1.2em;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards 0.2s;
}

.hero p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 2rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards 0.4s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards 0.6s;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

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

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

.btn-secondary {
    background-color: #f1f5f9;
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

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

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

/* Projects Section */
.projects {
    margin-bottom: 3.75rem;
}

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

.section-header i {
    font-size: 1.8em;
    color: var(--primary-color);
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-color);
}

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

.project-card {
    background: white;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-lg);
    border-color: var(--primary-color);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.project-header i {
    font-size: 2em;
    color: var(--primary-color);
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 1rem;
}

.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-badge.new {
    background-color: #ecfdf5;
    color: #059669;
}

.project-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.project-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    min-height: 3rem;
}

.project-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
}

.stat i {
    color: var(--primary-color);
}

.project-links {
    display: flex;
    gap: 0.75rem;
}

.project-links .btn {
    flex: 1;
    justify-content: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    width: min(90%, 600px);
    position: relative;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background-color: #e2e8f0;
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f5f9;
}

.modal-header i {
    font-size: 2em;
    color: var(--primary-color);
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 1rem;
}

.modal-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

/* Changelog Styles */
.changelog-list {
    max-height: 65vh;
    overflow-y: auto;
    padding-right: 1.5rem;
    margin-right: -0.5rem;
}

.changelog-list::-webkit-scrollbar {
    width: 6px;
}

.changelog-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 100px;
}

.changelog-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 100px;
}

.changelog-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.changelog-item {
    padding: 2rem;
    border: 2px solid #f1f5f9;
    border-radius: 1.25rem;
    margin-bottom: 1.5rem;
    background: white;
    transition: all 0.3s ease;
}

.changelog-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-lg);
}

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

.changelog-header .version {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.25rem;
    background: #f1f5f9;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
}

.changelog-header .date {
    color: #64748b;
    font-size: 0.95rem;
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.changelog-header .date i {
    color: #94a3b8;
}

.changelog-content h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.changelog-content h4:first-child {
    margin-top: 0;
}

.changelog-content h4 i {
    color: var(--primary-color);
    font-size: 1.2em;
}

.changelog-content ul {
    list-style: none;
    padding-left: 2.5rem;
}

.changelog-content ul li {
    position: relative;
    margin-bottom: 0.75rem;
    color: #475569;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.changelog-content ul li:hover {
    background: #f1f5f9;
    transform: translateX(4px);
}

.changelog-content ul li::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-color);
    transform: translateY(-50%);
}

/* Form Elements */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.input-group {
    display: flex;
    align-items: center;
    background-color: #f8fafc;
    border: 2px solid #f1f5f9;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.input-group .currency {
    padding: 1rem 1.25rem;
    background-color: #f1f5f9;
    color: var(--secondary-color);
    font-weight: 600;
    border-right: 2px solid #e2e8f0;
    font-size: 1.1rem;
}

.input-group input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    outline: none;
    font-size: 1.1rem;
    font-family: inherit;
    background: transparent;
}

.quick-values {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.quick-value {
    padding: 0.75rem 1.25rem;
    border: 2px solid #f1f5f9;
    border-radius: 1rem;
    background: white;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: calc(25% - 0.75rem);
    text-align: center;
}

.quick-value:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.quick-value.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #f1f5f9;
    border-radius: 1rem;
    font-family: inherit;
    font-size: 1.1rem;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #f1f5f9;
    border-radius: 1rem;
    font-family: inherit;
    font-size: 1.1rem;
    resize: vertical;
    min-height: 7rem;
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Footer */
footer {
    background-color: white;
    color: var(--text-color);
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-links {
        flex-direction: column;
    }

    .quick-value {
        min-width: calc(50% - 0.375rem);
    }

    .modal-content {
        padding: 1.5rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .changelog-item {
        padding: 1.5rem;
    }

    .changelog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .changelog-content ul {
        padding-left: 2rem;
    }

    .changelog-content ul li {
        padding: 0.75rem;
    }

    .project-stats {
        gap: 0.5rem;
    }

    .stat {
        flex: 1;
        min-width: calc(50% - 0.25rem);
        justify-content: center;
    }

    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .modal-header i {
        font-size: 1.5em;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }
    
    .payment-content {
    text-align: center;
}

.payment-status {
    padding: 2rem 0;
}

.status-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.status-icon i {
    animation: spin 1s linear infinite;
}

.status-icon.error {
    color: var(--danger-color);
}

.status-icon.error i {
    animation: none;
}

.status-message {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.qr-code-container {
    padding: 1rem;
}

.qr-code-image {
    width: 256px;
    height: 256px;
    margin: 0 auto 1.5rem;
}

.qr-code-image img {
    width: 100%;
    height: 100%;
}

.payment-amount {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.payment-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.payment-timer i {
    color: var(--warning-color);
}

.copy-pix {
    width: 100%;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .qr-code-image {
        width: 200px;
        height: 200px;
    }
}
    
}