:root {
    --bg: #0b0d12;
    --card: #121622;
    --text: #e6e9f0;
    --muted: #9aa4bf;
    --accent: #4f7cff;
    --border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

body.landing-page {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(1200px 600px at 80% -10%, rgba(79, 124, 255, 0.15), transparent 60%), var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.landing-header {
    padding: 60px 20px 40px;
    text-align: center;
    position: relative;
}

.lang-switch {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 14px;
}

.lang-switch a {
    color: var(--muted);
    text-decoration: none;
    margin-left: 12px;
}

.lang-switch a.active {
    color: white;
    font-weight: 500;
}

.landing-header h1 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.landing-header p {
    max-width: 640px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
}

.landing-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

.landing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.landing-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.0)), var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
}

.landing-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 500;
}

.landing-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.landing-cta {
    margin-top: 80px;
    text-align: center;
}

.landing-cta h2 {
    font-size: 32px;
    margin-bottom: 12px;
    font-weight: 600;
}

.landing-cta p {
    color: var(--muted);
    margin-bottom: 32px;
}

.landing-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f7cff, #6a8cff);
    color: white;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 30px rgba(79, 124, 255, 0.3);
}

.landing-button:hover {
    color: white;
    text-decoration: none;
    box-shadow: 0 12px 35px rgba(79, 124, 255, 0.4);
}

.landing-footer {
    border-top: 1px solid var(--border);
    padding: 24px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

.landing-badge {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 14px;
    font-size: 13px;
    color: #bcd0ff;
    background: rgba(79, 124, 255, 0.12);
    border: 1px solid rgba(79, 124, 255, 0.3);
    border-radius: 999px;
}

/* Modal */
.landing-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.landing-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.landing-modal {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.2s;
}

.landing-modal-overlay.active .landing-modal {
    transform: scale(1);
}

.landing-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.landing-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.landing-modal-close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.landing-modal-close:hover {
    color: var(--text);
}

.landing-form-group {
    margin-bottom: 20px;
}

.landing-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.landing-form-group small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--muted);
}

.landing-form-input,
.landing-form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.landing-form-input:focus,
.landing-form-textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.landing-form-input::placeholder,
.landing-form-textarea::placeholder {
    color: var(--muted);
    opacity: 0.6;
}

.landing-form-textarea {
    min-height: 100px;
    resize: vertical;
}

.landing-form-submit {
    width: 100%;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f7cff, #6a8cff);
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.landing-form-submit:hover {
    box-shadow: 0 10px 30px rgba(79, 124, 255, 0.3);
}

.landing-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.landing-form-message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.landing-form-message.success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.landing-form-message.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

.landing-form-group.has-error .landing-form-input,
.landing-form-group.has-error .landing-form-textarea {
    border-color: rgba(239, 68, 68, 0.5);
}

.landing-field-error {
    margin-top: 6px;
    font-size: 13px;
    color: #fca5a5;
}