/* ═══════════════════════════════════════════════════════════
   officia-pro.css  v1.0
   Alle neuen Styles für die 3D-Webseite.
   Prinzip: Elemente sind IMMER sichtbar. JS verbessert nur.
═══════════════════════════════════════════════════════════ */

/* ── DARK MODE: alle neuen Elemente ── */
html[data-theme="dark"] body,
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) body { } }

/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero-pro {
  padding: 130px 0 90px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
/* Subtiles Raster-Muster */
.hero-pro::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,209,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,209,255,.045) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 80% at 62% 38%, #000, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
/* Glow Blob oben rechts */
.hero-pro::after {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,209,255,.1), transparent 68%);
  pointer-events: none; z-index: 0;
  filter: blur(20px);
}
html[data-theme="dark"] .hero-pro,
@media (prefers-color-scheme:dark) { html:not([data-theme="light"]) .hero-pro {
  background: #07111f;
}}
html[data-theme="dark"] .hero-pro { background: #07111f; }

.hero-pro-layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px,.9fr) minmax(460px,1.1fr);
  gap: clamp(32px, 5.5vw, 76px);
  align-items: center;
}
.hero-pro-copy { }
.hero-pro h1 {
  font-size: clamp(2.7rem, 5.1vw, 5.2rem) !important;
  line-height: 1.07 !important;
  letter-spacing: -.057em !important;
  max-width: none !important;
  margin-bottom: 22px !important;
  text-align: left !important;
  color: var(--theme-heading, var(--navy)) !important;
}
.hero-pro h1 .accent { color: var(--cyan); }
.hero-pro-text {
  color: var(--theme-muted, var(--slate-500));
  font-size: clamp(.97rem, 1.35vw, 1.1rem);
  line-height: 1.72;
  max-width: 500px;
  margin-bottom: 32px;
}
.hero-pro-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-pro-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-pro-trust-item {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 700;
  color: var(--theme-soft, var(--slate-400));
}
.hero-pro-trust-item svg { color: var(--cyan); flex-shrink: 0; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--theme-surface-muted, var(--slate-50));
  border-top: 1px solid var(--theme-border-soft, var(--slate-100));
  border-bottom: 1px solid var(--theme-border-soft, var(--slate-100));
  padding: 12px 0;
}
.trust-bar-inner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .8rem;
}
.trust-bar-brand { color: var(--theme-heading, var(--navy)); font-weight: 780; }
.trust-bar-sep { color: var(--theme-border, var(--slate-300)); }
.trust-bar-item { color: var(--theme-muted, var(--slate-500)); font-weight: 700; }
.trust-bar-label { color: var(--theme-soft, var(--slate-400)); }

/* ══════════════════════════════════════════════════════════
   3D PRODUCT MOCKUP SYSTEM
══════════════════════════════════════════════════════════ */
.mockup-outer {
  perspective: 1600px;
  perspective-origin: 48% 44%;
}
.mockup-scene {
  position: relative;
  height: min(70vh, 620px);
  min-height: 460px;
}
.mockup-window {
  position: absolute;
  inset: 24px 0 0 10px;
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(226,232,240,.92);
  box-shadow:
    0 2px 4px rgba(15,23,42,.04),
    0 12px 28px rgba(15,23,42,.08),
    0 40px 100px rgba(15,23,42,.13),
    0 0 0 1px rgba(255,255,255,.4);
  transform: perspective(1600px) rotateX(5deg) rotateY(-12deg) rotateZ(1deg);
  transform-origin: 55% 50%;
  transition: transform .8s cubic-bezier(.16,1,.3,1), box-shadow .8s ease;
  will-change: transform;
}
.mockup-window:hover {
  transform: perspective(1600px) rotateX(2deg) rotateY(-5deg) rotateZ(.3deg);
  box-shadow:
    0 2px 4px rgba(15,23,42,.04),
    0 20px 60px rgba(15,23,42,.16),
    0 60px 140px rgba(15,23,42,.18);
}
html[data-theme="dark"] .mockup-window { background: #0d1a2c; border-color: rgba(148,163,184,.16); box-shadow: 0 40px 100px rgba(0,0,0,.4), 0 0 60px rgba(0,209,255,.05); }
@media (prefers-color-scheme:dark) { html:not([data-theme="light"]) .mockup-window { background: #0d1a2c; border-color: rgba(148,163,184,.16); } }

/* ── App Topbar ── */
.app-topbar {
  height: 50px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,.9);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 14px; flex-shrink: 0;
}
html[data-theme="dark"] .app-topbar { background: rgba(8,17,31,.92); border-bottom-color: rgba(148,163,184,.14); }
.app-brand { display: flex; align-items: center; gap: 7px; }
.app-brand-ico { width: 20px; height: 20px; border-radius: 5px; background: linear-gradient(135deg,var(--navy),#1e3a5f); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.app-brand-ico::after { content: ""; width: 9px; height: 9px; border: 1.5px solid var(--cyan); border-radius: 2px; }
.app-brand-name { font-size: .77rem; font-weight: 780; letter-spacing: -.04em; color: var(--navy); }
.app-brand-name span { color: var(--cyan); }
html[data-theme="dark"] .app-brand-name { color: #f8fafc; }
.app-pipe { width: 1px; height: 18px; background: var(--slate-200); margin: 0 2px; }
html[data-theme="dark"] .app-pipe { background: rgba(148,163,184,.25); }
.app-mod-name { font-size: .77rem; font-weight: 640; color: var(--navy); }
html[data-theme="dark"] .app-mod-name { color: #f8fafc; }
.app-topbar-right { display: flex; align-items: center; gap: 7px; }
.app-langs { display: flex; gap: 2px; background: rgba(255,255,255,.8); border: 1px solid var(--slate-200); border-radius: 999px; padding: 3px; }
html[data-theme="dark"] .app-langs { background: rgba(15,23,42,.8); border-color: rgba(148,163,184,.18); }
.app-langs span { padding: 3px 6px; border-radius: 999px; font-size: .59rem; font-weight: 800; color: var(--slate-400); line-height: 1; }
.app-langs span.on { background: var(--navy); color: #fff; }
.app-theme-btn { display: flex; align-items: center; gap: 4px; border: 1px solid var(--slate-200); border-radius: 999px; background: rgba(255,255,255,.8); padding: 4px 8px; font-size: .59rem; font-weight: 760; color: var(--slate-500); }
html[data-theme="dark"] .app-theme-btn { background: rgba(15,23,42,.8); border-color: rgba(148,163,184,.18); color: #94a3b8; }
.app-theme-dot { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--navy) 0 50%, var(--cyan) 50% 100%); }
.app-avatar { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), #1e3a5f); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .57rem; font-weight: 800; }

/* ── App Shell ── */
.app-shell { display: grid; grid-template-columns: 152px minmax(0,1fr); gap: 12px; padding: 12px; height: calc(100% - 50px); overflow: hidden; }
.app-sidebar { background: rgba(255,255,255,.95); border: 1px solid rgba(226,232,240,.92); border-radius: 14px; padding: 10px; overflow: hidden; }
html[data-theme="dark"] .app-sidebar { background: rgba(10,20,36,.9); border-color: rgba(148,163,184,.13); }
.app-sidebar-label { font-size: .56rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--slate-400); margin: 2px 6px 8px; }
.app-nav-item { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border-radius: 9px; font-size: .64rem; font-weight: 700; color: var(--slate-500); margin-bottom: 2px; }
.app-nav-item svg { width: 12px; height: 12px; flex-shrink: 0; opacity: .7; }
.app-nav-item.on { background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(10,25,47,.16); }
.app-nav-item.on svg { opacity: 1; }
html[data-theme="dark"] .app-nav-item.on { background: linear-gradient(135deg, rgba(0,209,255,.2), rgba(59,130,246,.16)); border: 1px solid rgba(0,209,255,.4); color: #fff; }
.app-content { overflow: hidden; display: flex; flex-direction: column; gap: 9px; }
.app-page-h1 { font-size: 1.28rem; font-weight: 780; letter-spacing: -.04em; color: var(--navy); line-height: 1.1; margin: 0 0 2px; }
html[data-theme="dark"] .app-page-h1 { color: #f8fafc; }
.app-sub { font-size: .63rem; color: var(--slate-400); line-height: 1.5; }
.app-card { background: rgba(255,255,255,.95); border: 1px solid rgba(226,232,240,.92); border-radius: 13px; padding: 11px 12px; box-shadow: 0 1px 2px rgba(15,23,42,.03), 0 8px 24px rgba(15,23,42,.04); }
html[data-theme="dark"] .app-card { background: rgba(10,20,36,.9); border-color: rgba(148,163,184,.13); }

/* Stats Grid */
.app-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; }
.app-stat { padding: 9px 10px; border: 1px solid rgba(226,232,240,.92); border-radius: 11px; background: rgba(255,255,255,.95); }
html[data-theme="dark"] .app-stat { background: rgba(13,26,44,.9); border-color: rgba(148,163,184,.13); }
.app-stat-l { font-size: .53rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--slate-400); margin-bottom: 5px; }
.app-stat-v { font-size: 1.15rem; font-weight: 780; color: var(--navy); letter-spacing: -.04em; line-height: 1; }
html[data-theme="dark"] .app-stat-v { color: #f8fafc; }
.app-stat-s { font-size: .55rem; color: var(--slate-400); margin-top: 2px; }

/* Table */
.app-tbl-head { display: grid; font-size: .55rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-400); padding: 0 3px 6px; border-bottom: 1px solid rgba(226,232,240,.9); margin-bottom: 3px; }
html[data-theme="dark"] .app-tbl-head { border-bottom-color: rgba(148,163,184,.13); }
.app-row { display: grid; align-items: center; padding: 6px 3px; border-radius: 7px; border-bottom: 1px solid rgba(226,232,240,.5); font-size: .63rem; }
html[data-theme="dark"] .app-row { border-bottom-color: rgba(148,163,184,.09); }
.app-row-name { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy); }
html[data-theme="dark"] .app-row-name { color: #e2e8f0; }
.app-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.dot-cyan { background: var(--cyan); } .dot-green { background: #22c55e; } .dot-amber { background: #f59e0b; }
.app-tag { display: inline-flex; padding: 3px 7px; border-radius: 999px; font-size: .57rem; font-weight: 700; background: rgba(241,245,249,.9); border: 1px solid rgba(226,232,240,.9); color: var(--slate-500); font-style: normal; white-space: nowrap; }
.tag-green { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.25); color: #16a34a; }
.tag-amber { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.22); color: #b45309; }
.tag-cyan  { background: rgba(0,209,255,.1); border-color: rgba(0,209,255,.22); color: #0891b2; }
.app-row-right { color: var(--slate-500); font-weight: 700; font-size: .61rem; text-align: right; }
.score-bar { height: 5px; background: var(--slate-100); border-radius: 99px; overflow: hidden; width: 75%; }
html[data-theme="dark"] .score-bar { background: rgba(148,163,184,.14); }
.score-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), #2563eb); }
.section-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.section-t { font-size: .74rem; font-weight: 780; color: var(--navy); }
html[data-theme="dark"] .section-t { color: #f8fafc; }
.section-a { font-size: .62rem; font-weight: 700; color: var(--slate-400); cursor: default; }

/* ── FLOATING CARDS ── */
.float-card {
  position: absolute;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 13px; padding: 12px 14px;
  box-shadow: 0 2px 4px rgba(15,23,42,.04), 0 12px 32px rgba(15,23,42,.12), 0 28px 60px rgba(15,23,42,.09);
  z-index: 3;
}
html[data-theme="dark"] .float-card { background: rgba(13,26,44,.96); border-color: rgba(148,163,184,.16); box-shadow: 0 4px 12px rgba(0,0,0,.28), 0 24px 60px rgba(0,0,0,.34); }
.float-card-a { top: 2px; left: -16px; width: 152px; animation: fa 5s ease-in-out infinite; }
.float-card-b { bottom: 20px; right: -20px; width: 170px; animation: fb 6s ease-in-out infinite; animation-delay: 1.4s; }
.float-card-c { top: 48%; right: -18px; transform: translateY(-50%); width: 158px; animation: fc 5.5s ease-in-out infinite; animation-delay: 2.8s; }
@keyframes fa { 0%,100%{transform:translateY(0) rotate(-.4deg)} 50%{transform:translateY(-9px) rotate(.3deg)} }
@keyframes fb { 0%,100%{transform:translateY(0) rotate(.3deg)} 50%{transform:translateY(-7px) rotate(-.3deg)} }
@keyframes fc { 0%,100%{transform:translateY(-50%) rotate(-.2deg)} 50%{transform:translateY(calc(-50% - 8px)) rotate(.3deg)} }
.fl { font-size: .59rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--slate-400); margin-bottom: 5px; }
.fv { font-size: 1.38rem; font-weight: 780; color: var(--navy); letter-spacing: -.045em; line-height: 1; margin-bottom: 4px; }
html[data-theme="dark"] .fv { color: #f8fafc; }
.fv span { font-size: .7rem; color: var(--slate-400); font-weight: 600; }
.fv-cyan { color: var(--cyan) !important; }
.fs { font-size: .62rem; color: var(--slate-400); font-weight: 700; }
.fbar { height: 5px; background: var(--slate-100); border-radius: 99px; overflow: hidden; margin: 5px 0 3px; }
html[data-theme="dark"] .fbar { background: rgba(148,163,184,.14); }
.fbar-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--cyan), #2563eb); }
.fstatus { display: flex; align-items: center; gap: 6px; font-size: .65rem; font-weight: 700; color: #16a34a; margin-bottom: 7px; }
.fstatus-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); animation: spulse 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes spulse { 0%,100%{box-shadow:0 0 0 3px rgba(34,197,94,.2)} 50%{box-shadow:0 0 0 5px rgba(34,197,94,.07)} }
.fwave { display: flex; align-items: center; gap: 3px; height: 22px; margin-top: 3px; }
.fwave span { flex: 1; border-radius: 99px; background: linear-gradient(180deg, var(--cyan), #2563eb); animation: fw 1.4s ease-in-out infinite; }
.fwave span:nth-child(1){height:32%;animation-delay:.0s} .fwave span:nth-child(2){height:62%;animation-delay:.12s} .fwave span:nth-child(3){height:90%;animation-delay:.24s} .fwave span:nth-child(4){height:54%;animation-delay:.36s} .fwave span:nth-child(5){height:76%;animation-delay:.24s} .fwave span:nth-child(6){height:40%;animation-delay:.12s} .fwave span:nth-child(7){height:26%;animation-delay:.0s}
@keyframes fw { 0%,100%{transform:scaleY(1)} 50%{transform:scaleY(1.5)} }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 7px; }
.fgrid-cell { padding: 5px 7px; border-radius: 7px; background: var(--slate-50); border: 1px solid rgba(226,232,240,.9); }
html[data-theme="dark"] .fgrid-cell { background: rgba(148,163,184,.07); border-color: rgba(148,163,184,.13); }
.fgrid-l { font-size: .52rem; font-weight: 800; color: var(--slate-400); text-transform: uppercase; letter-spacing: .05em; }
.fgrid-v { font-size: .86rem; font-weight: 780; color: var(--navy); margin-top: 2px; }
html[data-theme="dark"] .fgrid-v { color: #f8fafc; }

/* ══════════════════════════════════════════════════════════
   SCROLL REVEALS  (JS-Enhancement only – never breaks visibility)
   Body bekommt .js-loaded wenn JS läuft.
   Ohne JS: Elemente immer sichtbar.
══════════════════════════════════════════════════════════ */
.js-loaded [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
.js-loaded [data-reveal].visible {
  opacity: 1;
  transform: none;
}
/* Transition delays for siblings */
.js-loaded [data-reveal].visible [data-card]:nth-child(1) { transition-delay: .05s; }
.js-loaded [data-reveal].visible [data-card]:nth-child(2) { transition-delay: .10s; }
.js-loaded [data-reveal].visible [data-card]:nth-child(3) { transition-delay: .15s; }
.js-loaded [data-reveal].visible [data-card]:nth-child(4) { transition-delay: .20s; }
.js-loaded [data-reveal].visible [data-card]:nth-child(5) { transition-delay: .25s; }
.js-loaded [data-reveal].visible [data-card]:nth-child(6) { transition-delay: .30s; }
.js-loaded [data-card] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.16,1,.3,1);
}
.js-loaded [data-card].visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════════════════
   MODULE OVERVIEW PAGE
══════════════════════════════════════════════════════════ */
.mod-overview-hero {
  padding: 134px 0 72px;
  text-align: center;
  background: var(--white);
  position: relative; overflow: hidden;
}
.mod-overview-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 30%, rgba(0,209,255,.07), transparent 60%),
    linear-gradient(180deg, var(--slate-50) 0%, var(--white) 100%);
  pointer-events: none;
}
html[data-theme="dark"] .mod-overview-hero { background: #07111f; }
html[data-theme="dark"] .mod-overview-hero::before { display: none; }
@media (prefers-color-scheme:dark) { html:not([data-theme="light"]) .mod-overview-hero { background: #07111f; } html:not([data-theme="light"]) .mod-overview-hero::before { display: none; } }
.mod-overview-hero > * { position: relative; z-index: 1; }
.mod-overview-hero h1 {
  font-size: clamp(2.6rem, 5vw, 5rem) !important;
  letter-spacing: -.055em !important;
  text-align: center !important;
  max-width: 800px !important;
  margin: 0 auto 18px !important;
  color: var(--theme-heading, var(--navy)) !important;
}
.mod-overview-lead { max-width: 600px; margin: 0 auto 0; color: var(--theme-muted, var(--slate-500)); font-size: 1.06rem; line-height: 1.7; }

/* Module Cards */
.mod-cat-label { margin: 56px 0 18px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); }
.mod-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.mod-card {
  display: flex; flex-direction: column;
  padding: 26px; border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-card);
  text-decoration: none; color: inherit;
  transition: transform .26s cubic-bezier(.2,.8,.3,1), border-color .26s ease, box-shadow .26s ease;
}
.mod-card:hover {
  transform: perspective(900px) translateY(-6px) rotateX(2deg);
  border-color: rgba(0,209,255,.42);
  box-shadow: 0 20px 60px rgba(10,25,47,.09), 0 0 24px rgba(0,209,255,.06);
}
html[data-theme="dark"] .mod-card { background: var(--theme-surface, #0d1a2c); border-color: var(--theme-border, rgba(148,163,184,.18)); }
html[data-theme="dark"] .mod-card:hover { border-color: rgba(0,209,255,.4); }
.mod-card-icon { width: 46px; height: 46px; border-radius: 11px; background: var(--cyan-soft); display: flex; align-items: center; justify-content: center; color: var(--navy); margin-bottom: 16px; flex-shrink: 0; transition: background .2s, color .2s; }
.mod-card:hover .mod-card-icon { background: var(--cyan); color: #fff; }
.mod-card-icon svg { width: 21px; height: 21px; }
.mod-card h3 { font-size: 1.1rem; font-weight: 720; color: var(--navy); letter-spacing: -.02em; margin-bottom: 9px; }
html[data-theme="dark"] .mod-card h3 { color: #f8fafc; }
.mod-card p { font-size: .87rem; color: var(--slate-500); line-height: 1.63; margin: 0; flex: 1; }
html[data-theme="dark"] .mod-card p { color: var(--theme-muted, #94a3b8); }
.mod-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--slate-100); }
html[data-theme="dark"] .mod-card-foot { border-top-color: rgba(148,163,184,.12); }
.mod-card-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; background: var(--slate-50); border: 1px solid var(--slate-200); color: var(--slate-500); font-size: .68rem; font-weight: 700; }
html[data-theme="dark"] .mod-card-badge { background: rgba(148,163,184,.08); border-color: rgba(148,163,184,.16); color: var(--theme-muted,#94a3b8); }
.mod-card-link { font-size: .74rem; font-weight: 780; color: var(--cyan); }

/* Platform connections box */
.platform-box {
  margin-top: 72px; padding: 40px;
  background: var(--navy); border-radius: 24px;
  position: relative; overflow: hidden;
}
.platform-box::before { content:""; position:absolute; right:-80px; top:-60px; width:320px; height:320px; border-radius:999px; background:radial-gradient(circle,rgba(0,209,255,.18),transparent 68%); pointer-events:none; }
.platform-box h2 { color: #fff !important; margin-bottom: 12px; }
.platform-box p { color: rgba(255,255,255,.6); line-height: 1.7; max-width: 580px; margin-bottom: 28px; }
.platform-conns { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.pconn { padding: 14px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.pconn-from { font-size: .64rem; font-weight: 780; color: var(--cyan); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 3px; }
.pconn-arr { font-size: .68rem; color: rgba(255,255,255,.28); margin-bottom: 3px; }
.pconn-to { font-size: .7rem; font-weight: 720; color: #fff; margin-bottom: 5px; }
.pconn-desc { font-size: .76rem; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════
   MODULE LANDING PAGES
══════════════════════════════════════════════════════════ */
.mod-hero {
  padding: 124px 0 80px;
  position: relative; overflow: hidden;
  background: var(--white);
}
.mod-hero::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(ellipse 60% 55% at 68% 28%, rgba(0,209,255,.07), transparent 58%),
    linear-gradient(170deg, var(--slate-50) 0%, var(--white) 100%);
  pointer-events: none;
}
html[data-theme="dark"] .mod-hero { background: #07111f; }
html[data-theme="dark"] .mod-hero::before { display: none; }
@media (prefers-color-scheme:dark) { html:not([data-theme="light"]) .mod-hero { background: #07111f; } html:not([data-theme="light"]) .mod-hero::before { display: none; } }
.mod-hero-layout { position:relative;z-index:1; display:grid; grid-template-columns: minmax(300px,.88fr) minmax(440px,1.12fr); gap:clamp(28px,5vw,70px); align-items:center; }
.mod-breadcrumb { display:flex; align-items:center; gap:8px; font-size:.74rem; font-weight:700; color:var(--slate-400); margin-bottom:18px; }
.mod-breadcrumb a { color:var(--slate-500); }
.mod-breadcrumb a:hover { color:var(--navy); }
.mod-breadcrumb-sep { color:var(--slate-300); }
.mod-breadcrumb-cur { color:var(--cyan); }
.mod-h1 { font-size:clamp(2.2rem,4.3vw,4.3rem)!important; line-height:1.1!important; letter-spacing:-.052em!important; color:var(--theme-heading,var(--navy))!important; margin-bottom:16px!important; text-align:left!important; max-width:none!important; }
.mod-lead { font-size:clamp(.96rem,1.3vw,1.08rem); color:var(--theme-muted,var(--slate-500)); line-height:1.7; max-width:520px; margin-bottom:28px; }
.mod-actions { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:24px; }
.mod-badges { display:flex; gap:9px; flex-wrap:wrap; }
.mod-badge { display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:999px; background:var(--cyan-soft); border:1px solid rgba(0,209,255,.18); color:var(--navy); font-size:.74rem; font-weight:760; }
html[data-theme="dark"] .mod-badge { color:#f8fafc; border-color:rgba(0,209,255,.28); }
.mod-badge svg { width:13px; height:13px; color:var(--cyan); }

/* Feature Grid */
.mod-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.mod-feature { padding:24px; border-radius:18px; background:var(--white); border:1px solid var(--slate-200); box-shadow:var(--shadow-card); transition:transform .25s cubic-bezier(.2,.8,.3,1), border-color .25s; }
.mod-feature:hover { transform:perspective(800px) translateY(-5px) rotateX(2deg); border-color:rgba(0,209,255,.38); }
html[data-theme="dark"] .mod-feature { background:var(--theme-surface,#0d1a2c); border-color:var(--theme-border,rgba(148,163,184,.18)); }
.mod-feature-icon { width:42px; height:42px; border-radius:10px; background:var(--cyan-soft); display:flex; align-items:center; justify-content:center; color:var(--navy); margin-bottom:13px; transition:background .2s,color .2s; }
.mod-feature:hover .mod-feature-icon { background:var(--cyan); color:#fff; }
.mod-feature-icon svg { width:19px; height:19px; }
.mod-feature h3 { font-size:.98rem; font-weight:720; color:var(--navy); margin-bottom:8px; }
html[data-theme="dark"] .mod-feature h3 { color:#f8fafc; }
.mod-feature p { font-size:.86rem; color:var(--slate-500); line-height:1.6; margin:0; }
html[data-theme="dark"] .mod-feature p { color:var(--theme-muted,#94a3b8); }

/* Connection cards */
.mod-conn-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.mod-conn-card { padding:20px; border-radius:16px; background:var(--white); border:1px solid var(--slate-200); box-shadow:var(--shadow-card); transition:transform .25s,border-color .25s; }
.mod-conn-card:hover { transform:perspective(800px) translateY(-4px); border-color:rgba(0,209,255,.36); }
html[data-theme="dark"] .mod-conn-card { background:var(--theme-surface,#0d1a2c); border-color:var(--theme-border,rgba(148,163,184,.18)); }
.mod-conn-dir { font-size:.66rem; font-weight:780; color:var(--cyan); text-transform:uppercase; letter-spacing:.08em; margin-bottom:4px; }
.mod-conn-prod { font-size:.84rem; font-weight:720; color:var(--navy); margin-bottom:7px; }
html[data-theme="dark"] .mod-conn-prod { color:#f8fafc; }
.mod-conn-desc { font-size:.82rem; color:var(--slate-500); line-height:1.55; margin:0; }
html[data-theme="dark"] .mod-conn-desc { color:var(--theme-muted,#94a3b8); }
.mod-connections { padding:72px 0; background:var(--slate-50); }
html[data-theme="dark"] .mod-connections { background:var(--theme-surface-muted,#0a1626); }

/* Card 3D Tilt – CSS-only baseline, JS enhances */
.product-module-card,
.mod-feature,
.mod-conn-card,
.mod-card,
.faq-item,
.feature {
  transition: transform .26s cubic-bezier(.2,.8,.3,1), box-shadow .26s ease, border-color .26s ease;
  will-change: transform;
}

/* ── RESPONSIVE ── */
@media (max-width:980px) {
  .hero-pro-layout { grid-template-columns:1fr; }
  .hero-pro h1 { font-size:clamp(2.4rem,8vw,3.8rem)!important; }
  .mockup-outer { display:none; }
  .mod-grid { grid-template-columns:repeat(2,1fr); }
  .mod-hero-layout { grid-template-columns:1fr; }
  .mod-hero-layout .mockup-outer { display:none; }
  .mod-features { grid-template-columns:repeat(2,1fr); }
  .mod-conn-grid { grid-template-columns:repeat(2,1fr); }
  .platform-conns { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px) {
  .hero-pro { padding:108px 0 56px; }
  .hero-pro-actions { flex-direction:column; }
  .hero-pro-actions .btn-large { width:100%; text-align:center; }
  .mod-grid { grid-template-columns:1fr; }
  .mod-features { grid-template-columns:1fr; }
  .mod-conn-grid { grid-template-columns:1fr; }
  .platform-conns { grid-template-columns:1fr; }
  .platform-box { padding:24px; }
}
@media (prefers-reduced-motion:reduce) {
  .float-card, [data-reveal], [data-card], .fwave span, .fstatus-dot { animation:none!important; transition:none!important; }
}
