/* 
   -----------------------------------------
   VARIABLES & RESET 
   -----------------------------------------
*/
:root {
    --bg-dark: #0b1120;
    /* Very dark blue/slate */
    --bg-card: #1e293b;
    /* Slightly lighter for cards */
    --bg-card-hover: #334155;

    --primary: #3b82f6;
    /* Blue */
    --primary-dark: #2563eb;
    --secondary: #06b6d4;
    /* Cyan/Teal */
    --accent: #10b981;
    /* Green */

    --text-main: #f1f5f9;
    /* Off-white */
    --text-muted: #94a3b8;
    /* Light gray */

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);

    --container-max: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* 
   -----------------------------------------
   UTILITIES
   -----------------------------------------
*/
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.narrow-container {
    max-width: 800px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: #0f172a;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 
   -----------------------------------------
   HEADER
   -----------------------------------------
*/
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(11, 17, 32, 0.85);
    /* Glass */
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.3);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-text .accent {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--text-main);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 
   -----------------------------------------
   HERO SECTION
   -----------------------------------------
*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

/* Simulated Tech Background */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 40%);
    z-index: -1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 800px;
}

.hero-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    width: 100%;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat-item i {
    color: var(--primary);
}

/* 
   -----------------------------------------
   SERVICES SECTION
   -----------------------------------------
*/
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

/* Featured Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.service-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.feature-list li i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* List Services Grid (Smaller) */
.services-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-item {
    background: rgba(30, 41, 59, 0.5);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid transparent;
}

.service-item:hover {
    background: var(--bg-card);
    border-color: rgba(59, 130, 246, 0.2);
}

.service-item i {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.service-item h4 {
    font-size: 1rem;
    color: var(--text-main);
}

.service-item:hover i {
    color: var(--secondary);
}

/* 
   -----------------------------------------
   PROCESS SECTION
   -----------------------------------------
*/
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 20px;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    /* Subtle background number */
    line-height: 1;
    margin-bottom: -20px;
    position: relative;
    z-index: 0;
}

.step-card h3 {
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    color: var(--secondary);
}

.step-divider {
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

/* 
   -----------------------------------------
   WHY US 
   -----------------------------------------
*/
.bg-gradient {
    background: linear-gradient(to bottom, var(--bg-dark), #0f172a 50%, var(--bg-dark));
}

.benefits-list {
    margin-top: 30px;
}

.benefits-list li {
    font-size: 1.2rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefits-list li i {
    color: var(--accent);
}

/* 
   -----------------------------------------
   FAQ
   -----------------------------------------
*/
.accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.accordion-item {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    color: white;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-body {
    padding: 0 24px;
    height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    color: var(--text-muted);
}

.accordion-item.active .accordion-body {
    padding: 0 24px 24px 24px;
    height: auto;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}


/* 
   -----------------------------------------
   CTA & FOOTER
   -----------------------------------------
*/
.cta-box {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 80px 40px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
}

.btn-whatsapp:hover {
    background-color: #1ebc57;
}

footer {
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #050911;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-col p,
.footer-col a {
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.cnpj span {
    color: var(--text-main);
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 
   -----------------------------------------
   RESPONSIVE
   -----------------------------------------
*/
@media (max-width: 768px) {
    .hero {
        padding-top: calc(var(--header-height) + 40px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 40px;
        transform: translateY(-150%);
        transition: 0.4s;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
        color: white;
    }

    .process-steps {
        flex-direction: column;
    }

    .step-divider {
        display: none;
    }

    .step-card {
        margin-bottom: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 
   -----------------------------------------
   ANIMATIONS
   -----------------------------------------
*/
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-delay-1 {
    transition-delay: 0.1s;
}

.stagger-delay-2 {
    transition-delay: 0.2s;
}

.stagger-delay-3 {
    transition-delay: 0.3s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-stats {
    animation: float 4s ease-in-out infinite;
}