/* ==========================================================================
   SAMCON TEKNIQ — Global Design System
   --------------------------------------------------------------------------
   This is the ONE file that controls the look of the entire website.
   It's organized in sections:
     1. Design Tokens (variables)  — change a value here, it updates everywhere
     2. Reset & Base styles
     3. Typography
     4. Layout helpers (container, section, grid)
     5. Signature elements (bracket-frame, signal-line, eyebrow labels)
     6. Components (buttons, cards, badges, forms, nav)
     7. Utilities
     8. Responsive breakpoints
     9. Motion / accessibility
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   These are the "settings" of the whole site. If SAMCON TEKNIQ ever wants
   a different shade of green, you only change it here — not on every page.
   -------------------------------------------------------------------------- */
:root {
  /* Brand colors — sourced from the official logo */
  --color-primary-green: #15803D;
  --color-primary-green-rgb: 21, 128, 61;
  --color-bright-green: #22C55E;
  --color-bright-green-rgb: 34, 197, 94;
  --color-accent-gold: #F5A623;
  --color-accent-gold-rgb: 245, 166, 35;
  --color-deep-gold: #D97706;

  /* Backgrounds */
  --color-charcoal: #121417;   /* main dark background */
  --color-slate: #1F242B;      /* raised surface: cards, panels */
  --color-slate-2: #262C34;    /* slightly lighter surface, for hover/alt rows */

  /* Text */
  --color-off-white: #F5F5F5;
  --color-light-gray: #B0B7C0;
  --color-ink: #0B0D0F;        /* near-black, used on light backgrounds */

  /* Borders / dividers */
  --color-border: rgba(176, 183, 192, 0.14);
  --color-border-strong: rgba(176, 183, 192, 0.28);

  /* Fonts */
  --font-display: 'Rajdhani', 'Segoe UI', sans-serif;   /* headings — technical, engineered feel */
  --font-body: 'IBM Plex Sans', 'Segoe UI', sans-serif; /* body copy — clean, readable */
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace; /* labels, specs, data */

  /* Type scale (fluid — shrinks gracefully on small screens) */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
  --text-3xl: clamp(1.8rem, 1.5rem + 1.5vw, 2.5rem);
  --text-4xl: clamp(2.2rem, 1.7rem + 2.2vw, 3.25rem);
  --text-5xl: clamp(2.6rem, 1.9rem + 3.2vw, 4.5rem);

  /* Spacing scale (4px base unit) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Radius — kept small/sharp on purpose: precision, not "soft app" */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadow */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.28);
  --shadow-elevated: 0 12px 40px rgba(0, 0, 0, 0.38);

  /* Motion */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;

  /* Layout */
  --container-max: 1200px;
  --header-height: 76px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--color-charcoal);
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Visible keyboard focus everywhere — accessibility requirement, non-negotiable */
:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--color-off-white);
  margin: 0;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { margin: 0 0 var(--space-4); color: var(--color-light-gray); }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: var(--text-lg);
  color: var(--color-light-gray);
  max-width: 60ch;
}

.text-on-dark-strong { color: var(--color-off-white); }

/* Mono utility text — used for labels, specs, part numbers, eyebrows */
.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   4. LAYOUT HELPERS
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section {
  padding-block: var(--space-12);
}

.section--tight { padding-block: var(--space-8); }

.section--charcoal { background: var(--color-charcoal); }
.section--slate { background: var(--color-slate); }

.section-head {
  margin-bottom: var(--space-8);
  max-width: 70ch;
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   5. SIGNATURE ELEMENTS
   These are the visual details unique to SAMCON TEKNIQ — inspired by
   schematic/CAD viewports and PLC ladder-logic annotations, tying the
   design language back to the industry the business works in.
   -------------------------------------------------------------------------- */

/* Eyebrow label — reads like a code/schematic comment above a heading.
   Example markup: <p class="eyebrow">// 02 — SERVICES</p> */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-3);
}

/* Bracket frame — corner-bracket "viewport" treatment, like a targeting
   reticle or oscilloscope frame. Wrap any image/card in this. */
.bracket-frame {
  position: relative;
  padding: var(--space-2);
}

.bracket-frame::before,
.bracket-frame::after,
.bracket-frame > .bracket-corner-tl,
.bracket-frame > .bracket-corner-br {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--color-accent-gold);
  transition: width var(--transition-base), height var(--transition-base);
}

.bracket-frame::before { /* top-left */
  top: 0; left: 0;
  border-top: 2px solid var(--color-accent-gold);
  border-left: 2px solid var(--color-accent-gold);
}

.bracket-frame::after { /* bottom-right */
  bottom: 0; right: 0;
  border-bottom: 2px solid var(--color-accent-gold);
  border-right: 2px solid var(--color-accent-gold);
}

.bracket-frame:hover::before,
.bracket-frame:hover::after {
  width: 30px;
  height: 30px;
}

/* Signal line — a thin dashed trace with a moving pulse, evoking a
   conveyor line / signal trace. Use sparingly as a section divider. */
.signal-line {
  position: relative;
  height: 2px;
  width: 100%;
  background-image: linear-gradient(
    to right,
    var(--color-border-strong) 50%,
    transparent 50%
  );
  background-size: 12px 2px;
  margin-block: var(--space-8);
  overflow: hidden;
}

.signal-line::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-gold);
  box-shadow: 0 0 10px 2px rgba(var(--color-accent-gold-rgb), 0.7);
  animation: signal-travel 4s linear infinite;
}

@keyframes signal-travel {
  0%   { left: -8px; }
  100% { left: 100%; }
}

/* Numbered step marker — legitimate use here because "How We Work" is a
   genuine ordered process, not decoration. */
.step-index {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent-gold);
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. COMPONENTS
   -------------------------------------------------------------------------- */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--text-sm);
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--color-accent-gold);
  color: var(--color-ink);
}
.btn--primary:hover { background: var(--color-deep-gold); }

.btn--secondary {
  background: transparent;
  color: var(--color-off-white);
  border: 1.5px solid var(--color-bright-green);
}
.btn--secondary:hover {
  background: rgba(var(--color-bright-green-rgb), 0.1);
  border-color: var(--color-off-white);
}

.btn--ghost {
  background: transparent;
  color: var(--color-light-gray);
  padding-inline: var(--space-2);
}
.btn--ghost:hover { color: var(--color-off-white); }

.btn--sm { padding: 0.6rem 1.25rem; font-size: var(--text-xs); }

.btn--whatsapp {
  background: #25D366;
  color: #0B0D0F;
}
.btn--whatsapp:hover { background: #1EBE5A; }

/* --- Cards --- */
.card {
  background: var(--color-slate);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.card:hover {
  border-color: var(--color-accent-gold);
  transform: translateY(-4px);
}

.card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-bright-green);
  margin-bottom: var(--space-4);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card__body {
  color: var(--color-light-gray);
  font-size: var(--text-sm);
}

.card__list {
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.card__list li {
  font-size: var(--text-sm);
  color: var(--color-light-gray);
  padding-left: var(--space-4);
  position: relative;
}

.card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--color-accent-gold);
}

.card__footer {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

/* --- Badges / Tags --- */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: var(--space-1) var(--space-3);
  border-radius: 999px;
  border: 1px solid var(--color-border-strong);
  color: var(--color-light-gray);
}

.badge--green {
  color: var(--color-bright-green);
  border-color: rgba(var(--color-bright-green-rgb), 0.4);
  background: rgba(var(--color-bright-green-rgb), 0.08);
}

/* --- Forms --- */
.field {
  margin-bottom: var(--space-5);
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-light-gray);
  margin-bottom: var(--space-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--color-slate);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--color-off-white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition: border-color var(--transition-fast);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-accent-gold);
  outline: none;
}

.field textarea { min-height: 140px; resize: vertical; }

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(18, 20, 23, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo { display: flex; align-items: center; gap: var(--space-3); }
.nav-logo img { height: 70px; width: auto; 
  background: #fff;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--color-light-gray);
  transition: color var(--transition-fast);
  position: relative;
  padding-block: var(--space-2);
}

.nav-links a:hover,
.nav-links a.is-active { color: var(--color-off-white); }

.nav-links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--color-accent-gold);
}

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: var(--color-charcoal);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-8);
    font-size: var(--text-xl);
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-toggle {
    display: block;
    width: 32px;
    height: 24px;
    position: relative;
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-off-white);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
  }
  .nav-toggle span { top: 50%; transform: translateY(-50%); }
  .nav-toggle span::before { top: -9px; }
  .nav-toggle span::after { top: 9px; }
  .nav-toggle.is-open span { background: transparent; }
  .nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }
}

/* --------------------------------------------------------------------------
   7. UTILITIES
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-6 { margin-bottom: var(--space-6); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   9. MOTION / ACCESSIBILITY
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .signal-line::after { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }

  /* Ambient/decorative animations added in Section 10 — fully stopped
     (not just sped up) so nothing flickers for motion-sensitive users. */
  .hero-grid-bg,
  .hero-dot,
  .stagger-item {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Hero automation-system visual: keep the diagram visible, just stop
     every moving part (traveling dots, line pulses, node float, motor spin). */
  .signal-dot { display: none !important; }
  .connector-line { animation: none !important; opacity: 0.5 !important; }
  .auto-node { animation: none !important; transform: none !important; }
  .status-led { animation: none !important; opacity: 1 !important; }
  .motor-spin { animation: none !important; }
}

/* ==========================================================================
   10. HOMEPAGE & ANIMATION ADDITIONS
   --------------------------------------------------------------------------
   Everything below is ADDITIVE — built for Step 3 (Header + Homepage).
   No color, font, spacing, or component rule above this line is changed.
   All animations here are covered by the prefers-reduced-motion block above.
   ========================================================================== */

/* --- Header: smooth state on scroll (class toggled by script.js) --- */
.site-header {
  transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.site-header--scrolled {
  background: rgba(18, 20, 23, 0.97);
  box-shadow: var(--shadow-card);
}

/* --- Nav: animated underline on hover, for every link --- */
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--color-accent-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.nav-links a:hover::after { transform: scaleX(1); }
/* Keep the active-page underline always visible (adds to the original
   .is-active::after rule above, which didn't set a transform). */
.nav-links a.is-active::after { transform: scaleX(1); }

/* Staggered entrance for mobile menu links once the panel opens */
@media (max-width: 900px) {
  .nav-links a {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-base), transform var(--transition-base), color var(--transition-fast);
  }
  .nav-links.is-open a {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links.is-open a:nth-child(1) { transition-delay: 0.05s; }
  .nav-links.is-open a:nth-child(2) { transition-delay: 0.1s; }
  .nav-links.is-open a:nth-child(3) { transition-delay: 0.15s; }
  .nav-links.is-open a:nth-child(4) { transition-delay: 0.2s; }
  .nav-links.is-open a:nth-child(5) { transition-delay: 0.25s; }
  .nav-links.is-open a:nth-child(6) { transition-delay: 0.3s; }
}

/* --- Hero section --- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-16) var(--space-12);
}

/* Subtle animated technical grid — evokes a CAD/blueprint backdrop */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 40%, transparent 78%);
  mask-image: radial-gradient(ellipse at 30% 40%, black 40%, transparent 78%);
  opacity: 0.6;
  animation: grid-drift 32s linear infinite;
  pointer-events: none;
}
@keyframes grid-drift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 48px 48px, 48px 48px; }
}

/* A couple of small "signal" dots — like sensor indicators, used sparingly */
.hero-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent-gold);
  box-shadow: 0 0 12px 2px rgba(var(--color-accent-gold-rgb), 0.55);
  animation: dot-pulse 3.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.5); }
}

.hero .container { position: relative; z-index: 1; }

/* Staggered fade-up reveal for hero copy (eyebrow, h1, lede, buttons) */
@keyframes fade-up-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.stagger-item {
  opacity: 0;
  animation: fade-up-in 0.7s ease forwards;
}
.stagger-item:nth-child(1) { animation-delay: 0.05s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.35s; }
.stagger-item:nth-child(4) { animation-delay: 0.5s; }
.stagger-item:nth-child(5) { animation-delay: 0.65s; }

/* --- Card polish: icon motion + accent glow on hover (adds to existing .card:hover) --- */
.card__icon {
  transition: transform var(--transition-base), color var(--transition-base);
}
.card:hover .card__icon {
  transform: translateY(-3px) scale(1.06);
  color: var(--color-accent-gold);
}
.card:hover {
  box-shadow: var(--shadow-card);
}

/* --- Staggered scroll-reveal for groups of cards/steps (CSS-only, uses existing .reveal/.is-visible from script.js) --- */
.reveal-group > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-group > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-group > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-group > .reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal-group > .reveal:nth-child(6) { transition-delay: 0.5s; }

/* --- How We Work: step markers get a subtle pop on reveal --- */
.step-index {
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.step-card:hover .step-index {
  transform: scale(1.08);
  border-color: var(--color-accent-gold);
}

/* --- Subtle image hover zoom, used where a real photo/logo sits in a frame --- */
.img-zoom { overflow: hidden; border-radius: var(--radius-md); }
.img-zoom img { transition: transform 0.4s ease; }
.img-zoom:hover img { transform: scale(1.04); }

/* --- Count-up stat number (utility, ready for use once real figures exist —
   not applied anywhere yet, since no verified statistics have been provided) --- */
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--color-accent-gold);
}

/* ==========================================================================
   11. HERO AUTOMATION-SYSTEM VISUAL
   --------------------------------------------------------------------------
   Purely additive, added for the hero-only enhancement request. Reuses the
   existing color tokens, mono font, card/eyebrow language — no new palette.
   ========================================================================== */

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.hero__visual {
  position: relative;
  width: 100%;
}

.auto-diagram__label {
  font-size: var(--text-xs);
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
  text-align: center;
}

.auto-diagram {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* --- Nodes (PLC / HMI / VFD / SERVO / SENSOR / MOTOR) --- */
.auto-node rect {
  fill: var(--color-slate);
  stroke: var(--color-border-strong);
  stroke-width: 1;
}

.auto-node--hub rect {
  stroke: var(--color-bright-green);
  fill: var(--color-slate-2);
}

.auto-node__title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  fill: var(--color-off-white);
  letter-spacing: 0.04em;
}

.auto-node__sub {
  font-family: var(--font-mono);
  font-size: 8px;
  fill: var(--color-light-gray);
  letter-spacing: 0.06em;
}

/* Subtle floating/breathing motion — small, slow, non-distracting */
.auto-node {
  animation: node-float 6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes node-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* Status LED on the PLC hub */
.status-led {
  fill: var(--color-bright-green);
  animation: status-pulse 2.2s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

/* Motor indicator — slow purposeful rotation to suggest running machinery */
.motor-spin {
  stroke: var(--color-accent-gold);
  stroke-width: 2;
  stroke-linecap: round;
  animation: motor-rotate 8s linear infinite;
}
@keyframes motor-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* --- Connector lines: dim by default, brief bright pulse when a "signal" passes --- */
.connector-line {
  stroke: var(--color-border-strong);
  stroke-width: 1.5;
  animation: line-pulse 3.4s ease-in-out infinite;
}
@keyframes line-pulse {
  0%, 40%  { stroke: var(--color-border-strong); opacity: 0.6; }
  50%      { stroke: var(--color-bright-green);   opacity: 1; }
  60%, 100% { stroke: var(--color-border-strong); opacity: 0.6; }
}

/* --- Traveling signal dots — one per connector, each its own path --- */
.signal-dot {
  fill: var(--color-accent-gold);
  filter: drop-shadow(0 0 4px rgba(var(--color-accent-gold-rgb), 0.8));
}

.signal-dot--1 { animation: travel-1 3.4s ease-in-out infinite; }
@keyframes travel-1 { 0%,100% { cx: 220px; cy: 194px; } 50% { cx: 220px; cy: 88px; } }

.signal-dot--2 { animation: travel-2 3.4s ease-in-out infinite; animation-delay: 0.6s; }
@keyframes travel-2 { 0%,100% { cx: 167px; cy: 220px; } 50% { cx: 127px; cy: 178px; } }

.signal-dot--3 { animation: travel-3 3.4s ease-in-out infinite; animation-delay: 1.2s; }
@keyframes travel-3 { 0%,100% { cx: 273px; cy: 220px; } 50% { cx: 313px; cy: 178px; } }

.signal-dot--4 { animation: travel-4 3.4s ease-in-out infinite; animation-delay: 1.8s; }
@keyframes travel-4 { 0%,100% { cx: 167px; cy: 246px; } 50% { cx: 127px; cy: 322px; } }

.signal-dot--5 { animation: travel-5 3.4s ease-in-out infinite; animation-delay: 2.4s; }
@keyframes travel-5 { 0%,100% { cx: 273px; cy: 246px; } 50% { cx: 313px; cy: 322px; } }

/* --- Live data readout panel --- */
.auto-readout {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--color-slate);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
}

.auto-readout p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding-block: var(--space-1);
  color: var(--color-light-gray);
}

.auto-readout__value {
  color: var(--color-bright-green);
  max-width: 60%;
  text-align: right;
}

.auto-diagram__flow {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--color-light-gray);
  margin-top: var(--space-3);
}

/* --- Responsive behavior for the hero grid + diagram ---
   Mobile pass: the hero visual was too tall/large on phones and had too
   many simultaneous continuous animations running during scroll. This
   section compacts the diagram progressively and trims decorative
   (non-essential) animations on small screens, while keeping the two
   animations that carry meaning: the PLC status LED and the traveling
   signal dots. Desktop (>1024px) rules above are untouched. */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr 0.85fr; gap: var(--space-6); }
}

@media (max-width: 900px) {
  .hero { padding-block: var(--space-10) var(--space-8); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero__visual { max-width: 340px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .hero { padding-block: var(--space-8) var(--space-6); }
  .hero__visual { max-width: 280px; }

  /* Compensate for the smaller rendered size so labels stay legible —
     the SVG text scales down with the container, so nudging the source
     font-size up keeps the actual on-screen pixel size reasonable. */
  .auto-node__title { font-size: 14px; }

  /* Trim decorative, non-essential continuous animations to reduce
     paint work during scroll. Signal dots and the PLC status LED are
     kept — everything else here is ambient polish, not information. */
  .auto-node { animation: none; transform: none; }
  .motor-spin { animation: none; }
  .hero-grid-bg { animation: none; }
  .hero-dot { display: none; }
  .connector-line { animation: none; opacity: 0.6; }
  .signal-dot { filter: none; }
}

@media (max-width: 480px) {
  .hero__visual { max-width: 250px; }
  .auto-node__sub { display: none; } /* keep small screens uncluttered */
  .auto-readout { font-size: 11px; }
}

@media (max-width: 390px) {
  .hero__visual { max-width: 230px; }
}

@media (max-width: 360px) {
  .hero__visual { max-width: 215px; }
}

/* ==========================================================================
   12. PRODUCTS PAGE COMPONENTS
   --------------------------------------------------------------------------
   Additive only. Reuses .card, .badge, .btn, .eyebrow, .hero__grid,
   .auto-node / .connector-line / .status-led / .motor-spin (generic,
   coordinate-free) from earlier sections. New coordinate-specific dot
   keyframes get their own class names so they don't collide with the
   homepage hero diagram's travel-1..5 keyframes.
   ========================================================================== */

/* --- Product card: adds a number badge on top of the existing .card --- */
.product-card { position: relative; }

.product-card__number {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-light-gray);
  opacity: 0.6;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

/* --- Products-page hero diagram: linear flow (PLC→HMI→VFD→SERVO→MOTOR + SENSOR input) --- */
.p-dot { fill: var(--color-accent-gold); filter: drop-shadow(0 0 4px rgba(var(--color-accent-gold-rgb), 0.8)); }

.p-dot--1 { animation: p-travel-1 3s ease-in-out infinite; }
@keyframes p-travel-1 { 0%,100% { cx: 52px;  cy: 64px; }  50% { cx: 52px;  cy: 124px; } }

.p-dot--2 { animation: p-travel-2 3s ease-in-out infinite; animation-delay: 0.5s; }
@keyframes p-travel-2 { 0%,100% { cx: 95px;  cy: 149px; } 50% { cx: 115px; cy: 149px; } }

.p-dot--3 { animation: p-travel-3 3s ease-in-out infinite; animation-delay: 1s; }
@keyframes p-travel-3 { 0%,100% { cx: 200px; cy: 149px; } 50% { cx: 220px; cy: 149px; } }

.p-dot--4 { animation: p-travel-4 3s ease-in-out infinite; animation-delay: 1.5s; }
@keyframes p-travel-4 { 0%,100% { cx: 305px; cy: 149px; } 50% { cx: 325px; cy: 149px; } }

.p-dot--5 { animation: p-travel-5 3s ease-in-out infinite; animation-delay: 2s; }
@keyframes p-travel-5 { 0%,100% { cx: 410px; cy: 149px; } 50% { cx: 430px; cy: 149px; } }

/* --- Vertical signal-flow panel (INPUT → SENSOR → PLC → HMI/SCADA → VFD/SERVO → MOTOR) --- */
.flow-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step {
  width: 100%;
  max-width: 280px;
  text-align: center;
  background: var(--color-slate);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-off-white);
  letter-spacing: 0.04em;
}

.flow-step--hub {
  border-color: var(--color-bright-green);
  color: var(--color-bright-green);
}

.flow-connector {
  position: relative;
  width: 2px;
  height: 34px;
  background-image: linear-gradient(var(--color-border-strong) 60%, transparent 40%);
  background-size: 2px 8px;
  margin-block: var(--space-2);
}

.flow-dot {
  position: absolute;
  top: -3px;
  left: -2.5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent-gold);
  box-shadow: 0 0 8px 1px rgba(var(--color-accent-gold-rgb), 0.7);
  opacity: 0;
  animation: flow-dot-travel 2.6s ease-in-out infinite;
}
@keyframes flow-dot-travel {
  0%   { top: -3px; opacity: 0; }
  12%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: calc(100% - 4px); opacity: 0; }
}

/* --- Why SAMCON TEKNIQ: compact benefit blocks (reuses .card, lighter padding) --- */
.card--compact { padding: var(--space-5); }

/* --- CTA panel (Enquiry callout) --- */
.cta-panel {
  border: 1px solid var(--color-accent-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-10) var(--space-6);
  text-align: center;
  background: var(--color-slate);
  box-shadow: 0 0 40px rgba(var(--color-accent-gold-rgb), 0.08);
}

/* --- Reduced motion: stop the new page-specific animations too --- */
@media (prefers-reduced-motion: reduce) {
  .p-dot { display: none !important; }
  .flow-dot { display: none !important; opacity: 0 !important; }
}

/* ==========================================================================
   13. SERVICES PAGE COMPONENTS
   --------------------------------------------------------------------------
   Additive only. Reuses .card, .card--compact, .cta-panel, .flow-vertical,
   .badge, .auto-node/.connector-line/.status-led from earlier sections.
   Only the hero's 5-node linear diagram needs new coordinate-specific
   dot keyframes (own class names, no collision with products/homepage).
   ========================================================================== */

/* Generic numbered badge for any card (products already has its own
   .product-card__number with identical rules — this is the shared version
   for services and any future page, so products.html is left untouched). */
.card__number {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-light-gray);
  opacity: 0.6;
}

/* --- Services-page hero diagram: linear flow, 5 nodes, 4 connectors --- */
.s-dot { fill: var(--color-accent-gold); filter: drop-shadow(0 0 4px rgba(var(--color-accent-gold-rgb), 0.8)); }

.s-dot--1 { animation: s-travel-1 3s ease-in-out infinite; }
@keyframes s-travel-1 { 0%,100% { cx: 95px;  cy: 45px; } 50% { cx: 115px; cy: 45px; } }

.s-dot--2 { animation: s-travel-2 3s ease-in-out infinite; animation-delay: 0.5s; }
@keyframes s-travel-2 { 0%,100% { cx: 200px; cy: 45px; } 50% { cx: 220px; cy: 45px; } }

.s-dot--3 { animation: s-travel-3 3s ease-in-out infinite; animation-delay: 1s; }
@keyframes s-travel-3 { 0%,100% { cx: 305px; cy: 45px; } 50% { cx: 325px; cy: 45px; } }

.s-dot--4 { animation: s-travel-4 3s ease-in-out infinite; animation-delay: 1.5s; }
@keyframes s-travel-4 { 0%,100% { cx: 410px; cy: 45px; } 50% { cx: 430px; cy: 45px; } }

@media (prefers-reduced-motion: reduce) {
  .s-dot { display: none !important; }
}

/* ==========================================================================
   14. ABOUT PAGE COMPONENTS
   --------------------------------------------------------------------------
   Additive only. Reuses .auto-node/.connector-line/.status-led,
   .auto-readout (for the info panel), .card__list, .flow-vertical,
   .cta-panel from earlier sections. Only new coordinate-specific dot
   keyframes are added, for the hub-spoke "equation" hero diagram.
   ========================================================================== */

.a-dot { fill: var(--color-accent-gold); filter: drop-shadow(0 0 4px rgba(var(--color-accent-gold-rgb), 0.8)); }

.a-dot--1 { animation: a-travel-1 3.4s ease-in-out infinite; }
@keyframes a-travel-1 { 0%,100% { cx: 220px; cy: 96px; }  50% { cx: 220px; cy: 194px; } }

.a-dot--2 { animation: a-travel-2 3.4s ease-in-out infinite; animation-delay: 0.6s; }
@keyframes a-travel-2 { 0%,100% { cx: 125px; cy: 220px; } 50% { cx: 165px; cy: 220px; } }

.a-dot--3 { animation: a-travel-3 3.4s ease-in-out infinite; animation-delay: 1.2s; }
@keyframes a-travel-3 { 0%,100% { cx: 315px; cy: 220px; } 50% { cx: 275px; cy: 220px; } }

.a-dot--4 { animation: a-travel-4 3.4s ease-in-out infinite; animation-delay: 1.8s; }
@keyframes a-travel-4 { 0%,100% { cx: 220px; cy: 344px; } 50% { cx: 220px; cy: 246px; } }

@media (prefers-reduced-motion: reduce) {
  .a-dot { display: none !important; }
}

/* ==========================================================================
   15. INDUSTRIES PAGE COMPONENTS
   --------------------------------------------------------------------------
   Additive only. Reuses .card, .product-card__number pattern via the
   generic .card__number, .badge, .flow-vertical, .cta-panel from earlier
   sections. Only the hero's vertical 5-node diagram needs new coordinate-
   specific dot keyframes.
   ========================================================================== */

.i-dot { fill: var(--color-accent-gold); filter: drop-shadow(0 0 4px rgba(var(--color-accent-gold-rgb), 0.8)); }

.i-dot--1 { animation: i-travel-1 3s ease-in-out infinite; }
@keyframes i-travel-1 { 0%,100% { cx: 130px; cy: 70px; }  50% { cx: 130px; cy: 110px; } }

.i-dot--2 { animation: i-travel-2 3s ease-in-out infinite; animation-delay: 0.5s; }
@keyframes i-travel-2 { 0%,100% { cx: 130px; cy: 160px; } 50% { cx: 130px; cy: 200px; } }

.i-dot--3 { animation: i-travel-3 3s ease-in-out infinite; animation-delay: 1s; }
@keyframes i-travel-3 { 0%,100% { cx: 130px; cy: 250px; } 50% { cx: 130px; cy: 290px; } }

.i-dot--4 { animation: i-travel-4 3s ease-in-out infinite; animation-delay: 1.5s; }
@keyframes i-travel-4 { 0%,100% { cx: 130px; cy: 340px; } 50% { cx: 130px; cy: 380px; } }

@media (prefers-reduced-motion: reduce) {
  .i-dot { display: none !important; }
}

/* ==========================================================================
   16. CONTACT & QUOTE PAGE COMPONENTS
   --------------------------------------------------------------------------
   Additive only. Reuses .card, .card--compact, .field, .badge, .cta-panel,
   .auto-node/.connector-line/.status-led from earlier sections. Only the
   quote-hero's 4-node linear diagram needs new coordinate-specific dots,
   plus a couple of small additions for contact cards and file inputs.
   ========================================================================== */

/* --- Contact info card: value link styled distinctly from body text --- */
.contact-card__value {
  display: inline-block;
  margin-top: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-base);
  color: var(--color-bright-green);
  transition: color var(--transition-fast);
}
.contact-card__value:hover { color: var(--color-accent-gold); }

/* --- File input: keep it readable on the dark theme --- */
.field input[type="file"] {
  padding: 0.7rem 1rem;
  color: var(--color-light-gray);
  font-size: var(--text-sm);
}
.field input[type="file"]::file-selector-button {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: var(--text-xs);
  padding: 0.5rem 1rem;
  margin-right: var(--space-3);
  border: none;
  border-radius: var(--radius-sm);
  background: var(--color-accent-gold);
  color: var(--color-ink);
  cursor: pointer;
}
.field__hint {
  font-size: var(--text-xs);
  color: var(--color-light-gray);
  margin-top: var(--space-2);
}

/* --- Quote-page hero diagram: linear flow, 4 nodes, 3 connectors --- */
.q-dot { fill: var(--color-accent-gold); filter: drop-shadow(0 0 4px rgba(var(--color-accent-gold-rgb), 0.8)); }

.q-dot--1 { animation: q-travel-1 3s ease-in-out infinite; }
@keyframes q-travel-1 { 0%,100% { cx: 100px; cy: 45px; } 50% { cx: 130px; cy: 45px; } }

.q-dot--2 { animation: q-travel-2 3s ease-in-out infinite; animation-delay: 0.5s; }
@keyframes q-travel-2 { 0%,100% { cx: 230px; cy: 45px; } 50% { cx: 260px; cy: 45px; } }

.q-dot--3 { animation: q-travel-3 3s ease-in-out infinite; animation-delay: 1s; }
@keyframes q-travel-3 { 0%,100% { cx: 360px; cy: 45px; } 50% { cx: 390px; cy: 45px; } }

@media (prefers-reduced-motion: reduce) {
  .q-dot { display: none !important; }
}

/* ==========================================================================
   17. LEGAL PAGE CONTENT (Privacy Policy / Terms & Conditions)
   --------------------------------------------------------------------------
   Additive only. These are text-heavy pages, so the only new rule needed
   restores normal bullets/numbers for lists (the global reset in Section 2
   removes list-style by default for the site's custom-bulleted nav/cards).
   ========================================================================== */

.legal-content { max-width: 75ch; }

.legal-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}
.legal-content h2:first-child { margin-top: 0; }

.legal-content ul,
.legal-content ol {
  padding-left: 1.4em;
  margin-bottom: var(--space-4);
  color: var(--color-light-gray);
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: var(--space-2); }

.legal-content__updated {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-light-gray);
  margin-bottom: var(--space-8);
}


/* ============================================================
   PERFORMANCE: lightweight animations for smoother scrolling
   Keeps the existing visual design while reducing mobile/browser load.
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid-bg,
  .signal-line,
  .signal-dot,
  .flow-dot,
  .hero-dot {
    animation-duration: 8s !important;
  }

  .motor-spin {
    animation-duration: 5s !important;
  }

  .stagger-item,
  .reveal,
  .auto-node {
    will-change: opacity, transform;
  }
}

@media (max-width: 640px) {
  .hero-grid-bg {
    animation: none !important;
  }

  .signal-dot,
  .hero-dot,
  .flow-dot,
  .p-dot,
  .s-dot,
  .a-dot,
  .i-dot,
  .q-dot {
    animation-duration: 10s !important;
  }

  .motor-spin {
    animation-duration: 8s !important;
  }

  /* Keep hover effects from firing unnecessarily on touch devices. */
  @media (hover: none) {
    * {
      scroll-behavior: auto;
    }
  }
}


/* ============================================================
   FINAL MOBILE PERFORMANCE PASS
   Desktop styling/animation remains unchanged.
   Mobile keeps essential reveals but removes costly decorative
   motion and paint-heavy effects during scrolling.
   ============================================================ */

@media (max-width: 640px) {
  /* Disable decorative background motion on phones. */
  .hero-grid-bg,
  .grid-bg,
  .signal-line,
  .signal-dot,
  .hero-dot,
  .flow-dot,
  .p-dot,
  .s-dot,
  .a-dot,
  .i-dot,
  .q-dot {
    animation: none !important;
  }

  /* Keep the automation diagram visually stable on phones. */
  .auto-node {
    animation: none !important;
    transition: none !important;
  }

  /* Keep reveal effects lightweight: opacity + small transform only. */
  .reveal,
  .stagger-item {
    animation-duration: 0.35s !important;
    transition-duration: 0.25s !important;
  }

  /* Avoid costly shadows/filters while the page is viewed on a phone. */
  .hero-visual,
  .auto-node,
  .card,
  .product-card,
  .service-card {
    filter: none !important;
  }

  /* Touch devices don't need hover transitions. */
  @media (hover: none) {
    .card,
    .product-card,
    .service-card,
    .btn,
    .nav-link {
      transition: none !important;
    }
  }

  /* Prefer compositor-friendly scrolling behavior. */
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 480px) {
  /* Further reduce paint-heavy decoration on very small screens. */
  .hero-grid,
  .decorative-line,
  .signal-line,
  .status-led {
    animation: none !important;
  }

  /* Prevent accidental animation work from hover/focus leftovers. */
  * {
    -webkit-tap-highlight-color: transparent;
  }
}

/* ========================================================================
   FINAL LIGHT THEME + LARGE LOGO
   SAMCON TEKNIQ — clean white-background production theme
   ======================================================================== */
:root {
  --color-charcoal: #FFFFFF;
  --color-slate: #F7F8F9;
  --color-slate-2: #EEF1F3;
  --color-off-white: #111827;
  --color-light-gray: #4B5563;
  --color-ink: #0B0D0F;
  --color-border: rgba(17, 24, 39, 0.10);
  --color-border-strong: rgba(17, 24, 39, 0.18);
  --shadow-card: 0 4px 20px rgba(17, 24, 39, 0.10);
  --shadow-elevated: 0 12px 40px rgba(17, 24, 39, 0.14);
  --header-height: 92px;
}

body {
  background: #FFFFFF;
  color: var(--color-ink);
}

h1, h2, h3, h4, .font-display {
  color: var(--color-ink);
}

p, .lede {
  color: var(--color-light-gray);
}

.section--charcoal { background: #FFFFFF; }
.section--slate { background: #F7F8F9; }

.site-header {
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom-color: var(--color-border);
}

.site-header--scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-card);
}

.nav-logo img {
  height: 84px;
  width: auto;
  background: #FFFFFF;
  border-radius: 8px;
}

.nav-links a { color: #4B5563; }
.nav-links a:hover,
.nav-links a.is-active { color: var(--color-ink); }

.hero-grid-bg {
  opacity: 0.55;
  -webkit-mask-image: none;
  mask-image: none;
}

/* Light cards/panels */
.card,
.product-card,
.service-card,
.industry-card,
.info-card,
.form-card {
  border-color: var(--color-border);
}

/* Keep dark-background text utilities readable after the theme switch. */
.text-on-dark-strong { color: var(--color-ink); }

@media (max-width: 900px) {
  .nav-links {
    background: #FFFFFF;
  }

  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    background: var(--color-ink);
  }

  .nav-toggle.is-open span { background: transparent; }
}

@media (max-width: 640px) {
  :root { --header-height: 80px; }

  .nav-logo img {
    height: 72px;
  }

  .site-header {
    height: var(--header-height);
  }

  /* Strong mobile performance: static page, no decorative animation. */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .hero-grid-bg,
  .hero-dot,
  .signal-line,
  .signal-dot,
  .flow-dot,
  .p-dot,
  .s-dot,
  .a-dot,
  .i-dot,
  .q-dot {
    animation: none !important;
    box-shadow: none !important;
  }

  html { scroll-behavior: auto !important; }
}
