.dna-hero .hero-title {
    font-size: clamp(2.5rem, 7vw, 6rem);
    word-break: break-word;
    hyphens: auto;
    width: 100%;
}

.dna-hero {
    padding: 100px 15% 100px;
    background-color: var(--bg-primary);
    overflow: hidden;
    transition: background-color 0.5s ease;
}

.dna-hero .hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.code-editor-window:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--noise);
    background-size: 100px 100px; 
    background-repeat: repeat;
    opacity: 0.04; 
    pointer-events: none;
    z-index: 1;
    border-radius: 20px;
}

.code-editor-window {
    width: 100%;
    max-width: 330px;
    background: #0d0d0d;
    border: 1px solid var(--border-color); 
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease;
}

.editor-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.editor-dots {
    display: flex; 
    gap: 5px; 
}

.editor-dots span {
    width: 6px; 
    height: 6px; 
    border-radius: 50%; 
    background: rgba(255,255,255,0.2); 
}

.address-bar {
    height: 25px;
    flex: 1;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgb(251 251 251 / 8%);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12px;
    color: var(--text-secondary);
    display: flex; 
    align-items: center; 
    gap: 8px; 
    opacity: 0.7;
    transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}

.address-bar span, 
.address-bar .material-symbols-outlined {
    font-size: 25px;
}

.editor-body {
    padding: 25px;
    display: flex;
    gap: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    min-height: 280px;
}

.line-numbers {
    display: flex;
    flex-direction: column;
    color: var(--text-secondary);
    opacity: 0.5;
    text-align: right;
    user-select: none;
    min-width: 25px;
    padding-right: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.066);
}

.line-numbers span {
    display: block;
    height: 1.6em;
    line-height: 1.6em;
    transition: color 0.5s ease;
}

pre {
    margin: 0;
    color: #f8f8f2;
    line-height: 1.6em;
}

.k { color: #ff79c6; }
.f { color: #8be9fd; }
.s { color: #f1fa8c; }
.c { color: #6272a4; }
.v { color: #bd93f9; }
.n { color: #50fa7b; }

.cursor {
    display: inline-block;
    width: 4px;
    height: 16px;
    background: var(--electric-indigo);
    margin-left: 2px;
    vertical-align: middle;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* TEMA CLARO: VISUAL HERO */
body.light-theme .code-editor-window {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

body.light-theme .editor-header {
    background: rgba(0, 0, 0, 0.02);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .address-bar {
    background: #F9F9FB;
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-secondary);
}

body.light-theme .editor-dots span {
    background: rgba(0, 0, 0, 0.15);
}

body.light-theme pre {
    color: #24292e;
}

body.light-theme .line-numbers {
    color: rgba(0, 0, 0, 0.352);
    border-right-color: rgba(0, 0, 0, 0.24);
}

body.light-theme .line-numbers span {
    color: rgba(0, 0, 0, 0.849);
}

body.light-theme .k { color: #d73a49; }
body.light-theme .f { color: #6f42c1; }
body.light-theme .s { color: #032f62; }
body.light-theme .v { color: #e36209; }
body.light-theme .n { color: #22863a; }
body.light-theme .c { color: #6a737d; }

body.light-theme .cursor {
    background: var(--electric-indigo);
}

/* MANIFESTO SECTION */
.dna-manifesto {
    padding: 100px 15%;
    background-color: var(--bg-primary);
    transition: background-color 0.5s ease;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: center;
}
.manifesto-text {
    margin-top: 8px;
}

.manifesto-text p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-top: 5px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.manifesto-stat {
    border-left: 1px solid var(--electric-indigo);
    padding-left: 40px;
    transition: border-color 0.5s ease;
}

.big-number {
    display: block;
    font-size: 6rem;
    font-weight: 800;
    color: var(--stellar-white);
    line-height: 1;
    letter-spacing: -3px;
}

.stat-desc {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: var(--electric-indigo);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dna-values {
    padding: 150px 15%;
    background-color: var(--bg-primary);
    transition: background-color 0.5s ease;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
}

.card-icon-bg {
    width: 50px;
    height: 50px;
    background: rgba(102, 45, 145, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--electric-indigo);
    transition: background-color 0.5s ease, color 0.5s ease;
}

.tech-def {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.5;
    margin-bottom: 20px;
}

.value-card .desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* METHODOLOGY SECTION */
.dna-methodology {
    padding: 150px 15%;
    background-color: var(--bg-primary);
    transition: background-color 0.5s ease;
}

.method-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.code-block-visual {
    background: #050505;
    border: 1px solid var(--border-color);
    padding: 40px 40px 20px 40px;
    border-radius: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 1.8;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
}

.code-block-visual::before {
    content: '// vmoode_core.js';
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

body.light-theme .code-block-visual {
    background: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

body.light-theme .code-block-visual::before {
    color: rgba(0, 0, 0, 0.4);
}

.method-list {
    list-style: none;
    margin-top: 30px;
}

.method-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--stellar-white);
    opacity: 0.8;
}

.method-list li span {
    color: var(--electric-indigo);
}

@keyframes pulseBorder {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 1; border-color: var(--electric-indigo); }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes rotateCircle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 1. Estruturas do Editor (Janela, Header, Bolinhas) */
.code-editor-window,
.editor-header,
.editor-dots span,
.code-block-visual,
.line-numbers {
    transition: background-color 0.5s ease, 
                border-color 0.5s ease, 
                box-shadow 0.5s ease, 
                color 0.5s ease;
}

/* 2. Cores da Sintaxe do Código (Para não piscar ao trocar de cor) */
pre, 
.k, .f, .s, .c, .v, .n,
.cursor {
    transition: color 0.5s ease, 
                background-color 0.5s ease;
}

/* 3. Textos e Elementos de Opacidade */
.manifesto-text p,
.big-number,
.stat-desc,
.tech-def,
.value-card .desc,
.code-block-visual::before, /* O texto "// vmoode_core.js" */
.method-list li {
    transition: color 0.5s ease, 
                opacity 0.5s ease;
}

.service-card h3 {
    font-size: 1.9rem;
}

@media (max-width: 992px) {
    .dna-hero .hero-title { 
        font-size: clamp(3rem, 12vw, 5rem);
        line-height: 1;
    }

    .dna-hero {
        padding: 80px 10%;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dna-hero .hero-visual {
        margin-top: 0px;
        justify-content: center;
    }
    
    .code-editor-window {
        max-width: 100%;
    }
    
    .editor-body {
        font-size: 12px;
        padding: 15px;
        min-height: 220px;
    }

    .dna-manifesto {
        padding: 0px 10%;
    }

    .dna-values, .dna-methodology {
        padding: 80px 10%;
    }
    
    .manifesto-grid, .values-grid, .method-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .manifesto-stat {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--electric-indigo);
        padding-top: 40px;
    }

    .method-split .method-content {
        order: 1;
    }

    .method-split .method-visual {
        order: 2;
        margin-top: 20px;
    }
}