:root {
  color-scheme: dark;
  --bg: #070F1C;
  --surface: #0D1E35;
  --elevated: #142847;
  --text: #E2EBF5;
  --muted: #7E9AB5;
  --line: #1A3050;
  --accent: #38BDF8;
  --accent-strong: #0EA5E9;
  --warm: #F59E0B;
  --soft: rgba(56, 189, 248, 0.1);
  --glow: 0 0 40px rgba(56, 189, 248, 0.12);
}

* { box-sizing: border-box; }

body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 22px 0;
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; }
.brand-mark {
  display: grid; width: 36px; height: 36px; place-items: center;
  overflow: hidden; border-radius: 10px; background: var(--surface); box-shadow: var(--glow);
}
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nav { display: flex; gap: 18px; color: var(--muted); font-size: 0.95rem; }
.nav a { transition: color .15s; }
.nav a:hover { color: var(--text); }
.language-toggle {
  background: var(--elevated); border: 1px solid var(--line);
  color: var(--muted); font-size: 0.85rem; font-weight: 600;
  padding: 5px 12px; border-radius: 100px; cursor: pointer;
  transition: color .15s, border-color .15s;
}
.language-toggle:hover { color: var(--accent); border-color: rgba(56,189,248,.4); }

/* Hero */
.hero {
  width: min(1120px, calc(100% - 40px)); margin: 0 auto;
  padding: 80px 0 72px;
  display: grid; grid-template-columns: 1fr 300px;
  align-items: center; gap: 64px;
}
.eyebrow {
  display: inline-flex; align-items: center;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--accent); background: var(--soft); border: 1px solid rgba(56,189,248,.2);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
}
.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -1.5px; margin: 0 0 20px;
  background: linear-gradient(130deg, var(--text) 30%, var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-copy .lead {
  font-size: 1.05rem; color: var(--muted); max-width: 420px; line-height: 1.75; margin: 0 0 36px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex; align-items: center;
  padding: 11px 22px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600; transition: transform .15s, opacity .15s;
}
.button:hover { transform: translateY(-2px); opacity: .88; }
.button.primary { background: var(--accent); color: #070F1C; }
.button.secondary { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.button.secondary:hover { color: var(--text); border-color: var(--muted); }

/* Phone */
.phone-preview {
  background: var(--surface); border-radius: 36px; padding: 16px 12px 20px;
  border: 1px solid var(--line); box-shadow: var(--glow), 0 40px 80px rgba(0,0,0,.5);
  display: flex; flex-direction: column; gap: 8px;
}
.phone-top { width: 60px; height: 18px; background: var(--elevated); border-radius: 100px; margin: 0 auto 10px; }
.preview-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--elevated); border-radius: 14px; padding: 12px 14px;
  border: 1px solid var(--line); opacity: .5; transition: opacity .2s;
}
.preview-card.active { opacity: 1; border-color: rgba(56,189,248,.3); }
.preview-card .icon { font-size: 1.3rem; flex-shrink: 0; }
.preview-card strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.preview-card small { font-size: 0.75rem; color: var(--muted); }

/* Features */
.features {
  width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 88px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.features article {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; padding: 28px 24px; transition: border-color .2s, transform .2s;
}
.features article:hover { border-color: rgba(56,189,248,.3); transform: translateY(-4px); }
.features article > span {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--soft); font-size: 1.4rem; margin-bottom: 16px;
}
.features article h2 { font-size: 1rem; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.features article p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0;
  font-size: 0.88rem; color: var(--muted);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { transition: color .15s; }
.footer-links a:hover { color: var(--text); }

/* Inner pages */
.page {
  width: min(820px, calc(100% - 40px));
  margin: 44px auto 80px; padding: 38px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; box-shadow: var(--glow);
}
.page h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.5px; margin: 8px 0 4px; }
.page .updated { font-size: 0.88rem; color: var(--muted); margin-bottom: 8px; }
.page section { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.page h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.page p, .page li { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 8px; }
.page ul { padding-left: 20px; }
.contact-link { color: var(--accent); }
.contact-link:hover { text-decoration: underline; }

.lead { font-size: 1.04rem; color: var(--muted); line-height: 1.75; margin: 12px 0 0; }
.compact { max-width: 580px; }

.support-card {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px; padding: 16px;
  border: 1px solid rgba(56,189,248,.2); border-radius: 18px;
  background: var(--soft);
}
.support-card p { margin: 0; }
.support-icon {
  display: grid; flex: 0 0 auto;
  width: 42px; height: 42px; place-items: center;
  border-radius: 12px; background: var(--elevated);
}
.support-page { max-width: 860px; }

.not-found { text-align: center; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding: 52px 0 48px; gap: 40px; }
  .features { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 2.2rem; }
  .phone-preview { max-width: 300px; margin: 0 auto; }
}
