/* ProTech UI 4.0: product-neutral homepage, bilingual, RTL/LTR and reduced motion. */
:root {
  --v4-accent:#66e8c9;
  --v4-ink:#0a1828;
  --v4-ring:#74edcf;
}
.site-header {box-shadow:0 8px 34px #00000012}
.site-header .nav-link {font-weight:750}
.site-header .header-cta {border-radius:12px}
.site-header .nav-link:focus-visible,.site-header .lang-toggle:focus-visible {
  outline:3px solid var(--v4-ring);outline-offset:5px
}
/* Clear, software-agnostic hero. */
#home {background:radial-gradient(ellipse at 83% 19%,#13586565,transparent 47%),
  radial-gradient(ellipse at 4% 91%,#2b706321,transparent 44%),var(--bg)}
#home .hero-layout {min-height:unset;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  gap:clamp(24px,4vw,56px);padding-block:clamp(56px,7vw,96px) 55px}
#home .hero-copy {max-width:720px}
#home h1 {font-size:clamp(34px,4.25vw,62px);letter-spacing:-.04em;line-height:1.28;
  text-wrap:balance;margin-block:21px}
#home .hero-description {font-size:clamp(14px,1.28vw,17px);line-height:2;max-width:610px}
#home .hero-buttons .button {border-radius:13px;min-height:51px}
#home .hero-art {height:auto;min-height:430px;padding:30px 0 12px;flex-direction:column}
#home .hero-gallery.hero-portfolio-panel {width:min(100%,520px);transform:none;
  background:linear-gradient(155deg,#132e40,#091d2d 78%);
  border:1px solid #609ba06b;border-radius:25px;padding:18px;
  box-shadow:0 26px 80px #0006,0 0 66px #31bda018}
#home .hero-gallery.hero-portfolio-panel:hover {transform:translateY(-3px)}
#home .hero-gallery-bar {border-bottom:1px solid #4e819441;padding:0 3px 11px;height:auto}
#home .hero-gallery-foot {border-top:1px solid #4e819441;margin-top:16px;
  padding-top:13px;font-size:9px;color:#acd6d2}
#home .hero-preview-note {text-align:center;max-width:500px;margin-top:13px}
#home .hero-art .tag-top {top:8px;right:-4px;white-space:normal}
.v4-panel-heading {padding:22px 8px 13px;display:flex;align-items:flex-start;
  flex-direction:column;justify-content:flex-start;gap:8px;direction:rtl;text-align:start}
.v4-panel-eyebrow {font-size:11px;font-weight:850;letter-spacing:.02em;
  color:#75eacf;border:1px solid #6edfc75c;background:#1b514e3d;
  border-radius:999px;padding:3px 10px}
.v4-panel-heading strong {font-size:clamp(19px,2.1vw,27px);line-height:1.38;
  color:#f6fffc;font-weight:900;letter-spacing:-.02em}
.v4-panel-heading p {font-size:12px;color:#b5d3dc;line-height:1.8;
  margin:0;max-width:410px}
.v4-panel-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;direction:rtl}
.v4-panel-tile {min-width:0;min-height:99px;display:flex;align-items:center;
  gap:11px;background:linear-gradient(145deg,#193d50,#133143);
  border:1px solid #366b79a1;border-radius:14px;padding:13px;
  color:#f2fbfd;text-decoration:none;transition:background .18s,border-color .18s,transform .18s}
.v4-panel-tile:hover {background:#1d5061;border-color:#77e8d3;transform:translateY(-2px)}
.v4-panel-tile:focus-visible {outline:3px solid #a4fce5;outline-offset:3px}
.v4-panel-tile>span:last-child {display:flex;flex-direction:column;min-width:0}
.v4-panel-tile b {font-size:13px;line-height:1.4;overflow-wrap:anywhere}
.v4-panel-tile small {font:750 8px/1.6 "Segoe UI",Arial,sans-serif;direction:ltr;
  text-align:start;color:#a1c6d0;letter-spacing:.065em}
.v4-panel-symbol {width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;
  border-radius:13px;border:1px solid #70dfcd6c;background:#2c7e7880;
  font:800 30px/1 "Segoe UI",sans-serif;color:#9bf4d8}
.v4-panel-tile:nth-child(2) .v4-panel-symbol {background:#4c527b80;color:#c8c8ff}
.v4-panel-tile:nth-child(3) .v4-panel-symbol {background:#225a7d80;color:#9edbff}
.v4-panel-tile:nth-child(4) .v4-panel-symbol {background:#79613a55;color:#f4d797}
#home .hero-stats {border-color:var(--line);padding-block:19px 24px}
#home .stat strong {font-variant-numeric:tabular-nums}
/* A more consistent and skimmable catalog. */
#products {padding-block:clamp(62px,6vw,92px);background:var(--bg-2)}
#products .section-head {gap:20px}
#products .catalog-toolbar {padding:15px;border:1px solid var(--line);
  background:var(--panel);border-radius:18px;box-shadow:0 10px 30px #00000012}
#products .filter {border-radius:11px;min-height:42px}
#products .sort-select,#products .search {border-radius:12px;min-height:45px}
#products .catalog {gap:17px}
#products .product-card,#catalog .pre-product-card {border-radius:19px;
  background:var(--panel);border-color:color-mix(in srgb,var(--line) 85%,var(--teal));
  box-shadow:0 14px 35px #00000012}
#products .product-card:hover,#catalog .pre-product-card:hover {
  border-color:color-mix(in srgb,var(--teal) 56%,var(--line));
  box-shadow:0 17px 40px #00000025}
#products .product-card .card-preview {transition:transform .25s}
#products .product-card:hover .card-preview {transform:scale(1.025)}
#products .card-description {font-size:13px;min-height:0}
#products .card-actions {gap:10px}
#catalog .pre-product-card:first-child {grid-column:auto;display:flex;
  grid-template-columns:none;min-height:0}
#catalog .pre-product-card:first-child .pre-product-cover {aspect-ratio:16/9}
#catalog .pre-product-card:first-child .pre-product-content {padding:23px}
#catalog .pre-product-actions a {min-height:40px;display:inline-flex;align-items:center;justify-content:center}
/* Spotlight is a neutral set of service areas, not featured products. */
#featured {background:var(--bg);padding-block:clamp(65px,7vw,90px)}
#featured .spotlight-head {margin-bottom:25px}
#featured .v4-service-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.v4-service-card {position:relative;display:flex;flex-direction:column;align-items:flex-start;
  gap:12px;min-width:0;min-height:260px;padding:27px;
  border-radius:21px;border:1px solid var(--line);
  background:linear-gradient(145deg,var(--panel),color-mix(in srgb,var(--panel) 89%,var(--teal)));
  color:var(--text);text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}
.v4-service-card:hover {transform:translateY(-4px);border-color:var(--teal);
  box-shadow:0 16px 42px #00000022}
.v4-service-card:focus-visible {outline:3px solid var(--teal);outline-offset:4px}
.v4-service-number {font:750 10px/1.3 Arial,sans-serif;letter-spacing:.1em;color:var(--teal)}
.v4-service-icon {display:grid;place-items:center;width:48px;height:48px;
  border:1px solid color-mix(in srgb,var(--teal) 55%,var(--line));
  border-radius:13px;background:color-mix(in srgb,var(--teal) 12%,var(--panel));
  color:var(--teal);font-size:28px;font-weight:800}
.v4-service-card h3 {font-size:20px;line-height:1.5;margin:0}
.v4-service-card p {font-size:13px;color:var(--sub);line-height:1.9;margin:0 0 8px}
.v4-service-action {margin-top:auto;color:var(--teal);font-size:13px;font-weight:850}
#downloads .showcase-release {border-radius:20px}
#downloads .showcase-release-cta:focus-visible,#catalog .pre-product-actions a:focus-visible {
  outline:3px solid var(--teal);outline-offset:3px}
/* English homepage uses the same visual language, without a dedicated app hero. */
.en-hero {padding-block:clamp(62px,6vw,92px)}
.en-hero .en-hero-copy h1 {font-size:clamp(36px,4.5vw,63px);letter-spacing:-.035em}
.en-hero .en-hero-copy>p {line-height:1.95}
.en-hero-visual.v4-en-portfolio {display:flex;flex-direction:column;gap:0;
  background:linear-gradient(155deg,#132e40,#091d2d);padding:18px;border:1px solid #609ba06b}
.en-hero-visual.v4-en-portfolio > .v4-panel-heading {display:flex;align-items:flex-start;
  justify-content:flex-start;gap:9px;padding:18px 6px 22px;direction:ltr}
.en-hero-visual.v4-en-portfolio > .v4-panel-heading p {max-width:440px;color:#b5d3dc}
.en-hero-visual.v4-en-portfolio > .v4-panel-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;padding:0;direction:ltr}
.en-hero-visual.v4-en-portfolio > .v4-panel-grid .v4-panel-tile {display:flex;justify-content:flex-start;
  padding:13px;gap:10px;color:#f2fbfd;min-width:0}
.en-hero-visual.v4-en-portfolio > .v4-panel-grid .v4-panel-tile b {font-size:12px}
.en-hero-visual.v4-en-portfolio > .v4-en-portfolio-foot {display:flex;justify-content:space-between;
  margin-top:14px;padding:13px 5px 2px;border-top:1px solid #4e819441;
  font:750 9px/1.5 Arial,sans-serif;letter-spacing:.08em;color:#acd6d2}
.en-hero-visual.v4-en-portfolio .v4-panel-tile small {text-align:left}
.en-grid .en-product-card {border-radius:20px}
@media(max-width:1050px) {
  #home .hero-layout {gap:25px}
  #home .hero-art {min-height:380px}
  #featured .v4-service-grid {gap:12px}
  .v4-service-card {padding:20px}
}
@media(max-width:820px) {
  #home .hero-layout {grid-template-columns:1fr;gap:10px;padding-block:58px 30px}
  #home .hero-copy {text-align:center;margin-inline:auto}
  #home .hero-art {min-height:unset;width:100%;height:auto;padding:25px 0 15px}
  #home .hero-gallery.hero-portfolio-panel {width:min(100%,540px)}
  #home .hero-proofs {justify-content:center}
  #featured .v4-service-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .en-hero {gap:26px}
}
@media(max-width:620px) {
  #home .hero-layout {padding-top:43px;padding-bottom:18px}
  #home h1 {font-size:clamp(30px,8.7vw,42px);line-height:1.33}
  #home .hero-description {font-size:14px;line-height:1.9}
  #home .hero-art {padding-top:22px}
  #home .hero-gallery.hero-portfolio-panel {width:100%;padding:11px;border-radius:19px}
  #home .hero-gallery-bar {font-size:7px;gap:5px}
  #home .hero-gallery-foot {font-size:7px}
  #home .hero-art .tag-top {display:none}
  .v4-panel-heading {padding:15px 5px 13px}
  .v4-panel-heading strong {font-size:21px}
  .v4-panel-heading p {font-size:11px}
  .v4-panel-grid {gap:8px}
  .v4-panel-tile {padding:9px;gap:8px;min-height:84px}
  .v4-panel-symbol {width:35px;height:35px;flex-basis:35px;border-radius:10px;font-size:23px}
  .v4-panel-tile b {font-size:11px}
  .v4-panel-tile small {font-size:7px}
  #products .catalog-toolbar {padding:11px}
  #featured .v4-service-grid {grid-template-columns:1fr}
  .v4-service-card {min-height:195px}
  .en-hero-visual.v4-en-portfolio {padding:12px}
  .en-hero-visual.v4-en-portfolio > .v4-panel-grid .v4-panel-tile {padding:9px;gap:8px}
}
@media(max-width:360px) {
  .v4-panel-tile {flex-direction:column;align-items:flex-start;min-height:99px}
  #home .hero-gallery-bar b {font-size:6px}
}
@media(prefers-reduced-motion:reduce) {
  #home .hero-gallery.hero-portfolio-panel,
  .v4-panel-tile,.v4-service-card {transition:none;transform:none!important}
}
