/* =========================================================
   EyevisonTech — Embedded WebRTC corporate site
   Dark, engineering-grade, cyan/blue accent
   ========================================================= */

:root {
  --bg: #070b16;
  --bg-soft: #0b1220;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e6edf7;
  --text-dim: #93a2b8;
  --text-faint: #5f6f86;
  --accent: #22d3ee;
  --accent-2: #3b82f6;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --grad: linear-gradient(120deg, #22d3ee 0%, #3b82f6 100%);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 16px;
  --maxw: 1160px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(var(--maxw), 92%); margin-inline: auto; }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); background: rgba(7, 11, 22, 0.9); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; }
.brand-text {
  font-weight: 800; letter-spacing: .04em; font-size: 1.06rem;
}
.brand-accent {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 700; margin-left: 2px;
}

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: .95rem; color: var(--text-dim); transition: color .2s ease; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta {
  color: #04121a;
  background: var(--grad);
  font-weight: 600;
  padding: 9px 18px; border-radius: 999px;
  box-shadow: 0 4px 22px rgba(34, 211, 238, 0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-links a.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(34, 211, 238, 0.35); color: #04121a; }

.lang-switch {
  display: inline-flex; gap: 4px; align-items: center;
  border: 1px solid var(--border); border-radius: 999px; padding: 4px;
}
.lang-switch button {
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .03em; color: var(--text-dim);
  padding: 5px 10px; border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: var(--grad); color: #04121a; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 96px) 0 110px; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}
.hero-glow {
  position: absolute; width: 720px; height: 520px; left: 50%; top: -160px; transform: translateX(-50%); z-index: 0;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.28), rgba(34, 211, 238, 0.10), transparent);
  filter: blur(20px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.3);
  background: var(--accent-soft);
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 26px;
}

h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.1rem);
  line-height: 1.08; font-weight: 800; letter-spacing: -0.02em;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub {
  margin: 24px auto 0; max-width: 680px;
  font-size: 1.12rem; color: var(--text-dim);
}
.hero-actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--grad); color: #04121a;
  box-shadow: 0 8px 26px rgba(34, 211, 238, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(34, 211, 238, 0.38); }
.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn-block { width: 100%; }

.hero-stats {
  margin: 66px auto 0; max-width: 880px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); backdrop-filter: blur(8px);
  overflow: hidden;
}
.stat { padding: 26px 16px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { display: block; margin-top: 6px; font-size: .82rem; color: var(--text-faint); }

/* ---------- SECTIONS ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--border); }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.section-lead { margin-top: 16px; max-width: 640px; color: var(--text-dim); font-size: 1.04rem; }

.grid { display: grid; gap: 22px; margin-top: 46px; }
.cards { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--bg-card-hover); }
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: .96rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.25rem;
  background: var(--accent-soft); border: 1px solid rgba(34, 211, 238, 0.3);
  margin-bottom: 18px; color: var(--accent);
}

/* ---------- ARCHITECTURE ---------- */
.arch {
  margin-top: 50px;
  display: flex; align-items: stretch; justify-content: center; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); padding: 34px 26px;
}
.arch-node { flex: 1; text-align: center; padding: 10px 16px; }
.arch-icon { font-size: 1.9rem; margin-bottom: 12px; }
.arch-node h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.arch-node p { font-size: .86rem; color: var(--text-dim); max-width: 240px; margin-inline: auto; }
.arch-arrow { display: grid; place-items: center; color: var(--accent); font-size: 1.3rem; padding: 0 6px; opacity: .8; }

/* ---------- TECH GRID ---------- */
.tech-grid { grid-template-columns: repeat(3, 1fr); }
.tech-grid .card h3 { color: var(--accent); font-family: var(--font-mono); font-size: 1rem; letter-spacing: .01em; }

/* ---------- PRODUCTS ---------- */
.product-grid { grid-template-columns: repeat(2, 1fr); }
.product-tag {
  display: inline-block;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: .08em;
  color: #04121a; background: var(--grad);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.chip-list li {
  font-family: var(--font-mono); font-size: .74rem; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px;
}
.link-arrow { color: var(--accent); font-weight: 600; font-size: .92rem; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- SOLUTIONS ---------- */
.solution-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- SPEC TABLE ---------- */
.spec-table {
  margin-top: 46px; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-card);
}
.spec-row { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--border); }
.spec-row:last-child { border-bottom: 0; }
.spec-key {
  padding: 16px 22px; font-family: var(--font-mono); font-size: .84rem;
  color: var(--accent); background: rgba(34, 211, 238, 0.05);
  border-right: 1px solid var(--border);
}
.spec-val { padding: 16px 22px; color: var(--text-dim); font-size: .95rem; }

/* ---------- CONTACT ---------- */
.section-contact { background: var(--bg-soft); border-top: 1px solid var(--border); }
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start;
}
.contact-list { margin-top: 30px; display: grid; gap: 16px; }
.contact-list li { display: grid; gap: 3px; }
.contact-label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }

.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  display: grid; gap: 18px;
}
.form-row { display: grid; gap: 8px; }
.form-row label { font-size: .9rem; font-weight: 600; }
.req { color: var(--accent); }
.form-row input, .form-row textarea {
  font-family: var(--font-sans); font-size: .96rem; color: var(--text);
  background: rgba(7, 11, 22, 0.6);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; outline: none; resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus, .form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.form-note { font-size: .82rem; color: var(--text-faint); }
.form-note.ok { color: #34d399; font-weight: 600; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-soft); padding: 70px 0 34px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.footer-brand p { margin-top: 16px; color: var(--text-faint); max-width: 280px; font-size: .9rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h4 { font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text); margin-bottom: 6px; }
.footer-col a { color: var(--text-dim); font-size: .9rem; transition: color .2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 54px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--text-faint); font-size: .84rem;
}
.footer-visitors { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-dim); font-family: var(--font-mono); }
.visitor-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px rgba(52,211,153,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.footer-mono { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .05em; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7, 11, 22, 0.98); border-bottom: 1px solid var(--border);
    padding: 12px 6vw 22px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav-links a.nav-cta { border: 0; text-align: center; margin-top: 10px; }
  .nav-links .lang-switch { align-self: flex-start; margin: 14px 0 8px; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }

  .arch { flex-direction: column; gap: 6px; padding: 26px; }
  .arch-arrow { transform: rotate(90deg); padding: 4px 0; }

  .tech-grid, .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 140px 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .cards, .tech-grid, .solution-grid, .product-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 70px); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-key { border-right: 0; border-bottom: 1px solid var(--border); }
  .footer-bottom { flex-direction: column; }
}

/* ============ ONLINE DEMO ============ */
.demo-card { max-width: 860px; margin: 0 auto; border: 1px solid var(--border); border-radius: 16px; padding: 28px; background: rgba(7,11,22,0.45); backdrop-filter: blur(8px); }
.demo-input-row { display: flex; gap: 12px; align-items: center; }
.demo-input { flex: 1; padding: 14px 16px; border-radius: 10px; border: 1px solid var(--border-strong); background: rgba(255,255,255,0.03); color: var(--text); font-size: 1rem; font-family: inherit; outline: none; transition: border-color .2s; }
.demo-input:focus { border-color: var(--accent); }
.demo-input::placeholder { color: var(--text-faint); }
.demo-frame-wrap { display: none; margin-top: 20px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #000; }
.demo-frame-wrap.show { display: block; }
.demo-frame { width: 100%; height: 420px; border: 0; display: block; }
.demo-note { margin: 16px 0 0; font-size: .85rem; color: var(--text-faint); line-height: 1.6; }
@media (max-width: 640px) {
  .demo-input-row { flex-direction: column; align-items: stretch; }
  .demo-card { padding: 20px; }
  .demo-frame { height: 300px; }
}

/* ============ PRODUCT GROUP TITLES ============ */
.product-group-title { font-family: var(--font-mono); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 36px 0 18px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.product-group-title:first-of-type { margin-top: 12px; }

/* ============ TECHNICAL ARTICLES ============ */
.article-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 12px; }
.article-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.article-card h3 { font-size: 1.12rem; line-height: 1.4; margin: 0; }
.article-card p { font-size: .9rem; color: var(--text-dim); line-height: 1.65; flex: 1; margin: 0; }
.article-meta { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.article-date { font-family: var(--font-mono); font-size: .75rem; color: var(--text-faint); letter-spacing: .04em; }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.article-tag { font-family: var(--font-mono); font-size: .7rem; padding: 3px 9px; border-radius: 999px; background: rgba(34,211,238,0.08); color: var(--accent); border: 1px solid rgba(34,211,238,0.18); letter-spacing: .03em; }
.article-card .link-arrow { margin-top: auto; }
@media (max-width: 900px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .article-grid { grid-template-columns: 1fr; } }

/* ============ NAV DROPDOWN ============ */
.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item > a { display: inline-flex; align-items: center; }
.nav-item > a::after { content: ""; display: inline-block; width: 0; height: 0; margin-left: 5px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--text-dim); transition: border-color .2s; }
.nav-item:hover > a::after { border-top-color: var(--accent); }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 200px; background: rgba(10,14,26,0.96); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 12px; padding: 8px; margin-top: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .2s ease; box-shadow: 0 12px 40px rgba(0,0,0,0.4); z-index: 100; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--text-dim); font-size: .9rem; text-decoration: none; transition: all .15s; white-space: nowrap; }
.dropdown a:hover { background: rgba(34,211,238,0.08); color: var(--text); }
@media (max-width: 900px) {
  .nav-item { display: block; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 16px; margin-top: 4px; display: none; }
  .nav-item.open .dropdown { display: block; }
  .nav-item > a::after { display: none; }
}

/* ============ PRODUCT IMAGE & SPECS ============ */
.product-img { width: calc(100% + 48px); margin: -24px -24px 18px; overflow: hidden; border-radius: 16px 16px 0 0; background: rgba(255,255,255,0.03); }
.product-img img { width: 100%; height: 180px; object-fit: cover; display: block; }
.product-specs { margin: 14px 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.product-spec-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--border); font-size: .82rem; }
.product-spec-row:last-child { border-bottom: 0; }
.product-spec-key { color: var(--text-faint); font-family: var(--font-mono); font-size: .75rem; letter-spacing: .03em; }
.product-spec-val { color: var(--text); word-break: break-word; }
@media (max-width: 640px) {
  .product-img { width: calc(100% + 40px); margin: -20px -20px 16px; }
  .product-img img { height: 150px; }
  .product-spec-row { grid-template-columns: 90px 1fr; }
}

/* ============ LANGUAGE DROPDOWN ============ */
.lang-dropdown { position: relative; display: inline-block; }
.lang-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-size: .85rem; cursor: pointer; transition: all .2s; font-family: inherit; }
.lang-trigger:hover { background: rgba(255,255,255,0.09); border-color: var(--accent); }
.lang-current { font-weight: 500; letter-spacing: .01em; }
.lang-arrow { font-size: .7rem; color: var(--text-faint); transition: transform .2s; }
.lang-dropdown.open .lang-arrow { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px; background: rgba(10,14,26,0.96); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 12px; padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .18s ease; box-shadow: 0 12px 40px rgba(0,0,0,0.4); z-index: 200; }
.lang-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-option { display: block; width: 100%; text-align: left; padding: 9px 14px; border-radius: 8px; background: transparent; border: 0; color: var(--text-dim); font-size: .88rem; cursor: pointer; transition: all .15s; font-family: inherit; }
.lang-option:hover { background: rgba(34,211,238,0.08); color: var(--text); }
.lang-option.active { background: rgba(34,211,238,0.12); color: var(--accent); font-weight: 600; }
@media (max-width: 900px) {
  .lang-trigger { padding: 6px 10px; font-size: .8rem; }
  .lang-menu { right: auto; left: 0; }
}

/* ============ HERO SLIDESHOW ============ */
.hero-slides { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6,9,20,0.5) 0%, rgba(6,9,20,0.3) 50%, rgba(6,9,20,0.5) 100%); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; }
.hero-controls { position: absolute; top: 50%; transform: translateY(-50%); left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 20px; z-index: 3; pointer-events: none; }
.hero-arrow { pointer-events: auto; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: rgba(10,14,26,0.5); backdrop-filter: blur(8px); color: #fff; font-size: 1.6rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; line-height: 1; }
.hero-arrow:hover { background: rgba(34,211,238,0.2); border-color: var(--accent); color: var(--accent); }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.3); cursor: pointer; transition: all .3s; padding: 0; }
.hero-dot.active { background: var(--accent); width: 28px; border-radius: 5px; }
@media (max-width: 768px) {
  .hero-controls { padding: 0 10px; }
  .hero-arrow { width: 38px; height: 38px; font-size: 1.3rem; }
  .hero-dots { bottom: 20px; }
}

/* ============ PARTNERS ============ */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin-top: 48px; }
.partner-item { display: flex; align-items: center; justify-content: center; padding: 28px 20px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; transition: all .3s; min-height: 90px; }
.partner-item:hover { border-color: rgba(34,211,238,0.3); background: rgba(34,211,238,0.05); transform: translateY(-3px); }
.partner-item img { max-width: 130px; max-height: 48px; object-fit: contain; filter: grayscale(100%) brightness(1.8); opacity: 0.7; transition: all .3s; }
.partner-item:hover img { filter: grayscale(0%) brightness(1); opacity: 1; }
.partner-item .partner-text { font-size: 1.1rem; font-weight: 700; color: #94a3b8; letter-spacing: 0.5px; }
.partner-item:hover .partner-text { color: #e2e8f0; }

/* ============ CASE STUDIES ============ */
.cases-grid { margin-top: 48px; }
.case-card { display: flex; flex-direction: column; overflow: hidden; }
.case-image { width: 100%; height: 200px; object-fit: cover; background: #0f172a; }
.case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.case-tag { display: inline-block; padding: 4px 12px; background: rgba(34,211,238,0.1); color: #22d3ee; border-radius: 20px; font-size: 0.75rem; font-weight: 600; margin-bottom: 12px; width: fit-content; }
.case-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.case-desc { font-size: 0.9rem; color: #94a3b8; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.case-metrics { display: flex; gap: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08); }
.case-metric { text-align: center; }
.case-metric-value { font-size: 1.3rem; font-weight: 800; color: #22d3ee; }
.case-metric-label { font-size: 0.7rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============ DOWNLOADS ============ */
.downloads-grid { margin-top: 48px; }
.download-card { display: flex; flex-direction: column; padding: 28px; }
.download-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(59,130,246,0.15)); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.download-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.download-desc { font-size: 0.85rem; color: #94a3b8; line-height: 1.5; margin-bottom: 16px; flex: 1; }
.download-meta { display: flex; gap: 16px; font-size: 0.75rem; color: #64748b; margin-bottom: 16px; }
.download-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: linear-gradient(135deg, #22d3ee, #3b82f6); color: #060914; text-decoration: none; font-weight: 600; font-size: 0.85rem; border-radius: 10px; transition: all .2s; width: fit-content; }
.download-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(34,211,238,0.3); }
@media (max-width: 768px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .case-image { height: 160px; }
}

/* ============ ADMIN STATS ENHANCED ============ */
.stats-chart { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.chart-bars { display: flex; align-items: flex-end; gap: 12px; height: 160px; }
.chart-bar { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; position: relative; }
.chart-bar-fill { width: 100%; max-width: 48px; background: linear-gradient(180deg, #22d3ee, #3b82f6); border-radius: 6px 6px 0 0; min-height: 4px; transition: height .3s; }
.chart-bar-val { font-size: 0.75rem; color: #22d3ee; font-weight: 600; margin-top: 4px; }
.chart-bar-label { font-size: 0.7rem; color: #64748b; margin-top: 2px; }
.stats-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.stats-col { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 16px; }
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.8rem; }
.stat-row:last-child { border-bottom: none; }
.stat-row-name { color: #94a3b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70%; }
.stat-row-count { color: #22d3ee; font-weight: 600; }
@media (max-width: 768px) {
  .stats-grid-3 { grid-template-columns: 1fr; }
}

/* Public visitor count in hero */
.stat-visitors { border-left: 1px solid rgba(34,211,238,0.2); padding-left: 24px; margin-left: 8px; }
.stat-visitors .stat-num { color: #22d3ee; }
@media (max-width: 768px) {
  .stat-visitors { border-left: none; padding-left: 0; margin-left: 0; }
}
.case-desc { font-size: .88rem; color: var(--text-dim); line-height: 1.6; margin: 8px 0 12px; }
.case-scene { background: rgba(34,211,238,0.06); border: 1px solid rgba(34,211,238,0.15); border-radius: 10px; padding: 12px 14px; margin: 0 0 16px; }
.case-scene-label { display: inline-block; font-size: .7rem; font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.case-scene-text { font-size: .82rem; color: var(--text-dim); line-height: 1.55; margin: 0; }

/* Partners bottom section */
.partners-bottom { padding: 60px 0; background: var(--bg-alt); border-top: 1px solid var(--border); }
.partners-bottom-label { text-align: center; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 32px; }
.partners-bottom-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: center; }
.partners-bottom-grid .partner-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px 16px; border-radius: 12px; background: #ffffff; border: 1px solid var(--border); transition: all .2s; }
.partners-bottom-grid .partner-item:hover { border-color: rgba(34,211,238,0.3); background: rgba(34,211,238,0.04); }
.partners-bottom-grid .partner-item img { max-width: 100%; max-height: 60px; object-fit: contain; filter: brightness(0.9); transition: filter .2s; }
.partners-bottom-grid .partner-item:hover img { filter: brightness(1.1); }
.partners-bottom-grid .partner-text, .partners-bottom-grid .partner-name { font-size: 0.9rem; font-weight: 600; color: #334155; letter-spacing: .02em; text-align: center; }
@media (max-width: 900px) {
  .partners-bottom-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 560px) {
  .partners-bottom-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .partners-bottom { padding: 40px 0; }
}

/* Partner name below logo */
.partner-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.partner-item img { max-width: 100%; max-height: 56px; object-fit: contain; }
.partner-name { font-size: 0.95rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0.02em; text-align: center; }
.partner-bottom-grid .partner-item { padding: 20px 16px; }

/* Article card thumbnail */
.article-card-img { width: 100%; height: 180px; overflow: hidden; border-radius: 12px 12px 0 0; margin: -20px -20px 16px; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.article-card:hover .article-card-img img { transform: scale(1.05); }