/* =====================================================================
   RFID FIXED ASSET MANAGEMENT — DESIGN SYSTEM
   Built on top of Bootstrap 5 utilities/grid; visual language is custom.

   Design language: "Live Read" — every RFID tag read is a small radio
   pulse. That pulse (concentric rings expanding from a point) is the
   signature motif used in the hero visual, section eyebrows and
   loading/status states, instead of generic accent lines or numbered
   circles. Palette follows the brief: white / dark blue / grey / black.
   ===================================================================== */

:root {
  /* --- Palette (brief: white, dark blue, grey, black) --- */
  --navy-950: #060B18;
  --navy-900: #0B1730;
  --navy-800: #13224A;
  --navy-700: #1B2E5C;
  --signal-600: #2A5CFF;   /* electric "signal" blue — CTAs, accents   */
  --signal-500: #4472FF;
  --signal-100: #E8EEFF;
  --ink-900: #10131A;      /* near-black for headings/body text        */
  --grey-700: #4B5566;
  --grey-500: #7C8698;
  --grey-300: #C9D0DB;
  --grey-200: #E3E7EE;
  --grey-100: #F4F6F9;
  --white: #FFFFFF;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 1px 2px rgba(11,23,48,.04), 0 12px 28px -12px rgba(11,23,48,.16);
  --shadow-card-hover: 0 1px 2px rgba(11,23,48,.05), 0 24px 40px -16px rgba(11,23,48,.24);
  --container-max: 1200px;
}

/* =====================================================================
   BASE / RESET
   ===================================================================== */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-950);
  letter-spacing: -0.01em;
}

p { color: var(--grey-700); line-height: 1.7; }

a { text-decoration: none; color: var(--signal-600); }
a:hover { color: var(--navy-900); }

.container { max-width: var(--container-max); }

::selection { background: var(--signal-100); color: var(--navy-950); }

/* Visible keyboard focus everywhere (accessibility floor) */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--signal-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--navy-950); color: var(--white);
  padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* Small utility icons (inline SVG <use>) */
.icon-sm { width: 15px; height: 15px; fill: currentColor; flex: none; }
svg symbol path, svg symbol circle { fill: currentColor; }

/* =====================================================================
   EYEBROW / SIGNATURE PULSE MOTIF
   Used to introduce every major section — a literal RFID read pulse.
   ===================================================================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--signal-600);
  margin-bottom: 14px;
}
.pulse-dot {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal-600); flex: none;
}
.pulse-dot::before, .pulse-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--signal-600);
  animation: pulse-ring 2.4s cubic-bezier(.4,0,.3,1) infinite;
  opacity: 0;
}
.pulse-dot::after { animation-delay: 1.2s; }
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: .55; }
  80%  { transform: scale(3.6); opacity: 0; }
  100% { transform: scale(3.6); opacity: 0; }
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--signal-600); color: var(--white);
  font-weight: 600; font-size: 0.95rem;
  padding: 12px 22px; border-radius: 999px; border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 10px 24px -10px rgba(42,92,255,.55);
}
.btn-cta:hover { background: var(--navy-900); color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(11,23,48,.45); }
.btn-cta .icon-sm { width: 14px; height: 14px; }

.btn-outline-navy {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--navy-950);
  font-weight: 600; font-size: 0.95rem;
  padding: 11px 22px; border-radius: 999px; border: 1.5px solid var(--grey-300);
  transition: all .18s ease;
}
.btn-outline-navy:hover { border-color: var(--navy-900); color: var(--navy-950); background: var(--grey-100); }

.btn-light-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); color: var(--white);
  font-weight: 600; font-size: .9rem; padding: 10px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
}
.btn-light-pill:hover { background: rgba(255,255,255,.16); color: var(--white); }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); }

.topbar { background: var(--navy-950); color: var(--grey-300); font-size: .82rem; padding: 8px 0; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: var(--grey-300); }
.topbar-item:hover { color: var(--white); }

.main-nav { padding: 14px 0; border-bottom: 1px solid var(--grey-200); background: var(--white); }

.navbar-brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--signal-600); display: inline-flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--font-display); font-weight: 700; color: var(--navy-950); font-size: 1.15rem; }
.brand-text small { font-family: var(--font-body); font-weight: 500; font-size: .68rem; color: var(--grey-500); letter-spacing: .02em; }

.main-nav .nav-link { color: var(--navy-800); font-weight: 500; font-size: .93rem; padding: 8px 14px !important; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--signal-600); }
.main-nav .dropdown-menu { border: none; box-shadow: var(--shadow-card); border-radius: var(--radius-sm); padding: 8px; }
.main-nav .dropdown-item { border-radius: 6px; padding: 8px 12px; font-size: .92rem; }
.main-nav .dropdown-item:hover { background: var(--signal-100); color: var(--signal-600); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 82% 0%, var(--navy-800) 0%, var(--navy-950) 60%);
  color: var(--white);
  padding: 84px 0 64px;
}
.hero-eyebrow { color: var(--signal-500); }
.hero-eyebrow .pulse-dot, .hero-eyebrow .pulse-dot::before, .hero-eyebrow .pulse-dot::after { background: var(--signal-500); border-color: var(--signal-500); }
.hero-eyebrow .pulse-dot::before, .hero-eyebrow .pulse-dot::after{ background: transparent; }

.hero h1 {
  color: var(--white); font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 1.12; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--signal-500); }
.hero-lead { color: var(--grey-300); font-size: 1.12rem; max-width: 560px; margin-bottom: 32px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero-inline-stats { display: flex; flex-wrap: wrap; gap: 34px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; }
.hero-inline-stats .stat-value { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 600; color: var(--white); }
.hero-inline-stats .stat-label { font-size: .78rem; color: var(--grey-500); max-width: 140px; }

/* --- Signature hero visual: RFID read-pulse graphic --- */
.hero-visual { position: relative; height: 420px; display: flex; align-items: center; justify-content: center; }
.read-graphic { position: relative; width: 320px; height: 320px; }
.read-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(68,114,255,.35);
  animation: read-ring-expand 3.6s ease-out infinite;
  opacity: 0;
}
.read-ring.r2 { animation-delay: 1.2s; }
.read-ring.r3 { animation-delay: 2.4s; }
@keyframes read-ring-expand {
  0%   { transform: scale(.3); opacity: 0; }
  15%  { opacity: .8; }
  100% { transform: scale(1); opacity: 0; }
}
.read-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 108px; height: 108px; border-radius: 28px;
  background: linear-gradient(155deg, var(--signal-600), #1636A8);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 45px -14px rgba(42,92,255,.7);
}
.read-core svg { width: 46px; height: 46px; fill: var(--white); }
.read-node {
  position: absolute; width: 46px; height: 46px; border-radius: 12px;
  background: var(--white); box-shadow: var(--shadow-card);
  display: flex; align-items: center; justify-content: center;
  animation: node-float 5s ease-in-out infinite;
}
.read-node svg { width: 20px; height: 20px; fill: var(--navy-800); }
.read-node.n1 { top: 4%;  left: 10%; animation-delay: .2s; }
.read-node.n2 { top: 12%; right: 2%; animation-delay: 1.1s; }
.read-node.n3 { bottom: 6%; left: 4%; animation-delay: .6s; }
.read-node.n4 { bottom: 0%; right: 14%; animation-delay: 1.6s; }
@keyframes node-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* =====================================================================
   SECTIONS (generic)
   ===================================================================== */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-grey { background: var(--grey-100); }
.section-navy { background: var(--navy-950); color: var(--white); }
.section-navy p { color: var(--grey-300); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 14px; }

/* =====================================================================
   FEATURE / BENEFIT CARDS
   ===================================================================== */
.feature-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 30px 26px; height: 100%;
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease;
  border: 1px solid var(--grey-200);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.feature-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--signal-100); color: var(--signal-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; fill: currentColor; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { font-size: .92rem; margin-bottom: 0; }

/* =====================================================================
   WORKFLOW (literal sequence — numbering is meaningful here)
   ===================================================================== */
.workflow-track { position: relative; }
.workflow-track::before {
  content: ""; position: absolute; top: 26px; left: 0; right: 0; height: 1px;
  background: repeating-linear-gradient(90deg, var(--grey-300) 0 8px, transparent 8px 16px);
}
.workflow-step { position: relative; text-align: center; padding-top: 0; }
.workflow-index {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 18px;
  background: var(--white); border: 1.5px solid var(--signal-600); color: var(--signal-600);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; position: relative; z-index: 2;
}
.workflow-step h4 { font-size: .98rem; margin-bottom: 6px; }
.workflow-step p { font-size: .85rem; }

/* =====================================================================
   INDUSTRY CARDS
   ===================================================================== */
.industry-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-sm);
  padding: 16px 18px; height: 100%;
  transition: border-color .18s ease, background .18s ease;
}
.industry-card:hover { border-color: var(--signal-600); background: var(--signal-100); }
.industry-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--navy-950); color: var(--white); display: flex; align-items: center; justify-content: center; flex: none; }
.industry-icon svg { width: 19px; height: 19px; fill: currentColor; }
.industry-card span { font-weight: 600; font-size: .92rem; color: var(--navy-950); }

/* =====================================================================
   STATS STRIP
   ===================================================================== */
.stats-strip { background: var(--navy-950); color: var(--white); padding: 56px 0; }
.stat-block { text-align: center; padding: 0 12px; }
.stat-block .stat-number { font-family: var(--font-mono); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; color: var(--white); }
.stat-block .stat-number .suffix { color: var(--signal-500); }
.stat-block .stat-caption { color: var(--grey-500); font-size: .85rem; margin-top: 6px; }

/* =====================================================================
   TESTIMONIALS / SUCCESS STORIES
   ===================================================================== */
.testimonial-card {
  background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius-md);
  padding: 30px; height: 100%; box-shadow: var(--shadow-card);
}
.testimonial-quote { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy-950); margin-bottom: 20px; }
.testimonial-meta { display: flex; align-items: center; justify-content: space-between; }
.testimonial-person { font-weight: 600; font-size: .88rem; color: var(--navy-950); }
.testimonial-role { font-size: .78rem; color: var(--grey-500); }
.testimonial-result {
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--signal-600);
  background: var(--signal-100); padding: 6px 12px; border-radius: 999px;
}

/* =====================================================================
   TECHNOLOGY / PRODUCT STRIP (home page teaser)
   ===================================================================== */
.tech-tile {
  background: var(--navy-950); border-radius: var(--radius-md); padding: 26px;
  height: 100%; color: var(--white); position: relative; overflow: hidden;
}
.tech-tile h4 { color: var(--white); font-size: 1rem; margin-bottom: 8px; }
.tech-tile p { color: var(--grey-500); font-size: .85rem; margin-bottom: 0; }
.tech-tile .tech-icon { color: var(--signal-500); margin-bottom: 16px; }
.tech-tile .tech-icon svg { width: 26px; height: 26px; fill: currentColor; }

/* =====================================================================
   CTA BANNER (footer-cta)
   ===================================================================== */
.footer-cta { background: linear-gradient(120deg, var(--signal-600), #16308F); padding: 52px 0; color: var(--white); }
.footer-cta-title { color: var(--white); font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.footer-cta-text { color: rgba(255,255,255,.85); margin-bottom: 0; }
.footer-cta .btn-cta { background: var(--white); color: var(--navy-950); box-shadow: none; }
.footer-cta .btn-cta:hover { background: var(--navy-950); color: var(--white); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer-main { background: var(--navy-950); color: var(--grey-300); padding: 60px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }
.footer-brand:hover { color: var(--white); }
.footer-about { color: var(--grey-500); font-size: .88rem; max-width: 320px; }
.footer-heading { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links li, .footer-links li a { color: var(--grey-500); font-size: .88rem; }
.footer-links li a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center; color: var(--grey-300); font-size: .78rem; font-weight: 700;
}
.footer-social a:hover { background: var(--signal-600); border-color: var(--signal-600); color: var(--white); }

.footer-bottom { background: var(--navy-950); border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; color: var(--grey-500); font-size: .8rem; }

/* =====================================================================
   WHATSAPP FLOAT BUTTON (bottom-left, all pages)
   ===================================================================== */
.whatsapp-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 1500;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,.65);
  transition: transform .18s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); color: var(--white); }
.whatsapp-ping {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: pulse-ring 2.2s ease-out infinite;
}
@media (max-width: 575px) {
  .whatsapp-float { left: 14px; bottom: 14px; width: 52px; height: 52px; }
}

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.contact-panel { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 36px; border: 1px solid var(--grey-200); }
.form-label { font-weight: 600; font-size: .86rem; color: var(--navy-950); }
.form-control, .form-select {
  border: 1.5px solid var(--grey-200); border-radius: var(--radius-sm); padding: 11px 14px; font-size: .92rem;
}
.form-control:focus, .form-select:focus { border-color: var(--signal-600); box-shadow: 0 0 0 4px var(--signal-100); }

#formStatus[data-state="success"] { color: #157A4F; }
#formStatus[data-state="error"] { color: #B3261E; }

.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--signal-100); color: var(--signal-600); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-info-icon svg { width: 19px; height: 19px; fill: currentColor; }

/* =====================================================================
   JS-DRIVEN STATES
   ===================================================================== */
.site-header.is-scrolled .main-nav { box-shadow: 0 8px 24px -18px rgba(11,23,48,.35); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991.98px) {
  .hero { padding: 56px 0 40px; }
  .hero-visual { height: 300px; margin-top: 30px; }
  .section { padding: 60px 0; }
}
