@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #2563EB;
  --blue-dark: #0165c4;
  --blue-darker: #014f9a;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --light: #f8fafc;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.09), 0 4px 10px rgba(15, 23, 42, 0.04);
}

body, button, input, select, textarea {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .brand-name {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}

h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.22; }
p, li { text-wrap: pretty; }
.wrap { max-width: 1120px; }

/* 2026 Top Scroll Progress Bar */
.cx-scroll-progress {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, #2563EB 0%, #3B82F6 55%, #EA580C 100%);
  transform-origin: 0% 50%;
  transform: scaleX(0);
  z-index: 10001;
  pointer-events: none;
  box-shadow: 0 1px 8px rgba(37, 99, 235, 0.35);
}

/* Sticky Glassmorphic Header & Logo */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  width: 100% !important;
  max-width: none !important;
  padding: 0 max(24px, calc((100% - 1120px) / 2));
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.logo {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.logo .brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #0f172a;
}

.logo .logolight {
  color: #0165c4;
  font-weight: 800;
}

.logo .logo-by {
  font-size: 0.66rem !important;
  color: #475569 !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  padding-left: 1px !important;
  white-space: nowrap !important;
  letter-spacing: -0.01em !important;
  display: block !important;
}

.logo .logo-by strong {
  color: #0165c4 !important;
  font-weight: 700 !important;
}

nav { font-size: 0.88rem; gap: 28px; font-weight: 600; color: #475569; }
nav a:hover { color: var(--blue-dark); }

/* Buttons */
.button {
  background: var(--blue-dark);
  border-radius: 9px;
  font-family: inherit;
  min-height: 42px;
  padding: 10px 20px;
  font-size: 0.88rem;
  gap: 10px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(1, 101, 196, 0.2);
  transition: background 200ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 200ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 150ms ease;
}
.button:hover {
  background: var(--blue-darker);
  box-shadow: 0 6px 18px rgba(1, 101, 196, 0.28);
}
.button span { font-size: 1rem; transition: transform .2s; }
.button:hover span { transform: translateX(2px); }
.small { font-size: 0.82rem; min-height: 36px; padding: 7px 14px; border-radius: 8px; }

.textlink { font-size: 0.88rem; color: var(--blue-dark); font-weight: 600; gap: 6px; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.09em; color: var(--blue-dark); font-weight: 700; text-transform: uppercase; margin: 0 0 10px; }

/* Hero Section — Balanced Scale */
.hero {
  display: block;
  padding: 38px 0 24px;
  text-align: center;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 1; max-width: 720px; margin: auto; }
.hero h1 {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  line-height: 1.12;
  margin: 0 0 14px;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero h1 em { color: var(--blue-dark); font-style: normal; }
.hero .lead {
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
}
.hero .actions { justify-content: center; gap: 18px; margin-top: 20px; }
.hero .micro { font-size: 0.78rem; margin: 12px 0 0; color: #64748b; }
.hero .micro strong { color: var(--ink); font-weight: 700; }

.equipment-stage { position: relative; max-width: 620px; margin: 4px auto 0; }
.stage-visual { position: relative; }
.stage-visual img { width: 100%; height: auto; display: block; }
.equipment-stage figcaption {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.74rem;
  color: #64748b;
  margin-top: 4px;
}
.equipment-stage button {
  background: none; border: 0; font: inherit;
  color: #475569; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer;
  min-height: 36px; flex-shrink: 0;
}
.connection-trail { position: absolute; bottom: 5%; left: 6%; width: 88%; height: 70px; pointer-events: none; opacity: .8; }
.connection-trail path { fill: none; stroke-width: 1.6; }
.trail-base { stroke: #2563eb18; }
.trail-light { stroke: #2563eb; stroke-dasharray: 35 920; animation: signal-travel 5s linear infinite; }
.motion-paused .trail-light { animation-play-state: paused; }
@keyframes signal-travel { from { stroke-dashoffset: 950; } to { stroke-dashoffset: 0; } }

/* Catalog / License Section — Compact, Proportionate Cards */
.catalog-section {
  background: var(--light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}
.catalog-heading {
  max-width: 760px;
  margin: 0 auto;
  align-items: flex-end;
}
.catalog-heading h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-bottom: 0; }
.catalog-heading .eyebrow { margin-bottom: 8px; }
.catalog-heading > p { font-size: 0.88rem; margin: 0; line-height: 1.55; color: var(--muted); }

.product-grid {
  max-width: 760px;
  margin: 24px auto 0;
  gap: 20px;
}
.product-card {
  padding: 22px 24px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 240ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 240ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card.featured {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 42%);
}
.product-top { min-height: 32px; }
.product-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}
.featured .product-tag {
  background: #dbeafe;
  color: var(--blue-dark);
}
.product-glyph {
  width: 26px;
  height: 26px;
  stroke: #334155;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.product-glyph-pair {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.glyph-plus {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1;
  user-select: none;
}
.featured .product-glyph { stroke: var(--blue-dark); }
.product-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 12px 0 6px;
  letter-spacing: -0.02em;
}
.product-card > p {
  font-size: 0.86rem;
  min-height: 4.1rem;
  max-width: none;
  line-height: 1.55;
  margin: 0 0 14px;
  color: var(--muted);
}
.product-card ul {
  font-size: 0.84rem;
  margin: 0 0 18px;
  flex: 1;
}
.product-card li {
  margin: 6px 0;
  padding-left: 20px;
}
.product-card li:before {
  color: #15803d;
}
.product-price {
  margin-bottom: 16px;
  gap: 8px;
}
.product-price strong {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.product-price span { font-size: 0.8rem; line-height: 1.35; color: var(--muted); }
.product-price small { font-size: 0.72rem; }
.product-actions { padding-top: 14px; gap: 12px; }
.product-actions .button {
  font-size: 0.82rem;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 8px;
  gap: 6px;
}
.detail-button {
  font-family: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  min-height: 38px;
  color: var(--blue-dark);
}
.b2b-catalog-banner {
  max-width: 760px;
  margin: 20px auto 0;
  padding: 20px 24px;
  background: #fff;
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.b2b-catalog-banner h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 8px 0 4px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.b2b-catalog-banner p {
  font-size: 0.83rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.b2b-catalog-banner .button {
  white-space: nowrap;
  font-size: 0.82rem;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 8px;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  .b2b-catalog-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .b2b-catalog-banner .button {
    width: 100%;
  }
}

/* Compatibility Section */
.compat { background: #fff; border: 0; padding: 52px 0; }
.compat .section-intro { max-width: 580px; }
.compat h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-bottom: 10px; }
.compat .section-intro > p:not(.eyebrow) { font-size: 0.92rem; margin-bottom: 24px; }
.compat-row { padding: 18px 0; gap: 24px; }
.row-label { font-size: 0.7rem; min-width: 135px; letter-spacing: 0.08em; }
.brand-tile { height: 64px; border-color: var(--line); border-radius: 10px; padding: 12px 16px; }
.brand-dark { background: #0f172a !important; border-color: #0f172a !important; }
.brand-logos { gap: 12px; }
.compat .fine { max-width: 760px; margin-top: 14px; font-size: 0.78rem; }

/* How It Works Section */
.how {
  background: #0f172a;
  color: #fff;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.how:before {
  content: '';
  position: absolute;
  width: 520px; height: 520px;
  right: -240px; top: -320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.28), transparent 65%);
  pointer-events: none;
}
.how-heading { position: relative; max-width: 580px; }
.how .eyebrow { color: #93c5fd; }
.how h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 10px; }
.how h2 span { color: #60a5fa; }
.how-heading > p { color: #94a3b8; max-width: 460px; font-size: 0.94rem; line-height: 1.6; }
.how .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 32px 0 24px; }
.how .steps article {
  border: 1px solid #1e293b;
  background: rgba(30, 41, 59, 0.45);
  border-radius: 12px;
  padding: 20px;
}
.how .number { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: #60a5fa; }
.how h3 { font-size: 1.05rem; letter-spacing: -0.015em; margin: 10px 0 6px; }
.how .steps p { color: #94a3b8; font-size: 0.86rem; line-height: 1.55; margin: 0; }
.how .textlink { color: #93c5fd; }

/* Configuration Form Section */
.configuration {
  max-width: 880px;
  margin: 48px auto 0;
  background: var(--light);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: 18px;
  padding: 32px;
  gap: 36px;
  align-items: start;
}
.configuration .eyebrow { color: var(--blue-dark); }
.configuration h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 10px; }
.configuration p, .configuration .note { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.configuration .note { font-size: 0.78rem; margin-top: 18px; }
.configuration form { border-radius: 12px; padding: 22px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.configuration form .fine { font-size: 0.76rem; color: var(--muted); margin-top: 8px; }
input, select, textarea {
  font-size: 0.9rem;
  min-height: 42px;
  padding: 8px 12px;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14) !important;
  outline: none !important;
}
label { font-size: 0.8rem; font-weight: 600; margin-bottom: 5px; }
.copy {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--blue-dark);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.82rem;
  min-height: 38px;
}

/* FAQ Section */
.faq { max-width: 880px; margin: 0 auto; padding: 52px 0; gap: 40px; }
.faq h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
details { padding: 16px 0; }
summary { font-size: 0.92rem; min-height: 26px; }
details p { font-size: 0.88rem; line-height: 1.6; margin: 8px 0 0; }
.fine { font-size: 0.78rem; }

/* Inner Pages & Footer */
.page-heading { padding: 32px 0 24px; }
.page-heading h1 { font-size: clamp(1.75rem, 3.2vw, 2.35rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.page-heading .lead { font-size: 0.96rem; line-height: 1.6; }
.surface { border-radius: 14px; padding: 24px; border: 1.5px solid var(--line); box-shadow: var(--shadow-sm); }
.surface h2 { font-size: 1.3rem; margin-top: 0; }
.surface h3 { font-size: 0.95rem; margin: 16px 0 4px; }
.surface p { font-size: 0.88rem; }
.contact-large { font-size: 1.25rem; color: var(--blue-dark); }

.site-footer {
  background: var(--light);
  color: #1e293b;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding: 44px 0 20px;
}
.site-footer .footer-grid { gap: 28px; }
.site-footer h3 { color: #0f172a; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 14px; }
.site-footer p, .site-footer a { color: #475569; font-size: 0.82rem; }
.site-footer .footer-bottom { color: #64748b; border-color: var(--line); font-size: 0.76rem; margin-top: 28px; padding-top: 16px; }

/* 2026 Interactive Card Spotlight (.cx-card-2026) */
.cx-card-2026 { position: relative; overflow: hidden; }
.cx-card-2026::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(37, 99, 235, 0.06), transparent 65%);
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
  z-index: 0;
}
.cx-card-2026:hover::before { opacity: 1; }
.cx-card-2026 > * { position: relative; z-index: 1; }
.product-card:hover, .step-card:hover, .sidebar-card:hover, .surface:hover, .brand-tile:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.32);
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  header { height: auto; padding: 12px 16px; gap: 10px; }
  .logo .brand-name { font-size: 1.2rem; }
  nav { font-size: 0.77rem; gap: 6px 12px; padding-top: 4px; flex-wrap: wrap; }
  .hero { padding: 26px 0 14px; }
  .hero h1 { font-size: clamp(1.75rem, 7.5vw, 2.25rem); margin-bottom: 12px; }
  .hero .lead { font-size: 0.92rem; }
  .hero .actions { gap: 12px; flex-direction: column; margin-top: 16px; }
  .catalog-section, .compat, .how, .faq { padding: 36px 0; }
  .product-grid { margin-top: 18px; gap: 14px; }
  .product-card { padding: 18px 20px; border-radius: 12px; }
  .product-price strong { font-size: 1.75rem; }
  .how .steps { grid-template-columns: 1fr; gap: 14px; margin-top: 20px; }
  .configuration { margin-top: 32px; padding: 20px 16px; gap: 20px; border-radius: 14px; }
  .configuration form { padding: 16px; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .site-footer .footer-brand, .site-footer .footer-grid > div:last-child { grid-column: 1 / -1; }
  .surface { padding: 18px; }
  .page-heading { padding: 22px 0; }
  .contact-grid > aside { grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
