
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: transparent; /* Permite ver o canvas */
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Base preta sólida atrás de tudo para as partes onde não houver canvas */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #030008;
    z-index: -2;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; 
    pointer-events: none;
}

#canvas-container canvas {
    display: block;
    outline: none;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    box-sizing: border-box;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8); /* Fundo mais escuro no lugar do blur */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-logo { font-size: 24px; font-weight: 800; letter-spacing: -1px; }
.nav-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
}
.nav-links a:hover { color: #FF512F; }

main { position: relative; z-index: 2; }

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.logo {
    font-size: 8vw;
    font-weight: 800;
    text-shadow: 0px 4px 30px rgba(0, 0, 0, 0.8);
    margin: 0;
    letter-spacing: -2px;
    position: relative;
    background: linear-gradient(135deg, #fff, #efefef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo::after {
    content: 'DIDois DI2';
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(-1);
    top: 100%;
    opacity: 0.15;
    filter: blur(5px);
    z-index: -1;
    white-space: nowrap;
}

.symbol { font-weight: 600; }
.sub { font-size: 0.6em; vertical-align: sub; }

.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 20px 0 40px;
    font-weight: 300;
    opacity: 0.9;
    color: #dfdfdf;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.cta-button {
    background: linear-gradient(45deg, #4A00E0, #FF512F);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(255, 81, 47, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 81, 47, 0.5);
}

.content-section {
    padding: 100px 10%;
    background: transparent;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-section h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 800;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #fff, #FF512F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    word-wrap: break-word;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.card h3 { font-size: 1.5rem; margin-top: 0; color: #fff; }
.card p { font-size: 1rem; line-height: 1.6; color: #ccc; font-weight: 300; }

footer {
    text-align: center;
    padding: 30px;
    background: rgba(0,0,0,0.8);
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .navbar { flex-direction: column; padding: 20px; gap: 15px; }
    .logo { font-size: 15vw; }
    .content-section { padding: 80px 5%; }
    .content-section h2 { font-size: 2rem; }
    h2 { word-wrap: break-word; hyphens: auto; }
}

