:root{
  --nem-bg: #070e1a;
  --nem-bg-2: #0b1627;
  --nem-accent: #0ea5a4; /* teal */
  --nem-soft: rgba(255,255,255,.7);
  --nem-border: rgba(255,255,255,.08);
}

/* Utilities / text */

.text-soft{ color: var(--nem-soft); }

.text-soft-weak {
  color: rgba(148,163,184,0.8);
}

.border-soft{ border-color: var(--nem-border) !important; }

.fw-semibold {
  color: #fff;
}

.text-accent {
  color: var(--nem-accent);
}

/* Branding */

.brand-mark{
  display:inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  align-items:center;
  justify-content:center;
  background: linear-gradient(135deg, var(--nem-accent), #2563eb);
  color: white;
  font-weight: 700;
}

.brand-mark img {
  width: 34px;
}

/* Buttons */

.btn-nemestek{
  background: linear-gradient(135deg, var(--nem-accent), #1d4ed8);
  border: 0;
  color: white;
}

.btn-nemestek:hover{
  filter: brightness(1.05);
}

/* Generic sections / cards / pills */

.section-soft{
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}

.card-nemestek{
  background: rgba(255,255,255,.03);
  border: 1px solid var(--nem-border);
  border-radius: 16px;
}

.pill{
  display:inline-block;
  padding: 4px 10px;
  font-size: .7rem;
  border-radius: 999px;
  border: 1px solid var(--nem-border);
  color: var(--nem-soft);
}

/* Tag chip style for card header */
.pill-soft {
  background: rgba(15,23,42,0.9);
  border-color: rgba(148,163,184,0.6);
  color: var(--nem-soft);
  font-size: 0.68rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* Mock UI: hero widget */

.mock-frame{
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 18px 40px rgba(15,23,42,0.85);
}

.mock-header .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
}

.mock-card{
  background: rgba(15,23,42,0.5);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(51,65,85,0.85); /* clearer card edge */
}

.mock-chart {
  height: 140px;            /* fixed visual height */
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.mock-chart canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.mock-floating{
  background: rgba(15,23,42,0.5);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(51,65,85,0.85);
}

.mock-flow{
  height: 80px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08), transparent),
    linear-gradient(180deg, rgba(255,255,255,.08), transparent);
}

/* Live badge */

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,0.5);
  background: rgba(21,128,61,0.2);
  font-size: 0.7rem;
  color: #bbf7d0;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34,197,94,0.8);
  animation: live-dot-pulse 1.4s ease-in-out infinite;
}

@keyframes live-dot-pulse {
  0%, 100% { transform: scale(1);   opacity: 0.8; }
  50%      { transform: scale(1.4); opacity: 1;   }
}

/* Activity list */

.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 6px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.16s ease-out, border-color 0.16s ease-out;
}

.activity-item:hover {
  background: rgba(15,23,42,0.9);
  border-color: rgba(148,163,184,0.5);
}

.activity-item-main {
  font-size: 0.8rem;
  color: #e5f0ff;
}

.activity-item-meta {
  font-size: 0.7rem;
  color: var(--nem-soft);
  opacity: 0.8;
  white-space: nowrap;
}

/* Solutions glassy panel */

.section-emphasis {
  max-width: 1120px;
  margin: 3rem auto 2rem;
  padding: 32px 40px 40px;
  border-radius: 32px;
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(148,163,184,0.25), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(56,189,248,0.25), transparent 60%),
    rgba(15,23,42,0.65);
  border: 1px solid rgba(148,163,184,0.3);
  backdrop-filter: blur(22px);
}

/* Solutions cards */

.solution-card {
  background: rgba(5,15,35,0.94);
  border-radius: 22px;
  border: 1px solid rgba(30,64,175,0.35);
  box-shadow: 0 18px 40px rgba(15,23,42,0.85);
  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    border-color 0.16s ease-out,
    background 0.16s ease-out;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15,23,42,0.95);
  border-color: rgba(96,165,250,0.8);
  background:
    radial-gradient(600px 400px at 0% 0%, rgba(56,189,248,0.12), transparent 60%),
    rgba(5,15,35,0.98);
}

/* Process section (vertical timeline) */

.section-process {
  position: relative;
  max-width: 1120px;
  margin: 3rem auto 2rem;
  padding: 32px 40px 40px;
  border-radius: 32px;
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(56,189,248,0.2), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(14,165,233,0.18), transparent 60%),
    rgba(5,15,35,0.85);
  border: 1px solid rgba(148,163,184,0.35);
  backdrop-filter: blur(22px);
}

.process-body {
  margin-top: 1.8rem;
}

.process-timeline {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(148,163,184,0.0),
    rgba(148,163,184,0.9),
    rgba(148,163,184,0.0)
  );
  opacity: 0.85;
  pointer-events: none;
}

.process-item {
  display: flex;
  gap: 16px;
  padding-bottom: 1.4rem;
}

.process-item:last-child {
  padding-bottom: 0;
}

@media (min-width: 992px) {
  .process-item:nth-child(2) .process-content { margin-left: 8px; }
  .process-item:nth-child(3) .process-content { margin-left: 16px; }
  .process-item:nth-child(4) .process-content { margin-left: 24px; }
}

/* Number bubble */

.process-node {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #22d3ee, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 3px rgba(5,15,35,1),
    0 0 26px rgba(56,189,248,0.8);
  border: 1px solid rgba(148,163,184,0.7);
}

.process-node span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5faff;
}

/* Content next to each step */

.process-content {
  padding: 10px 18px 12px;
  border-radius: 20px;
  background: rgba(5,15,35,0.96);
  border: 1px solid rgba(51,65,85,0.85);
  box-shadow: 0 10px 25px rgba(15,23,42,0.9);
  transition:
    border-color 0.16s ease-out,
    background 0.16s ease-out,
    transform 0.16s ease-out;
}

.process-content:hover {
  background:
    radial-gradient(500px 300px at 0% 0%, rgba(56,189,248,0.12), transparent 60%),
    rgba(5,15,35,1);
  border-color: rgba(148,163,184,0.95);
  transform: translateY(-2px);
}

.process-label {
  font-size: 0.65rem;
}

/* Automation rules list */

.automation-list {
  border-radius: 12px;
  border: 1px solid rgba(51,65,85,0.85);
  background: linear-gradient(135deg, rgba(15,23,42,1), rgba(15,23,42,0.78));
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auto-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 6px;
  border-radius: 10px;
  transition: background 0.16s ease-out;
}

.auto-row:hover {
  background: rgba(15,23,42,0.9);
}

.auto-title {
  font-size: 0.82rem;
  font-weight: 500;
  color: #e5f0ff;
}

.auto-meta {
  color: var(--nem-soft);
  opacity: 0.8;
}

/* Toggle switch */

.auto-switch {
  position: relative;
  display: inline-flex;
  width: 38px;
  height: 20px;
}

.auto-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.auto-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  border-radius: 999px;
  background: rgba(30,64,175,0.8);
  transition: background 0.2s ease-out;
}

.auto-slider::before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 12px rgba(56,189,248,0.7);
  transition: transform 0.2s ease-out;
}

.auto-switch input:checked + .auto-slider {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
}

.auto-switch input:checked + .auto-slider::before {
  transform: translateX(16px);
}

.process-sidecard {
  background: rgba(5,15,35,0.96);
  border-radius: 22px;
  border: 1px solid rgba(30,64,175,0.45);
  box-shadow: 0 18px 40px rgba(15,23,42,0.95);
}

.process-metrics li + li {
  margin-top: 4px;
}

/* Contact section glassy wrapper */
.section-contact {
  max-width: 1120px;
  margin: 3rem auto 4rem;
  padding: 32px 40px 40px;
  border-radius: 32px;
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(56,189,248,0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(37,99,235,0.18), transparent 60%),
    rgba(5,15,35,0.85);
  border: 1px solid rgba(148,163,184,0.35);
  backdrop-filter: blur(22px);
}

/* Contact form card */
.contact-card {
  background: rgba(5,15,35,0.98);
  border-radius: 22px;
  border: 1px solid rgba(51,65,85,0.9);
  box-shadow: 0 18px 40px rgba(15,23,42,0.95);
}

/* Contact meta list */
.contact-meta li + li {
  margin-top: 4px;
}

/* Form controls inside the glass card */
.contact-card .form-control,
.contact-card .form-select {
  background: rgba(15,23,42,0.9);
  border-color: rgba(51,65,85,0.9);
  color: #e5f0ff;
  font-size: 0.9rem;
}

.contact-card .form-control::placeholder {
  color: rgba(148,163,184,0.8);
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
  background: rgba(15,23,42,1);
  border-color: rgba(56,189,248,0.9);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.7);
}

.contact-card .form-check-input {
  background-color: rgba(15,23,42,0.9);
  border-color: rgba(75,85,99,1);
}

.contact-card .form-check-input:checked {
  background-color: #22d3ee;
  border-color: #22d3ee;
}

/* Process overview: UI + buttons layout (new) */

.process-ui-frame {
  height: 100%;
  border-radius: 24px;
  padding: 14px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(51,65,85,0.9);
  box-shadow: 0 18px 40px rgba(15,23,42,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-ui-image {
  border-radius: 18px;
  border: 1px solid rgba(30,64,175,0.5);
  box-shadow: 0 14px 30px rgba(15,23,42,0.9);
  max-width: 100%;
  height: auto;
}

.process-steps-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.process-step-button {
  width: 100%;
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(51,65,85,0.85);
  background: rgba(5,15,35,0.96);
  padding: 12px 16px;
  color: #e5f0ff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition:
    background 0.16s ease-out,
    border-color 0.16s ease-out,
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out;
}

.process-step-button:hover {
  background:
    radial-gradient(500px 300px at 0% 0%, rgba(56,189,248,0.12), transparent 60%),
    rgba(5,15,35,1);
  border-color: rgba(148,163,184,0.95);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15,23,42,0.9);
}

.process-step-button.is-active {
  border-color: rgba(56,189,248,0.9);
  box-shadow:
    0 0 0 1px rgba(56,189,248,0.7),
    0 16px 32px rgba(15,23,42,0.95);
}

.process-step-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.process-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.75);
  font-size: 0.75rem;
  font-weight: 600;
  background: radial-gradient(circle at 30% 20%, #22d3ee, #0f172a);
  box-shadow: 0 0 14px rgba(56,189,248,0.7);
}

.process-step-title {
  font-size: 0.95rem;
  font-weight: 600;
}
