:root {
  --bg-main: #f4f8fc;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.78);
  --primary: #0f4c81;
  --primary-light: #2b7bba;
  --accent: #00a8e8;
  --accent-soft: #e0f2fe;
  --text-dark: #0f172a;
  --text-muted: #475569;
  --border: #cbd5e1;
  --shadow: 0 12px 32px rgba(15, 76, 129, 0.08);
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background: linear-gradient(135deg, #eef6fc 0%, #ffffff 50%, #e6f2fa 100%);
  color: var(--text-dark);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--primary-light); text-decoration: none; transition: 0.2s; }
a:hover { color: var(--primary); text-decoration: underline; }

header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
}

.nav-container {
  max-width: 1240px; margin: 0 auto; padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}

.brand {
  display: flex; align-items: center; gap: 0.75rem;
  font-weight: 700; font-size: 1.25rem; color: var(--primary); letter-spacing: 0.5px;
}
.brand:hover { text-decoration: none; }
.brand span { font-weight: 400; color: var(--primary-light); font-size: 0.9rem; display: block; line-height: 1.1; }

nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
nav a {
  color: var(--text-dark); font-weight: 500; font-size: 0.95rem;
  padding: 0.35rem 0.6rem; border-radius: 6px;
}
nav a:hover, nav a.active {
  background: var(--accent-soft); color: var(--primary); text-decoration: none;
}

.lang-switcher { display: flex; gap: 0.35rem; background: #e2e8f0; padding: 0.25rem; border-radius: 8px; }
.lang-btn {
  border: none; background: transparent; padding: 0.3rem 0.6rem;
  border-radius: 6px; font-size: 0.82rem; font-weight: 600; cursor: pointer; color: var(--text-muted);
}
.lang-btn.active { background: var(--primary); color: #fff; }

main { flex: 1; max-width: 1240px; width: 100%; margin: 0 auto; padding: 2.5rem 1.5rem; }

.hero {
  background: linear-gradient(120deg, #0b3960 0%, #1565a8 65%, #2998d8 100%);
  color: #fff; border-radius: 18px; padding: 3.5rem 3rem;
  box-shadow: var(--shadow); position: relative; overflow: hidden; margin-bottom: 3rem;
}
.hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 340px; height: 340px;
  background: rgba(255, 255, 255, 0.08); transform: rotate(25deg); border-radius: 24px; pointer-events: none;
}
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.18); padding: 0.35rem 0.9rem;
  border-radius: 20px; font-size: 0.85rem; margin-bottom: 1rem; backdrop-filter: blur(4px);
}
.hero h1 { font-size: 2.4rem; line-height: 1.2; margin-bottom: 1.1rem; max-width: 780px; }
.hero p { font-size: 1.1rem; opacity: 0.92; max-width: 700px; margin-bottom: 1.8rem; }

.btn {
  display: inline-block; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600;
  cursor: pointer; border: none; transition: 0.2s; font-size: 0.95rem;
}
.btn-primary { background: #fff; color: var(--primary); }
.btn-primary:hover { background: var(--accent-soft); text-decoration: none; }
.btn-blue { background: var(--primary); color: #fff; }
.btn-blue:hover { background: var(--primary-light); text-decoration: none; }

.section-title { font-size: 1.75rem; color: var(--primary); margin-bottom: 0.5rem; }
.section-sub { color: var(--text-muted); margin-bottom: 2rem; max-width: 800px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); gap: 2rem; margin-bottom: 3rem; }

.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.card h3 { color: var(--primary); margin-bottom: 0.75rem; font-size: 1.2rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }

.spec-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { padding: 0.9rem 1.1rem; text-align: left; border-bottom: 1px solid #e2e8f0; font-size: 0.92rem; }
.spec-table th { background: var(--primary); color: #fff; font-weight: 600; }
.spec-table tr:nth-child(even) { background: #f8fafc; }

.video-wrapper {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--border); background: #000;
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.calc-box { background: #eef6fc; border: 1px solid #bae6fd; border-radius: var(--radius); padding: 1.75rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.9rem; color: var(--primary); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.65rem 0.9rem; border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.95rem; background: #fff;
}

.forum-list { list-style: none; }
.forum-list li {
  padding: 0.85rem 1rem; border-bottom: 1px solid #e2e8f0; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem;
}
.forum-list li:last-child { border-bottom: none; }
.tag {
  background: var(--accent-soft); color: var(--primary); padding: 0.2rem 0.6rem;
  border-radius: 6px; font-size: 0.78rem; font-weight: 600; white-space: nowrap;
}

footer {
  background: #0b2944; color: #cbd5e1; padding: 2.5rem 1.5rem; margin-top: 3rem; font-size: 0.9rem;
}
.footer-inner {
  max-width: 1240px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem;
}
footer h4 { color: #fff; margin-bottom: 0.8rem; }
footer a { color: #7dd3fc; }
.copy { max-width: 1240px; margin: 1.8rem auto 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.82rem; color: #94a3b8; }

@media (max-width: 640px) {
  .hero { padding: 2rem 1.5rem; }
  .hero h1 { font-size: 1.75rem; }
  .grid-2 { grid-template-columns: 1fr; }
}
