/* ============================================================
   PERFECT SOLUTIONS — Industrial Automation
   Futuristic dark theme
   ============================================================ */

:root {
  --bg: #04060e;
  --bg-2: #070c1a;
  --bg-3: #0a1124;
  --card: rgba(14, 21, 44, 0.55);
  --card-solid: #0b1226;
  --line: rgba(140, 170, 255, 0.14);
  --line-strong: rgba(140, 170, 255, 0.32);
  --txt: #e9efff;
  --muted: #97a3c3;
  --cyan: #00e5ff;
  --blue: #4f8cff;
  --violet: #9a6bff;
  --wa: #25d366;
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 55%, var(--violet) 100%);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
  --radius: 18px;
  --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.18);
  --nav-h: 76px;
}

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

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

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

::selection { background: rgba(0, 229, 255, 0.3); color: #fff; }

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

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

ul { list-style: none; }

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

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Eyebrow / section headings ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow i {
  width: 28px;
  height: 1px;
  background: var(--grad);
  display: inline-block;
}

.sec-head { text-align: center; margin-bottom: 52px; }

.sec-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 4.2vw, 42px);
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 14px 0 14px;
}

.sec-sub {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 16px;
}

.section { padding: 96px 0; position: relative; }

.section:nth-of-type(even) { background: var(--bg-2); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: var(--grad);
  color: #031019;
  box-shadow: 0 10px 30px -8px rgba(0, 229, 255, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px rgba(79, 140, 255, 0.55);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--txt);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn-wa {
  background: linear-gradient(120deg, #1faf53, var(--wa) 60%, #2ee06f);
  color: #04140a;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.55);
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(37, 211, 102, 0.7);
}

.btn-sm { padding: 11px 18px; font-size: 11px; }

.btn-block { width: 100%; }

/* ---------- Navbar ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 8, 18, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.8);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand + logo crop from the business card */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-crop {
  position: relative;
  width: 96px;
  aspect-ratio: 2.68 / 1;
  flex: none;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line-strong), 0 6px 20px -6px rgba(0, 229, 255, 0.35);
}

.logo-crop img {
  position: absolute;
  width: 385.2%;
  max-width: none;
  left: -39.5%;
  top: -70.2%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: var(--font-display);
}

.brand-text strong {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: #fff;
}

.brand-text em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.52em;
  color: var(--cyan);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  position: relative;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover { color: var(--txt); }
.nav-link:hover::after { width: 100%; }

.nav-cta { padding: 11px 18px; font-size: 11.5px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--txt);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 50px) 0 0;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(79, 140, 255, 0.14), transparent 60%),
    radial-gradient(800px 600px at 10% 90%, rgba(0, 229, 255, 0.1), transparent 60%),
    var(--bg);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 170, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: float 12s ease-in-out infinite;
}

.orb-1 { width: 420px; height: 420px; background: rgba(0, 229, 255, 0.32); top: -120px; right: 6%; }
.orb-2 { width: 360px; height: 360px; background: rgba(124, 93, 250, 0.3); bottom: -100px; left: 4%; animation-delay: -4s; }
.orb-3 { width: 240px; height: 240px; background: rgba(79, 140, 255, 0.3); top: 40%; left: 42%; animation-delay: -8s; }

.hero-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 229, 255, 0.05) 50%, transparent 55%);
  background-size: 100% 220px;
  animation: scan 9s linear infinite;
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.hero-copy { position: relative; z-index: 2; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 18px 0 20px;
}

.hero-sub {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 540px;
  margin-bottom: 32px;
}

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

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 14px;
  border-radius: 999px;
}

/* Hero product showcase */
.hero-showcase {
  position: relative;
  height: 520px;
  z-index: 1;
}

.frame {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--line-strong), 0 0 50px -12px rgba(0, 229, 255, 0.25);
  animation: float 7s ease-in-out infinite;
}

.frame img { border-radius: 8px; }

.frame-a {
  width: 62%;
  right: 0;
  top: 4%;
  z-index: 2;
}

.frame-b {
  width: 48%;
  left: 0;
  top: 38%;
  z-index: 3;
  animation-delay: -2.3s;
}

.frame-c {
  width: 44%;
  right: 6%;
  bottom: 0;
  z-index: 1;
  animation-delay: -4.6s;
}

.ring {
  position: absolute;
  border: 1px dashed rgba(0, 229, 255, 0.35);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

.ring-1 { width: 460px; height: 460px; top: 10px; right: -60px; }
.ring-2 { width: 330px; height: 330px; bottom: -20px; left: -40px; animation-direction: reverse; animation-duration: 22s; }

.hud {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--cyan);
  border: 1px solid var(--line-strong);
  background: rgba(5, 8, 18, 0.7);
  backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 5;
}

.hud-tl { top: 0; left: 0; }
.hud-br { bottom: 6%; right: 0; }

/* Hero stats strip */
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.stat {
  background: rgba(10, 16, 34, 0.9);
  backdrop-filter: blur(8px);
  padding: 26px 18px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat span {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Core values ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-glow);
}

.value-card:hover::before { opacity: 1; }

.value-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, rgba(0, 229, 255, 0.14), rgba(124, 93, 250, 0.14));
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  margin-bottom: 18px;
}

.value-icon svg { width: 24px; height: 24px; }

.value-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.value-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- About ---------- */

.about-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-visual { position: relative; }

.about-frame {
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--line-strong);
}

.about-frame img { border-radius: 12px; }

.about-badge {
  position: absolute;
  top: 18px;
  right: -8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: #031019;
  background: var(--grad);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.about-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 16, 34, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.8);
}

.about-card svg { width: 30px; height: 30px; color: var(--cyan); }

.about-card strong { display: block; font-size: 14px; }
.about-card span { font-size: 12px; color: var(--muted); }

.about-card-1 { bottom: 26px; left: -26px; }
.about-card-2 { top: 42%; right: -30px; }

.about-copy .sec-title { margin-top: 14px; }

.about-copy p {
  color: var(--muted);
  font-size: 15.5px;
  margin-bottom: 16px;
}

.about-list { margin: 24px 0 30px; display: grid; gap: 12px; }

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
}

.about-list svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.1);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.about-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Products ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover { color: var(--txt); border-color: var(--line-strong); }

.filter-btn.active {
  color: #031019;
  background: var(--grad);
  border-color: transparent;
  font-weight: 700;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-glow);
}

.product-card.hidden { display: none; }

.product-visual {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(400px 200px at 50% 0%, rgba(0, 229, 255, 0.12), transparent 70%),
    linear-gradient(160deg, #0c1428, #070c1a);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 170, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 80%);
  pointer-events: none;
}

.product-visual.photo {
  background: #fff;
  padding: 14px;
}

.product-visual.photo::after { display: none; }

.product-visual.photo img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.prod-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 22px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--line-strong);
  color: var(--cyan);
  box-shadow: 0 0 40px -6px rgba(0, 229, 255, 0.3);
}

.prod-icon svg { width: 46px; height: 46px; }

.product-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }

.product-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 14px;
}

.product-body h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}

.product-body > p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 16px;
}

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-bottom: 22px;
}

.specs li {
  font-size: 12px;
  color: var(--muted);
  border-left: 2px solid rgba(0, 229, 255, 0.35);
  padding-left: 10px;
  line-height: 1.45;
}

.specs b {
  display: block;
  font-size: 10px;
  font-family: var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(140, 170, 255, 0.65);
}

.product-body .btn { margin-top: auto; }

.products-foot {
  margin-top: 44px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.products-foot p { color: var(--muted); }

/* ---------- Brands marquee ---------- */

.brands { overflow: hidden; }

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 26px 0;
  background: linear-gradient(90deg, var(--bg-2), rgba(0, 229, 255, 0.04), var(--bg-2));
}

.marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(140, 170, 255, 0.55);
  white-space: nowrap;
  transition: all 0.3s ease;
}

.marquee-track span:hover {
  -webkit-text-stroke: 1px var(--cyan);
  color: rgba(0, 229, 255, 0.35);
}

.brands-note { text-align: center; margin-top: 34px; color: var(--muted); font-size: 15px; }

.brands-note a {
  color: var(--cyan);
  border-bottom: 1px dashed rgba(0, 229, 255, 0.5);
}

/* ---------- Why us ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-item {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-glow);
}

.why-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.2em;
}

.why-item h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 14px 0 10px;
}

.why-item p { font-size: 13.5px; color: var(--muted); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 14px; }

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.info-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-glow);
  transform: translateX(4px);
}

.info-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, rgba(0, 229, 255, 0.14), rgba(124, 93, 250, 0.14));
  border: 1px solid var(--line-strong);
  color: var(--cyan);
}

.info-icon svg { width: 21px; height: 21px; }

.info-card h4 {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--txt);
}

.info-card p { font-size: 14px; color: var(--muted); }

.info-card a { color: var(--muted); transition: color 0.2s ease; }
.info-card a:hover { color: var(--cyan); }

/* Quote form */
.quote-form {
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}

.quote-form h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.form-note { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field { margin-bottom: 16px; }

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--txt);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field textarea { resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(0, 229, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.12);
}

.form-field select option { background: var(--card-solid); color: var(--txt); }

.form-hint {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.form-hint a { color: var(--cyan); }

/* ---------- Footer ---------- */

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .brand-text strong { font-size: 15px; }
.footer-brand .brand-text em { font-size: 9.5px; }

.footer-brand p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--txt);
  margin-bottom: 18px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Floating buttons ---------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1faf53, var(--wa));
  color: #04140a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 34px -8px rgba(37, 211, 102, 0.65);
  transition: transform 0.25s ease;
}

.wa-float svg { width: 30px; height: 30px; }

.wa-float:hover { transform: scale(1.08); }

.wa-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: pulse-ring 2.2s ease-out infinite;
}

.wa-tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 16, 34, 0.95);
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wa-tip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--line-strong);
}

.wa-float:hover .wa-tip { opacity: 1; }

.to-top {
  position: fixed;
  right: 26px;
  bottom: 96px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 16, 34, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { border-color: var(--cyan); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Keyframes ---------- */

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scan {
  0% { background-position: 0 -220px; }
  100% { background-position: 0 100vh; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-showcase { height: 460px; max-width: 560px; margin-inline: auto; width: 100%; }
  .hero { padding-top: calc(var(--nav-h) + 30px); }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: min(320px, 90vw);
    background: rgba(6, 10, 22, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-right: none;
    border-radius: 0 0 0 18px;
    padding: 22px 24px 26px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -30px 30px 80px -30px rgba(0, 0, 0, 0.9);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-link { padding: 10px 0; font-size: 15px; }
  .nav-cta { margin-top: 14px; }

  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-card-1 { left: 8px; }
  .about-card-2 { right: 8px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat:last-child { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
  .hero-showcase { height: 400px; }
  .frame-a { width: 70%; }
  .frame-b { width: 54%; }
  .frame-c { width: 50%; }
  .footer-bottom { justify-content: center; text-align: center; }
  .wa-float { width: 54px; height: 54px; }
  .wa-tip { display: none; }
}

@media (max-width: 460px) {
  .values-grid { grid-template-columns: 1fr; }
  .brand-text strong { font-size: 15px; letter-spacing: 0.24em; }
  .brand-text em { font-size: 9px; letter-spacing: 0.42em; }
  .logo-crop { width: 84px; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
