/* HashDocs - O futuro dos cartórios começou - v1760800700 */
/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Paleta do tema (azul/roxo em fundo preto) */
:root {
    --bg: #000000;
    --fg: #e2e8f0;
    --muted: #94a3b8;
    --glass: rgba(2, 6, 23, 0.6);
    --glass-strong: rgba(2, 6, 23, 0.8);
    --border: rgba(148, 163, 184, 0.18);
    --primary: #3b82f6;   /* azul */
    --accent: #8b5cf6;    /* roxo */
    --primary-soft: rgba(59, 130, 246, 0.15);
    --accent-soft: rgba(139, 92, 246, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--fg);
    background: var(--bg);
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Canvas de fundo para partículas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Menu de navegação */
.main-nav {
    background: var(--glass); /* vidro escuro */
    backdrop-filter: blur(10px);
    border-radius: 15px 15px 0 0;
    border: 1px solid var(--border);
    box-shadow: 0 2px 20px var(--primary-soft);
    position: relative;
    z-index: 1000; /* Garantir que menu fique por cima */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.nav-logo h2 {
    margin: 0;
    color: #93c5fd; /* azul claro */
    font-size: 1.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-logo-img {
    height: 28px;
    width: 28px;
    display: inline-block;
    border-radius: 6px;
}

/* Menu hamburger - hidden por padrão */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: #f0f8ff;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1976d2;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Animação do hamburger quando ativo */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--fg);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-soft);
}

/* Controle de intensidade */
.intensity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding-left: 16px;
}
.intensity-control label {
    font-size: 0.85rem;
    color: var(--muted);
}
.intensity-select {
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--fg);
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
}
.intensity-select:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08), 0 0 0 6px var(--primary-soft);
}

/* Scroll suave para toda a página */
html {
    scroll-behavior: smooth;
}

/* Offset para navegação (compensa header fixo) */
section[id], header[id] {
    scroll-margin-top: 80px;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001; /* Ainda mais alto que o menu principal */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f0f8ff;
    color: #1976d2;
}

/* Responsivo */
@media (max-width: 768px) {
    .nav-container {
        padding: 15px 20px;
    }
    
    /* Mostrar hamburger em mobile */
    .hamburger {
        display: flex;
    }
    
    /* Menu mobile */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--glass-strong);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 10px 30px var(--primary-soft);
        border-radius: 0 0 15px 15px;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 1002; /* Ainda mais alto para mobile */
    }
    
    .nav-menu.active {
        max-height: 400px;
        padding: 20px 0;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-link {
        display: block;
        padding: 15px 30px;
        border-radius: 0;
        border-bottom: 1px solid #f0f0f0;
        margin: 0;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }

    .intensity-control {
        width: 100%;
        justify-content: flex-end;
        padding: 12px 20px 0 20px;
    }
    
    /* Dropdown mobile */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: var(--glass);
        border-radius: 0;
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 5px;
        padding: 0;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        z-index: 1003; /* Máximo z-index */
    }
    
    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 200px;
        padding: 10px 0;
    }
    
    .dropdown-menu a {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    /* Remover hover em mobile para dropdown */
    .dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        padding: 0;
    }
}

/* Ajustes extras para telas pequenas */
@media (max-width: 480px) {
    .file-label {
        min-width: 280px;
        padding: 24px;
    }
    header h1 { font-size: 2rem; }
    .subtitle { font-size: 1rem; }
}

/* Preferência de usuário para reduzir movimento */
@media (prefers-reduced-motion: reduce) {
    .nav-link:hover,
    .card:hover,
    .submit-btn:hover,
    .btn:hover { transform: none; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(59, 130, 246, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 1; /* Z-index baixo para não interferir no menu */
}

/* Cards base */
.card {
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.06);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1; /* Z-index baixo para não interferir no menu */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.12);
}

/* Header */
header {
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.9) 0%, rgba(3, 105, 161, 0.9) 100%);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(59, 130, 246, 0.25), 0 0 24px rgba(139, 92, 246, 0.18);
    position: relative;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
}

/* Linha gradiente sutil abaixo do título */
header h1::after {
    content: "";
    display: block;
    width: 140px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: 0 0 22px var(--primary-soft);
}

/* Main content */
main {
    padding: 40px;
}

.upload-section {
    text-align: center;
    margin-bottom: 60px;
}

/* File input styling */
.file-input-container {
    margin-bottom: 30px;
}

.file-label {
    display: inline-block;
    padding: 40px 60px;
    border: 3px dashed var(--border);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--glass);
    min-width: 400px;
    position: relative;
}

.file-label:hover {
    border-color: var(--primary);
    background: var(--glass-strong);
    transform: translateY(-2px);
}

.file-label.has-file {
    border-color: var(--accent);
    background: rgba(30, 27, 75, 0.35);
}

.file-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

#fileText {
    display: block;
    font-size: 1.1rem;
    color: var(--muted);
    font-weight: 500;
}

#fileInput {
    display: none;
}

/* Submit button */
.submit-btn, .btn, .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    min-width: 250px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover:not(:disabled), .btn:hover:not(:disabled), .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px var(--primary-soft);
}

.submit-btn:disabled, .btn:disabled, .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Botões secundários e ghost para links/ações menos importantes */
.btn-secondary {
    background: transparent;
    color: var(--fg);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 14px;
}
.btn-secondary:hover {
    background: var(--glass);
    box-shadow: 0 6px 18px var(--accent-soft);
}

.btn-ghost {
    background: transparent;
    color: #93c5fd;
    padding: 10px 20px;
}
.btn-ghost:hover {
    color: white;
    text-shadow: 0 0 10px var(--primary-soft);
}

/* Acessibilidade: foco visível */
.nav-link:focus-visible,
.btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.submit-btn:focus-visible,
button:focus-visible,
a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08), 0 0 0 6px var(--primary-soft);
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid #93c5fd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Result area */
.result-area {
    margin: 40px 0;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.result-area.success {
    background: linear-gradient(135deg, rgba(16,185,129,0.15) 0%, rgba(5,150,105,0.12) 100%);
    border: 1px solid rgba(16,185,129,0.5);
}

.result-area.error {
    background: linear-gradient(135deg, rgba(239,68,68,0.16) 0%, rgba(185,28,28,0.12) 100%);
    border: 1px solid rgba(239,68,68,0.45);
}

.result-area.processing {
    background: linear-gradient(135deg, rgba(234,179,8,0.16) 0%, rgba(202,138,4,0.12) 100%);
    border: 1px solid rgba(234,179,8,0.45);
}

.result-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-content {
    font-size: 1rem;
    line-height: 1.6;
}

.transaction-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.transaction-link:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--accent-soft);
}

.hash-display {
    background: var(--glass);
    color: var(--fg);
    padding: 15px;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    margin: 10px 0;
    border: 1px solid var(--border);
}

/* Info section */
.info-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.info-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    font-size: 1.8rem;
}

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

.info-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #667eea;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Developer section */
.developer-section {
    margin-top: 60px;
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
}

.developer-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 1.8rem;
}

.developer-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.developer-info h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.developer-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.developer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.dev-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.dev-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Utility classes */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 15px;
    }
    
    main {
        padding: 20px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .file-label {
        padding: 30px 40px;
        min-width: auto;
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .submit-btn {
        min-width: 200px;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    header {
        padding: 30px 15px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    main {
        padding: 15px;
    }
    
    .file-label {
        padding: 25px 20px;
    }
    
    .file-icon {
        font-size: 2.5rem;
    }
    
    .developer-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .dev-link {
        width: 80%;
        text-align: center;
    }
}

/* === ESTILOS PARA PÁGINAS DE CONTEÚDO === */

/* Seções de conteúdo */
.content-section {
    margin-bottom: 40px;
}

/* Caixas especiais */
.analogy-box,
.highlight-box {
    background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%);
    border-left: 4px solid #29b6f6;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.analogy-box h3,
.highlight-box h3 {
    color: #1976d2;
    margin: 0 0 10px 0;
}

/* Steps/Timeline */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.step {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.step:hover {
    border-color: #29b6f6;
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #29b6f6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 15px;
}

/* Grid de vantagens */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.advantage {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.advantage:hover {
    background: #f0f8ff;
    transform: translateY(-5px);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.advantage h3 {
    color: #1976d2;
    margin: 10px 0;
}

/* Grid de aplicações */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.application {
    padding: 20px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4f8 100%);
    border-radius: 12px;
    border-left: 4px solid #29b6f6;
    transition: all 0.3s ease;
}

.application:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(41, 182, 246, 0.2);
}

.application h3 {
    color: #1976d2;
    margin: 0 0 10px 0;
}

/* Timeline para processo */
.process-timeline {
    position: relative;
    padding: 20px 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    background: #29b6f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.timeline-content h3 {
    color: #1976d2;
    margin: 0 0 8px 0;
}

.timeline-content p {
    margin: 0;
    color: #666;
}

/* Grid de tecnologias */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tech-item {
    text-align: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.tech-item:hover {
    border-color: #29b6f6;
    transform: translateY(-5px);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.tech-item h3 {
    color: #1976d2;
    margin: 10px 0;
    font-size: 1.1rem;
}

/* Benefícios */
.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.benefit {
    padding: 20px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e8f4f8 100%);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(41, 182, 246, 0.2);
}

.benefit h3 {
    color: #1976d2;
    margin: 0 0 10px 0;
}

/* Casos de uso */
.use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.use-case {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #29b6f6;
    transition: all 0.3s ease;
}

.use-case:hover {
    background: #f0f8ff;
    transform: translateY(-3px);
}

.use-case h3 {
    color: #1976d2;
    margin: 0 0 10px 0;
}

/* Roadmap */
.roadmap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}

.roadmap-item {
    padding: 20px;
    border-radius: 12px;
    position: relative;
    border-left: 4px solid #e0e0e0;
}

.roadmap-item.completed {
    background: #e8f5e8;
    border-left-color: #4caf50;
}

.roadmap-item.current {
    background: #fff3e0;
    border-left-color: #ff9800;
}

.roadmap-item.future {
    background: #f3e5f5;
    border-left-color: #9c27b0;
}

.roadmap-item h3 {
    margin: 0 0 10px 0;
}

.roadmap-item.completed h3 { color: #2e7d32; }
.roadmap-item.current h3 { color: #f57c00; }
.roadmap-item.future h3 { color: #7b1fa2; }

/* Call to Action */
.cta-card {
    text-align: center;
    background: linear-gradient(135deg, #29b6f6 0%, #1976d2 100%);
    color: white;
}

.cta-card h2,
.cta-card p {
    color: white;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #1976d2;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsivo para páginas de conteúdo */
@media (max-width: 768px) {
    .steps-container,
    .advantages-grid,
    .applications-grid,
    .tech-grid,
    .benefits-container,
    .use-cases {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-marker {
        margin: 0 auto 15px;
    }
}

/* === ESTILOS BLOCKCHAIN MODE === */

/* Badges de modo blockchain */
.blockchain-mode {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.9rem;
    margin: 15px 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blockchain-mode.real {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
    border: 2px solid #4caf50;
}

.blockchain-mode.simulated {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    border: 2px solid #ff9800;
}

/* Estilos para links de verificação */
.transaction-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 12px;
    margin: 10px 5px;
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    font-weight: 600;
    box-shadow: 0 3px 10px var(--primary-soft);
}

.transaction-link:hover {
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px var(--accent-soft);
}

/* Hash display melhorado */
.hash-display {
    background: var(--glass);
    padding: 15px;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.85rem;
    word-break: break-all;
    margin: 15px 0;
    border: 1px solid var(--border);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hash-display:hover {
    background: var(--glass-strong);
    border-color: var(--primary);
}

.hash-display::after {
    content: "Clique para copiar";
    position: absolute;
    top: -25px;
    right: 10px;
    background: #333;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hash-display:hover::after {
    opacity: 1;
}

/* Seção de Verificação na Blockchain */
.verification-section {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 10px 30px var(--primary-soft);
    border: 1px solid var(--border);
}

.verification-section h2 {
    color: #1976d2;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.8rem;
}

.verification-card {
    background: var(--glass);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.verification-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px var(--primary-soft);
}

.verification-info h3 {
    color: #93c5fd;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.verification-info p {
    margin-bottom: 15px;
    color: var(--muted);
    line-height: 1.6;
}

.contract-address {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.9rem;
    word-break: break-all;
    margin: 15px 0;
    color: var(--fg);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.contract-address:hover {
    background: var(--glass-strong);
    border-color: var(--primary);
}

.contract-address.copied {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border-color: transparent;
}

.contract-address:before {
    content: "📋 Clique para copiar";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: 'Segoe UI', sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.contract-address:hover:before {
    opacity: 1;
}

.verification-buttons {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.verification-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px var(--primary-soft);
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.verification-link:hover {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--accent-soft);
}

.verification-link.secondary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.25);
}

.verification-link.secondary:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 6px 15px rgba(34, 197, 94, 0.35);
}

.verification-note {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.verification-note p {
    color: #e65100;
    font-weight: bold;
    margin-bottom: 10px;
}

.verification-note ul {
    color: #d84315;
    margin-left: 20px;
}

.verification-note li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Formulário de busca/verificação */
.search-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--fg);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.search-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-soft);
}

.search-btn:active {
    transform: translateY(0);
}

.search-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.search-result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 8px;
    display: none;
}

.search-result.show {
    display: block;
}

.search-result.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.search-result.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.search-result.loading {
    background: var(--glass);
    border: 1px solid var(--border);
}

.search-result h4 {
    margin-bottom: 15px;
    color: var(--primary);
}

.search-result p {
    margin: 8px 0;
    line-height: 1.6;
}

.search-result .hash-value {
    background: var(--glass-strong);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    margin: 10px 0;
}

.search-result .timestamp {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Estilos para as novas seções explicativas */
.hero-description {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
}

.blockchain-explanation,
.project-explanation {
    margin: 40px 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.blockchain-card,
.project-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px var(--primary-soft);
    border: 1px solid var(--border);
}

.blockchain-intro,
.project-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--fg);
}

.blockchain-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--glass);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.feature-icon {
    font-size: 1.5rem;
    margin-top: 2px;
}

.feature h4 {
    margin: 0 0 8px 0;
    color: #93c5fd;
    font-size: 1rem;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.project-benefits {
    margin-top: 30px;
}

.project-benefits h3 {
    color: #93c5fd;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

/* (removidos estilos da galeria de logos) */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--glass);
    border-radius: 15px;
    border-left: 4px solid var(--accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--accent-soft);
}

.benefit-icon {
    font-size: 1.5rem;
    margin-top: 2px;
}

.benefit h4 {
    margin: 0 0 8px 0;
    color: #c4b5fd;
    font-size: 1rem;
}

.benefit p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.use-cases {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.use-cases h3 {
    color: #1976d2;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.use-cases-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.use-case {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(156, 39, 176, 0.1);
    border-radius: 12px;
    border-left: 3px solid #9c27b0;
    transition: transform 0.3s ease;
}

.use-case:hover {
    transform: translateX(10px);
}

.use-case-icon {
    font-size: 1.2rem;
    margin-right: 5px;
}

.use-case span {
    color: #333;
    font-size: 0.95rem;
}

/* Animações */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade para verificação */
@media (max-width: 768px) {
    .verification-buttons {
        flex-direction: column;
    }
    
    .verification-link {
        min-width: 100%;
    }
    
    .contract-address {
        font-size: 0.8rem;
        padding: 10px;
    }

    .blockchain-card,
    .project-card {
        padding: 20px;
        margin: 0 10px;
    }

    .blockchain-features,
    .benefits-grid,
    .use-cases-list {
        grid-template-columns: 1fr;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 20px;
    }

    .blockchain-intro,
    .project-intro {
        font-size: 1rem;
    }
}