/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #A1F07C;
    --secondary-color: #68D391;
    --accent-color: #4FD179;
    --dark-bg: #1a1a1a;
    --darker-bg: #0f0f0f;
    --card-bg: #222222;
    --card-hover: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-muted: #888888;
    --border-color: #333333;
    --gradient: linear-gradient(135deg, #A1F07C 0%, #68D391 100%);
    --gradient-hover: linear-gradient(135deg, #b5ff8f 0%, #7ae0a5 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(161, 240, 124, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--darker-bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(161, 240, 124, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(104, 211, 145, 0.05) 0%, transparent 50%);
    overflow-x: hidden;
}

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

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px var(--primary-color));
    }
    50% {
        filter: drop-shadow(0 0 20px var(--primary-color));
    }
}

@keyframes dash {
    to {
        stroke-dashoffset: -20;
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animações para SVGs */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

.float-animation-delay-1 {
    animation: float 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.float-animation-delay-2 {
    animation: float 3s ease-in-out infinite;
    animation-delay: 1s;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

.pulse-animation-delay-1 {
    animation: pulse 2s ease-in-out infinite;
    animation-delay: 0.3s;
}

.pulse-animation-delay-2 {
    animation: pulse 2s ease-in-out infinite;
    animation-delay: 0.6s;
}

.dash-animation {
    stroke-dasharray: 10;
    animation: dash 1s linear infinite;
}

.dash-animation-delay {
    stroke-dasharray: 10;
    animation: dash 1s linear infinite;
    animation-delay: 0.5s;
}

/* Header e Navegação */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
    background-color: rgba(15, 15, 15, 0.98);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo svg {
    transition: filter 0.3s ease;
}

.logo:hover svg {
    filter: drop-shadow(0 0 10px var(--primary-color));
}

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

.nav-menu li a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

.nav-menu li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    padding: 140px 20px 100px;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(161, 240, 124, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 0 0 30px rgba(161, 240, 124, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-illustration {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-illustration svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(161, 240, 124, 0.2));
}

/* Benefits Section */
.benefits {
    padding: 100px 20px;
    background-color: var(--darker-bg);
    position: relative;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
    box-shadow: var(--shadow-glow);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 2rem auto 4rem;
}

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

.benefit-card {
    padding: 2.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-color);
    background: var(--card-hover);
}

.benefit-icon {
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px var(--primary-color));
}

.benefit-card:hover .benefit-icon svg {
    animation: pulse 1s ease-in-out infinite;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.benefit-card:hover h3 {
    color: var(--primary-color);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Solutions Section */
.solutions {
    padding: 100px 20px;
    background-color: var(--dark-bg);
    position: relative;
}

.solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 20px var(--primary-color);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.solution-card {
    padding: 2.5rem;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.6s ease-out both;
}

.solution-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.solution-card:hover::after {
    opacity: 1;
}

.solution-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(161, 240, 124, 0.3);
    background: var(--card-hover);
}

.solution-icon {
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 0 20px var(--primary-color));
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.solution-card:hover h3 {
    color: var(--primary-color);
    transform: translateX(5px);
}

.solution-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 20px;
    background-color: var(--darker-bg);
}

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

.step {
    position: relative;
    animation: fadeInUp 0.8s ease-out both;
}

.step:nth-child(1) { animation-delay: 0.1s; }
.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.3s; }
.step:nth-child(4) { animation-delay: 0.4s; }

.step-number {
    position: absolute;
    top: -30px;
    left: 0;
    font-size: 6rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.1;
    line-height: 1;
    z-index: 0;
    transition: all 0.4s ease;
}

.step:hover .step-number {
    opacity: 0.2;
    transform: scale(1.1);
}

.step-content {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.step:hover .step-content {
    transform: translateX(10px);
}

.step-icon {
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.step:hover .step-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px var(--primary-color));
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.step:hover h3 {
    color: var(--primary-color);
}

.step p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Stats Section */
.stats {
    padding: 100px 20px;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    transition: all 0.4s ease;
    animation: scaleIn 0.6s ease-out both;
    cursor: pointer;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card:hover {
    transform: scale(1.1);
}

.stat-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    transform: translateY(-10px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.1);
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Technologies Section */
.technologies {
    padding: 100px 20px;
    background-color: var(--dark-bg);
    position: relative;
}

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

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out both;
}

.tech-item:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: var(--primary-color);
    background: var(--card-hover);
}

.tech-item svg {
    transition: all 0.4s ease;
}

.tech-item:hover svg {
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px var(--primary-color));
}

.tech-item span {
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.tech-item:hover span {
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--darker-bg) 0%, #0a0a0a 100%);
    color: white;
    padding: 80px 20px 30px;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 20px var(--primary-color);
}

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

.footer-brand .logo {
    margin-bottom: 1rem;
    color: white;
    transition: all 0.3s ease;
}

.footer-brand .logo:hover {
    transform: scale(1.05);
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: var(--shadow-xl);
        padding: 2rem;
        gap: 1.5rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: 2px solid var(--primary-color);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 120px 20px 80px;
    }

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

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

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

    .benefits-grid,
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

    .benefit-card,
    .solution-card {
        padding: 2rem;
    }
}

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

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

    .benefit-card,
    .solution-card {
        padding: 1.5rem;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

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

/* Tablet Specific */
@media (min-width: 769px) and (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Scroll Reveal Animations */
.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

.solution-card:nth-child(1) { animation-delay: 0.1s; }
.solution-card:nth-child(2) { animation-delay: 0.2s; }
.solution-card:nth-child(3) { animation-delay: 0.3s; }
.solution-card:nth-child(4) { animation-delay: 0.4s; }
.solution-card:nth-child(5) { animation-delay: 0.5s; }
.solution-card:nth-child(6) { animation-delay: 0.6s; }

.tech-item:nth-child(1) { animation-delay: 0.1s; }
.tech-item:nth-child(2) { animation-delay: 0.2s; }
.tech-item:nth-child(3) { animation-delay: 0.3s; }
.tech-item:nth-child(4) { animation-delay: 0.4s; }
.tech-item:nth-child(5) { animation-delay: 0.5s; }
.tech-item:nth-child(6) { animation-delay: 0.6s; }

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 6px;
    border: 2px solid var(--darker-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-hover);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--darker-bg);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--darker-bg);
}

/* Focus styles para acessibilidade */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Loading Animation (opcional para futuras implementações) */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Print styles */
@media print {
    .header,
    .footer {
        display: none;
    }

    .hero {
        padding: 20px;
    }

    body {
        background: white;
        color: black;
    }
}
