/* Global Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de Cores Premium Aprimorada */
    --primary-blue: #0066cc;
    --dark-blue: #003d7a;
    --light-blue: #3399ff;
    --accent-blue: #00c9ff;
    --accent-cyan: #00e5ff;
    --deep-navy: #001f3f;
    --electric-blue: #0080ff;
    
    /* Tons de Cinza e Preto */
    --black: #000000;
    --dark-gray: #0f0f0f;
    --medium-gray: #1a1a1a;
    --gray: #2a2a2a;
    --light-gray: #888888;
    --lighter-gray: #b0b0b0;
    
    /* Brancos */
    --white: #ffffff;
    --off-white: #f5f7fa;
    --pure-white: #fefefe;
    
    /* Gradientes Premium */
    --gradient-1: linear-gradient(135deg, #0066cc 0%, #00c9ff 100%);
    --gradient-2: linear-gradient(135deg, #001f3f 0%, #0066cc 100%);
    --gradient-3: linear-gradient(135deg, #003d7a 0%, #0080ff 50%, #00c9ff 100%);
    --gradient-hero: linear-gradient(135deg, #000000 0%, #001f3f 50%, #003d7a 100%);
    --gradient-card: linear-gradient(145deg, #0f0f0f 0%, #1a1a1a 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(0, 201, 255, 0.15) 0%, transparent 70%);
    
    /* Sombras Premium */
    --shadow-sm: 0 2px 12px rgba(0, 102, 204, 0.1);
    --shadow-md: 0 4px 24px rgba(0, 102, 204, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 102, 204, 0.25);
    --shadow-xl: 0 12px 50px rgba(0, 102, 204, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 201, 255, 0.4);
    --shadow-glow-lg: 0 0 50px rgba(0, 201, 255, 0.5);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--black);
    color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 201, 255, 0.3));
}

.logo-img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 20px rgba(0, 201, 255, 0.5));
}

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

.nav-link {
    color: var(--off-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0.8;
    pointer-events: none;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-100px) translateX(50px); }
    50% { transform: translateY(-200px) translateX(-50px); }
    75% { transform: translateY(-100px) translateX(100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 20px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(0, 201, 255, 0.5);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--off-white);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-3);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border: 2px solid transparent;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: var(--shadow-glow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent-cyan);
}

.btn-secondary:hover {
    background: var(--accent-cyan);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

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

.btn-outline:hover {
    background: var(--accent-cyan);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    width: 100%;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-divider path {
    fill: var(--black);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-3);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--light-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 50%, var(--black) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 102, 204, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 201, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    gap: 4rem;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--off-white);
    line-height: 1.8;
}

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

.feature-card {
    background: var(--gradient-card);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 102, 204, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-glow-lg);
    border-color: var(--accent-cyan);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--accent-cyan);
}

.feature-card p {
    color: var(--light-gray);
    font-size: 0.95rem;
}

/* Services Section */
.services {
    background: var(--black);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 102, 204, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 201, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

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

.pricing-card {
    background: var(--gradient-card);
    border-radius: 28px;
    padding: 3.5rem 2.5rem 3rem 2.5rem;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 102, 204, 0.3);
    overflow: visible;
    margin-top: 20px;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 201, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: var(--shadow-glow-lg);
    border-color: var(--accent-cyan);
}

.pricing-card.featured {
    background: var(--gradient-3);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-xl);
    transform: scale(1.03);
}

.pricing-card.featured:hover {
    transform: translateY(-15px) scale(1.06);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-cyan), var(--electric-blue));
    color: var(--white);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    box-shadow: var(--shadow-glow);
    animation: pulse 2s infinite;
    white-space: nowrap;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 201, 255, 0.6);
        transform: translateX(-50%) scale(1);
    }
    50% { 
        box-shadow: 0 0 35px rgba(0, 201, 255, 0.9);
        transform: translateX(-50%) scale(1.05);
    }
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-top: 8px;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
}

.period {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-top: 8px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--off-white);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* Custom Solutions */
.custom-solutions {
    background: var(--gradient-2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.custom-solutions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 201, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(0, 128, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.custom-solutions::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 201, 255, 0.05) 50%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.solutions-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.solutions-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--off-white);
}

/* Contact Section */
.contact {
    background: var(--black);
}

.contact-content {
    margin-top: 3rem;
}

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--gradient-card);
    padding: 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 102, 204, 0.3);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2rem;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-cyan);
}

.contact-item a {
    color: var(--off-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-cyan);
}

.contact-cta {
    background: var(--gradient-card);
    padding: 4rem 3rem;
    border-radius: 24px;
    text-align: center;
    border: 2px solid rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 201, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.contact-cta p {
    font-size: 1.1rem;
    color: var(--lighter-gray);
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.btn-icon {
    font-size: 1.4rem;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--medium-gray) 0%, var(--black) 100%);
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 2px solid rgba(0, 102, 204, 0.3);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-3);
}

.footer-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-links span {
    color: var(--light-gray);
}

.copyright {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    width: 200px;
    padding: 16px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float-pulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.whatsapp-text {
    font-size: 0.85rem;
    line-height: 1.3;
    font-weight: 500;
}

.whatsapp-text strong {
    font-weight: 700;
}

@keyframes float-pulse {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: translateY(-10px);
        box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .logo-img {
        height: 70px;
    }

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

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

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

    .whatsapp-float {
        width: 70px;
        height: 70px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-text {
        display: none;
    }

    .whatsapp-icon {
        width: 40px;
        height: 40px;
    }

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

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

@media (max-width: 640px) {
    .logo-img {
        height: 60px;
    }

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

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

    .section-title {
        font-size: 2rem;
    }
    
    section {
        padding: 80px 0;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    section {
        padding: 60px 0;
    }

    .contact-cta {
        padding: 2.5rem 1.5rem;
    }

    .contact-cta h3 {
        font-size: 1.6rem;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Performance Optimizations */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: no-preference) {
    * {
        scroll-behavior: smooth;
    }
}

/* Selection Color */
::selection {
    background: var(--accent-cyan);
    color: var(--black);
}

::-moz-selection {
    background: var(--accent-cyan);
    color: var(--black);
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--gradient-3);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}
