/* ============ KineTron Global Styles ============ */
:root {
  --bg: #0a0e14;
  --bg-soft: #10161f;
  --bg-card: #141c28;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef3f9;
  --text-dim: #9aa8b8;
  --accent: #22d3ee;
  --accent-2: #0ea5b7;
  --accent-glow: rgba(34, 211, 238, 0.25);
  --radius: 16px;
  --font: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  background: rgba(10, 14, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.5rem; font-weight: 800; letter-spacing: 0.06em;
  color: var(--text);
}
.logo span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: var(--text-dim); font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--accent); }

.lang-switch { position: relative; }
.lang-btn {
  background: var(--bg-card); border: 1px solid var(--line);
  color: var(--text); border-radius: 999px;
  padding: 6px 14px; font-size: 0.85rem; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
}
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 8px; min-width: 170px;
  display: none; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.lang-menu.open { display: block; }
.lang-menu a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text-dim); font-size: 0.9rem;
}
.lang-menu a:hover { background: rgba(34, 211, 238, 0.1); color: var(--accent); }
.lang-menu a.current { color: var(--accent); font-weight: 600; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; transition: 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden; padding-top: 68px;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,20,0.4) 0%, rgba(10,14,20,0.85) 78%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 90px 0; max-width: 760px; }
.hero-eyebrow {
  color: var(--accent); font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; font-size: 0.8rem; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: 1.12;
  font-weight: 800; margin-bottom: 22px;
}
.hero p.lead { font-size: 1.15rem; color: var(--text-dim); max-width: 620px; margin-bottom: 36px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; transition: 0.25s;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent); color: #06222a;
  box-shadow: 0 0 28px var(--accent-glow);
}
.btn-primary:hover { background: #67e8f9; transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.04); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-tag {
  color: var(--accent); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

/* ---------- Cards ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}
.card-media { aspect-ratio: 16 / 10; background: #000; }
.card-media video { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 28px; }
.card-body h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.card-body p { color: var(--text-dim); font-size: 0.97rem; margin-bottom: 20px; }
.card-link { font-weight: 700; font-size: 0.95rem; }
.card-link::after { content: " →"; }
[dir="rtl"] .card-link::after { content: " ←"; }

/* ---------- Feature / stat tiles ---------- */
.tile {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.tile .num {
  font-size: 2rem; font-weight: 800; color: var(--accent);
  line-height: 1.1; margin-bottom: 6px;
}
.tile .lbl { color: var(--text-dim); font-size: 0.92rem; }
.tile h3 { font-size: 1.08rem; margin-bottom: 8px; }
.tile p { color: var(--text-dim); font-size: 0.93rem; }
.icon-dot {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(34, 211, 238, 0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 1.25rem;
}

/* ---------- Spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  padding: 15px 18px; text-align: start;
  border-bottom: 1px solid var(--line); font-size: 0.96rem;
}
.spec-table th { color: var(--text-dim); font-weight: 500; width: 44%; }
.spec-table td { font-weight: 600; }
.spec-table tr:hover { background: rgba(34, 211, 238, 0.04); }

.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 16px 18px; text-align: center;
  border-bottom: 1px solid var(--line);
}
.compare-table th:first-child, .compare-table td:first-child { text-align: start; color: var(--text-dim); font-weight: 500; }
.compare-table thead th { font-size: 1.05rem; color: var(--accent); }
.compare-table td { font-weight: 600; }
.compare-table tr:hover td { background: rgba(34, 211, 238, 0.04); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.split .media video { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; line-height: 1.25; }
.split p { color: var(--text-dim); margin-bottom: 14px; }
.check-list { list-style: none; margin-top: 18px; }
.check-list li {
  padding: 9px 0; padding-inline-start: 30px; position: relative;
  color: var(--text-dim); font-size: 0.98rem;
}
.check-list li::before {
  content: "✓"; position: absolute; inset-inline-start: 0;
  color: var(--accent); font-weight: 800;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #0e2233, #0a3b47);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 22px; padding: 64px 48px; text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); margin-bottom: 30px; }

/* ---------- Notice ---------- */
.notice {
  border: 1px solid rgba(250, 204, 21, 0.35);
  background: rgba(250, 204, 21, 0.07);
  color: #fde68a; border-radius: 12px;
  padding: 16px 20px; font-size: 0.92rem; margin-top: 32px;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info .item { margin-bottom: 26px; }
.contact-info .item h3 { font-size: 1rem; color: var(--accent); margin-bottom: 6px; }
.contact-info .item p { color: var(--text-dim); }
form.contact-form {
  background: var(--bg-card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
}
.form-row { margin-bottom: 18px; }
form label { display: block; font-size: 0.9rem; color: var(--text-dim); margin-bottom: 7px; }
form input, form textarea, form select {
  width: 100%; background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; color: var(--text);
  font-family: inherit; font-size: 0.95rem;
}
form input:focus, form textarea:focus, form select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
form textarea { min-height: 130px; resize: vertical; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding: 168px 0 72px; position: relative; overflow: hidden;
  background:
    radial-gradient(700px 320px at 18% 0%, rgba(34, 211, 238, 0.14), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; margin-bottom: 16px; line-height: 1.15; }
.page-hero p { color: var(--text-dim); font-size: 1.1rem; max-width: 720px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--bg-soft);
  padding: 64px 0 30px; margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text); }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--text-dim); font-size: 0.92rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-desc { color: var(--text-dim); font-size: 0.92rem; max-width: 320px; margin-top: 12px; }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  color: var(--text-dim); font-size: 0.85rem;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset-inline: 0; top: 68px;
    flex-direction: column; align-items: stretch;
    background: var(--bg-soft); border-bottom: 1px solid var(--line);
    padding: 18px 5%; gap: 4px; display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .section { padding: 64px 0; }
  .cta-band { padding: 44px 24px; }
}

/* ---------- RTL adjustments ---------- */
[dir="rtl"] .main-nav { gap: 28px; }
[dir="rtl"] .hero-content { text-align: right; margin-inline-start: auto; }
[dir="rtl"] .section-head.center { text-align: center; }
