/* DeepL Official Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --deepl-navy: #0F2B46;
    --deepl-blue: #0456C8;
    --deepl-blue-hover: #03449E;
    --deepl-bg: #F1F3F6;
    --deepl-white: #FFFFFF;
    --deepl-text: #0F2B46;
    --deepl-gray: #5F6B7C;
    --deepl-border: #E3E5E8;
    --deepl-orange: #FF8C00; /* For Pro/Gold accents */
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--deepl-bg);
    color: var(--deepl-text);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

/* Navbar */
.navbar {
    background: var(--deepl-white);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 22px;
    color: var(--deepl-navy);
}

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--deepl-navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: serif;
    font-weight: bold;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--deepl-navy);
    opacity: 0.8;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
    color: var(--deepl-blue);
}

.btn-login {
    font-size: 14px;
    font-weight: 600;
    color: var(--deepl-navy);
}

.btn-trial {
    background: var(--deepl-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.btn-trial:hover {
    background: var(--deepl-blue-hover);
}

/* Translator Interface */
.translator-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.translator-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.translator-header {
    height: 50px;
    border-bottom: 1px solid var(--deepl-border);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
    background: #FAFAFA;
}

.lang-selector {
    font-weight: 600;
    font-size: 14px;
    color: var(--deepl-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-selector:hover {
    color: var(--deepl-blue);
}

.lang-arrow {
    color: var(--deepl-gray);
    font-size: 12px;
}

.translator-body {
    display: flex;
    flex: 1;
}

.input-area, .output-area {
    flex: 1;
    padding: 20px;
    position: relative;
}

.input-area {
    border-right: 1px solid var(--deepl-border);
}

.output-area {
    background: #F8F9FB;
}

textarea {
    width: 100%;
    height: 100%;
    border: none;
    resize: none;
    font-size: 20px;
    font-family: inherit;
    color: var(--deepl-navy);
    background: transparent;
    outline: none;
    line-height: 1.6;
}

textarea::placeholder {
    color: #A0AAB9;
}

.tools-bar {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 15px;
    color: var(--deepl-gray);
}

.tool-icon {
    cursor: pointer;
    font-size: 18px;
}

.tool-icon:hover {
    color: var(--deepl-blue);
}

/* Feature Section */
.features-section {
    max-width: 1000px;
    margin: 80px auto;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: left;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #E8F0FE;
    color: var(--deepl-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--deepl-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--deepl-navy);
    color: white;
    padding: 60px 0 20px;
    margin-top: 100px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: #A0AAB9;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 12px;
    color: #A0AAB9;
}
