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

:root {
    --primary-yellow: #F4D03F;
    --primary-dark: #1a1a1a;
    --secondary-dark: #2d2d2d;
    --text-dark: #0a0a0a;
    --text-light: #ffffff;
    --text-gray: #666666;
    --bg-light: #ffffff;
    --bg-gray: #f8f8f8;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

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

/* Language Toggle */
.lang-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
    background: var(--bg-light);
    padding: 0.25rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px var(--shadow);
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
}

.lang-btn.active {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.lang-btn:hover:not(.active) {
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
    padding: 6rem 0 4rem;
}

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

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.logo-container {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px var(--shadow));
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    font-weight: 400;
}

.badge-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--primary-yellow);
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-notice {
    max-width: 680px;
    margin-top: 0.5rem;
    padding: 0.875rem 1rem;
    border-left: 4px solid var(--primary-yellow);
    border-radius: 8px;
    background: #fff9dd;
    color: #4b3d00;
    font-size: 0.95rem;
    line-height: 1.5;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-dark);
    color: var(--text-light);
    box-shadow: 0 4px 12px var(--shadow);
}

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

.btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Hero Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
    transition: filter 0.3s ease, transform 0.3s ease;
    will-change: filter, transform;
}

.mockup-svg:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 30px 90px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(-3deg);
    }
    50% {
        transform: translateY(-20px) rotateX(2deg) rotateY(-3deg);
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.feature-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow);
    border-color: var(--primary-yellow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Tech Stack Section */
.tech-stack {
    padding: 6rem 0;
    background: var(--bg-gray);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.tech-item {
    display: flex;
}

.tech-badge {
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid var(--primary-dark);
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.tech-badge:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
    transform: scale(1.05);
}

/* Open Source Section */
.open-source {
    padding: 6rem 0;
    background: var(--primary-dark);
    color: var(--text-light);
}

.open-source .section-title {
    color: var(--text-light);
}

.open-source-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.open-source-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.open-source .btn-primary {
    background: var(--primary-yellow);
    color: var(--text-dark);
}

.open-source .btn-primary:hover {
    background: #f8da5b;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.footer-made-in-brazil {
    margin-top: 0.5rem;
    font-weight: 600;
    color: var(--primary-yellow);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .mockup-svg {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .lang-toggle {
        top: 1rem;
        right: 1rem;
    }

    .hero {
        padding: 5rem 0 3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

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

    .project-notice {
        font-size: 0.9rem;
        padding: 0.75rem 0.875rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

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



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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .logo-container {
        width: 80px;
        height: 80px;
    }

    .badge-container {
        flex-direction: column;
    }

    .badge {
        width: fit-content;
    }
}

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

.hero-content > * {
    animation: fadeInUp 0.6s ease-out backwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

.mockup-svg {
    animation: fadeInUp 0.8s ease-out 0.3s backwards, float 6s ease-in-out 0.8s infinite;
}
