/* ===== Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #000;
  --panel: #0b0e13;
  --border: #1c2230;
  --accent: #2f7bff;
  --accent-2: #5aa2ff;
  --text: #f2f5fa;
  --muted: #9aa4b5;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 92%); margin: 0 auto; }
.container.narrow { width: min(760px, 92%); }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #1a4fd6);
  display: grid; place-items: center; color: #fff; font-size: 18px;
}
.logo-text small { display: block; font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: 1px; }

.nav { display: flex; gap: 28px; }
.nav a { font-size: 15px; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-btn {
  background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; cursor: pointer; font-size: 13px; transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.menu-btn span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

/* ===== Hero ===== */
.hero { padding: 150px 0 70px; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
}
.hero-tag {
  color: var(--accent-2); font-size: 14px; letter-spacing: 3px; font-weight: 600;
  text-transform: uppercase; margin-bottom: 14px;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.15; margin-bottom: 18px; }
.hero-desc { color: var(--muted); font-size: 17px; max-width: 480px; margin-bottom: 30px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img img { width: 100%; max-height: 480px; object-fit: contain; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: 0;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #1a4fd6); color: #fff;
  box-shadow: 0 8px 24px rgba(47,123,255,.35);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid #3a4356; }
.btn-ghost:hover { border-color: var(--accent-2); }
.btn-block { width: 100%; }

/* ===== Sections ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* ===== Specs ===== */
.specs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 55px;
}
.spec {
  background: linear-gradient(180deg, #0e1219, #0a0d13);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 30px 20px; text-align: center;
}
.spec-value {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800;
  background: linear-gradient(135deg, var(--accent-2), #9cc4ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.spec-label { color: var(--muted); font-size: 14px; margin-top: 8px; }

.c5-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.c5-gallery img {
  width: 100%; border-radius: 16px; border: 1px solid var(--border);
  background: #05070a; transition: transform .25s;
}
.c5-gallery img:hover { transform: translateY(-6px); }

/* ===== Split (L9) ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.split-img img { width: 100%; border-radius: 18px; }
.split-text h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 16px; }
.split-text p { color: var(--muted); margin-bottom: 20px; }
.feature-list { list-style: none; margin-bottom: 28px; }
.feature-list li {
  padding: 9px 0 9px 26px; position: relative; color: var(--text);
}
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 17px;
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-2), var(--accent));
}

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-card {
  background: linear-gradient(180deg, #0e1219, #0a0d13);
  border: 1px solid var(--border); border-radius: 16px; padding: 34px 26px;
  transition: border-color .25s, transform .25s;
}
.about-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.about-card h3 { font-size: 20px; margin-bottom: 10px; }
.about-card p { color: var(--muted); font-size: 15px; }

/* ===== Contact ===== */
.contact-form {
  background: #0d1119; border: 1px solid var(--border); border-radius: 18px; padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; background: #0a0d13; border: 1px solid #232c3d; border-radius: 10px;
  color: var(--text); font-size: 15px; padding: 13px 15px; margin-bottom: 14px;
  font-family: inherit; resize: vertical;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.form-ok { color: #4ade80; text-align: center; margin-top: 12px; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 50px 0 0; background: #05070a; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 36px;
}
.footer .logo-text { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.footer p { color: var(--muted); font-size: 14px; }
.footer-contact p { margin: 4px 0; }
.copyright {
  text-align: center; color: #5b6474; font-size: 13px;
  padding: 18px 0; border-top: 1px solid var(--border);
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-img { order: -1; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .c5-gallery { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav {
    position: fixed; top: 68px; left: 0; right: 0;
    background: rgba(0,0,0,.96); flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 15px 6%; border-top: 1px solid var(--border); }
  .menu-btn { display: flex; }
}
