/* =========================================================
   REPUNITE · 官网样式
   浅色简约科技风格 · 响应式 · 高对比度
   ========================================================= */

:root {
  /* ---- 背景色（浅色调） ---- */
  --bg-0:        #ffffff;     /* 主底 */
  --bg-1:        #f5f8fc;     /* 次级底（section 区分） */
  --bg-2:        #eaf1f9;     /* 三级底 */
  --bg-3:        #dbe5f1;
  --line:        rgba(15, 35, 72, 0.08);
  --line-strong: rgba(15, 35, 72, 0.18);

  /* ---- 文字色 ---- */
  --text-1: #0b1a33;          /* 主文字（近黑） */
  --text-2: #344356;          /* 正文 */
  --text-3: #6a7890;          /* 次文字 */
  --text-4: #9aa5b5;

  /* ---- 品牌蓝 ---- */
  --brand:    #1e66f5;        /* 品牌主蓝 */
  --brand-2:  #0b3d91;        /* 深蓝 */
  --brand-3:  #4b9dff;        /* 亮蓝 */
  --accent:   #00c3b5;        /* 高亮青（次要） */

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-1: 0 1px 2px rgba(15, 35, 72, 0.06);
  --shadow-2: 0 20px 50px -20px rgba(30, 102, 245, 0.3);
  --shadow-card: 0 2px 8px rgba(15, 35, 72, 0.04), 0 12px 32px -12px rgba(15, 35, 72, 0.08);

  --max-w: 1240px;
  --space-section: clamp(72px, 10vw, 140px);

  --font-sans: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
h1, h2, h3, h4 { color: var(--text-1); font-weight: 600; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.1rem; }
p  { margin: 0; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
section { padding: var(--space-section) 0; position: relative; }

.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brand); padding: 6px 12px; background: rgba(30,102,245,0.08);
  border-radius: 999px; margin-bottom: 18px; font-weight: 500;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p  { color: var(--text-3); font-size: 1.05rem; }

.eyebrow-pill {
  display: inline-block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--brand); padding: 6px 12px; background: rgba(30,102,245,0.08);
  border-radius: 999px; margin-bottom: 18px; font-weight: 500;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.75);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, padding .25s, box-shadow .25s;
}
.site-header.scrolled {
  padding: 10px 0;
  border-bottom-color: var(--line);
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow-1);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 36px; width: auto; display: block; }
.logo-text  { font-weight: 700; letter-spacing: 0.02em; color: var(--text-1); font-size: 15px; }
.logo-text span { color: var(--text-3); font-weight: 400; margin-left: 8px; font-size: 12.5px; }

.nav { display: flex; gap: 2px; align-items: center; }
.nav .nav-link,
.nav .sub-link,
.nav a {
  padding: 8px 14px; font-size: 14px; color: var(--text-2);
  border-radius: 8px; transition: color .2s, background .2s;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
  white-space: nowrap;
}
.nav a:hover, .nav .nav-link:hover, .nav .sub-link:hover { color: var(--brand); background: rgba(30,102,245,0.08); }

/* dropdown */
.nav .nav-item.has-children { position: relative; }
.nav .nav-caret { font-size: 10px; transition: transform .2s; color: inherit; }
.nav .nav-item.has-children:hover .nav-caret { transform: rotate(180deg); }
.nav .sub-nav {
  position: absolute; top: 100%; left: 0;
  min-width: 180px;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 50px -16px rgba(17,39,82,.24);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 30;
  margin-top: 6px;
}
.nav .nav-item.has-children:hover .sub-nav,
.nav .nav-item.has-children:focus-within .sub-nav { display: flex; }
.nav .sub-link { padding: 10px 14px; font-weight: 500; border-radius: 8px; }

.site-header .tools { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--text-1); font-size: 13px; font-weight: 500;
  transition: border-color .2s, color .2s, background .2s;
}
.lang-toggle svg { width: 14px; height: 14px; }
.lang-toggle:hover { color: var(--brand); border-color: var(--brand); background: rgba(30,102,245,0.05); }

.menu-toggle { display: none; padding: 8px; border-radius: 8px; border: 1px solid var(--line-strong); color: var(--text-1); }
.menu-toggle svg { width: 20px; height: 20px; }

@media (max-width: 980px) {
  .nav {
    position: fixed; top: 62px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); box-shadow: var(--shadow-1);
    flex-direction: column; padding: 20px;
    transform: translateY(-120%); transition: transform .3s;
  }
  .nav.open { transform: translateY(0); }
  .menu-toggle { display: inline-flex; }
  .nav a, .nav .nav-link, .nav .sub-link { padding: 14px; font-size: 15px; }
  /* mobile: sub-nav renders inline, indented — always visible under its parent */
  .nav .nav-item.has-children { width: 100%; }
  .nav .nav-item.has-children .nav-link { display: flex; justify-content: space-between; }
  .nav .sub-nav {
    position: static; display: flex; margin: 4px 0 8px 14px;
    box-shadow: none; border: none; background: transparent; padding: 0;
    border-left: 2px solid var(--line);
    padding-left: 10px; border-radius: 0;
  }
  .nav .sub-link { padding: 10px 10px; font-size: 14px; color: var(--text-2); }
}

/* ---------- Button ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; font-size: 15px; font-weight: 500;
  border-radius: 10px; transition: all .25s; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff; box-shadow: var(--shadow-2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -20px rgba(30,102,245,.45); }
.btn-ghost {
  color: var(--brand); border: 1px solid var(--line-strong); background: rgba(255,255,255,0.8);
}
.btn-ghost:hover { border-color: var(--brand); background: rgba(30,102,245,0.06); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: 170px; padding-bottom: 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f6ff 0%, #ffffff 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 500px at 12% 20%, rgba(30,102,245,0.12), transparent 70%),
    radial-gradient(700px 500px at 88% 30%, rgba(0,195,181,0.08), transparent 70%),
    radial-gradient(900px 600px at 50% 110%, rgba(75,157,255,0.10), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(15,35,72,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,35,72,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 30%, black 30%, transparent 80%);
}
.hero .container { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--brand); background: rgba(30,102,245,0.08);
  border: 1px solid rgba(30,102,245,0.2); border-radius: 999px;
  margin-bottom: 30px; font-weight: 500;
}
.hero-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
  max-width: 900px;
  color: var(--text-1);
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-desc { max-width: 640px; margin: 26px 0 40px; font-size: 1.1rem; color: var(--text-2); line-height: 1.75; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 80px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  max-width: 900px;
  padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hero-stats > div { padding: 0 24px; border-left: 1px solid var(--line); }
.hero-stats > div:first-child { border-left: 0; padding-left: 0; }
.stat-val { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 700; color: var(--brand-2); letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: var(--text-3); margin-top: 4px; }

@media (max-width: 680px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-stats > div { border-left: 0 !important; padding: 0 !important; }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .3s, border-color .3s, box-shadow .3s;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(30,102,245,0.3);
  box-shadow: 0 8px 24px rgba(15, 35, 72, 0.06), 0 28px 60px -20px rgba(30, 102, 245, 0.18);
}

.card-icon {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(30,102,245,0.12), rgba(75,157,255,0.06));
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { color: var(--text-1); margin-bottom: 10px; font-size: 1.1rem; }
.card p  { color: var(--text-3); font-size: 14.5px; line-height: 1.7; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag {
  font-size: 11.5px; padding: 4px 10px; border-radius: 6px;
  color: var(--brand); background: rgba(30,102,245,0.08);
  font-family: var(--font-mono); letter-spacing: 0.02em;
  font-weight: 500;
}

/* ---------- Section backgrounds ---------- */
#products { background: #fff; }
#technology { background: var(--bg-1); }
#industries { background: #fff; }
#about { background: var(--bg-1); }
#partners { background: #fff; }
#downloads { background: var(--bg-1); }
#news { background: #fff; }
#solutions { background: var(--bg-1); }

#technology .card { background: #fff; }

/* ---------- Industries card ---------- */
.industry-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex; gap: 18px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  box-shadow: var(--shadow-card);
}
.industry-card:hover { transform: translateY(-3px); border-color: rgba(30,102,245,0.3); }
.industry-card .card-icon { flex-shrink: 0; margin-bottom: 0; }
.industry-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.industry-card p  { font-size: 14px; color: var(--text-3); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-text h2 { margin-bottom: 24px; }
.about-text p  { color: var(--text-2); font-size: 1.02rem; line-height: 1.85; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.value-card h4 {
  color: var(--text-1); font-size: 0.98rem; margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.value-card h4::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}
.value-card p { color: var(--text-3); font-size: 13.5px; }

/* ---------- Contact ---------- */
#contact {
  background:
    radial-gradient(700px 400px at 20% 50%, rgba(30,102,245,0.08), transparent 70%),
    radial-gradient(700px 400px at 80% 50%, rgba(0,195,181,0.06), transparent 70%),
    var(--bg-1);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info {
  padding: 34px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.contact-info h3 { font-size: 1.3rem; margin-bottom: 6px; color: var(--brand-2); }
.contact-info .desc { color: var(--text-3); margin-bottom: 24px; }
.contact-info ul { list-style: none; padding: 0; margin: 0; }
.contact-info li { padding: 13px 0; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; font-size: 14.5px; gap: 12px; }
.contact-info li:first-child { border-top: 0; padding-top: 0; }
.contact-info li span:first-child { color: var(--text-3); flex-shrink: 0; }
.contact-info li span:last-child  { color: var(--text-1); font-weight: 500; text-align: right; }

.contact-form {
  padding: 34px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}
.contact-form .field { margin-bottom: 16px; }
.contact-form label { display: block; font-size: 12.5px; color: var(--text-3); margin-bottom: 6px; letter-spacing: 0.04em; font-weight: 500; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 12px 14px; font: inherit;
  background: #f7f9fc; border: 1px solid var(--line); border-radius: 8px;
  color: var(--text-1); transition: border-color .2s, background .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.contact-form textarea { min-height: 110px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; }

.form-msg {
  margin-top: 12px; font-size: 13.5px; padding: 10px 12px;
  border: 1px solid rgba(0,195,181,0.35); background: rgba(0,195,181,0.08);
  color: #007065; border-radius: 8px; display: none;
}
.form-msg.show { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 0 30px;
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 13.5px;
}
.site-footer .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center;
}
.site-footer .logo-text { color: var(--text-1); font-weight: 600; letter-spacing: 0.05em; }

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

/* ---------- Selection / scrollbar ---------- */
::selection { background: var(--brand); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand); }

html[lang="en"] body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

/* ========================================================= */
/* Filter tabs · Product cards · Solution · News · Modal     */
/* ========================================================= */

.filter-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: -24px auto 40px; max-width: 960px;
}
.filter-tabs .tab {
  padding: 9px 18px; font-size: 13.5px; color: var(--text-2);
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; transition: all .2s; font-weight: 500;
}
.filter-tabs .tab:hover { color: var(--brand); border-color: var(--brand); }
.filter-tabs .tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  border-color: transparent;
  box-shadow: 0 8px 20px -6px rgba(30,102,245,.45);
}

.product-card { cursor: pointer; display: flex; flex-direction: column; padding: 24px; }
.product-image {
  width: calc(100% + 48px); height: 200px;
  margin: -24px -24px 20px -24px;
  background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.product-image img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 14px; transition: transform .4s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-model {
  display: inline-block;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.02em;
  color: var(--brand); background: rgba(30,102,245,0.08);
  padding: 3px 10px; border-radius: 4px;
  margin-bottom: 10px; align-self: flex-start;
  font-weight: 500;
}
.product-more {
  margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--brand);
  font-weight: 500; opacity: 0; transform: translateY(6px); transition: all .25s;
}
.product-card:hover .product-more { opacity: 1; transform: none; }

/* ---------- Solutions ---------- */
.solution-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
.solution-card:hover {
  transform: translateY(-4px); border-color: rgba(30,102,245,0.3);
  box-shadow: 0 28px 60px -20px rgba(30, 102, 245, 0.18);
}
.solution-image {
  height: 240px; background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.solution-image img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.solution-body { padding: 28px 30px; }
.solution-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.solution-body p  { color: var(--text-2); font-size: 14.5px; line-height: 1.75; }

.mini-specs {
  list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px;
}
.mini-specs li {
  display: flex; justify-content: space-between; font-size: 12.5px;
  padding: 6px 0; border-bottom: 1px dashed var(--line);
}
.mini-k { color: var(--text-3); }
.mini-v { color: var(--text-1); font-family: var(--font-mono); font-weight: 500; }
@media (max-width: 560px) { .mini-specs { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
.news-card {
  display: flex; flex-direction: column; padding: 28px;
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .25s, border-color .25s, box-shadow .25s;
  color: inherit; text-decoration: none;
  box-shadow: var(--shadow-card); cursor: pointer;
}
.news-card:hover {
  transform: translateY(-3px); border-color: rgba(30,102,245,0.3);
  box-shadow: 0 24px 48px -16px rgba(30,102,245,.18);
}
.news-date {
  font-family: var(--font-mono); font-size: 12px; color: var(--brand);
  margin-bottom: 12px; letter-spacing: .04em; font-weight: 500;
}
.news-card h3 { font-size: 1.12rem; margin-bottom: 10px; line-height: 1.4; }
.news-card p  { color: var(--text-3); font-size: 14px; line-height: 1.75; }
.news-more { margin-top: 16px; font-size: 13px; color: var(--brand); font-weight: 500; }

/* ---------- Modal / Detail drawer ---------- */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .25s ease;
}
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(11,26,51,0.55);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative; z-index: 1;
  width: min(820px, calc(100vw - 32px));
  max-height: calc(100vh - 60px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow-y: auto;
  box-shadow: 0 40px 120px rgba(11,26,51,.2);
  animation: slideUp .35s cubic-bezier(.2,.8,.2,1);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--text-2);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s; background: #fff;
}
.modal-close:hover { color: var(--brand); border-color: var(--brand); background: var(--bg-1); }
.modal-close svg { width: 18px; height: 18px; }
.modal-image {
  height: 280px; margin: -40px -40px 24px -40px;
  background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.modal-image img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.modal-model {
  display: inline-block; font-family: var(--font-mono); font-size: 12px;
  color: var(--brand); background: rgba(30,102,245,0.08);
  padding: 4px 12px; border-radius: 4px; margin-bottom: 14px;
  font-weight: 500;
}
.modal-card h2 { font-size: 1.6rem; margin-bottom: 14px; }
.modal-summary { color: var(--text-2); line-height: 1.8; margin-bottom: 22px; }
.modal-body-text {
  color: var(--text-2); line-height: 1.85; margin-top: 18px;
  white-space: pre-line;
}
.modal-body-text p { margin-bottom: 1em; }

.spec-table {
  width: 100%; margin-top: 22px; border-collapse: collapse;
  font-size: 13.5px; background: var(--bg-1); border-radius: 8px; overflow: hidden;
}
.spec-table thead th {
  text-align: left; padding: 10px 14px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3); font-weight: 500;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.spec-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px dashed var(--line);
}
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody td:first-child { color: var(--text-3); width: 44%; }
.spec-table tbody td:last-child  { color: var(--text-1); font-family: var(--font-mono); font-weight: 500; }
.spec-table tbody tr:hover td { background: rgba(30,102,245,.04); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .modal-card { padding: 28px; }
  .modal-image { margin: -28px -28px 20px -28px; height: 220px; }
}

/* ========================================================= */
/* Partners / Certificates / Downloads                        */
/* ========================================================= */
.partner-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; margin-top: -20px;
}
.partner-logo {
  height: 110px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  padding: 10px 18px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  box-shadow: var(--shadow-card);
}
.partner-logo:hover {
  transform: translateY(-2px); border-color: rgba(30,102,245,0.3);
  box-shadow: 0 12px 30px -10px rgba(30,102,245,.2);
}
.partner-logo img {
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  display: block;
  filter: saturate(0.95);
}

.cert-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.cert-card {
  aspect-ratio: 4 / 5;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  transition: transform .3s, border-color .3s, box-shadow .3s;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
.cert-card:hover { transform: translateY(-4px); border-color: rgba(30,102,245,0.3); }
.cert-card img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Downloads */
.download-filter {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: -24px auto 40px; max-width: 960px;
}
.download-filter .tab {
  padding: 8px 14px; font-size: 13px; color: var(--text-2);
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; transition: all .2s; font-weight: 500;
}
.download-filter .tab:hover { color: var(--brand); border-color: var(--brand); }
.download-filter .tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  border-color: transparent;
}

.download-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 12px;
}
.download-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .2s, border-color .2s, box-shadow .2s;
  box-shadow: var(--shadow-card);
}
.download-item:hover {
  transform: translateX(2px); border-color: rgba(30,102,245,.3);
  box-shadow: 0 16px 40px -12px rgba(30,102,245,.18);
}
.download-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--brand); background: rgba(30,102,245,0.08);
  border: 1px solid rgba(30,102,245,0.2); border-radius: 8px;
}
.download-body { flex: 1; min-width: 0; }
.download-name {
  font-size: 14.5px; color: var(--text-1); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-bottom: 3px;
}
.download-meta { font-size: 12px; color: var(--text-3); }
.download-actions { display: flex; flex-direction: column; gap: 6px; }
.download-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; color: var(--brand); font-weight: 500;
  padding: 5px 12px; border-radius: 6px;
  border: 1px solid rgba(30,102,245,0.2); background: rgba(30,102,245,0.05);
  transition: all .2s;
  text-decoration: none; white-space: nowrap;
}
.download-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ========== Deeper light-blue section backgrounds ========== */
/* Overrides for stronger bluetone backgrounds */
:root {
  --bg-1: #e8f1fb;   /* alternate section bg — clearer blue tint */
  --bg-2: #dce8f6;
}
#technology { background: var(--bg-1); }
#about      { background: var(--bg-1); }
#downloads  { background: var(--bg-1); }
#solutions  { background: linear-gradient(180deg, #eef4fc 0%, #e8f1fb 100%); }
#contact    {
  background:
    radial-gradient(700px 400px at 20% 50%, rgba(30,102,245,0.12), transparent 70%),
    radial-gradient(700px 400px at 80% 50%, rgba(0,195,181,0.08), transparent 70%),
    var(--bg-1);
}
.hero {
  background: linear-gradient(180deg, #dbeaff 0%, #eef5ff 55%, #ffffff 100%);
}
.site-footer { background: var(--bg-2); }

/* ========== Carousel ========== */
.carousel-slides { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .4s ease;
  pointer-events: none;
}
.carousel-slide.active { opacity: 1; pointer-events: auto; }
.carousel-slide img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 14px; display: block;
}
.carousel-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(15,35,72,0.25);
  transition: background .2s, width .2s;
  padding: 0; border: 0; cursor: pointer;
}
.carousel-dot.active { background: var(--brand); width: 20px; border-radius: 10px; }
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(6px);
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-1); font-size: 20px; line-height: 0;
  opacity: 0; transition: opacity .2s; z-index: 2;
  cursor: pointer; padding: 0;
}
.carousel-nav span { display: block; margin-top: -2px; }
.carousel-nav:hover { background: #fff; color: var(--brand); }
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.product-image:hover .carousel-nav,
.modal-image:hover .carousel-nav { opacity: 1; }

/* ========== News card with image ========== */
.news-card { padding: 0; overflow: hidden; }
.news-image {
  height: 200px; overflow: hidden; background: var(--bg-1);
  border-bottom: 1px solid var(--line);
}
.news-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.news-card:hover .news-image img { transform: scale(1.05); }
.news-body { padding: 26px 28px; }

/* Detail modal: news image same treatment */
.modal-image > img { display: block; }

/* ========================================================= */
/* v3 — Richer backgrounds, decorative shapes, bolder menu   */
/* ========================================================= */

/* --- Bolder navigation --- */
.nav a, .nav .nav-link, .nav .sub-link { font-weight: 600; font-size: 14.5px; }
.nav .sub-link { font-size: 14px; font-weight: 500; }
.nav a.active, .nav .nav-link.active,
.nav a:hover, .nav .nav-link:hover, .nav .sub-link:hover { color: var(--brand); background: rgba(30,102,245,.1); }
.logo-img { height: 40px; }

/* --- Hero: decorative floating blobs and grid --- */
.hero::before {
  background:
    radial-gradient(900px 600px at 10% 15%, rgba(30,102,245,0.22), transparent 60%),
    radial-gradient(700px 500px at 90% 25%, rgba(0,195,181,0.16), transparent 60%),
    radial-gradient(900px 600px at 50% 120%, rgba(75,157,255,0.18), transparent 60%);
}
.hero-stats {
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.hero-stats > div { padding: 0 20px !important; border-left: 1px solid var(--line) !important; }
.hero-stats > div:first-child { border-left: 0 !important; padding-left: 0 !important; }

/* --- Hero floating decorative shapes (pure CSS) --- */
.hero .container::before,
.hero .container::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(0.5px);
  opacity: 0.7;
}
.hero .container::before {
  width: 180px; height: 180px;
  top: 120px; right: -30px;
  background: conic-gradient(from 120deg, rgba(30,102,245,0.28), rgba(0,195,181,0.18), rgba(75,157,255,0.28));
  animation: float 8s ease-in-out infinite;
}
.hero .container::after {
  width: 120px; height: 120px;
  bottom: 140px; left: 50%;
  background: radial-gradient(circle, rgba(0,195,181,0.35), transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-20px) translateX(10px); }
}

/* --- Section backgrounds: subtle dot/grid patterns --- */
section#technology::before,
section#about::before,
section#downloads::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(30,102,245,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, black 30%, black 70%, transparent 100%);
}

section#technology .container,
section#about .container,
section#downloads .container { position: relative; z-index: 1; }

/* Decorative floating accent on major sections */
section#products::after,
section#partners::after,
section#solutions::after {
  content: ""; position: absolute; pointer-events: none;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,102,245,0.08), transparent 65%);
  top: -100px; right: -100px;
  z-index: 0;
}
section#products .container,
section#partners .container,
section#solutions .container { position: relative; z-index: 1; }

/* --- Section head: decorative side accents --- */
.section-head {
  position: relative;
}
.section-head::before,
.section-head::after {
  content: "";
  display: inline-block;
  width: 30px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand));
  vertical-align: middle;
  margin: 0 12px 6px 0;
}
.section-head::after {
  background: linear-gradient(90deg, var(--brand), transparent);
  margin: 0 0 6px 12px;
}
.section-head h2 { display: inline-block; vertical-align: middle; }

/* --- Download items: richer look --- */
.download-item { padding: 20px 22px; }
.download-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, rgba(30,102,245,.15), rgba(0,195,181,.10));
  border: 1px solid rgba(30,102,245,.25);
  color: var(--brand-2);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.05em;
}
.download-name { font-size: 15px; font-weight: 600; color: var(--text-1); }
.download-meta { font-size: 12.5px; }
.download-btn {
  padding: 8px 16px; font-size: 13px; font-weight: 600;
}

/* --- Product cards: floating decoration --- */
.product-card { position: relative; }
.product-card::after {
  content: "";
  position: absolute; top: 14px; right: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,195,181,0.15);
  opacity: 0; transform: scale(0.5);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.product-card:hover::after { opacity: 1; transform: scale(1); }

/* --- About values: better spacing + hover --- */
.value-card {
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(30,102,245,.3);
  box-shadow: 0 18px 36px -14px rgba(30,102,245,.2);
}

/* --- Technology cards: accent top border --- */
#technology .card {
  position: relative; overflow: hidden;
}
#technology .card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
#technology .card:hover::before { transform: scaleX(1); }

/* --- Industries card accent stripe --- */
.industry-card {
  position: relative; overflow: hidden;
}
.industry-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  transform: scaleY(0); transform-origin: top;
  transition: transform .3s ease;
}
.industry-card:hover::before { transform: scaleY(1); }

/* --- Partner / cert card: decorative glow --- */
.cert-card { position: relative; }
.cert-card::after {
  content: "✓";
  position: absolute; top: 10px; right: 10px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand);
  color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px rgba(30,102,245,.2);
}

/* --- News card image gradient overlay --- */
.news-image {
  position: relative;
}
.news-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,35,72,.12) 100%);
  pointer-events: none;
}

/* --- Footer: subtle diagonal stripes --- */
.site-footer {
  background:
    linear-gradient(135deg, rgba(30,102,245,0.03) 25%, transparent 25%, transparent 50%, rgba(30,102,245,0.03) 50%, rgba(30,102,245,0.03) 75%, transparent 75%) 0/24px 24px,
    var(--bg-2);
}

/* --- Contact section richer accents --- */
#contact {
  background:
    radial-gradient(700px 400px at 15% 40%, rgba(30,102,245,0.15), transparent 60%),
    radial-gradient(700px 400px at 85% 60%, rgba(0,195,181,0.12), transparent 60%),
    var(--bg-1);
}
.contact-info {
  position: relative; overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute; bottom: -60px; right: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,195,181,0.12), transparent 70%);
  pointer-events: none;
}

/* --- Fix: remove reveal default-invisible on download items (they're already in a revealed section) --- */
.download-item { opacity: 1; transform: none; }

/* ========================================================= */
/* v4 — Richer visuals: blueprint bg, SVG hero art,          */
/*     section numbers, animated accents                      */
/* ========================================================= */

/* --- Global blueprint grid background on body (very subtle) --- */
body {
  background:
    linear-gradient(rgba(30,102,245,0.025) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(30,102,245,0.025) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg-0);
}

/* --- Hero: add a cool SVG illustration on the right side --- */
.hero {
  padding-bottom: 140px;
  background: linear-gradient(180deg, #e3efff 0%, #f4f9ff 55%, #ffffff 100%);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}
.hero-text { grid-column: 1; }
.hero-art {
  grid-column: 2; position: relative;
  aspect-ratio: 1; max-width: 520px; justify-self: center;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { max-width: 380px; order: -1; }
}

/* Core ring + orbital dots (pure CSS/SVG) */
.hero-art::before,
.hero-art::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
}
.hero-art::before {
  background: conic-gradient(from 0deg, transparent 0%, rgba(30,102,245,0.25) 25%, transparent 50%, rgba(0,195,181,0.25) 75%, transparent 100%);
  animation: spin-slow 28s linear infinite;
  filter: blur(2px);
}
.hero-art::after {
  background: radial-gradient(circle at center, rgba(255,255,255,0.85) 28%, transparent 40%);
  box-shadow: 0 40px 100px -20px rgba(30,102,245,.4);
}
.hero-art-inner {
  position: absolute; inset: 14%;
  background: linear-gradient(135deg, #fff 0%, #f0f6ff 100%);
  border-radius: 50%;
  box-shadow: inset 0 2px 8px rgba(15,35,72,.08), 0 20px 60px -12px rgba(30,102,245,.3);
  z-index: 1;
  display: flex; align-items: center; justify-content: center;
}
.hero-art-inner svg { width: 55%; height: 55%; color: var(--brand); }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* Floating orbital dots */
.hero-art-dot {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand); z-index: 2;
  box-shadow: 0 0 0 6px rgba(30,102,245,.12), 0 4px 12px rgba(30,102,245,.4);
}
.hero-art-dot.d1 { top: 6%; left: 50%; transform: translateX(-50%); animation: orbit-a 12s linear infinite; }
.hero-art-dot.d2 { right: 8%; top: 50%; transform: translateY(-50%); background: var(--accent); animation: orbit-b 16s linear infinite; }
.hero-art-dot.d3 { bottom: 12%; left: 20%; width: 10px; height: 10px; animation: orbit-c 14s linear infinite; }
@keyframes orbit-a {
  0%,100% { top: 6%; left: 50%; }
  25% { top: 40%; left: 90%; }
  50% { top: 88%; left: 50%; }
  75% { top: 40%; left: 10%; }
}
@keyframes orbit-b {
  0%,100% { right: 8%; top: 50%; }
  33% { right: 60%; top: 8%; }
  66% { right: 60%; top: 88%; }
}
@keyframes orbit-c {
  0%,100% { bottom: 12%; left: 20%; }
  50% { bottom: 60%; left: 75%; }
}

/* Background ring decorations */
.hero-art-ring {
  position: absolute; inset: -5%;
  border: 1.5px dashed rgba(30,102,245,0.25);
  border-radius: 50%;
  animation: spin-slow 40s linear infinite reverse;
}
.hero-art-ring2 {
  position: absolute; inset: -15%;
  border: 1px dashed rgba(0,195,181,0.2);
  border-radius: 50%;
  animation: spin-slow 60s linear infinite;
}

/* --- Section number watermarks (editorial feel) --- */
section#about,
section#technology,
section#partners,
section#products,
section#solutions,
section#downloads,
section#news,
section#contact {
  position: relative;
}
section#about .container::before { content: "01"; }
section#technology .container::before { content: "02"; }
section#partners .container::before { content: "03"; }
section#products .container::before { content: "04"; }
section#solutions .container::before { content: "05"; }
section#downloads .container::before { content: "06"; }
section#news .container::before { content: "07"; }
section#contact .container::before { content: "08"; }

section .container > :first-child { position: relative; }

section#about .container::before,
section#technology .container::before,
section#partners .container::before,
section#products .container::before,
section#solutions .container::before,
section#downloads .container::before,
section#news .container::before,
section#contact .container::before {
  position: absolute;
  top: -40px; right: 20px;
  font-family: var(--font-mono);
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 800;
  line-height: 1;
  color: rgba(30,102,245,0.06);
  pointer-events: none;
  letter-spacing: -0.05em;
  z-index: 0;
}
section .container { position: relative; }
@media (max-width: 900px) {
  section#about .container::before,
  section#technology .container::before,
  section#partners .container::before,
  section#products .container::before,
  section#solutions .container::before,
  section#downloads .container::before,
  section#news .container::before,
  section#contact .container::before {
    font-size: 140px; top: -20px;
  }
}

/* --- Section divider: top angled slice --- */
#about,
#products,
#news {
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);
  padding-top: calc(var(--space-section) + 40px);
  padding-bottom: calc(var(--space-section) + 40px);
}

/* --- Cards: corner bracket marks (industrial UI) --- */
.card,
.industry-card,
.solution-card,
.news-card,
.value-card {
  position: relative;
}
.card::before,
.industry-card::before,
.solution-card::before,
.news-card::before,
.value-card::before,
.card::after {
  /* only used for top-border accent elsewhere; don't duplicate */
}

/* Hero stats: animated number glow + brand color numbers */
.stat-val {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  position: relative;
}

/* --- Product card: subtle rotation + scan-line on hover --- */
.product-card:hover .product-image::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: scan-line 1.5s ease-in-out;
  z-index: 3;
  opacity: 0.6;
}
@keyframes scan-line {
  0% { top: 0%; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* --- Hero eyebrow glow --- */
.hero-eyebrow {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(30,102,245,.08);
}

/* --- Hero buttons: add arrow icon animation on primary --- */
.btn-primary svg { transition: transform .25s; }
.btn-primary:hover svg { transform: translateX(4px); }

/* --- Section head eyebrow: more presence --- */
.section-head .eyebrow {
  font-size: 12.5px; padding: 7px 14px;
  background: linear-gradient(135deg, rgba(30,102,245,.1), rgba(0,195,181,.08));
  border: 1px solid rgba(30,102,245,0.18);
  font-weight: 600;
}

/* --- Stats cards richer --- */
.hero-stats {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(30,102,245,.12);
  box-shadow: 0 20px 50px -20px rgba(30,102,245,.2), 0 1px 3px rgba(15,35,72,.05);
}

/* --- Partner logo: lift rotation on hover --- */
.partner-logo { transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s; }
.partner-logo:hover { transform: translateY(-3px) rotate(-0.5deg); }

/* --- Contact form: accent top bar --- */
.contact-form { position: relative; overflow: hidden; }
.contact-form::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand), var(--accent));
}

/* --- Download filter tabs: richer animation --- */
.download-filter .tab,
.filter-tabs .tab { transition: all .3s cubic-bezier(.2,.8,.2,1); }

/* --- Tag row tags: colorful bg variants --- */
.tag {
  background: linear-gradient(135deg, rgba(30,102,245,.1), rgba(0,195,181,.08));
  border: 1px solid rgba(30,102,245,.18);
  font-weight: 600;
}

/* --- Solution specs bg --- */
.mini-specs li {
  background: rgba(30,102,245,.02);
  padding: 8px 12px; margin-bottom: 4px;
  border-radius: 6px;
  border-bottom: 0 !important;
}

/* --- Mobile responsiveness for hero art --- */
@media (max-width: 600px) {
  .hero-art { display: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-text { grid-column: 1; }
}

/* v6 — product detail body + features */
.feat-list {
  list-style: none; padding: 0; margin: 12px 0 0;
}
.feat-list li {
  position: relative; padding: 8px 0 8px 28px;
  color: var(--text-2); font-size: 14px; line-height: 1.7;
  border-bottom: 1px dashed var(--line);
}
.feat-list li::before {
  content: ""; position: absolute; left: 6px; top: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 3px rgba(30,102,245,.15);
}
.feat-list li:last-child { border-bottom: 0; }

/* v7 — Modal structural fix: close button always visible above scrolling content */
.modal-card {
  padding: 0 !important;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
}
.modal-scroll {
  flex: 1; min-height: 0;
  overflow-y: auto;
  padding: 40px;
  -webkit-overflow-scrolling: touch;
}
.modal-close {
  position: absolute !important;
  top: 14px; right: 14px;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(15,35,72,.15);
}
.modal-image {
  margin: 0 -40px 24px -40px !important;
}
@media (max-width: 640px) {
  .modal-scroll { padding: 28px; }
  .modal-image { margin: 0 -28px 20px -28px !important; }
}

/* Ensure SVG inside close button doesn't intercept clicks */
.modal-close > * { pointer-events: none; }
