:root {
    --bg-dark: #050508;
    --bg-darker: #020204;
    --primary: #007bff;
    --secondary: #00d2ff;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3 { font-weight: 800; line-height: 1.2; }
span { color: var(--primary); }
p { color: var(--text-muted); }
a { text-decoration: none; color: inherit; }

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

.text-center { text-align: center; }
.mt-4 { margin-top: 40px; }
.mt-2 { margin-top: 20px; }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.3);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-primary-small {
    display: inline-block;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 15px 30px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}
.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.6);
    transform: translateY(-2px);
}
.btn-primary-small {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    font-size: 0.9rem;
}
.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--primary);
    padding: 15px 30px;
    font-size: 1.1rem;
}
.btn-secondary:hover {
    background: rgba(0, 123, 255, 0.1);
}

/* Header */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
    padding: 20px 0;
}
header.scrolled {
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo a {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}
.nav-links a {
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 600px;
}
.hero-buttons {
    display: flex;
    gap: 20px;
}
.hero-glow {
    position: absolute;
    top: 50%;
    right: 0%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 0%, rgba(0,0,0,0) 70%);
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

/* Sections */
.section { padding: 100px 0; }
.bg-darker { background-color: var(--bg-darker); }

/* Sobre */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.sobre-text h2 { margin-bottom: 20px; }
.sobre-text p { margin-bottom: 15px; font-size: 1.1rem; }
.sobre-stats { display: flex; gap: 20px; }
.stat-box { flex: 1; text-align: center; }
.stat-box h3 { font-size: 3rem; color: var(--secondary); margin-bottom: 10px; }

/* Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card .icon { font-size: 2.5rem; margin-bottom: 20px; }
.service-card h3 { margin-bottom: 15px; font-size: 1.3rem; }

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.portfolio-item h3 { margin-bottom: 15px; font-size: 1.3rem; color: #fff; }

/* Diferenciais */
.diff-grid { max-width: 700px; margin: 0 auto; }
.diff-list { list-style: none; }
.diff-list li {
    font-size: 1.2rem;
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-main);
}
.diff-list li strong { color: var(--secondary); }

/* Contato */
.contact-box { max-width: 600px; margin: 0 auto; }
.contact-box h3 { font-size: 2rem; margin-bottom: 15px; }

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-darker);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
    .nav-links { display: none; } /* Mobile menu simplified */
    .hero-buttons { flex-direction: column; }
}
