/* Variables */
:root {
  --bg: #0b0c10;
  --surface: #12141a;
  --card: #171924;
  --text: #e6eaf2;
  --muted: #a0a8b8;
  --accent: #5ac8fa;
  --accent-2: #34c759;
  --link: #0a84ff;
  --border: #272b37;
  --shadow: rgba(0,0,0,0.35);
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "SF Pro Text", Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 10% 10%, #162032 0%, var(--bg) 60%) fixed;
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; clip-path: inset(50%);
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.lead { font-size: 18px; color: var(--muted); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(12px);
  background: rgba(18,20,26,0.7);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.brand-logo { width: 28px; height: 28px; border-radius: 6px; background: transparent; box-shadow: 0 6px 18px rgba(90,200,250,0.35); }
.brand-name { font-size: 18px; color: var(--text); }

.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--text); opacity: 0.9; font-weight: 600; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.nav a:hover { opacity: 1; }

.lang-select { display: inline-flex; gap: 8px; align-items: center; }
.lang-select label { color: var(--muted); }
.lang-select select { background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 6px 10px; }

/* Header responsive layout: 3 blocks (brand, nav, language) */
.header-brand { display: flex; align-items: center; flex: 0 1 auto; }
.header-nav { display: flex; flex-wrap: wrap; gap: 12px; flex: 1 1 auto; }
.header-lang { margin-left: auto; display: flex; align-items: center; flex: 0 0 auto; }
.header-lang label { margin-right: 8px; }

/* Hero */
.hero { padding: 72px 0 36px; background: linear-gradient(180deg, rgba(52,199,89,0.05), rgba(10,132,255,0.05)); border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.hero h1 { font-size: 42px; line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.02em; }

/* Buttons */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: transform .06s ease, box-shadow .2s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #001018; box-shadow: 0 10px 24px rgba(90,200,250,.25); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); border: 1px solid var(--border); }

/* Sections & Grid */
.section { padding: 48px 0; }
.section h2 { font-size: 28px; margin: 0 0 10px; }
.section p { color: var(--muted); }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Cards */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: 0 8px 20px var(--shadow); }
.card h3 { margin: 0 0 6px; font-size: 18px; color: var(--text); }
.card p { margin: 0; font-size: 15px; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--border); background: rgba(18,20,26,0.7); backdrop-filter: blur(10px); padding: 18px 0; margin-top: 28px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 16px; }
.small { font-size: 13px; color: var(--muted); }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .brand-name { font-size: 16px; }
  .hero { padding-top: 56px; }
}

