/* assets/css/equacao-1-grau.css */
/* CSS ISOLADO - Calculadora de Equação do Primeiro Grau - Área ÁLGEBRA */

/* ===================================
   VARIÁVEIS DE COR - ÁREA ÁLGEBRA
   ================================== */
:root {
    --primary: #6a11cb;        /* Roxo profundo */
    --secondary: #2575fc;      /* Azul abstrato */
    --accent: #f093fb;         /* Rosa variáveis */
    --light: #f3f0ff;          /* Fundo roxo claro */
    --gradient: linear-gradient(135deg, #6a11cb, #2575fc);
}

/* ===================================
   SEÇÃO DA CALCULADORA EQUAÇÃO 1º GRAU
   ================================== */
.eq1-calculator-section {
    margin-bottom: 3rem;
}

.eq1-header {
    text-align: center;
    margin-bottom: 2rem;
}

.eq1-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.eq1-header p {
    font-size: 1.2rem;
    color: #5a6c7d;
}

.eq1-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e6ed;
}

.eq1-inputs h3 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* ===================================
   SISTEMA DE ABAS ESPECÍFICO EQ1
   ================================== */
.eq1-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e6ed;
    padding-bottom: 1rem;
}

.eq1-tab-btn {
    background: #f8f9fa;
    border: 2px solid #e0e6ed;
    color: #5a6c7d;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 100px;
}

.eq1-tab-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.eq1-tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--secondary);
    box-shadow: 0 3px 10px rgba(106, 17, 203, 0.3);
}

/* ===================================
   CONTEÚDO DAS ABAS EQ1
   ================================== */
.eq1-tab-content {
    display: none;
}

.eq1-tab-content.active {
    display: block;
    animation: fadeInEq1Tab 0.3s ease;
}

@keyframes fadeInEq1Tab {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   INPUTS DE EQUAÇÃO EQ1
   ================================== */
.eq1-equation-input,
.eq1-verification-input,
.eq1-fraction-input,
.eq1-graph-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e0e6ed;
}

.eq1-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 8px;
    border: 1px solid #e0e6ed;
    transition: all 0.3s ease;
    min-width: 80px;
}

.eq1-input-group:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.eq1-input-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    text-align: center;
}

.eq1-input-group input {
    width: 70px;
    padding: 0.8rem;
    border: 2px solid var(--primary);
    border-radius: 6px;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 600;
    background: white;
    transition: all 0.3s ease;
}

.eq1-input-group input:focus {
    outline: none;
    border-color: var(--secondary);
    transform: scale(1.05);
    background: var(--light);
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.15);
}

.eq1-input-group input:valid:not(:placeholder-shown) {
    border-color: var(--secondary);
    background: #f3f0ff;
}

.eq1-operation-symbol {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    min-width: 40px;
    text-align: center;
    padding: 0.5rem;
}

.eq1-variable {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    background: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--primary);
}

/* ===================================
   RESULTADO DISPLAY EQ1
   ================================== */
.eq1-result-display {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
    transition: all 0.3s ease;
}

.eq1-result-display:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 17, 203, 0.2);
}

.eq1-result-display.wide {
    min-width: 300px;
    padding: 1rem;
}

.eq1-result-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
}

.eq1-result-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary);
    font-family: 'Courier New', monospace;
}

.eq1-result-unit {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
}

/* ===================================
   FRAÇÃO ESPECÍFICA EQ1
   ================================== */
.eq1-fraction-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 8px;
    border: 1px solid #e0e6ed;
}

.eq1-fraction {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.eq1-fraction input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid var(--primary);
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

.eq1-fraction-line {
    width: 60px;
    height: 2px;
    background: var(--primary);
    font-weight: bold;
    text-align: center;
    color: var(--primary);
}

/* ===================================
   SISTEMA 2X2 EQ1
   ================================== */
.eq1-system-input {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e0e6ed;
    margin-bottom: 1.5rem;
}

.eq1-equation-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.eq1-equation-row label {
    font-weight: 600;
    color: var(--primary);
    min-width: 80px;
}

.eq1-system-equation {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.eq1-system-equation input {
    width: 60px;
    padding: 0.6rem;
    border: 2px solid var(--primary);
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

.eq1-system-equation span {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.eq1-system-result {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.eq1-system-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--primary);
}

.eq1-system-label {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.eq1-system-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--secondary);
    font-family: 'Courier New', monospace;
}

/* ===================================
   VERIFICAÇÃO EQ1
   ================================== */
.eq1-verification-test {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #fff3e0;
    border-radius: 8px;
    border: 2px solid #ff9800;
}

.eq1-verification-test label {
    font-weight: 600;
    color: #f57c00;
}

.eq1-verification-test input {
    width: 70px;
    padding: 0.8rem;
    border: 2px solid #ff9800;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

.eq1-verification-result {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.eq1-calc-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--primary);
}

.eq1-calc-label {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.eq1-calc-value {
    font-size: 1rem;
    font-weight: bold;
    color: var(--secondary);
    font-family: 'Courier New', monospace;
}

/* ===================================
   PROBLEMA PRÁTICO EQ1
   ================================== */
.eq1-problem-input {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e0e6ed;
    margin-bottom: 1.5rem;
}

.eq1-problem-text {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #4caf50;
    text-align: center;
}

.eq1-problem-text h4 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.eq1-problem-text p {
    color: #388e3c;
    margin: 0;
    font-weight: 600;
}

.eq1-problem-equation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===================================
   GRÁFICO EQ1
   ================================== */
.eq1-graph-display {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 250px;
}

.eq1-graph-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.eq1-graph-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--primary);
}

.eq1-graph-label {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.eq1-graph-value {
    font-size: 1rem;
    font-weight: bold;
    color: var(--secondary);
    font-family: 'Courier New', monospace;
}

/* ===================================
   EQUAÇÃO PREVIEW E FÓRMULA EQ1
   ================================== */
.eq1-equation-preview {
    background: #fff3e0;
    border: 2px solid #ff9800;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #f57c00;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.eq1-formula {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* ===================================
   EXEMPLOS E AJUDA EQ1
   ================================== */
.eq1-examples {
    text-align: center;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.eq1-examples.hidden {
    display: none;
}

.eq1-examples p {
    margin-bottom: 1rem;
    color: #5a6c7d;
}

.eq1-example-btn {
    background: var(--light);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    margin: 0.3rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.85rem;
}

.eq1-example-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.eq1-help {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
    transition: all 0.3s ease;
}

.eq1-help.hidden {
    display: none;
}

/* ===================================
   EXPLICAÇÃO DO CÁLCULO EQ1
   ================================== */
.eq1-explanation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    animation: slideInUpEq1 0.5s ease;
}

.eq1-explanation h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.eq1-step {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.eq1-step h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.eq1-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: #444;
}

/* ===================================
   CONTEÚDO EDUCACIONAL EQ1
   ================================== */
.eq1-educational-content {
    margin-top: 3rem;
}

.eq1-content-block {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
}

.eq1-content-block h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.5rem;
}

.eq1-content-block p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.eq1-content-block strong {
    color: var(--primary);
}

/* ===================================
   FORMULA DISPLAY EQ1
   ================================== */
.eq1-formula-display {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
}

.eq1-formula-display h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.eq1-formula-display .formula p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: var(--secondary);
    font-weight: 600;
}

/* ===================================
   GRIDS EXEMPLOS E DICAS EQ1
   ================================== */
.eq1-examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.eq1-example-item {
    background: var(--light);
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUpEq1 0.6s ease-out;
}

.eq1-example-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.eq1-example-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.eq1-example-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.eq1-example-item p {
    color: #5a6c7d;
    font-size: 0.95rem;
    margin: 0;
}

.eq1-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.eq1-tip-item {
    background: #f3f0ff;
    border: 1px solid rgba(106, 17, 203, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.eq1-tip-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.eq1-tip-item h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.eq1-tip-item p {
    color: var(--secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* ===================================
   EXEMPLO DE SOLUÇÃO EQ1
   ================================== */
.eq1-example-solution {
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
}

.eq1-example-solution h4 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.eq1-solution-step {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.eq1-solution-step h5 {
    color: var(--secondary);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.eq1-solution-step p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    color: #444;
}

.eq1-solution-final {
    background: #f3f0ff;
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.eq1-solution-final h5 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.eq1-solution-final p {
    color: var(--secondary);
    margin: 0;
    font-family: inherit;
}

/* ===================================
   FAQ E CREDIBILIDADE - SEÇÃO EDUCACIONAL
   ================================== */
.content-block {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
}

.content-block h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.5rem;
}

.content-block h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 0.5rem;
}

.content-block p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

/* FAQ ESPECÍFICO */
.faq-container {
    margin-top: 1.5rem;
}

.faq-item {
    background: var(--light);
    border: 1px solid rgba(106, 17, 203, 0.2);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(106, 17, 203, 0.1);
}

.faq-question {
    background: linear-gradient(135deg, var(--light), white);
    padding: 1.2rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    list-style: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(106, 17, 203, 0.1);
}

.faq-question:hover {
    background: var(--primary);
    color: white;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::before {
    content: "❓ ";
    margin-right: 0.5rem;
}

.faq-answer {
    padding: 1.2rem;
    background: white;
    border-top: 1px solid rgba(106, 17, 203, 0.1);
}

.faq-answer p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-answer strong {
    color: var(--primary);
}

/* CREDIBILIDADE ESPECÍFICA */
.credibilidade-container {
    background: linear-gradient(135deg, var(--light), rgba(255, 255, 255, 0.9));
    border: 2px solid rgba(106, 17, 203, 0.3);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(106, 17, 203, 0.1);
}

.credibilidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credibilidade-icon {
    font-size: 2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.credibilidade-title {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.credibilidade-content {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.credibilidade-content strong {
    color: var(--primary);
}

.credibilidade-logo {
    color: var(--primary);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.credibilidade-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.credibilidade-badge {
    background: white;
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.credibilidade-badge:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* REFERÊNCIAS ESPECÍFICAS */
.references-content {
    margin-top: 1.5rem;
}

.references-list {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(106, 17, 203, 0.2);
    margin-bottom: 1.5rem;
}

.references-list li {
    margin-bottom: 0.8rem;
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

.references-list em {
    color: var(--primary);
    font-weight: 600;
}

.accuracy-note {
    background: #fff3e0;
    border: 2px solid #ff9800;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.accuracy-note h5 {
    color: #f57c00;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.accuracy-note p {
    color: #ef6c00;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===================================
   ANIMAÇÕES EQ1
   ================================== */
@keyframes fadeInUpEq1 {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUpEq1 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVIDADE EQ1
   ================================== */
@media (max-width: 768px) {
    .eq1-header h1 {
        font-size: 2rem;
    }
    
    .eq1-tabs {
        gap: 0.3rem;
    }
    
    .eq1-tab-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        min-width: 85px;
    }
    
    .eq1-equation-input,
    .eq1-verification-input,
    .eq1-fraction-input,
    .eq1-graph-input {
        gap: 1rem;
        padding: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .eq1-input-group {
        padding: 0.8rem;
        min-width: 70px;
    }
    
    .eq1-input-group input {
        width: 60px;
        font-size: 1rem;
    }
    
    .eq1-operation-symbol {
        font-size: 1.5rem;
        min-width: 30px;
    }
    
    .eq1-result-display {
        min-width: 90px;
        padding: 1.2rem;
    }
    
    .eq1-result-display.wide {
        min-width: 250px;
    }
    
    .eq1-examples-grid,
    .eq1-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .eq1-system-input {
        padding: 1rem;
    }
    
    .eq1-equation-row {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .eq1-system-equation {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .eq1-problem-equation {
        gap: 0.8rem;
    }

    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .eq1-header h1 {
        font-size: 1.8rem;
    }
    
    .eq1-container {
        padding: 1rem;
    }
    
    .eq1-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .eq1-tab-btn {
        width: 140px;
    }
    
    .eq1-equation-input,
    .eq1-verification-input,
    .eq1-fraction-input,
    .eq1-graph-input {
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .eq1-input-group {
        min-width: 60px;
        padding: 0.6rem;
    }
    
    .eq1-input-group input {
        width: 50px;
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .eq1-operation-symbol {
        font-size: 1.3rem;
    }
    
    .eq1-result-display {
        min-width: 80px;
        padding: 1rem;
    }
    
    .eq1-result-value {
        font-size: 1.5rem;
    }
    
    .eq1-result-display.wide {
        min-width: 200px;
    }
    
    .eq1-system-item,
    .eq1-calc-result,
    .eq1-graph-item {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }
    
    .eq1-example-icon {
        font-size: 2rem;
    }
    
    .eq1-fraction input {
        width: 45px;
        padding: 0.4rem;
    }
    
    .eq1-fraction-line {
        width: 45px;
    }

    .credibilidade-container {
        padding: 1.5rem;
    }

    .credibilidade-title {
        font-size: 1.2rem;
    }

    .credibilidade-content {
        font-size: 1rem;
    }

    .credibilidade-badges {
        gap: 0.5rem;
    }

    .credibilidade-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}