:root {
  --bg: #0f172a; /* slate-900 */
  --card: #111827; /* gray-900 */
  --text: #e5e7eb; /* gray-200 */
  --accent: #22d3ee; /* cyan-400 */
}
* { box-sizing: border-box; }
body { margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, 'Apple Color Emoji', 'Segoe UI Emoji'; background: var(--bg); color: var(--text); }
.container { max-width: 1100px; margin: 0 auto; padding: 24px; }
.header { display:flex; align-items:center; justify-content:space-between; padding:16px 24px; border-bottom: 1px solid #1f2937; background: #0b1220; position: sticky; top:0; z-index:10; }
.brand { display:flex; align-items:center; gap: 12px; font-weight: 700; letter-spacing: 0.5px; }
.brand .dot { width:10px; height:10px; border-radius:999px; background: var(--accent); display:inline-block; }
.nav a { color: var(--text); text-decoration:none; margin-left: 16px; opacity: 0.9; }
.nav a:hover { opacity:1; }

.hero { display:grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items:center; margin-top: 24px; }
.hero h1 { font-size: 40px; line-height: 1.1; margin: 0 0 8px; }
.hero p { opacity: 0.85; margin-top: 0; }
.card { background: var(--card); border: 1px solid #1f2937; border-radius: 16px; padding: 18px; }
.badge { display:inline-block; padding: 6px 10px; border:1px solid #1f2937; border-radius:999px; font-size: 12px; opacity:0.9; }
.btn { background: var(--accent); color:#0b1220; border:none; padding: 10px 14px; border-radius: 10px; font-weight: 600; cursor:pointer; }
.btn:hover { filter: brightness(0.95); }

/* Slider */
.slider { position: relative; width: 100%; height: 420px; overflow: hidden; border-radius: 16px; border: 1px solid #1f2937; }
.slide { position:absolute; inset:0; opacity:0; transition: opacity 500ms ease; background-position:center; background-size:cover; }
.slide.active { opacity:1; }
.slide-caption { position:absolute; left: 16px; bottom: 16px; background: rgba(0,0,0,0.45); padding:8px 12px; border-radius: 10px; backdrop-filter: blur(4px); }

.grid { display:grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.kv { display:flex; align-items:center; gap:12px; padding:12px; border:1px dashed #263145; border-radius: 12px; }
.kv strong { font-size: 18px; }

.footer { margin-top: 40px; padding: 24px; border-top: 1px solid #1f2937; opacity:0.8; font-size:14px; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .slider { height: 300px; }
}

/* Lang toggle */
.lang { display:flex; gap:10px; align-items:center; }
.lang a { text-decoration:none; font-size: 18px; filter: grayscale(0.2); }
.lang a.active { outline: 2px solid #1f2937; border-radius: 8px; padding: 2px 6px; filter: none; }

/* Forms */
.form { display:grid; gap:12px; }
.form .form-row { display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.form .form-group { display:grid; gap:6px; }
.form input, .form textarea { width:100%; padding:10px; border-radius:8px; border:1px solid #263145; background:#0b1220; color:#e5e7eb; }
.form textarea { min-height: 140px; resize: vertical; }
.alert { padding:10px 12px; border-radius:10px; border:1px solid #14532d; background:#052e16; }
.alert.error { border-color:#7f1d1d; background:#3f1d1d; }
