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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #0a0a0a;
    overflow-x: hidden;
}

/* Hero Section */
.hero {More actions
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-10px) translateY(-10px); }
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1s both;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #00ff88;
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(-100%);
}

.nav.visible {
    transform: translateY(0);
}

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

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: white;
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

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

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.section-subtitle {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 4rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}
.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}
.about-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    line-height: 1.8;
}
.about-text p {
    margin-bottom: 1.5rem;
}
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.expertise-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.expertise-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.expertise-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.expertise-title {
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.expertise-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Cases Section */
.cases {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.case-number {
    position: absolute;
    top: -15px;
    right: 2rem;
    background: linear-gradient(45deg, #00ff88, #00cc6a);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.case-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.case-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.case-link {
    display: inline-block;
    color: #00ff88;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.case-link:hover {
    color: #00cc6a;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    color: white;
    margin-bottom: 2rem;
}

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

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.contact-label {
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.contact-value {
    color: rgba(255, 255, 255, 0.9);
}

.contact-value a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.contact-value a:hover {
    color: white;
}

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

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links {
        display: none;
    }
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #00ff88, #00cc6a);
    z-index: 1001;
    transition: width 0.1s ease;
}
/* --- Markdown content styling for headings, paragraphs, tables, code, etc. --- */
h1, h2, h3, h4, h5, h6 {
    color: white;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; border-bottom: 2px solid #222; padding-bottom: .5rem; }
h2 { font-size: 2rem; border-bottom: 1px solid #222; padding-bottom: .3rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }
h5, h6 { font-size: 1rem; }

p {
    color: rgba(255,255,255,0.90);
    margin-bottom: 1.2rem;
    font-size: 1.10rem;
    line-height: 1.7;
}

ul, ol {
    color: rgba(255,255,255,0.88);
    margin: 1.2em 0 1.2em 2.5em;
    font-size: 1.06rem;
}

li {
    margin-bottom: .5em;
    line-height: 1.5;
}

pre, code {
    background: #181818;
    color: #00ff88;
    border-radius: 6px;
    padding: 0.25em 0.6em;
    font-family: 'Fira Mono', 'Consolas', 'Monaco', monospace;
    font-size: 1em;
}

pre {
    padding: 1em;
    overflow-x: auto;
    margin-bottom: 1.5em;
}

code {
    font-size: 1em;
    padding: 0.2em 0.5em;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0 2.5rem 0;
    color: #fff;
    background: rgba(255,255,255,0.03);
    font-size: 1.05rem;
}

th, td {
    border: 1px solid #333;
    padding: 0.8em 1em;
}

th {
    background: #222;
    font-weight: 700;
    color: #00ff88;
}

tr:nth-child(even) {
    background: #181818;
}

blockquote {
    border-left: 4px solid #00ff88;
    background: rgba(0,255,136,0.07);
    color: #bfffcf;
    padding: 0.7em 1.5em;
    margin: 1.5em 0;
    font-style: italic;
    border-radius: 5px;
}

hr {
    border: none;
    border-top: 2px solid #222;
    margin: 2em 0;
}

img {
    display: block;
    max-width: 100%;
    margin: 1.5em auto;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,255,136,0.10);
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.2rem; }
    table, th, td { font-size: 0.98rem; }
    pre, code { font-size: 0.98rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.35rem; }
    h2 { font-size: 1.1rem; }
}

/* Melhora apenas a cor dos links, mantendo formatação existente */
a {
    color: #60A5FA !important; /* azul claro */
}

a:hover {
    color: #93C5FD !important; /* azul mais claro no hover */
}

a:visited {
    color: #A78BFA !important; /* roxo claro para links visitados */
}
