:root {
    --primary-color: #2b4c7e;
    --secondary-color: #567ebb;
    --accent-color: #ff6b6b;
    --background: #f8f9fa;
    --text-color: #2c3e50;
}

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--background);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    color: white;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.input-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

textarea {
    width: 100%;
    height: 300px;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.result-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.result-box:hover {
    transform: translateY(-5px);
}

.info-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.features {
    margin-top: 2rem;
}

.features ul {
    list-style: none;
    margin-top: 1rem;
}

.features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.features li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 1rem;
    }
    
    header {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .container {
        padding: 0.5rem;
        margin: 1rem auto;
    }
    
    .input-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    textarea {
        height: 200px;
        font-size: 16px;
        padding: 1rem;
    }
    
    .results {
        gap: 0.75rem;
    }
    
    .result-box {
        padding: 1rem;
    }
    
    .result-box h3 {
        font-size: 0.9rem;
    }
    
    .result-box p {
        font-size: 1.5rem;
    }
    
    .info-section {
        padding: 1rem;
        margin: 1rem 0.5rem;
    }
    
    .features li {
        padding: 0.75rem 0;
        padding-left: 1.25rem;
    }
}

@media (max-width: 480px) {
    .results {
        grid-template-columns: 1fr;
    }

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

    .features ul {
        padding-left: 0.5rem;
    }
}
