/* ══════════════════════════════════════════════════════════════════
   landing.css — 3Inventors Landing Page Custom Classes
   Extracted from the HTML mock design system.
   NOTE: :root and body.theme-dark CSS custom properties are defined
         in _LayoutNewTheme.cshtml, NOT here.
   ══════════════════════════════════════════════════════════════════ */

/* ── Subtle grid overlay ── */
.site-grid::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(13,94,166,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(13,94,166,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,0.65), transparent 78%);
  -webkit-mask-image: radial-gradient(circle at center, rgba(0,0,0,0.65), transparent 78%);
  z-index: -1;
}

/* ── Glass panels ── */
.glass {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(13,94,166,0.08) 0%, rgba(255,255,255,0.045) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.surface {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface-top) 0%, var(--surface-bottom) 100%);
  border: 1px solid var(--line-soft);
  box-shadow: 0 16px 40px rgba(13,94,166,0.08);
}

/* ── Section divider ── */
.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(13,94,166,0.12), rgba(255,255,255,0));
}

/* ── Buttons ── */
.brand-primary-btn {
  background: linear-gradient(180deg, #1A6BB8 0%, #0D5EA6 100%);
  box-shadow: 0 16px 34px rgba(13,94,166,0.30);
  color: var(--primary-btn-text);
}
.brand-primary-btn:hover {
  background: linear-gradient(180deg, #2276C4 0%, #0E5B9C 100%);
  transform: translateY(-1px);
}

.brand-secondary-btn {
  color: var(--secondary-btn-text);
  background: rgba(13,94,166,0.04);
  border-color: rgba(13,94,166,0.18);
}
.brand-secondary-btn:hover {
  background: rgba(13,94,166,0.09);
  border-color: rgba(13,94,166,0.25);
}

/* ── Eyebrow labels ── */
.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── Signal dot ── */
.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(142,223,255,0.10);
}

/* ── Sticky header ── */
.sticky-shell {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: var(--sticky-bg);
  border-bottom: 1px solid var(--sticky-line);
}

/* ── Hero stage ── */
.hero-stage {
  position: relative;
  min-height: 520px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
}

.hero-panel-main {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 30px;
  background:
    radial-gradient(circle at top left, rgba(142,223,255,0.12), transparent 32%),
    linear-gradient(180deg, rgba(13,94,166,0.09) 0%, rgba(255,255,255,0.045) 100%);
  border: 1px solid rgba(13,94,166,0.12);
  box-shadow: 0 24px 60px rgba(13,94,166,0.09);
  backdrop-filter: blur(12px);
}
.hero-panel-main > * {
  position: relative;
  z-index: 1;
}

.hero-circle {
  position: absolute;
  right: -120px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: #0D5EA6;
  opacity: 0.12;
  z-index: 0;
}

.hero-chip {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 700;
  color: var(--hero-chip-text);
  border: 1px solid rgba(13,94,166,0.10);
  background: linear-gradient(180deg, var(--surface-top) 0%, var(--surface-bottom) 100%);
  box-shadow: 0 12px 28px rgba(13,94,166,0.07);
}
.hero-chip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ── Animated counter ── */
.counter-value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ── Platform cards with brand accent ── */
.platform-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(13,94,166,0.14);
}

.platform-card .accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.accent-workforce {
  background: linear-gradient(90deg, #005597, #00BCF2);
}
.accent-eomfa {
  background: linear-gradient(90deg, #129A5B, #16A34A);
}
.accent-mychair {
  background: linear-gradient(90deg, #0D5EA6, #57B8E8);
}

/* ── Quote mark ── */
.quote-mark {
  font-size: 62px;
  line-height: 1;
  color: var(--quote-mark);
}

/* ── Theme switcher ── */
.theme-switcher-floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: 0 14px 30px rgba(13,94,166,0.16);
  backdrop-filter: blur(10px);
}

.theme-btn {
  border: 0;
  background: transparent;
  color: var(--nav-text);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.72rem 0.92rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.theme-btn:hover {
  color: var(--nav-hover);
  background: rgba(13,94,166,0.06);
}
.theme-btn.is-active {
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  color: #fff;
  box-shadow: 0 10px 22px rgba(13,94,166,0.18);
}

/* ── Scroll-triggered fade-in ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hero background ── */
.hero-bg {
  position: relative;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Aurora — animated color sweep on white base */
.hero-bg-aurora {
  background:
    linear-gradient(135deg,
      rgba(13,94,166,0.10) 0%,
      rgba(87,184,232,0.07) 25%,
      rgba(255,255,255,0.95) 50%,
      rgba(142,223,255,0.07) 75%,
      rgba(13,94,166,0.06) 100%),
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,252,255,0.95) 100%);
  background-size: 300% 300%, 100% 100%;
  animation: aurora-shift 12s ease-in-out infinite;
}
.hero-bg-aurora::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: rgba(87,184,232,0.08);
  filter: blur(80px);
  animation: aurora-float 8s ease-in-out infinite alternate;
}
.hero-bg-aurora::after {
  content: "";
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background: rgba(13,94,166,0.07);
  filter: blur(70px);
  animation: aurora-float 10s ease-in-out infinite alternate-reverse;
}

/* ── Aurora keyframes ── */
@keyframes aurora-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes aurora-float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.1); }
}

/* ── Dark theme aurora override ── */
.theme-dark .hero-bg-aurora {
  background:
    linear-gradient(135deg,
      rgba(78,151,221,0.08) 0%,
      rgba(142,223,255,0.05) 25%,
      rgba(10,10,10,0.95) 50%,
      rgba(87,184,232,0.05) 75%,
      rgba(78,151,221,0.04) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.98) 0%, rgba(8,8,8,0.95) 100%);
  background-size: 300% 300%, 100% 100%;
  animation: aurora-shift 12s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-stage {
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .hero-stage {
    min-height: 320px;
    grid-template-columns: 1fr;
  }
  .hero-panel-main {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .theme-switcher-floating {
    right: 12px;
    bottom: 12px;
    padding: 0.3rem;
    gap: 0.25rem;
  }
  .theme-btn {
    padding: 0.62rem 0.72rem;
    font-size: 0.74rem;
  }
}

/* ══════════════════════════════════════════════════════════════════
   Accessibility — Reduced motion
   ══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ══════════════════════════════════════════════════════════════════
   reCAPTCHA v3 badge (hidden — attribution text shown in form)
   ══════════════════════════════════════════════════════════════════ */
.grecaptcha-badge { visibility: hidden; }
