:root {
    --primary-color: #0056b3;
    --primary-hover: #004494;
    --text-color: #1a1a1a;
    --text-secondary: #555555;
    --bg-light: #f4f6f8;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --container-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: var(--text-color); line-height: 1.6; background-color: var(--bg-white); }
h1, h2, h3, h4 { font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
h1 { font-size: 2.5rem; letter-spacing: -0.03em; }
h2 { font-size: 2rem; margin-bottom: 2rem; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* Utilities */
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; border-bottom: 1px solid var(--border-color); }
.bg-light { background-color: var(--bg-light); }
.btn { display: inline-block; background-color: var(--primary-color); color: white; padding: 12px 24px; font-weight: 600; border-radius: 4px; border: none; cursor: pointer; font-size: 1rem; text-align: center; }
.btn:hover { background-color: var(--primary-hover); }
.full-width { width: 100%; }

/* Header */
header { background: white; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 100; padding: 15px 0; }
.header-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
nav ul { display: flex; gap: 20px; }
nav a { font-size: 0.95rem; font-weight: 500; }
nav a:hover { color: var(--primary-color); }
.header-controls { display: flex; align-items: center; gap: 15px; }

/* Lang Switcher */
.lang-switcher { display: flex; align-items: center; gap: 5px; font-size: 0.85rem; font-weight: 700; }
.lang-btn { background: none; border: none; cursor: pointer; color: #999; padding: 0; font-weight: inherit; }
.lang-btn.active, .lang-btn:hover { color: var(--primary-color); }
.divider { color: #ddd; }

/* Hero */
#hero { padding: 100px 0; }
.hero-content { max-width: 800px; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 2rem; }
.hero-features li { margin-bottom: 10px; display: flex; align-items: center; font-weight: 500; }
.hero-features li::before { content: "✓"; color: var(--primary-color); font-weight: bold; margin-right: 10px; }
.cta-subtext { font-size: 0.85rem; color: #777; margin-top: 10px; display: block; }

/* Grid & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: white; padding: 30px; border: 1px solid var(--border-color); border-radius: 4px; }
.card h3 { color: var(--primary-color); font-size: 1.25rem; }

/* Case Study */
.case-stats { display: flex; flex-wrap: wrap; gap: 40px; margin: 20px 0; padding: 20px; background: white; border-left: 4px solid var(--primary-color); }
.case-quote { font-style: italic; color: #666; font-size: 1.1rem; }

/* Steps */
.steps-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.step-item { flex: 1; min-width: 150px; }
.step-number { font-size: 3rem; font-weight: 700; color: #e0e0e0; line-height: 1; }
.step-title { font-weight: 700; font-size: 1.2rem; }

/* Footer */
footer { background: #111; color: white; padding: 60px 0; font-size: 0.9rem; }
footer h4 { color: white; margin-bottom: 15px; }
footer p, footer a { color: #999; margin-bottom: 8px; display: block; }
footer a:hover { color: white; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }

/* Modals */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 1000; justify-content: center; align-items: center; }
.modal-content { background: white; padding: 40px; width: 90%; max-width: 500px; border-radius: 4px; position: relative; }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; color: #999; line-height: 1; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-control { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; font-family: inherit; font-size: 1rem; }
.checkbox-group { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }

/* Legal Modal Specifics */
.legal-content { max-width: 800px; height: 80vh; display: flex; flex-direction: column; }
.legal-text-area { overflow-y: auto; padding-right: 10px; margin-top: 10px; color: #333; }
.legal-text-area h1 { font-size: 1.5rem; margin-top: 0; }
.legal-text-area h3 { font-size: 1.1rem; margin-top: 20px; }

/* Mobile */
@media (max-width: 768px) {
    .header-wrap { justify-content: center; text-align: center; }
    nav ul { flex-wrap: wrap; justify-content: center; }
    h1 { font-size: 1.8rem; }
    .header-controls { flex-direction: column; gap: 10px; }
}