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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #eef2ff, #f5eaff, #e4f8f5);
    color: #20213a;
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 45px 20px 30px;
}

header h1 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -2px;
}

header h1 span {
    color: #7256df;
}

header p {
    margin-top: 10px;
    color: #69677c;
    font-size: 15px;
}

main {
    width: 100%;
    padding: 10px 20px 40px;
}

.card {
    max-width: 650px;
    margin: 0 auto;
    padding: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(70, 50, 130, 0.12);
}

.card h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.card > p {
    color: #77758a;
    margin-bottom: 25px;
    line-height: 1.5;
}

label {
    display: block;
    padding: 16px;
    border: 2px dashed #b7a8f4;
    border-radius: 14px;
    text-align: center;
    color: #6449cb;
    font-weight: 600;
    cursor: pointer;
    background: #f8f6ff;
}

input[type="file"] {
    display: block;
    width: 100%;
    margin: 12px 0 20px;
}

#vista-previa {
    display: none;
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin: 0 auto 20px;
    border-radius: 12px;
}

textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    padding: 16px;
    border: 1px solid #dedbea;
    border-radius: 14px;
    font: inherit;
    line-height: 1.5;
    outline: none;
    margin-bottom: 18px;
    background: #fdfcff;
}

textarea:focus {
    border-color: #8a70ec;
    box-shadow: 0 0 0 3px #eee9ff;
}

button {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 16px;
    background: linear-gradient(135deg, #7356df, #9675ed);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

button:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.card h3 {
    margin: 26px 0 12px;
}

#resultado {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    min-height: 90px;
    padding: 18px;
    border-radius: 14px;
    background: #f7f5ff;
    border: 1px solid #e8e1ff;
    line-height: 1.7;
    color: #46415c;
}

#estado {
    margin-top: 14px;
    font-size: 14px;
    color: #6449cb;
}

footer {
    text-align: center;
    padding: 20px;
    color: #77758a;
    font-size: 12px;
}

@media (max-width: 500px) {
    header {
        padding-top: 30px;
    }

    header h1 {
        font-size: 36px;
    }

    .card {
        padding: 22px;
    }
}
/* Logo de traductor.ai */
.logo-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(139, 124, 255, 0.2);
    border-radius: 28px;
    box-shadow: 0 10px 28px rgba(114, 86, 223, 0.16);
}

.logo-icon svg {
    width: 82px;
    height: 82px;
    display: block;
}

header h1 {
    color: #17104B;
}

header h1 span {
    color: #7256df;
}

header p {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.2px;
}