:root {
    /* Cyber/Tech Color Palette */
    --bg-base: #030508;
    --bg-surface: #0a0e17;
    --bg-grid: rgba(255, 255, 255, 0.03);

    --neon-blue: #00d2ff;
    --neon-purple: #7a28cb;
    --brand-primary: #3a86ff;
    --brand-accent: #00f5d4;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;

    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 210, 255, 0.3);

    --gradient-glow: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background & Cyber Elements */
.tech-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-color: var(--bg-base);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(var(--bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    perspective: 1000px;
    transform: rotateX(60deg) translateY(-100px) scale(2);
    transform-origin: top;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 40px;
    }
}

.cyber-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
}

.cyber-1 {
    top: -100px;
    left: -200px;
    background: var(--brand-primary);
    animation: pulseGlow 10s infinite alternate;
}

.cyber-2 {
    bottom: -100px;
    right: -200px;
    background: var(--brand-accent);
    animation: pulseGlow 8s infinite alternate-reverse;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.25;
    }
}

/* Typography Helper */
.text-gradient {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Header */
.cyber-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.cyber-header.scrolled {
    background: rgba(3, 5, 8, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.email-link:hover {
    color: var(--brand-accent);
}

.email-link i {
    margin-right: 5px;
}

/* Buttons */
.btn-solid-cyber {
    background: var(--gradient-glow);
    color: var(--bg-base);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 4px;
    /* Mais quadrado para visual tech */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
}

.btn-solid-cyber::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: all 0.5s;
}

.btn-solid-cyber:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 245, 212, 0.4);
}

.btn-solid-cyber:hover::before {
    left: 100%;
}

.btn-outline-cyber {
    background: transparent;
    color: var(--brand-accent);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 14px 28px;
    border: 1px solid var(--brand-accent);
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
    position: relative;
}

.btn-outline-cyber:hover {
    background: rgba(0, 245, 212, 0.05);
    box-shadow: inset 0 0 10px rgba(0, 245, 212, 0.2);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 100%;
}

.hero-visuals {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
}

.floating-dashboard {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 0 50px rgba(0, 245, 212, 0.15), 0 0 20px rgba(58, 134, 255, 0.2);
    animation: floatingObj 6s ease-in-out infinite;
    border: 1px solid var(--border-glass);
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(8px);
    display: block;
}

@keyframes floatingObj {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.badge-tech {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(3, 5, 8, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 30px;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    color: var(--brand-accent);
    margin-bottom: 30px;
    backdrop-filter: blur(4px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--brand-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-accent);
    animation: pulsate 1.5s infinite;
}

@keyframes pulsate {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.stats-bar {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 30px;
    background: rgba(10, 14, 23, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: inline-flex;
}

.floating-stats {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 110%;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.divider {
    width: 1px;
    height: 40px;
    background: var(--border-glass);
}

/* Solutions */
.solutions-section {
    padding: 120px 0;
}

.section-heading {
    margin-bottom: 60px;
    max-width: 600px;
}

.section-heading .title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-heading .subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.tech-card {
    background: var(--bg-surface);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    border: 1px solid var(--border-glass);
    transition: transform 0.4s ease, background 0.4s;
    overflow: hidden;
    z-index: 1;
}

.tech-card.wide {
    grid-column: 1 / -1;
    /* Ocupa linha toda */
}

.card-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    z-index: -1;
    background: linear-gradient(135deg, transparent, transparent, rgba(0, 245, 212, 0.05));
    opacity: 0;
    transition: opacity 0.4s;
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: rgba(58, 134, 255, 0.4);
    background: rgba(10, 14, 23, 0.9);
}

.tech-card:hover .card-border {
    opacity: 1;
}

.card-icon {
    font-size: 2rem;
    color: var(--brand-accent);
    margin-bottom: 24px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Conversion / Contact */
.conversion-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(10, 14, 23, 0.8));
    border-top: 1px solid var(--border-glass);
    position: relative;
    overflow: hidden;
}

.conversion-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.conversion-text h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.conversion-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.direct-contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-item i {
    font-size: 2rem;
}

.email-box i {
    color: var(--brand-primary);
}

.wpp-box i {
    color: #25D366;
}

.contact-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.c-info {
    display: flex;
    flex-direction: column;
}

.c-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.c-value {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.conversion-form-wrapper {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(58, 134, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(58, 134, 255, 0.05);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.tech-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 16px;
    background: rgba(3, 5, 8, 0.8);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--brand-accent);
}

.input-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 1rem;
}

/* Float label effect */
.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label {
    top: -10px;
    left: 12px;
    font-size: 0.85rem;
    background: var(--bg-surface);
    padding: 0 4px;
    color: var(--brand-accent);
}

.input-group select option {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.submit-btn {
    width: 100%;
    justify-content: center;
    padding: 20px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.privacy-note {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    display: block;
    margin-top: 10px;
}

/* Footer */
.cyber-footer {
    border-top: 1px solid var(--border-glass);
    background: var(--bg-base);
    padding: 40px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img-footer {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 245, 212, 0.25));
    transition: transform 0.3s ease;
}

.logo-img-footer:hover {
    transform: scale(1.05);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--brand-accent);
}

.footer-links span {
    color: var(--border-glass);
}

/* Responsive */
@media (max-width: 968px) {
    .conversion-container {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto;
    }

    .floating-stats {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        width: 100%;
        margin-top: 20px;
        margin-bottom: 50px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stats-bar {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .divider {
        width: 100%;
        height: 1px;
    }

    .text-gradient {
        display: inline;
    }

    .hide-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .tech-card {
        padding: 24px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-heading .title {
        font-size: 2.1rem;
        line-height: 1.2;
    }
    
    .conversion-text h2 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .c-value {
        font-size: 0.95rem;
        word-break: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .c-label {
        font-size: 0.75rem;
    }

    .contact-item {
        padding: 16px;
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .conversion-form-wrapper {
        padding: 24px 16px;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }

    .solutions-section {
        padding: 60px 0;
    }

    .conversion-section {
        padding: 40px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-actions a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .nav-links {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}