/* ============================================================
   CatchSystems – Stylesheet
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-deep:        #080d18;
  --bg:             #0d1424;
  --bg-card:        #111c30;
  --bg-card-hover:  #16223a;
  --border:         rgba(255,255,255,0.07);
  --border-accent:  rgba(14,165,233,0.28);
  --accent:         #0ea5e9;
  --accent-hover:   #38bdf8;
  --accent-dim:     rgba(14,165,233,0.12);
  --accent-glow:    rgba(14,165,233,0.3);
  --purple:         #818cf8;
  --green:          #10b981;
  --text:           #e8f0fe;
  --text-muted:     #6b8aac;
  --text-dim:       #3a5070;
  --radius:         12px;
  --radius-lg:      20px;
  --shadow:         0 8px 32px rgba(0,0,0,0.5);
  --transition:     0.2s ease;
  --font:           'Inter', system-ui, -apple-system, sans-serif;
}

html   { scroll-behavior: smooth; font-size: 16px; }
body   { font-family: var(--font); background: var(--bg-deep); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a      { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img    { max-width: 100%; height: auto; display: block; }
ul     { list-style: none; }
address { font-style: normal; }

::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border-accent); border-radius: 3px; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(130deg, #0ea5e9, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 8px; font-family: var(--font);
  font-size: 0.9rem; font-weight: 600; cursor: pointer; border: none;
  transition: all var(--transition); white-space: nowrap; line-height: 1;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 20px var(--accent-glow); }
.btn--ghost  { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--outline { background: transparent; color: var(--accent); border: 1px solid var(--border-accent); }
.btn--outline:hover { background: var(--accent-dim); }
.btn--lg   { padding: 14px 28px; font-size: 1rem; border-radius: 10px; }
.btn--full { width: 100%; }

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section.products { padding-top: 40px; }

.section__label {
  display: inline-block; background: var(--accent-dim); color: var(--accent);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px; margin-bottom: 16px; border: 1px solid var(--border-accent);
}
.section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800;
  line-height: 1.12; letter-spacing: -0.02em; margin-bottom: 16px;
}
.section__subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section__header { text-align: center; margin-bottom: 64px; }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 20px 0; transition: padding var(--transition), background var(--transition), border var(--transition);
}
.nav.scrolled {
  background: rgba(8,13,24,0.9);
  border-bottom: 1px solid var(--border); padding: 13px 0;
}
/* backdrop-filter lives on a pseudo-element, not on .nav itself — putting it
   directly on .nav would make .nav a containing block for its position:fixed
   mobile-menu descendant, shrinking the full-screen overlay down to the
   height of the nav bar once scrolled (backdrop-filter/filter/transform on an
   ancestor creates a new containing block for fixed descendants). */
.nav.scrolled::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  pointer-events: none;
}
.nav__container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 40px;
}
.nav__logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; flex-shrink: 0; }
.logo-catch   { color: var(--text); }
.logo-systems { color: var(--accent); }
.nav__links { display: flex; gap: 32px; margin: 0 auto; }
.nav__link { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; transition: color var(--transition); }
.nav__link:hover, .nav__link--active { color: var(--text); }
.nav__link--active { position: relative; }
.nav__link--active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
  background: var(--accent); border-radius: 1px;
}
.nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__lang { display: flex; align-items: center; gap: 2px; }
.nav__lang .lang-link { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-muted); padding: 4px 7px; border-radius: 4px; text-decoration: none; transition: color 0.2s, background 0.2s; }
.nav__lang .lang-link:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav__lang .lang-link--active { color: var(--accent); background: rgba(14,165,233,0.12); }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 300; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.25s ease; }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== LANGUAGE DROPDOWN ===== */
.lang-dropdown { position: relative; }
.lang-dropdown__btn {
  display: flex; align-items: center; gap: 5px;
  background: transparent; border: 1px solid var(--border); border-radius: 8px;
  color: var(--text-muted); font-family: var(--font);
  font-size: 0.8rem; font-weight: 600; cursor: pointer;
  padding: 6px 10px; transition: all var(--transition); white-space: nowrap;
  letter-spacing: 0.03em;
}
.lang-dropdown__btn:hover { border-color: var(--border-accent); color: var(--text); }
.lang-dropdown.open .lang-dropdown__btn { border-color: var(--border-accent); color: var(--text); }
.lang-dropdown__current { letter-spacing: 0.06em; }
.lang-dropdown__chevron { transition: transform var(--transition); flex-shrink: 0; }
.lang-dropdown.open .lang-dropdown__chevron { transform: rotate(180deg); }
.lang-dropdown__menu {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  min-width: 140px; padding: 6px; z-index: 400; box-shadow: var(--shadow);
  list-style: none;
}
.lang-dropdown.open .lang-dropdown__menu {
  display: block; animation: langDropIn 0.14s ease-out;
}
@keyframes langDropIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lang-dropdown__menu .lang-link {
  display: block; padding: 8px 12px; border-radius: 6px;
  font-size: 0.84rem; font-weight: 500; color: var(--text-muted);
  transition: all var(--transition);
}
.lang-dropdown__menu .lang-link:hover { color: var(--text); background: rgba(255,255,255,0.07); }

@media (max-width: 768px) {
  .nav__links {
    display: none; position: fixed; inset: 0; background: rgba(8,13,24,0.97);
    backdrop-filter: blur(20px); flex-direction: column; align-items: center;
    justify-content: center; gap: 36px; z-index: 250;
  }
  .nav__links.open { display: flex; }
  .nav__link { font-size: 1.4rem; font-weight: 600; }
  .nav__hamburger { display: flex; }
  .nav__actions .btn { display: none; }
  .nav__lang { display: none; }
  .lang-dropdown__btn { padding: 5px 8px; font-size: 0.75rem; }
}
@media (max-width: 360px) {
  .lang-dropdown { display: none; }
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 160px 0 48px; background: var(--bg-deep); position: relative; overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(14,165,233,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, black 0%, transparent 100%);
}
.page-hero__content { position: relative; z-index: 1; max-width: 760px; }
.page-hero__content .section__title { text-align: left; }
.page-hero__content .section__subtitle { text-align: left; margin: 0; }

/* ===== BREADCRUMB ===== */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-dim); margin-bottom: 24px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--text-muted); }
.breadcrumb__sep { opacity: 0.4; }
.breadcrumb__current { color: var(--text-muted); }

/* ===== HOMEPAGE HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding: 120px 0 80px;
}
.hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 60% at 50% -5%, rgba(14,165,233,0.14) 0%, transparent 65%),
              radial-gradient(ellipse 55% 45% at 85% 95%, rgba(129,140,248,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 100%);
}
.hero__content { position: relative; z-index: 1; max-width: 760px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; background: var(--accent-dim);
  color: var(--accent); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 24px; border: 1px solid var(--border-accent);
}
.hero__badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero__subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 520px; margin-bottom: 40px; line-height: 1.75; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.stat__number { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); line-height: 1; }
.stat__label  { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }
.stat__divider { width: 1px; height: 36px; background: var(--border); }
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-dim); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; pointer-events: none;
}
.hero__scroll-icon { width: 20px; height: 32px; border: 1.5px solid var(--text-dim); border-radius: 100px; position: relative; }
.hero__scroll-icon::after {
  content: ''; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 6px; background: var(--accent); border-radius: 2px; animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot { 0%{top:5px;opacity:1} 100%{top:18px;opacity:0} }

/* Hero 2-column with product photo */
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1;
}
.hero__grid .hero__content { max-width: none; }
.hero__visual { position: relative; z-index: 1; }
.hero__photo {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 64px rgba(14,165,233,0.1);
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  /* Once stacked, the hero is tall — the absolute scroll cue overlaps content, so hide it */
  .hero__scroll { display: none; }
}
@media (max-width: 680px) {
  /* Keep the product photo visible on mobile, just constrain and centre it */
  .hero__photo { max-width: 420px; margin: 0 auto; display: block; }
}

/* ===== FEATURES STRIP ===== */
.features { background: var(--bg); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .features__grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: border-color var(--transition);
}
.feature-card:hover { border-color: var(--border-accent); }
.feature-card__icon {
  width: 54px; height: 54px; background: var(--accent-dim); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; border: 1px solid var(--border-accent);
}
.feature-card__icon svg { width: 28px; height: 28px; color: var(--accent); }
.feature-card__icon.feat-icon-wrap svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ===== PRODUCTS GRID (homepage + products page) ===== */
.products { background: var(--bg-deep); }
.products__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
@media (max-width: 1024px) { .products__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .products__grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition); overflow: hidden;
}
.product-card:hover { background: var(--bg-card-hover); border-color: var(--border-accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card--featured { border-color: var(--border-accent); background: linear-gradient(140deg, var(--bg-card) 0%, rgba(14,165,233,0.06) 100%); }
.product-card--featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), #818cf8); }
.product-card__badge {
  position: absolute; top: 14px; right: 14px; background: var(--accent-dim); color: var(--accent);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px; border: 1px solid var(--border-accent); z-index: 2;
}

/* ===== PRODUCT CARD THUMBNAIL ===== */
.product-card__thumb {
  width: calc(100% + 60px);
  margin: -30px -30px 22px -30px;
  height: 196px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--bg-deep);
  flex-shrink: 0;
}
.product-card__thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.55s ease;
}
.product-card:hover .product-card__thumb img { transform: scale(1.06); }

.product-card__icon {
  width: 46px; height: 46px; background: var(--accent-dim); border-radius: 11px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border: 1px solid var(--border-accent);
}
.product-card__icon svg { width: 22px; height: 22px; color: var(--accent); }
.product-card__name    { font-size: 1.1rem; font-weight: 700; margin-bottom: 3px; letter-spacing: -0.01em; }
.product-card__tagline { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.product-card__desc    { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.65; }
.product-card__category {
  display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-dim); border: 1px solid var(--border); padding: 2px 10px; border-radius: 100px; margin-bottom: 16px;
}
.product-card__features { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.product-card__features li { font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 9px; }
.product-card__features li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; opacity: 0.7; }
.product-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
}
.product-card__link::after { content: '→'; transition: transform var(--transition); }
.product-card:hover .product-card__link::after { transform: translateX(4px); }

/* ===== PRODUCTS PAGE FILTER ===== */
.products-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn {
  padding: 7px 18px; border-radius: 100px; font-size: 0.82rem; font-weight: 600;
  border: 1px solid var(--border); background: transparent; color: var(--text-muted); cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* ===== PRODUCT IMAGE PLACEHOLDER ===== */
.product-img {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  overflow: hidden; position: relative; background: var(--bg-card); border: 1px solid var(--border);
}
.product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-img--placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.product-img--placeholder .ph-icon { opacity: 0.2; }
.product-img--placeholder .ph-icon svg { width: 64px; height: 64px; color: var(--text); }
.product-img--placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--ph-from, #0ea5e9) 0%, var(--ph-to, #818cf8) 100%);
  opacity: 0.07;
}
.product-img--placeholder .ph-label {
  font-size: 0.75rem; color: var(--text-dim); z-index: 1; text-align: center; padding: 0 16px;
}

/* ===== PRODUCT PHOTO GALLERY ===== */
.product-gallery { width: 100%; }
.product-gallery__main {
  width: 100%; aspect-ratio: 4/3;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  margin-bottom: 10px;
}
.product-gallery__main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity 0.18s ease;
}
.product-gallery__main img.img--contain,
.gallery-thumb img.img--contain { object-fit: contain; background: var(--bg-deep); }
.product-gallery__thumbs { display: flex; gap: 8px; }
.gallery-thumb {
  flex: 1; aspect-ratio: 4/3;
  border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer;
  background: none; padding: 0;
  transition: border-color var(--transition);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb--active { border-color: var(--accent); }
.gallery-thumb:hover:not(.gallery-thumb--active) { border-color: var(--border-accent); }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-hero { padding: 140px 0 64px; background: var(--bg-deep); position: relative; overflow: hidden; }
.product-hero__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(14,165,233,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.product-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
@media (max-width: 900px) { .product-hero__grid { grid-template-columns: 1fr; } }
.product-hero__content .section__title { text-align: left; font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.product-hero__subtitle { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 32px; }
.product-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.product-features { background: var(--bg); }
.product-features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .product-features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-features__grid { grid-template-columns: 1fr; } }

.feature-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  transition: border-color var(--transition);
}
.feature-item:hover { border-color: var(--border-accent); }
.feature-item__num { font-size: 1.5rem; font-weight: 800; color: var(--accent); opacity: 0.3; line-height: 1; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.feature-item h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.feature-item p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 14px 16px; font-size: 0.9rem; }
.specs-table td:first-child { color: var(--text-muted); font-weight: 500; width: 45%; }
.specs-table td:last-child { color: var(--text); font-weight: 600; }
.specs-wrapper { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }

/* Use cases */
.use-cases { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.product-related__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .product-related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-related__grid { grid-template-columns: 1fr; } }
.use-case-tag {
  background: var(--accent-dim); color: var(--accent); font-size: 0.8rem; font-weight: 600;
  padding: 6px 14px; border-radius: 100px; border: 1px solid var(--border-accent);
}

/* CTA banner */
.cta-banner { background: var(--bg); border-top: 1px solid var(--border); }
.cta-banner__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(14,165,233,0.06) 100%);
  border: 1px solid var(--border-accent); border-radius: var(--radius-lg); padding: 48px;
}
.cta-banner__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.cta-banner__body  { font-size: 0.95rem; color: var(--text-muted); max-width: 480px; line-height: 1.65; }
.cta-banner__actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 520px) {
  .cta-banner__inner { padding: 32px 24px; }
  .cta-banner__actions { width: 100%; }
  .cta-banner__actions .btn { flex: 1 1 100%; text-align: center; }
}

/* ===== USE-CASES / TECHNOLOGY PAGE LAYOUTS ===== */
/* Use-case row: descriptive content beside the recommended-products column */
.uc-split { display: grid; grid-template-columns: 3fr 2fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .uc-split { grid-template-columns: 1fr; gap: 32px; } }
/* Paired comparison cards (ANPR vs LPR, IR types) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; }
@media (max-width: 640px) { .two-col { grid-template-columns: 1fr; } }
/* Performance figure strip */
.perf-strip { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 48px; background: var(--bg-card); border: 1px solid var(--border-accent); border-radius: var(--radius-lg); }
.perf-strip__divider { width: 1px; height: 48px; background: var(--border); }
@media (max-width: 600px) {
  .perf-strip { gap: 28px 32px; padding: 36px 24px; }
  .perf-strip__divider { display: none; }
}

/* ===== ABOUT PAGE ===== */
.about { background: var(--bg-deep); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; gap: 48px; } }
.about__content .section__title  { text-align: left; }
.about__lead { font-size: 1.02rem; color: var(--text); margin-bottom: 14px; line-height: 1.75; }
.about__body { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 32px; line-height: 1.75; }
.about__values { display: flex; flex-direction: column; gap: 16px; }
.value-card { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; transition: border-color var(--transition); }
.value-card:hover { border-color: var(--border-accent); }
.value-card__icon { width: 38px; height: 38px; background: var(--accent-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--border-accent); }
.value-card__icon svg { width: 18px; height: 18px; color: var(--accent); }
.value-card h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 4px; }
.value-card p  { font-size: 0.83rem; color: var(--text-muted); line-height: 1.55; }

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 1px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 48px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -34px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--accent); border: 2px solid var(--bg-deep); box-shadow: 0 0 0 4px var(--accent-dim);
}
.timeline-year { font-size: 0.78rem; font-weight: 700; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.timeline-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.timeline-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* Values grid */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }

/* Mission block */
.mission-block {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(14,165,233,0.06) 100%);
  border: 1px solid var(--border-accent); border-radius: var(--radius-lg); padding: 48px;
}
.mission-block .section__title { margin-bottom: 20px; }
.mission-block p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; max-width: 680px; }

/* ===== CONTACT PAGE ===== */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
@media (max-width: 480px) { .contact__form { padding: 24px; } }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
.form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form__group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.form__group input, .form__group select, .form__group textarea {
  background: var(--bg-deep); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px;
  color: var(--text); font-size: 0.9rem; font-family: var(--font); transition: border-color var(--transition), box-shadow var(--transition); width: 100%;
}
.form__group input::placeholder, .form__group textarea::placeholder { color: var(--text-dim); }
.form__group input:focus, .form__group select:focus, .form__group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form__group select { appearance: none; cursor: pointer; }
.form__group textarea { resize: vertical; }
.form__status { min-height: 20px; font-size: 0.85rem; text-align: center; margin-top: 8px; font-weight: 500; }
.form__status.success { color: #34d399; }
.form__status.error   { color: #f87171; }
.form__privacy { font-size: 0.76rem; color: var(--text-dim); text-align: center; margin-top: 12px; }
.form-honeypot { display: none !important; visibility: hidden !important; opacity: 0 !important; height: 0 !important; width: 0 !important; position: absolute !important; left: -9999px !important; }
.contact__info { display: flex; flex-direction: column; gap: 28px; padding-top: 4px; }
.contact__detail { display: flex; gap: 16px; align-items: flex-start; }
.contact__detail-icon { width: 44px; height: 44px; background: var(--accent-dim); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid var(--border-accent); }
.contact__detail-icon svg { width: 21px; height: 21px; color: var(--accent); }
.contact__detail h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.contact__detail p, .contact__detail address { font-size: 0.92rem; color: var(--text); line-height: 1.6; }
.contact__social { display: flex; gap: 10px; }
.social-link { width: 42px; height: 42px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all var(--transition); }
.social-link svg { width: 18px; height: 18px; }
.social-link:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

/* ===== VACANCIES PAGE ===== */
.vacancies { background: var(--bg-deep); }
.vacancies__why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 64px; }
@media (max-width: 640px) { .vacancies__why { grid-template-columns: 1fr; } }
.why-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: border-color var(--transition); }
.why-card:hover { border-color: var(--border-accent); }
.why-card__icon { width: 40px; height: 40px; background: var(--accent-dim); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; border: 1px solid var(--border-accent); }
.why-card__icon svg { width: 20px; height: 20px; color: var(--accent); }
.why-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.why-card p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.vacancies__empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 56px 32px; background: var(--bg-card); border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg); color: var(--text-muted);
}
.vacancies__empty svg { width: 44px; height: 44px; opacity: 0.25; margin-bottom: 4px; }
.vacancies__empty p { font-size: 0.95rem; }

/* ===== TRUST STRIP ===== */
.trust-strip { background: var(--bg); }
.trust-strip__inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.trust-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ===== CERTIFICATIONS ===== */
.certs-strip {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 48px; flex-wrap: wrap; padding: 8px 0;
}
.cert-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px 36px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center; min-width: 200px; max-width: 260px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.cert-card img { max-height: 90px; width: auto; object-fit: contain; display: block; }
.cert-card p { font-size: 0.8rem; color: #444; line-height: 1.55; margin: 0; }
@media (max-width: 560px) { .certs-strip { flex-direction: column; align-items: center; } }

/* ===== PROSE (legal pages: privacy, disclaimer) ===== */
.prose {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}
.prose p {
  margin-bottom: 1.1rem;
  line-height: 1.8;
}
.prose h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-top: 2.4rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0.5rem; }
.prose ul,
.prose ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}
.prose ol { list-style: decimal; }
.prose li {
  margin-bottom: 0.45rem;
  line-height: 1.75;
}
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose address {
  font-style: normal;
  margin: 0.75rem 0 0.75rem 1.5rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__logo { display: inline-block; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.footer__brand p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; max-width: 300px; }
.footer__address { margin-top: 8px; font-size: 0.8rem; color: var(--text-dim); font-style: normal; }
.footer__links h5 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 16px; }
.footer__links ul { display: flex; flex-direction: column; gap: 9px; }
.footer__links a { font-size: 0.86rem; color: var(--text-dim); transition: color var(--transition); }
.footer__links a:hover { color: var(--text); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; border-top: 1px solid var(--border); }
.footer__bottom p { font-size: 0.8rem; color: var(--text-dim); }
.footer__langs { display: flex; gap: 14px; }
.lang-link { font-size: 0.78rem; font-weight: 600; color: var(--text-dim); transition: color var(--transition); cursor: pointer; }
.lang-link:hover    { color: var(--text); }
.lang-link--active  { color: var(--accent); }

/* ===== ANIMATED FEATURE ICONS ===== */
.feat-icon-wrap { overflow: visible !important; }
.feat-icon-wrap svg { width: 26px; height: 26px; color: var(--accent); }

/* Ripple rings – scale out from centre and fade */
@keyframes featRipple {
  0%   { transform: scale(0.9); opacity: 0.65; }
  100% { transform: scale(2.6); opacity: 0; }
}
.feat-ripple {
  transform-box: fill-box;
  transform-origin: center center;
  animation: featRipple 2.2s ease-out infinite;
}
.feat-ripple--1 { animation-delay: 0s; }
.feat-ripple--2 { animation-delay: 1.1s; }

/* Signal / data dots – flash in sequence around chip pins */
@keyframes featDot {
  0%, 55%, 100% { opacity: 0.18; transform: scale(0.75); }
  28%            { opacity: 1;    transform: scale(1.4); }
}
.feat-dot {
  transform-box: fill-box;
  transform-origin: center center;
  animation: featDot 2.4s ease-in-out infinite;
}
.feat-dot--1 { animation-delay: 0s; }
.feat-dot--2 { animation-delay: 0.6s; }
.feat-dot--3 { animation-delay: 1.2s; }
.feat-dot--4 { animation-delay: 1.8s; }

/* Check/tick draw-in animation for shield icon */
@keyframes featCheck {
  0%        { stroke-dashoffset: 24; opacity: 0; }
  20%       { opacity: 1; }
  70%, 100% { stroke-dashoffset: 0; opacity: 1; }
}
.feat-check {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: featCheck 2.2s ease-out infinite;
}

/* Link icon path glow – alternating chain halves */
@keyframes featGlow {
  0%, 100% { stroke-opacity: 0.35; }
  50%       { stroke-opacity: 1; }
}
.feat-anim--link .link-path-1 { animation: featGlow 1.8s ease-in-out infinite; }
.feat-anim--link .link-path-2 { animation: featGlow 1.8s ease-in-out infinite 0.9s; }

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 520px) {
  .hero { padding: 100px 0 56px; }
  .hero__title { font-size: clamp(1.9rem, 9vw, 2.4rem); line-height: 1.1; }
  .hero__subtitle { font-size: 0.98rem; }
  .hero__actions { gap: 12px; }
  .hero__stats { gap: 14px; }
  .stat__number { font-size: 1.3rem; }
  .stat__divider { height: 28px; }
  .section { padding: 64px 0; }
  .section__title { font-size: clamp(1.5rem, 7vw, 2rem); }
  .section__header { margin-bottom: 40px; }
  .features__grid { gap: 14px; }
  .feature-card { padding: 22px 18px; }
  /* Allow long button labels (e.g. translated CTAs) to wrap instead of overflowing */
  .btn { white-space: normal; line-height: 1.25; }
}
@media (max-width: 380px) {
  .hero__stats { flex-direction: column; align-items: flex-start; gap: 8px; }
  .stat__divider { display: none; }
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
